/*
Theme Name: Black Diamond Mattresses
Theme URI: https://blackdiamondmattresses.in
Author: Black Diamond Mattresses
Author URI: https://blackdiamondmattresses.in
Description: Premium, fully responsive WordPress theme for Black Diamond Mattresses — orthopedic, memory foam and pocket spring mattresses & pillows. Built mobile-first with a navy/gold luxury design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: black-diamond-mattresses
*/

/* ============================================================
   Base theme styles below are the original site design system,
   converted 1:1 for WordPress.
   ============================================================ */

/* ============================================================
   BLACK DIAMOND MATTRESSES — Design tokens
   ============================================================ */
:root{
  --navy:#1E3A5F;
  --navy-deep:#16304D;
  --navy-ink:#0F2440;
  --white:#FFFFFF;
  --gold:#D4AF37;
  --gold-soft:#E8CD7A;
  --bg:#F8F9FB;
  --text:#1F2937;
  --text-soft:#6B7280;
  --card-radius:18px;
  --shadow-soft:0 20px 45px -20px rgba(15,36,64,.18);
  --shadow-card:0 12px 30px -14px rgba(15,36,64,.16);
  --shadow-hover:0 26px 55px -18px rgba(15,36,64,.28);
  --ease:cubic-bezier(.22,1,.36,1);
  --container:1240px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,.font-display{
  font-family:'Poppins',sans-serif;
  color:var(--navy);
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
p{line-height:1.7;color:var(--text-soft);margin:0 0 1em;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 24px;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Poppins',sans-serif;font-size:12.5px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--gold);
  margin-bottom:14px;
}
.eyebrow::before{content:"";width:22px;height:1px;background:var(--gold);display:inline-block;}
.section{padding:96px 0;}
.section-tight{padding:64px 0;}
.section-head{max-width:640px;margin-bottom:56px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head h2{font-size:clamp(28px,3.4vw,42px);font-weight:600;}
.bg-navy{background:var(--navy);color:var(--white);}
.bg-navy h2,.bg-navy h3,.bg-navy h4{color:var(--white);}
.bg-navy p{color:rgba(255,255,255,.72);}

/* Diamond signature motif */
.diamond-divider{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 20px;}
.diamond-divider::before,.diamond-divider::after{content:"";height:1px;width:48px;background:linear-gradient(90deg,transparent,rgba(212,175,55,.7));}
.diamond-divider::after{background:linear-gradient(90deg,rgba(212,175,55,.7),transparent);}
.diamond-mark{width:9px;height:9px;border:1.5px solid var(--gold);transform:rotate(45deg);}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 30px;border-radius:100px;font-weight:600;font-size:14.5px;
  font-family:'Poppins',sans-serif;border:1px solid transparent;
  transition:all .35s var(--ease);white-space:nowrap;
}
.btn-primary{background:var(--navy);color:var(--white);}
.btn-primary:hover{background:var(--navy-deep);transform:translateY(-2px);box-shadow:var(--shadow-hover);}
.btn-gold{background:var(--gold);color:var(--navy-ink);}
.btn-gold:hover{background:var(--gold-soft);transform:translateY(-2px);box-shadow:0 20px 40px -16px rgba(212,175,55,.55);}
.btn-outline{background:transparent;border-color:rgba(255,255,255,.5);color:var(--white);}
.btn-outline:hover{background:rgba(255,255,255,.12);border-color:var(--white);}
.btn-outline-navy{background:transparent;border-color:var(--navy);color:var(--navy);}
.btn-outline-navy:hover{background:var(--navy);color:var(--white);}
.btn-block{width:100%;}
.btn-sm{padding:11px 20px;font-size:13px;}
.btn svg{width:16px;height:16px;flex:none;}

/* ============ NAV ============ */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  padding:22px 0;transition:all .4s var(--ease);
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;max-width:none;padding-left:20px;padding-right:20px;}
@media (max-width:640px){.site-header .container{padding-left:16px;padding-right:16px;}}
.site-header.solid{
  background:rgba(248,249,251,.9);backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  box-shadow:0 8px 30px -18px rgba(15,36,64,.25);padding:14px 0;
  border-bottom:1px solid rgba(15,36,64,.06);
}
.logo{display:flex;align-items:center;gap:10px;font-family:'Poppins',sans-serif;}
.logo-img,.logo img{height:44px;width:auto;border-radius:6px;display:block;box-shadow:0 4px 14px rgba(0,0,0,.18);}
@media (max-width:640px){.logo-img,.logo img{height:28px;}}
.logo-img-lg{height:64px;}
@media (min-width:993px){.logo-img-lg{height:112px;}}
@media (max-width:640px){.logo-img-lg{height:40px;}}
.logo .mark{width:30px;height:30px;position:relative;flex:none;}
.logo .mark svg{width:100%;height:100%;}
.logo .word{font-size:18px;font-weight:600;letter-spacing:.02em;line-height:1.05;color:var(--white);}
.logo .word small{display:block;font-size:9px;letter-spacing:.28em;font-weight:500;color:var(--gold);margin-top:2px;}
.site-header.solid .logo .word{color:var(--navy);}
.nav-links{display:flex;align-items:center;gap:40px;}
.nav-links a{
  font-family:'Poppins',sans-serif;font-size:14px;font-weight:500;color:rgba(255,255,255,.88);
  position:relative;padding:4px 0;transition:color .3s;
}
.site-header.solid .nav-links a{color:var(--text);}
.nav-links a::after{content:"";position:absolute;left:0;bottom:-3px;width:0;height:2px;background:var(--gold);transition:width .3s var(--ease);}
.nav-links a:hover::after,.nav-links a.active::after{width:100%;}
.nav-links a.active{color:var(--gold) !important;}
.nav-right{display:flex;align-items:center;gap:18px;}
.nav-cta{display:none;}
.burger{display:none;flex-direction:column;gap:5px;width:26px;background:none;border:0;padding:4px;z-index:1100;border-radius:8px;transition:background .3s;}
.burger span{height:2px;width:100%;background:var(--white);border-radius:2px;transition:.35s var(--ease);}
.site-header.solid .burger span{background:var(--navy);}
.burger.open{background:rgba(255,255,255,.08);}
.burger.open span{background:var(--gold) !important;}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;transform:translateX(-6px);}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Mobile nav overlay (blurred backdrop behind the slide-in panel) */
.nav-overlay{
  position:fixed;inset:0;background:rgba(8,18,34,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  opacity:0;visibility:hidden;transition:opacity .4s var(--ease);z-index:1080;
}
.nav-overlay.open{opacity:1;visibility:visible;}

@media (max-width:900px){
  .nav-links{
    position:fixed;top:0;right:0;bottom:0;left:auto;
    width:min(78vw,360px);
    background:linear-gradient(165deg,var(--navy) 0%,#0e2038 100%);
    flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;
    transform:translateX(100%);transition:transform .5s cubic-bezier(.22,1,.36,1);
    padding:118px 38px 40px;z-index:1090;
    box-shadow:-24px 0 60px -12px rgba(0,0,0,.45);
    overflow-y:auto;
  }
  .nav-links.open{transform:translateX(0);}
  .nav-links::before{
    content:"Menu";position:absolute;top:56px;left:38px;
    font-family:'Poppins',sans-serif;font-size:11px;font-weight:600;letter-spacing:.22em;
    text-transform:uppercase;color:var(--gold);
  }
  .nav-links::after{
    content:"";position:absolute;top:80px;left:38px;width:34px;height:2px;background:var(--gold);
  }
  .nav-links li{
    list-style:none;width:100%;border-bottom:1px solid rgba(255,255,255,.09);
    opacity:0;transform:translateX(18px);transition:opacity .45s ease, transform .45s ease;
  }
  .nav-links li:first-child{border-top:1px solid rgba(255,255,255,.09);}
  .nav-links.open li:nth-child(1){transition-delay:.12s;}
  .nav-links.open li:nth-child(2){transition-delay:.18s;}
  .nav-links.open li:nth-child(3){transition-delay:.24s;}
  .nav-links.open li:nth-child(4){transition-delay:.3s;}
  .nav-links.open li:nth-child(5){transition-delay:.36s;}
  .nav-links.open li{opacity:1;transform:translateX(0);}
  .nav-links a{
    color:var(--white) !important;font-size:19px;font-weight:500;
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 2px;width:100%;
  }
  .nav-links a::after{display:none;}
  .nav-links a::before{
    content:"›";color:var(--gold);font-size:20px;font-weight:400;opacity:0;
    transform:translateX(-6px);transition:opacity .3s ease, transform .3s ease;
  }
  .nav-links a:hover::before,.nav-links a:active::before{opacity:1;transform:translateX(0);}
  .nav-links a:hover,.nav-links a:active{color:var(--gold) !important;}
  .burger{display:flex;}
  .nav-right .btn-gold{display:none;}
  .site-header.menu-open{backdrop-filter:none !important;-webkit-backdrop-filter:none !important;}
  .site-header.menu-open .container{position:relative;z-index:1101;}
  body.nav-open{overflow:hidden;}
}

/* ============ HERO ============ */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;background:var(--navy-ink);}
.hero-bg{position:absolute;inset:0;}
.hero-bg picture,.hero-bg img{width:100%;height:100%;object-fit:cover;}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(9,22,41,.88) 8%,rgba(15,36,64,.45) 46%,rgba(15,36,64,.15) 70%);}
.hero-inner{position:relative;z-index:2;padding-top:110px;padding-bottom:70px;width:100%;}
.hero-badge-row{display:flex;gap:34px;flex-wrap:wrap;margin-top:38px;}
.hero-badge-row .badge{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.85);}
.hero-badge-row .badge .num{font-family:'Poppins',sans-serif;color:var(--gold);font-weight:600;font-size:14px;}
.hero-badge-row .badge span{font-size:12.5px;letter-spacing:.02em;}
.hero h1{font-size:clamp(38px,5.6vw,66px);color:var(--white);font-weight:600;line-height:1.05;max-width:760px;}
.hero h1 em{font-style:normal;color:var(--gold);}
.hero-sub{color:rgba(255,255,255,.75);font-size:17px;max-width:520px;margin-bottom:34px;}
.hero-actions{display:flex;gap:18px;flex-wrap:wrap;}
.scroll-cue{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:8px;color:rgba(255,255,255,.6);font-size:11px;letter-spacing:.2em;text-transform:uppercase;font-family:'Poppins',sans-serif;}
.scroll-cue .line{width:1px;height:34px;background:linear-gradient(rgba(255,255,255,.8),transparent);animation:scrollcue 1.8s infinite;}
@keyframes scrollcue{0%{transform:scaleY(0);transform-origin:top;}50%{transform:scaleY(1);transform-origin:top;}51%{transform-origin:bottom;}100%{transform:scaleY(0);transform-origin:bottom;}}

.strip{background:var(--navy);border-top:1px solid rgba(255,255,255,.08);}
.strip .container{display:flex;justify-content:space-between;flex-wrap:wrap;gap:22px;padding:22px 24px;}
.strip .item{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.85);}
.strip .item svg{width:26px;height:26px;flex:none;color:var(--gold);}
.strip .item .t1{font-family:'Poppins',sans-serif;font-size:13.5px;font-weight:600;color:var(--white);display:block;}
.strip .item .t2{font-size:11.5px;color:rgba(255,255,255,.55);}

/* reveal on scroll */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease);}
.reveal.in{opacity:1;transform:none;}

/* ============ WHY CHOOSE / FEATURE ICON CARDS ============ */
.grid-8{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.feature-card{
  background:var(--white);border-radius:var(--card-radius);padding:32px 26px;
  box-shadow:var(--shadow-card);transition:transform .4s var(--ease),box-shadow .4s var(--ease);
  border:1px solid rgba(15,36,64,.05);
}
.feature-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-hover);}
.feature-card .ic{
  width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,#eef2f6,#fff);
  display:flex;align-items:center;justify-content:center;margin-bottom:20px;
  box-shadow:inset 0 0 0 1px rgba(15,36,64,.06);
}
.feature-card .ic svg{width:24px;height:24px;color:var(--navy);}
.feature-card h4{font-size:16px;margin-bottom:8px;}
.feature-card p{font-size:13.6px;margin:0;}

/* ============ PRODUCT CARDS ============ */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;}
.product-card{
  background:var(--white);border-radius:var(--card-radius);overflow:hidden;
  box-shadow:var(--shadow-card);transition:transform .45s var(--ease),box-shadow .45s var(--ease);
  display:flex;flex-direction:column;border:1px solid rgba(15,36,64,.05);
}
.product-card:hover{transform:translateY(-10px);box-shadow:var(--shadow-hover);}
.product-media{position:relative;overflow:hidden;aspect-ratio:1240/729;background:#eef1f5;}
.product-media img{width:100%;height:100%;object-fit:contain;transition:transform .7s var(--ease);}
.product-card:hover .product-media img{transform:scale(1.05);}
.product-tag{
  position:absolute;top:16px;left:16px;background:var(--navy);color:var(--white);
  font-family:'Poppins',sans-serif;font-size:10.5px;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;padding:6px 12px;border-radius:100px;
}
.product-tag.gold{background:var(--gold);color:var(--navy-ink);}
.product-quick{
  position:absolute;right:16px;bottom:-52px;display:flex;flex-direction:column;gap:8px;
  transition:bottom .4s var(--ease);
}
.product-card:hover .product-quick{bottom:16px;}
.product-quick button{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);border:none;
  display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(15,36,64,.2);
  transition:.3s;
}
.product-quick button:hover{background:var(--gold);}
.product-quick button svg{width:16px;height:16px;color:var(--navy);}
.product-body{padding:24px 24px 26px;display:flex;flex-direction:column;flex:1;}
.product-cat{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);font-weight:600;font-family:'Poppins',sans-serif;margin-bottom:6px;}
.product-body h3{font-size:19px;margin-bottom:8px;}
.product-body .desc{font-size:13.6px;margin-bottom:14px;}
.rating{display:flex;align-items:center;gap:6px;margin-bottom:14px;}
.rating svg{width:14px;height:14px;color:var(--gold);}
.rating span{font-size:12.5px;color:var(--text-soft);}
.product-sizes{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px;}
.product-sizes span{font-size:11px;border:1px solid rgba(15,36,64,.14);padding:4px 9px;border-radius:6px;color:var(--text-soft);}
.product-feat-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px;}
.product-feat-row .chip{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--navy);background:#eef2f6;padding:5px 10px;border-radius:100px;}
.product-feat-row .chip svg{width:12px;height:12px;color:var(--gold);}
.product-actions{margin-top:auto;display:flex;gap:10px;}

/* Products page toolbar / sidebar */
.products-layout{display:grid;grid-template-columns:270px 1fr;gap:36px;align-items:start;}
.filter-panel{
  background:var(--white);border-radius:var(--card-radius);padding:26px;box-shadow:var(--shadow-card);
  position:sticky;top:110px;
}
.filter-panel h4{font-size:14px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:16px;font-weight:600;}
.filter-group{padding:18px 0;border-top:1px solid rgba(15,36,64,.08);}
.filter-group:first-of-type{border-top:none;padding-top:0;}
.filter-group h5{font-family:'Poppins',sans-serif;font-size:12.5px;font-weight:600;margin-bottom:12px;color:var(--navy);}
.filter-opt{display:flex;align-items:center;gap:9px;margin-bottom:9px;font-size:13.4px;color:var(--text-soft);cursor:pointer;}
.filter-opt input{accent-color:var(--gold);width:15px;height:15px;}
.range-track{height:4px;background:#e6e9ee;border-radius:4px;position:relative;margin:16px 2px 8px;}
.range-fill{position:absolute;left:8%;right:22%;top:0;bottom:0;background:var(--gold);border-radius:4px;}
.range-labels{display:flex;justify-content:space-between;font-size:12px;color:var(--text-soft);}
.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;flex-wrap:wrap;gap:14px;}
.toolbar .count{font-size:13.6px;color:var(--text-soft);}
.select-sort{
  border:1px solid rgba(15,36,64,.15);border-radius:100px;padding:10px 18px;font-size:13px;
  font-family:'Poppins',sans-serif;background:var(--white);color:var(--navy);
}

/* ============ CATEGORY TILES ============ */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.cat-tile{
  position:relative;border-radius:var(--card-radius);overflow:hidden;aspect-ratio:1/1.05;
  box-shadow:var(--shadow-card);
}
.cat-tile img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease);}
.cat-tile:hover img{transform:scale(1.1);}
.cat-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,36,64,.82) 0%,rgba(15,36,64,.15) 55%,transparent 75%);}
.cat-tile .label{position:absolute;left:18px;bottom:16px;z-index:2;color:var(--white);font-family:'Poppins',sans-serif;font-weight:600;font-size:15px;}
.cat-tile .label small{display:block;font-weight:400;font-size:11px;color:rgba(255,255,255,.7);margin-top:3px;}

/* ============ STATS / TIMELINE ============ */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center;}
.stat-num{font-family:'Poppins',sans-serif;font-size:clamp(32px,4vw,46px);font-weight:600;color:var(--gold);}
.stat-label{font-size:13px;color:rgba(255,255,255,.7);letter-spacing:.03em;}

.timeline{position:relative;margin-top:20px;}
.timeline::before{content:"";position:absolute;left:19px;top:6px;bottom:6px;width:1px;background:rgba(15,36,64,.14);}
.timeline-item{position:relative;padding-left:56px;margin-bottom:34px;}
.timeline-item:last-child{margin-bottom:0;}
.timeline-item .dot{position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:var(--white);border:1.5px solid var(--gold);display:flex;align-items:center;justify-content:center;font-family:'Poppins',sans-serif;font-weight:600;font-size:12px;color:var(--navy);box-shadow:var(--shadow-card);}
.timeline-item h4{font-size:16px;margin-bottom:6px;}
.timeline-item p{font-size:13.8px;margin:0;}

/* ============ TESTIMONIALS ============ */
.testi-card{background:var(--white);border-radius:var(--card-radius);padding:30px;box-shadow:var(--shadow-card);}
.testi-card .stars{display:flex;gap:3px;margin-bottom:16px;}
.testi-card .stars svg{width:14px;height:14px;color:var(--gold);}
.testi-card p{font-size:14.5px;color:var(--text);font-style:italic;}
.testi-person{display:flex;align-items:center;gap:12px;margin-top:18px;}
.testi-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--navy),var(--navy-deep));color:var(--white);display:flex;align-items:center;justify-content:center;font-family:'Poppins',sans-serif;font-weight:600;font-size:14px;}
.testi-person .name{font-family:'Poppins',sans-serif;font-size:13.5px;font-weight:600;color:var(--navy);}
.testi-person .loc{font-size:12px;color:var(--text-soft);}

/* ============ FOOTER ============ */
.site-footer{background:var(--navy-ink);color:rgba(255,255,255,.7);padding-top:80px;}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:40px;padding-bottom:56px;border-bottom:1px solid rgba(255,255,255,.08);}
.footer-grid h5{font-family:'Poppins',sans-serif;color:var(--white);font-size:14px;margin-bottom:20px;letter-spacing:.03em;}
.footer-grid ul li{margin-bottom:11px;font-size:13.6px;}
.footer-grid ul li a:hover{color:var(--gold);}
.footer-about p{font-size:13.6px;color:rgba(255,255,255,.6);}
.footer-social{display:flex;gap:10px;margin-top:18px;}
.footer-social a{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;transition:.3s;}
.footer-social a:hover{background:var(--gold);border-color:var(--gold);}
.footer-social a svg{width:15px;height:15px;color:var(--white);}
.footer-social a:hover svg{color:var(--navy-ink);}
.newsletter-row{display:flex;gap:0;margin-top:8px;border-radius:100px;overflow:hidden;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);}
.newsletter-row input{flex:1;background:transparent;border:none;padding:14px 18px;color:var(--white);font-size:13.5px;outline:none;}
.newsletter-row input::placeholder{color:rgba(255,255,255,.4);}
.newsletter-row button{background:var(--gold);border:none;padding:0 20px;color:var(--navy-ink);font-weight:600;font-size:13px;font-family:'Poppins',sans-serif;}
.footer-bottom{padding:26px 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12.5px;color:rgba(255,255,255,.45);}
.footer-bottom a{color:rgba(255,255,255,.45);}
.footer-bottom .legal a{margin-left:18px;}

/* ============ PAGE BANNER (inner pages) ============ */
.page-banner{position:relative;padding:190px 0 90px;background:var(--navy-ink);overflow:hidden;}
.page-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.28;}
.page-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,36,64,.55),rgba(15,36,64,.92));}
.page-banner .container{position:relative;z-index:2;}
.breadcrumb{display:flex;gap:8px;align-items:center;font-size:12.5px;color:rgba(255,255,255,.55);margin-bottom:16px;font-family:'Poppins',sans-serif;}
.breadcrumb a:hover{color:var(--gold);}
.page-banner h1{color:var(--white);font-size:clamp(30px,4vw,48px);margin-bottom:10px;}
.page-banner p{color:rgba(255,255,255,.65);max-width:560px;margin:0;}

/* ============ ABOUT ============ */
.about-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
.about-hero-grid img{border-radius:24px;box-shadow:var(--shadow-soft);}
.value-card{background:var(--bg);border-radius:var(--card-radius);padding:26px;border:1px solid rgba(15,36,64,.06);}
.value-card h4{font-size:16px;}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.process-card{text-align:center;padding:10px;}
.process-num{width:54px;height:54px;border-radius:50%;background:var(--navy);color:var(--gold);display:flex;align-items:center;justify-content:center;font-family:'Poppins',sans-serif;font-weight:600;margin:0 auto 16px;}
.process-card h4{font-size:15px;}
.process-card p{font-size:13px;}

/* ============ PRODUCT DETAIL ============ */
.detail-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:flex-start;}
.gallery-main{border-radius:var(--card-radius);overflow:hidden;box-shadow:var(--shadow-card);aspect-ratio:4/3;background:#eef1f5;cursor:zoom-in;position:relative;}
.gallery-main img{width:100%;height:100%;object-fit:contain;transition:transform .35s ease;}
.gallery-thumbs{display:flex;gap:12px;margin-top:14px;}
.gallery-thumbs .thumb{width:104px;height:80px;border-radius:10px;overflow:hidden;cursor:pointer;border:2px solid transparent;opacity:.65;transition:.25s;flex:none;background:#eef1f5;}
.gallery-thumbs .thumb.active{border-color:var(--gold);opacity:1;}
.gallery-thumbs .thumb img{width:100%;height:100%;object-fit:contain;}
.detail-info .cat-link{font-size:12px;color:var(--gold);text-transform:uppercase;letter-spacing:.09em;font-weight:600;font-family:'Poppins',sans-serif;}
.detail-info h1{font-size:32px;margin:10px 0 12px;}
.price-row{display:flex;align-items:baseline;gap:12px;margin:18px 0;}
.price-now{font-family:'Poppins',sans-serif;font-size:28px;font-weight:600;color:var(--navy);}
.price-mrp{font-size:16px;color:var(--text-soft);text-decoration:line-through;}
.price-off{background:#e9f7ee;color:#1f9d55;font-size:12px;font-weight:600;padding:4px 10px;border-radius:100px;}
.emi-note{font-size:12.8px;color:var(--text-soft);margin-bottom:22px;}
.emi-note b{color:var(--navy);}
.select-row{margin-bottom:22px;}
.select-row label{display:block;font-family:'Poppins',sans-serif;font-size:12.5px;font-weight:600;color:var(--navy);margin-bottom:10px;text-transform:uppercase;letter-spacing:.04em;}
.pill-row{display:flex;gap:10px;flex-wrap:wrap;}
.pill-opt{border:1.5px solid rgba(15,36,64,.16);padding:9px 18px;border-radius:10px;font-size:13.5px;color:var(--text);cursor:pointer;transition:.25s;background:var(--white);}
.pill-opt.active,.pill-opt:hover{border-color:var(--gold);background:#fbf6e9;color:var(--navy-deep);}
.qty-row{display:flex;align-items:center;gap:0;border:1.5px solid rgba(15,36,64,.16);border-radius:10px;width:fit-content;}
.qty-row button{width:40px;height:44px;background:none;border:none;font-size:17px;color:var(--navy);}
.qty-row span{width:40px;text-align:center;font-family:'Poppins',sans-serif;font-weight:600;}
.detail-cta-row{display:flex;gap:14px;margin:26px 0;}
.info-note{display:flex;align-items:flex-start;gap:12px;background:#eef2f6;border-radius:14px;padding:16px 18px;font-size:13px;color:var(--text-soft);margin-bottom:14px;}
.info-note svg{width:20px;height:20px;color:var(--navy);flex:none;margin-top:1px;}
.feat-icon-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:34px;}
.feat-icon{text-align:center;padding:18px 8px;border-radius:14px;background:var(--bg);}
.feat-icon svg{width:24px;height:24px;color:var(--gold);margin-bottom:8px;}
.feat-icon span{display:block;font-size:11.5px;color:var(--navy);font-weight:600;font-family:'Poppins',sans-serif;}

.tabs-nav{display:flex;gap:8px;border-bottom:1px solid rgba(15,36,64,.1);margin-bottom:34px;flex-wrap:wrap;}
.tabs-nav button{
  background:none;border:none;padding:14px 22px;font-family:'Poppins',sans-serif;font-size:13.8px;
  font-weight:600;color:var(--text-soft);position:relative;
}
.tabs-nav button.active{color:var(--navy);}
.tabs-nav button.active::after{content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:2px;background:var(--gold);}
.tab-panel{display:none;}
.tab-panel.active{display:block;}
.spec-table{width:100%;border-collapse:collapse;}
.spec-table tr{border-bottom:1px solid rgba(15,36,64,.08);}
.spec-table td{padding:13px 6px;font-size:13.8px;}
.spec-table td:first-child{color:var(--text-soft);width:220px;}
.spec-table td:last-child{color:var(--navy);font-weight:500;}
.check-list li{display:flex;gap:10px;margin-bottom:12px;font-size:14px;color:var(--text);}
.check-list svg{width:17px;height:17px;color:var(--gold);flex:none;margin-top:2px;}

.review-card{border-bottom:1px solid rgba(15,36,64,.08);padding:22px 0;}
.review-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;}

/* ============ CONTACT ============ */
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:50px;align-items:flex-start;}
.contact-info-card{background:var(--navy);color:var(--white);border-radius:var(--card-radius);padding:40px 32px;}
.contact-info-card h3{color:var(--white);}
.contact-row{display:flex;gap:16px;margin-bottom:26px;}
.contact-row .ic{width:44px;height:44px;border-radius:12px;background:rgba(212,175,55,.15);display:flex;align-items:center;justify-content:center;flex:none;}
.contact-row .ic svg{width:20px;height:20px;color:var(--gold);}
.contact-row h5{font-family:'Poppins',sans-serif;font-size:13.5px;color:var(--white);margin-bottom:4px;}
.contact-row p{font-size:13.6px;color:rgba(255,255,255,.68);margin:0;}
.map-wrap{border-radius:16px;overflow:hidden;margin-top:26px;height:210px;}
.map-wrap iframe{width:100%;height:100%;border:0;filter:grayscale(.2);}
.form-card{background:var(--white);border-radius:var(--card-radius);padding:40px;box-shadow:var(--shadow-card);}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
.field label{display:block;font-size:12.5px;font-weight:600;color:var(--navy);margin-bottom:8px;font-family:'Poppins',sans-serif;}
.field input,.field textarea,.field select{
  width:100%;border:1.5px solid rgba(15,36,64,.14);border-radius:10px;padding:13px 16px;
  font-family:'Inter',sans-serif;font-size:14px;color:var(--text);background:var(--bg);
  transition:.25s;outline:none;
}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--gold);background:var(--white);}
.field textarea{resize:vertical;min-height:120px;}
.form-note{font-size:12px;color:var(--text-soft);margin-top:12px;}
.form-success{display:none;align-items:center;gap:12px;background:#eafaf0;color:#1f9d55;padding:14px 18px;border-radius:12px;font-size:13.5px;margin-top:16px;}
.form-success.show{display:flex;}

/* CTA banner */
.cta-band{
  position:relative;border-radius:28px;overflow:hidden;padding:70px 60px;text-align:center;
  background:linear-gradient(120deg,var(--navy),var(--navy-ink));isolation:isolate;
}
.cta-band::before{content:"";position:absolute;width:420px;height:420px;background:radial-gradient(circle,rgba(212,175,55,.28),transparent 70%);top:-160px;right:-100px;z-index:-1;}
.cta-band h2{color:var(--white);font-size:clamp(24px,3vw,36px);max-width:600px;margin:0 auto 14px;}
.cta-band p{color:rgba(255,255,255,.7);max-width:480px;margin:0 auto 30px;}
.cta-band-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}

/* recently viewed / related */
.related-row{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}

.notice-strip{background:#fbf6e9;border:1px solid rgba(212,175,55,.35);color:var(--navy-deep);font-size:13px;padding:12px 18px;border-radius:12px;display:flex;gap:10px;align-items:flex-start;}
.notice-strip svg{width:17px;height:17px;color:var(--gold);flex:none;margin-top:1px;}

/* ============ RESPONSIVE ============ */
@media (max-width:1080px){
  .grid-8{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .cat-grid{grid-template-columns:repeat(3,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .products-layout{grid-template-columns:1fr;}
  .filter-panel{position:static;}
  .detail-grid{grid-template-columns:1fr;gap:40px;}
  .contact-grid{grid-template-columns:1fr;}
  .about-hero-grid{grid-template-columns:1fr;}
  .process-grid{grid-template-columns:repeat(2,1fr);}
  .related-row{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .section{padding:64px 0;}
  .grid-3,.grid-2,.cat-grid,.grid-8,.feat-icon-grid{grid-template-columns:repeat(2,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .strip .container{justify-content:center;text-align:center;}
  .form-row{grid-template-columns:1fr;}
  .hero-badge-row{gap:20px;}
  .footer-grid{grid-template-columns:1fr;}
  .process-grid{grid-template-columns:1fr 1fr;}
  .related-row{grid-template-columns:1fr 1fr;}
  .page-banner{padding:150px 0 60px;}
  .gallery-main{aspect-ratio:1/1;}
}

/* ============================================================
   WORDPRESS COMPATIBILITY + EXTRA MOBILE POLISH
   ============================================================ */

/* wp_nav_menu renders <ul class="nav-links"><li><a>...</a></li></ul> —
   reset list styling so it matches the original flex nav exactly */
.nav-links{list-style:none;}
.nav-links li{list-style:none;margin:0;}
.nav-links li.current-menu-item>a,
.nav-links li.current_page_item>a{color:var(--gold) !important;}
.nav-links li.current-menu-item>a::after,
.nav-links li.current_page_item>a::after{width:100%;}
.nav-links li.menu-item-has-children{position:relative;}

/* core WP image/caption/alignment classes */
.alignleft{float:left;margin:0 24px 16px 0;}
.alignright{float:right;margin:0 0 16px 24px;}
.aligncenter{display:block;margin-left:auto;margin-right:auto;}
.wp-caption{max-width:100%;}
.wp-caption-text{font-size:12.5px;color:var(--text-soft);text-align:center;margin-top:6px;}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.gallery img{border-radius:10px;}

/* admin bar spacing so the sticky header isn't covered when logged in */
body.admin-bar .site-header{top:32px;}
@media screen and (max-width:782px){
  body.admin-bar .site-header{top:46px;}
}

/* extra small phones — keep type and spacing comfortable below 400px */
@media (max-width:400px){
  .hero-inner h1,.section-head h2,.page-banner h1{font-size:clamp(24px,7vw,30px) !important;}
  .container{padding-left:16px;padding-right:16px;}
  .grid-2,.cat-grid,.grid-8,.feat-icon-grid,.stats-grid,.process-grid,.related-row{grid-template-columns:1fr !important;}
  .detail-cta-row{flex-direction:column;}
  .cta-band-actions{flex-direction:column;width:100%;}
  .cta-band-actions .btn{width:100%;text-align:center;}
}

/* ============================================================
   PRODUCT CARDS — consistent 2-per-row layout on every mobile
   width (previously mismatched: 2-col cramped on some phones,
   1-col on others). Cards are now tuned specifically for the
   narrow ~150-260px card width they get at 2 columns. Sits inside
   the .grid-3 rule below so it only overrides mobile sizing.
   ============================================================ */
@media (max-width:640px){
  .grid-3{grid-template-columns:repeat(2,1fr) !important;gap:14px;}
  .product-card{border-radius:14px;}
  .product-tag{top:10px;left:10px;font-size:9px;padding:5px 9px;letter-spacing:.04em;max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .product-quick{right:10px;bottom:10px;}
  .product-quick button{width:30px;height:30px;}
  .product-quick button svg{width:13px;height:13px;}
  .product-body{padding:14px 14px 16px;}
  .product-cat{font-size:9.5px;margin-bottom:4px;letter-spacing:.06em;}
  .product-body h3{font-size:14.5px;line-height:1.28;margin-bottom:6px;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .product-body .desc{font-size:12px;line-height:1.5;margin-bottom:10px;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
  .rating{margin-bottom:10px;gap:4px;flex-wrap:wrap;}
  .rating svg{width:11px;height:11px;}
  .rating span{font-size:10.5px;}
  .product-sizes{gap:4px;margin-bottom:12px;}
  .product-sizes span{font-size:9.5px;padding:3px 6px;border-radius:5px;}
  .product-actions .btn{font-size:12px;padding:10px 8px;}
}
@media (max-width:360px){
  .grid-3{gap:10px;}
  .product-body{padding:12px 12px 14px;}
  .product-body h3{font-size:13.5px;}
}

/* prevent horizontal scroll from wide tables/embeds on small screens */
.spec-table{display:block;overflow-x:auto;white-space:nowrap;}
.map-wrap iframe{width:100%;border:0;}
table{max-width:100%;}
img,iframe,video{max-width:100%;height:auto;}

/* touch-friendly tap targets on mobile */
@media (max-width:640px){
  .nav-links a{padding:10px 0;display:inline-block;}
  .btn,.qty-row button,.pill-opt{min-height:44px;}
}
