/*
Theme Name: Designare Products
Theme URI: https://designareproducts.com
Author: Designare Products, LLC
Description: Custom corporate WordPress theme for Designare Products, LLC.
Version: 1.9.0
Text Domain: designare-products
License: GPL-2.0-or-later
*/

:root{
  --dp-bg:#f4f0ea;
  --dp-surface:#ffffff;
  --dp-surface-2:#f8f5f1;
  --dp-text:#111111;
  --dp-muted:#595550;
  --dp-line:#ddd5cc;
  --dp-accent:#d7262d;
  --dp-accent-dark:#a81b23;
  --dp-accent-soft:#fde8e9;
  --dp-green:#144f42;
  --dp-charcoal:#171717;
  --dp-max:1240px;
  --dp-radius:28px;
  --dp-shadow:0 18px 50px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--dp-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(215,38,45,.06), transparent 25%),
    radial-gradient(circle at 0% 65%, rgba(20,79,66,.05), transparent 26%),
    var(--dp-bg);
  line-height:1.65;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
.dp-wrap{width:min(calc(100% - 56px), var(--dp-max)); margin-inline:auto}
.hidden-helper{position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(244,240,234,.93);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(17,17,17,.08);
}
.header-inner{
  min-height:106px; display:flex; align-items:center; justify-content:space-between; gap:28px;
}
.brand{display:flex; align-items:center; text-decoration:none}
.brand img{height:72px; width:auto}
.main-nav ul{list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:28px}
.main-nav a{
  text-decoration:none; font-size:.96rem; font-weight:800; position:relative;
}
.main-nav a:after{
  content:""; position:absolute; left:0; bottom:-7px; width:100%; height:2px;
  background:var(--dp-accent); transform:scaleX(0); transform-origin:left; transition:.2s ease;
}
.main-nav a:hover:after,
.main-nav .current-menu-item > a:after,
.main-nav .current_page_item > a:after{transform:scaleX(1)}
.menu-toggle{
  display:none; border:1px solid var(--dp-line); background:var(--dp-surface);
  border-radius:999px; padding:10px 14px; font:inherit; font-weight:800;
}

/* Global typography */
.eyebrow{
  display:inline-block;
  font-size:.77rem; font-weight:900; letter-spacing:.20em; text-transform:uppercase;
  color:var(--dp-green); margin-bottom:12px;
}
.section{padding:88px 0}
.section.alt{background:rgba(255,255,255,.42); border-block:1px solid var(--dp-line)}
.section h2{
  font-size:clamp(2rem,4vw,3.35rem);
  letter-spacing:-.05em; line-height:1.02; margin:0 0 18px;
}
.section-lede{font-size:1.11rem; color:var(--dp-muted); max-width:790px}
.actions{display:flex; gap:14px; flex-wrap:wrap; margin-top:30px}
.button{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding:12px 22px; border-radius:999px;
  border:1px solid var(--dp-charcoal); text-decoration:none;
  font-weight:800; transition:.18s ease;
}
.button:hover{transform:translateY(-1px)}
.button.primary{background:var(--dp-charcoal); color:#fff}
.button.accent{background:var(--dp-accent); border-color:var(--dp-accent); color:#fff}
.button.secondary{background:transparent}
.button.light{background:#fff; color:var(--dp-charcoal); border-color:#fff}

/* Cards */
.grid-2,.grid-3,.grid-4{display:grid; gap:22px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{
  background:var(--dp-surface);
  border:1px solid rgba(17,17,17,.08);
  border-radius:var(--dp-radius);
  padding:28px;
  box-shadow:var(--dp-shadow);
}
.card h3{margin:0 0 10px; font-size:1.35rem; line-height:1.15}
.card p{margin:0; color:var(--dp-muted)}
.card-icon{
  width:44px; height:44px; display:grid; place-items:center;
  background:var(--dp-accent-soft); color:var(--dp-accent);
  border-radius:14px; font-weight:900; margin-bottom:14px;
}
.list{padding-left:1.1rem; margin:.4rem 0 0}
.list li{margin:.38rem 0}

/* Home hero */
.hero{padding:88px 0 76px}
.hero-grid{display:grid; grid-template-columns:1.02fr .98fr; gap:42px; align-items:center}
.hero-copy h1{
  font-size:clamp(3rem,6.6vw,5.7rem);
  line-height:.94; letter-spacing:-.065em; margin:0 0 22px;
}
.hero-copy p{
  margin:0; font-size:clamp(1.05rem,2vw,1.3rem); color:var(--dp-muted); max-width:760px;
}
.hero-visual{
  position:relative; min-height:620px; border-radius:36px; overflow:hidden;
  background:var(--dp-charcoal);
  box-shadow:var(--dp-shadow);
}
.hero-visual img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center;
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,.64) 100%);
}
.hero-badge{
  position:absolute; left:24px; top:24px;
  padding:10px 14px; background:rgba(255,255,255,.94); border-radius:999px;
  font-size:.9rem; font-weight:800;
}
.hero-product-card{
  position:absolute; right:24px; bottom:24px; width:min(360px, calc(100% - 48px));
  background:rgba(255,255,255,.96); border-radius:24px; padding:22px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.hero-product-card img{position:static; width:210px; height:auto; object-fit:contain; margin-bottom:12px}
.hero-product-card h3{margin:0 0 8px; font-size:1.45rem; line-height:1.1}
.hero-product-card p{margin:0; color:var(--dp-muted); font-size:.98rem}
.hero-stat-row{
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:26px;
}
.hero-stat{
  padding:16px 14px; border-radius:20px; background:var(--dp-surface);
  border:1px solid rgba(17,17,17,.08); box-shadow:var(--dp-shadow);
}
.hero-stat strong{display:block; font-size:1.3rem; line-height:1; margin-bottom:6px}
.hero-stat span{color:var(--dp-muted); font-size:.92rem}

/* Image layouts */
.feature-grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:26px; align-items:stretch; margin-top:36px;
}
.photo-card{
  background:var(--dp-surface); border:1px solid rgba(17,17,17,.08); border-radius:32px;
  overflow:hidden; box-shadow:var(--dp-shadow);
}
.photo-card img{width:100%; height:100%; object-fit:cover}
.product-photo{min-height:640px}
.product-photo img{object-position:center top}
.brand-panel.full-width{margin-top:26px}
.copy-stack{display:grid; gap:20px}
.badge{
  display:inline-flex; align-items:center; padding:7px 11px; border-radius:999px;
  background:var(--dp-accent-soft); color:var(--dp-accent-dark); font-size:.84rem; font-weight:800;
}
.product-split{display:grid; grid-template-columns:.92fr 1.08fr; gap:26px; align-items:start}
.product-info{
  background:var(--dp-surface); border:1px solid rgba(17,17,17,.08);
  border-radius:32px; padding:30px; box-shadow:var(--dp-shadow);
}
.product-logo{max-width:360px; margin-bottom:18px}
.product-info p{color:var(--dp-muted); font-size:1.05rem}
.product-points{display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:18px}
.point{
  padding:16px; border-radius:20px; background:var(--dp-surface-2); border:1px solid rgba(17,17,17,.06);
}
.point strong{display:block; margin-bottom:4px}

.mosaic{
  display:grid; grid-template-columns:1.15fr .85fr; gap:18px; margin-top:34px;
}
.mosaic .tile{
  border-radius:24px; overflow:hidden; min-height:260px; box-shadow:var(--dp-shadow); position:relative;
}
.mosaic .tile img{width:100%; height:100%; object-fit:cover}
.mosaic .tile.large{min-height:500px}
.mosaic .tile.wide{grid-column:span 2; min-height:270px}
.mosaic .tile.captioned:after{
  content:""; position:absolute; inset:auto 0 0; height:45%;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.7));
}
.tile-label{
  position:absolute; left:18px; bottom:16px; z-index:2;
  color:#fff; max-width:75%;
}
.tile-label strong{display:block; font-size:1.05rem}
.tile-label span{font-size:.92rem; color:rgba(255,255,255,.9)}

.trade-strip{
  margin-top:38px; background:linear-gradient(90deg, #121212, #2b2b2b);
  color:#fff; border-radius:30px; padding:28px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.trade-strip p{margin:6px 0 0; color:rgba(255,255,255,.82); max-width:70ch}

.brand-panel{
  background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(253,232,233,.9));
  border:1px solid rgba(215,38,45,.14);
  border-radius:34px; padding:28px; box-shadow:var(--dp-shadow);
}
.brand-panel .logo-lockup{max-width:300px; margin-bottom:20px}
.brand-panel p{margin:0; color:var(--dp-muted)}
.metric-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px}
.metric{
  background:#fff; border-radius:18px; padding:16px; border:1px solid rgba(17,17,17,.08);
}
.metric strong{display:block; font-size:1.35rem; line-height:1; margin-bottom:8px}

/* Inner pages */
.page-hero{padding:78px 0 26px}
.page-hero h1{
  font-size:clamp(2.6rem,6vw,5rem);
  letter-spacing:-.06em; line-height:.98; margin:0;
}
.content{padding:18px 0 82px}
.content article{max-width:860px}
.content article p, .content article li{font-size:1.07rem}

.panel{
  background:var(--dp-surface); border:1px solid rgba(17,17,17,.08); border-radius:30px;
  overflow:hidden; box-shadow:var(--dp-shadow);
}
.panel-body{padding:28px}
.panel img{width:100%; height:auto}
.duo-panels{display:grid; grid-template-columns:1fr 1fr; gap:22px}

.process-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:22px}
.process-step{
  background:var(--dp-surface); border:1px solid rgba(17,17,17,.08);
  border-radius:24px; padding:22px; box-shadow:var(--dp-shadow);
}
.process-step .num{font-size:.8rem; font-weight:900; color:var(--dp-accent); letter-spacing:.18em; text-transform:uppercase}
.process-step h3{margin:8px 0 10px; font-size:1.18rem}
.process-step p{margin:0; color:var(--dp-muted)}

.product-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:30px}
.product-card{
  background:var(--dp-surface); border:1px solid rgba(17,17,17,.08); border-radius:30px;
  overflow:hidden; box-shadow:var(--dp-shadow);
}
.product-card .media{background:#f1ede8; min-height:280px; display:flex; align-items:center; justify-content:center; padding:18px}
.product-card .media img{max-height:260px; width:auto}
.product-card .body{padding:26px}
.product-card h3{margin:0 0 10px; font-size:1.55rem}
.product-card p{margin:0; color:var(--dp-muted)}

.contact-grid{display:grid; grid-template-columns:.92fr 1.08fr; gap:26px; align-items:start}
.form-wrap{
  background:var(--dp-surface); border:1px solid rgba(17,17,17,.08); border-radius:32px;
  padding:28px; box-shadow:var(--dp-shadow);
}
.form-status{
  margin-bottom:18px; padding:14px 16px; border-radius:16px; font-weight:700;
}
.form-status.success{background:#e7f6ef; color:#1e6546}
.form-status.error{background:#fde7e8; color:#8d1a1f}
.dp-form{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.dp-form .full{grid-column:1 / -1}
.dp-form label{display:block; font-weight:800; margin-bottom:7px}
.dp-form input,.dp-form select,.dp-form textarea{
  width:100%; padding:14px 14px; border-radius:14px; border:1px solid #cfc8be;
  background:#fff; color:var(--dp-text); font:inherit;
}
.dp-form textarea{min-height:160px; resize:vertical}
.dp-form .checkbox{
  display:flex; align-items:flex-start; gap:10px; font-size:.95rem; color:var(--dp-muted);
}
.dp-form .checkbox input{width:auto; margin-top:5px}

/* Footer */
.site-footer{
  margin-top:30px; padding:44px 0; background:#111111; color:rgba(255,255,255,.76);
}
.footer-inner{display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap}
.footer-brand{max-width:560px}
.footer-brand strong{display:block; color:#fff; font-size:1.05rem; margin-bottom:8px}
.footer-links a{color:#fff; text-decoration:none; margin-right:14px}
.footer-links a:last-child{margin-right:0}

/* Responsive */
@media (max-width:1040px){
  .hero-grid,.feature-grid,.product-split,.contact-grid,.duo-panels,.grid-2,.product-grid,.process-grid,.grid-4{grid-template-columns:1fr}
  .grid-3,.metric-grid,.hero-stat-row,.product-points{grid-template-columns:1fr}
  .mosaic{grid-template-columns:1fr}
  .mosaic .tile.large,.mosaic .tile.wide{grid-column:span 1}
  .hero-visual{min-height:520px}
}
@media (max-width:820px){
  .menu-toggle{display:block}
  .main-nav{
    display:none; position:absolute; left:20px; right:20px; top:82px;
    background:var(--dp-surface); border-radius:20px; border:1px solid var(--dp-line);
    box-shadow:var(--dp-shadow); padding:18px;
  }
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column; align-items:flex-start}
  .header-inner{min-height:88px}
  .brand img{height:56px}
  .hero{padding-top:58px}
  .hero-copy h1{font-size:clamp(2.55rem,12vw,4.35rem)}
  .page-hero{padding-top:58px}
  .dp-form{grid-template-columns:1fr}
}


/* V5 homepage and page refinements */
.hero-copy h1.hero-title-smaller{
  font-size:clamp(2.55rem,5.6vw,4.85rem);
}
.hero-badge.hero-badge-bottom{
  top:auto;
  bottom:24px;
  left:24px;
}
.hero-product-card.hero-product-card-top{
  top:24px;
  bottom:auto;
}
.hero-product-card.hero-product-card-top img{
  width:190px;
  margin-bottom:10px;
}
.hero-product-card.hero-product-card-top p{
  font-size:.96rem;
  line-height:1.55;
}
.home .mosaic{
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
  width:min(820px, 100%);
}
.home .mosaic .tile,
.home .mosaic .tile.large,
.home .mosaic .tile.wide{
  grid-column:span 1;
  min-height:220px;
}
.home .mosaic .tile-label{
  max-width:92%;
}
.page-hero-about h1{
  font-size:clamp(2.2rem,5.1vw,4.25rem);
}
.about-duo-panels .panel img{
  aspect-ratio:4 / 3;
  object-fit:cover;
}
@media (max-width:1040px){
  .home .mosaic{grid-template-columns:1fr;}
  .home .mosaic .tile,
  .home .mosaic .tile.large,
  .home .mosaic .tile.wide{min-height:240px;}
}
@media (max-width:820px){
  .hero-copy h1.hero-title-smaller{font-size:clamp(2.2rem,10.25vw,3.7rem);}
}


/* V6 refinements */
.hero-product-card.hero-product-card-top{
  width:min(300px, calc(100% - 48px));
  right:24px;
  top:24px;
  padding:18px 20px;
}
.hero-product-card.hero-product-card-top img{
  width:170px;
  margin-bottom:8px;
}
.hero-product-card.hero-product-card-top p{
  font-size:.90rem;
  line-height:1.45;
}

.pro-pair-media{
  min-height:300px;
  padding:20px !important;
}
.pro-pair{
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:center;
  justify-items:center;
}
.product-card .media .pro-pair img{
  width:100%;
  max-width:280px;
  max-height:250px;
  object-fit:contain;
}

.product-lifestyle-grid{
  width:min(660px, 100%);
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.product-lifestyle-card{
  min-height:0;
  aspect-ratio:4 / 3;
  background:var(--dp-surface);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
.product-lifestyle-card img{
  width:100%;
  height:100%;
  object-fit:contain;
}

@media (max-width:1040px){
  .product-lifestyle-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:720px){
  .pro-pair{grid-template-columns:1fr;}
  .product-lifestyle-grid{grid-template-columns:1fr; width:min(380px,100%);}
}


/* V7 refinements */
.page-hero-products h1,
.page-hero-contact h1{
  font-size:clamp(2.2rem,5.1vw,4.25rem);
}

/* Home: three supporting images now span the full content width. */
.home .mosaic{
  width:100%;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
.home .mosaic .tile,
.home .mosaic .tile.large,
.home .mosaic .tile.wide{
  grid-column:span 1;
  min-height:0;
  aspect-ratio:4 / 3;
}
.home .mosaic .tile img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Products: make Standard visually comparable in scale to each Pro stand. */
.standard-media{
  background:#f1ede8 !important;
}
.product-card .standard-media img{
  width:54%;
  max-width:350px;
  max-height:255px;
  height:auto;
  object-fit:contain;
}

/* Products: moderately enlarge the two supporting images without cropping. */
.product-lifestyle-grid{
  width:min(900px, 100%);
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.product-lifestyle-card{
  aspect-ratio:4 / 3;
  padding:12px;
}
.product-lifestyle-card img{
  width:100%;
  height:100%;
  object-fit:contain;
}

@media (max-width:1040px){
  .home .mosaic{
    grid-template-columns:1fr;
  }
  .home .mosaic .tile,
  .home .mosaic .tile.large,
  .home .mosaic .tile.wide{
    aspect-ratio:16 / 10;
  }
  .product-lifestyle-grid{
    width:min(760px,100%);
  }
}
@media (max-width:720px){
  .product-lifestyle-grid{
    grid-template-columns:1fr;
    width:min(430px,100%);
  }
  .product-card .standard-media img{
    width:68%;
  }
}


/* V8 refinements */

/* Home featured product: force the left image card to exactly match the right card height. */
.product-split{
  align-items:stretch;
}
.product-split > .product-photo,
.product-split > .copy-stack{
  height:100%;
}
.product-split .copy-stack{
  display:flex;
}
.product-split .product-info{
  width:100%;
  height:100%;
}
.product-photo{
  min-height:0;
  height:auto;
}
.product-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* Products lower images: larger, clean, centered, with no oversized white containers. */
.product-lifestyle-grid{
  width:100%;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
}
.product-lifestyle-card{
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0;
  aspect-ratio:auto;
  overflow:visible;
  display:flex;
  justify-content:center;
  align-items:flex-start;
}
.product-lifestyle-card img{
  width:auto;
  max-width:92%;
  max-height:570px;
  height:auto;
  object-fit:contain;
  border-radius:24px;
  box-shadow:var(--dp-shadow);
}

/* Customizer controls override the default home hero card values. */
.hero-product-card.hero-product-card-top{
  transition:width .15s ease, top .15s ease, right .15s ease, padding .15s ease;
}

@media (max-width:1040px){
  .product-lifestyle-grid{
    grid-template-columns:1fr 1fr;
  }
  .product-lifestyle-card img{
    max-width:96%;
    max-height:500px;
  }
}
@media (max-width:720px){
  .product-lifestyle-grid{
    grid-template-columns:1fr;
  }
  .product-lifestyle-card img{
    max-width:100%;
    max-height:none;
  }
}
