/* ============================================================================
   Ramu's Furniture & Interiors — consolidated theme (Stage 1)
   ----------------------------------------------------------------------------
   Merges two source stylesheets from ui/ into one file, standardized on the
   navy/gold commerce palette (per the approved reskin plan):
     1) ui/styles.css              — marketing pages (home/shop/about/contact)
     2) the inline <style> block copy-pasted across ui/cart.html, checkout.html,
        login.html, register.html, wishlist.html, account-*.html, order-detail.html
        ("the commerce block")

   Where both sources define the SAME selector (e.g. .hero, .product-grid,
   .product-card, .page-hero, section, .btn, .cat-grid/.cat-card, .chip,
   .room-grid/.room-card, .newsletter, .gallery-strip, .timeline, .wrap,
   .eyebrow, body, .qty-stepper), both declarations are kept in the file but
   the commerce block's version is placed LAST so it wins the cascade at equal
   specificity — this is exactly how the two sources already interact inside
   the mockups themselves (styles.css loaded via <link>, the commerce rules
   follow as an inline <style> that naturally overrides it). Selectors that
   exist in only one source are kept as-is regardless of which source.

   Section comment headers below mostly mirror the originals so this file
   stays easy to diff against ui/styles.css and the cart.html <style> blocks.
   ============================================================================ */

:root{
  /* ---- Canonical Ramu's navy/gold palette (unifies both source palettes) ---- */
  --navy:#0B1D8C;
  --blue:#1F5FE0;
  --blue-light:#3E7BFF;
  --gold:#F4B400;
  --gold-dark:#C98F00;
  --cream:#FBF8F2;
  --cream-2:#F3ECDC;
  --ink:#1A1410;
  --ink-soft:#4A5178;
  --white:#FFFFFF;

  /* ---- Shape / elevation tokens used across both sources ---- */
  --radius-arch:18px;   /* commerce components: form-shell, panel, summary-card, cards */
  --radius-lg:28px;     /* marketing components: hero-panel, about-photo, room-card */
  --radius-md:16px;     /* marketing components: feature-card, product-card (marketing) */
  --shadow:0 18px 40px -18px rgba(11,29,140,0.35);
  --line: #dfe2f2; /* marketing border color, aliased onto the unified palette */

  /* ---- Legacy marketing token names, aliased onto the unified navy/gold
     palette so every ui/styles.css rule below renders in navy/gold without
     needing a per-selector rewrite ---- */
  --blue-deep:#0a1240;
  --blue-tint: #eef1ff;
  --yellow:var(--gold);
  --yellow-deep: #e8a400;
  --paper:var(--cream);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Manrope', sans-serif;
  color:var(--ink);
  /*background:var(--cream);*/
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
.wrap{max-width:1240px; margin:0 auto; padding:0 32px;}
.eyebrow{
  font-family:'Manrope', sans-serif;
  font-weight:600;
  font-size:12.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--navy);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--gold-dark);
  display:inline-block;
}
/* Single-family typography: Manrope throughout. Headings carry more weight and
   tighter tracking than the old serif needed, so display sizes still hold. */
h1,h2,h3,h4{
  font-family:'Manrope', sans-serif;
  font-weight:800;
  line-height:1.14;
  letter-spacing:-.022em;
  color:var(--ink);
}
h3,h4{font-weight:700; letter-spacing:-.015em;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Manrope', sans-serif;
  font-weight:600;
  font-size:14.5px;
  padding:15px 26px;
  border-radius:999px;
  cursor:pointer;
  border:1.5px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--gold); color:var(--navy); box-shadow:0 6px 0 var(--gold-dark);}
.btn-primary:hover{box-shadow:0 8px 0 var(--gold-dark);}
.btn-primary:active{transform:translateY(2px); box-shadow:0 3px 0 var(--gold-dark);}
.btn-ghost{background:transparent; border-color:var(--white); color:var(--white);}
.btn-ghost:hover{background:rgba(255,255,255,.12);}
.btn-dark{background:var(--blue); color:var(--white); box-shadow:0 6px 0 var(--navy);}
.btn-dark:hover{box-shadow:0 8px 0 var(--navy);}
.btn-whatsapp{background:#25D366; color:#fff; box-shadow:0 6px 0 #1DA851; gap:10px;}
.btn-whatsapp:hover{box-shadow:0 8px 0 #1DA851;}
.btn-whatsapp:active{transform:translateY(2px); box-shadow:0 3px 0 #1DA851;}
/* commerce-block button variants (used on cart/checkout/account pages, kept alongside the marketing ones above) */
.btn-gold{background:var(--gold); color:var(--navy);}
.btn-gold:hover{background:var(--gold-dark); transform:translateY(-2px);}
.btn-outline{border-color:var(--white); color:var(--white);}
.btn-outline:hover{background:rgba(255,255,255,0.12);}
.btn-navy{background:var(--navy); color:var(--white);}
.btn-navy:hover{background:var(--blue);}
.btn-block{width:100%; justify-content:center;}

/* ---------- Joinery divider signature element ---------- */
.joint-divider{width:100%; height:34px; display:block;}
.joint-divider path{fill:var(--gold);}
.joint-divider.flip path{fill:var(--white);}
.joint-divider.on-blue path{fill:var(--blue);}

/* ---------- Header ---------- */
.topbar{
  background:var(--blue-deep); color:#c9d0f5;
  font-family:'Manrope', sans-serif;
  font-size:12.5px; letter-spacing:.03em;
  text-align:center; padding:9px 20px;
}
.topbar b{color:var(--gold);}
header.main{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 32px; max-width:1240px; margin:0 auto; position:relative;
  flex-wrap:wrap; row-gap:8px;
}
.logo{display:flex; align-items:center; gap:12px;}
.logo-img{height:46px; width:auto; display:block; flex:none;}
.logo-text{font-family:'Manrope', sans-serif; font-weight:600; font-size:19px; line-height:1.1;}
.logo-text small{
  display:block; font-family:'Manrope', sans-serif;
  font-size:9.5px; letter-spacing:.16em; color:var(--ink-soft); font-weight:600; margin-top:2px;
}
.nav-links{display:flex; align-items:center; gap:28px; font-family:'Manrope', sans-serif; font-size:14px; font-weight:500;}
.nav-links a{position:relative; padding:4px 0;}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:var(--gold-dark); transition:width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{width:100%;}
.nav-links a.active{color:var(--blue);}
.has-drop{position:relative;}
/*.dropdown{*/
/*  position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%);*/
/*  background:var(--white); border:1px solid var(--line); border-radius:14px;*/
/*  padding:10px; min-width:190px; box-shadow:0 22px 40px -18px rgba(10,18,64,.28);*/
/*  opacity:0; visibility:hidden; transition:opacity .2s ease, transform .2s ease;*/
/*}*/
.has-drop:hover .dropdown{opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);}
.dropdown a{display:block; padding:9px 12px; border-radius:8px; font-size:13.5px;}
/*.dropdown a:hover{background:var(--blue-tint);}*/
.dropdown a::after{display:none;}
.nav-icons{display:flex; align-items:center; /*gap:20px;*/}
.nav-icons a{display:flex; align-items:center; color:inherit;}
.nav-icons .cart{position:relative;}
.cart-badge{
  position:absolute; top:-8px; right:-9px; background:var(--gold);
  color:var(--navy); font-size:10px; font-weight:700;
  width:17px; height:17px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Manrope', sans-serif;
}

.nav-hamburger{
  display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  width:38px; height:38px; background:none; border:none; cursor:pointer; padding:0; flex:none;
  position:relative; z-index:2; touch-action:manipulation; -webkit-tap-highlight-color:transparent;
}
.nav-hamburger span{display:block; width:22px; height:2.5px; background:var(--navy); border-radius:2px; transition:transform .25s ease, opacity .2s ease;}
.nav-hamburger.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.nav-hamburger.open span:nth-child(2){opacity:0;}
.nav-hamburger.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

/* Bootstrap navbar-toggler (used by header.php's functioning Bootstrap collapse nav)
   restyled to sit visually alongside the mockup's icon set */
.navbar-toggler{border-color:var(--line);}
.navbar-toggler:focus{box-shadow:0 0 0 3px rgba(11,29,140,.2);}
.navbar-nav .nav-link{font-family:'Manrope', sans-serif; font-weight:500; color:var(--ink);}
.navbar-nav .nav-link.active{color:var(--blue);}

/* ---------- Page hero (secondary pages, marketing version) ---------- */
.page-hero{
  padding:56px 0 64px; background:var(--blue-tint); position:relative; overflow:hidden;
}
.page-hero .wrap{position:relative; z-index:1;}
.page-hero h1{font-size:clamp(32px,4vw,46px); margin-top:14px;}
.page-hero p{color:var(--ink-soft); font-size:16px; margin-top:14px; max-width:520px;}
.page-hero-motif{position:absolute; right:-80px; top:-80px; width:320px; height:320px; border-radius:50%; background:rgba(255,196,34,.25);}

/* ---------- Hero (home) ---------- */
.hero{position:relative; background:var(--white); padding:64px 0 0; overflow:hidden;}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center;}
.hero-copy .eyebrow{margin-bottom:22px;}
.hero h1{font-size:clamp(38px, 5vw, 62px); margin-bottom:22px;}
.hero h1 em{font-style:normal; color:var(--blue); position:relative;}
.hero h1 .hl{background:linear-gradient(180deg, transparent 62%, var(--gold) 62%); padding:0 2px;}
.hero p.lead{font-size:17.5px; line-height:1.65; color:var(--ink-soft); max-width:480px; margin-bottom:32px;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px;}
.stat-row{display:flex; gap:44px; padding-top:28px; border-top:1px solid var(--line);}
.stat-row .stat b{font-family:'Manrope', sans-serif; font-size:32px; color:var(--navy); display:block; font-weight:600;}
.stat-row .stat span{font-family:'Manrope', sans-serif; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft); font-weight:600;}
.hero-visual{position:relative; height:560px;}
.hero-panel{
  position:absolute; inset:0; border-radius:var(--radius-lg);
  background:radial-gradient(circle at 78% 18%, rgba(244,180,0,.55), transparent 45%), linear-gradient(155deg, var(--blue) 0%, #1b30b0 46%, var(--navy) 100%);
  overflow:hidden; box-shadow:0 30px 60px -25px rgba(10,18,64,.45);
}
.grain-lines{position:absolute; inset:0; opacity:.14; background-image:repeating-linear-gradient(100deg, transparent 0 26px, rgba(255,255,255,.5) 26px 27px);}
.hero-panel .frame-svg{position:absolute; inset:0; width:100%; height:100%;}
.hero-tag{
  position:absolute; left:28px; bottom:28px; background:var(--white); border-radius:16px; padding:16px 20px;
  display:flex; gap:14px; align-items:center; box-shadow:0 18px 30px -12px rgba(10,18,64,.35); max-width:250px;
}
.hero-tag .dot{width:38px; height:38px; border-radius:10px; background:var(--gold); display:flex; align-items:center; justify-content:center; flex:none; font-family:'Manrope', sans-serif; font-weight:700; color:var(--navy);}
.hero-tag p{font-size:12.5px; line-height:1.4; color:var(--ink-soft); font-weight:500;}
.hero-tag strong{display:block; font-family:'Manrope', sans-serif; font-size:13px; color:var(--ink); margin-bottom:2px;}
.hero-badge{position:absolute; top:26px; right:26px; background:var(--gold); color:var(--navy); font-family:'Manrope', sans-serif; font-weight:700; font-size:11.5px; letter-spacing:.05em; padding:9px 14px; border-radius:999px;}

/* ---------- Section shell (marketing version) ---------- */
section{padding:96px 0;}
.section-head{max-width:640px; margin-bottom:56px;}
.section-head h2{font-size:clamp(28px,3.4vw,40px); margin-top:16px;}
.section-head p{color:var(--ink-soft); font-size:16px; margin-top:14px; line-height:1.6;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head.split{display:flex; justify-content:space-between; align-items:flex-end; gap:40px; max-width:none;}
.section-head.split .right p{max-width:340px; color:var(--ink-soft); font-size:15px; line-height:1.6; text-align:right;}

/* ---------- Why choose (features) ---------- */
.features{background:var(--blue-tint);}
.feature-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.feature-card{background:var(--white); border-radius:var(--radius-md); padding:34px 30px; border:1px solid var(--line); position:relative; transition:transform .3s ease, box-shadow .3s ease;}
.feature-card:hover{transform:translateY(-6px); box-shadow:0 22px 40px -22px rgba(10,18,64,.28);}
.feature-num{font-family:'Manrope', sans-serif; font-size:12px; font-weight:700; color:var(--gold-dark); letter-spacing:.08em; margin-bottom:18px; display:block;}
.feature-icon{width:52px; height:52px; border-radius:14px; background:var(--blue); display:flex; align-items:center; justify-content:center; margin-bottom:20px;}
.feature-card h3{font-size:20px; margin-bottom:10px; font-weight:600;}
.feature-card p{color:var(--ink-soft); font-size:14.5px; line-height:1.6;}

/* ---------- Categories (marketing version) ---------- */
.cat-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:18px;}
.cat-card{text-align:center; cursor:pointer;}
.cat-shape{aspect-ratio:1/1.05; border-radius:22px 22px 8px 8px; background:var(--blue-tint); border:1.5px solid var(--line); position:relative; overflow:hidden; margin-bottom:14px; transition:border-color .25s ease, transform .25s ease; display:flex; align-items:center; justify-content:center;}
.cat-card:hover .cat-shape{transform:translateY(-4px); border-color:var(--gold-dark);}
.cat-shape svg{width:46%; height:46%;}
.cat-card h4{font-family:'Manrope', sans-serif; font-weight:600; font-size:14.5px;}
.cat-card span{font-size:12px; color:var(--ink-soft);}

/* ---------- New arrivals / product grid (marketing version) ---------- */
.arrivals{background:var(--paper);}
.filter-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:40px;}
.chip{font-family:'Manrope', sans-serif; font-weight:600; font-size:13px; padding:10px 20px; border-radius:999px; border:1.5px solid var(--line); background:var(--white); cursor:pointer; transition:.25s;}
.chip.active, .chip:hover{background:var(--navy); border-color:var(--navy); color:var(--white);}
.product-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.product-card{display:block; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; transition:box-shadow .3s ease, transform .3s ease;}
/*.product-card:hover{transform:translateY(-5px); box-shadow:0 24px 40px -24px rgba(10,18,64,.3);}*/
.product-thumb{aspect-ratio:1/.92; position:relative; background:var(--blue-tint); display:flex; align-items:center; justify-content:center;}
.product-thumb svg{width:56%; height:56%; opacity:.9;}
.product-thumb img.product-photo{width:100%; height:100%; object-fit:cover;}
.product-body .sku{display:block; font-family:'Manrope', sans-serif; font-size:10.5px; color:var(--ink-soft,#6b7290); letter-spacing:.04em; margin-top:-4px; margin-bottom:2px;}
.p-badge{position:absolute; top:12px; left:12px; font-family:'Manrope', sans-serif; font-size:10.5px; font-weight:700; letter-spacing:.05em; padding:5px 10px; border-radius:999px;}
.p-badge.new{background:var(--gold); color:var(--navy);}
.p-badge.best{background:var(--blue); color:var(--white);}
.p-fav{position:absolute; top:10px; right:10px; width:32px; height:32px; border-radius:50%; background:var(--white); display:flex; align-items:center; justify-content:center; box-shadow:0 4px 10px rgba(10,18,64,.15);}
.product-body{padding:18px 18px 20px;}
.product-body .tag{font-family:'Manrope', sans-serif; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-dark); font-weight:700;}
.product-body h4{font-family:'Manrope', sans-serif; font-weight:600; font-size:16.5px; margin:6px 0 10px;}
.price-row{display:flex; align-items:center; justify-content:space-between;}
.price{font-family:'Manrope', sans-serif; font-weight:700; font-size:16px; color:var(--ink);}
.price .old{font-weight:500; font-size:13px; color:#9ca2c4; text-decoration:line-through; margin-left:6px;}
.add-btn{width:36px; height:36px; border-radius:50%; background:var(--navy); color:var(--white); display:flex; align-items:center; justify-content:center; font-size:18px; cursor:pointer; transition:background .25s ease; padding: 0;}
.add-btn:hover{background:var(--gold-dark); color:var(--navy);}
.catalogue-cta{text-align:center; margin-top:52px;}

/* ---------- Shop the room (marketing version) ---------- */
.room-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.room-card{position:relative; border-radius:var(--radius-lg); overflow:hidden; height:400px; display:flex; align-items:flex-end; padding:26px;}
.room-card::before{content:""; position:absolute; inset:0; z-index:0;}
.room-card.living::before{background:linear-gradient(155deg,#1b30b0,var(--navy));}
.room-card.dining::before{background:linear-gradient(155deg,#233bd4,var(--blue));}
.room-card.bed::before{background:linear-gradient(155deg,var(--navy),#101a52);}
.room-card::after{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(0deg, rgba(0,0,0,.45), transparent 55%);}
.room-card svg{position:absolute; z-index:0; opacity:.5;}
.room-label{position:relative; z-index:2; color:var(--white);}
.room-label span{font-family:'Manrope', sans-serif; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); font-weight:700;}
.room-label h3{font-size:24px; margin-top:6px; color:var(--white);}

/* ---------- Interiors split (marketing version) ---------- */
.interior-block{padding:0;}
.interior-row{display:grid; grid-template-columns:1fr 1fr; align-items:stretch;}
.interior-visual{position:relative; min-height:520px; overflow:hidden;}
.interior-visual.res{background:linear-gradient(160deg, var(--blue-tint), var(--white));}
.interior-visual.com{background:linear-gradient(160deg, var(--blue), var(--navy));}
.interior-copy{padding:80px 64px; display:flex; flex-direction:column; justify-content:center;}
.interior-copy.on-blue{background:var(--navy); color:var(--white);}
.interior-copy.on-blue h2, .interior-copy.on-blue .eyebrow{color:var(--white);}
.interior-copy.on-blue .eyebrow::before{background:var(--gold);}
.interior-copy.on-blue p{color:#c3c9f0;}
.interior-copy p.desc{margin:20px 0 26px; font-size:16px; line-height:1.65; max-width:460px;}
.check-list{display:flex; flex-direction:column; gap:13px; margin-bottom:32px;}
.check-list li{display:flex; gap:12px; align-items:flex-start; font-size:15px; font-weight:500;}
.check-list svg{flex:none; margin-top:2px;}

/* ---------- Process strip (interiors page) ---------- */
.process-strip{background:var(--paper);}
.process-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:24px;}
.process-note{max-width:760px; margin:40px auto 0; text-align:center; font-size:14.5px; color:var(--ink-soft); line-height:1.65;}
.process-card{background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:28px 24px;}
.process-card .pnum{font-family:'Manrope', sans-serif; font-size:34px; color:var(--gold-dark); font-weight:600; display:block; margin-bottom:14px;}
.process-card h4{font-family:'Manrope', sans-serif; font-size:15px; margin-bottom:8px; font-weight:700;}
.process-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.55;}

/* ---------- About / timeline (marketing version) ---------- */
.about-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:center;}
.about-visual{position:relative; height:420px;}
.about-photo{position:absolute; inset:0; border-radius:var(--radius-lg); background:radial-gradient(circle at 20% 20%, rgba(244,180,0,.35), transparent 40%), linear-gradient(160deg,var(--blue),var(--navy));}
.about-copy p{color:var(--ink-soft); font-size:16px; line-height:1.7; margin:18px 0;}

.timeline-wrap{position:relative; margin-top:44px; padding-top:30px;}
.timeline-track{
  position:absolute; top:13px; left:0; right:0; height:2px;
  background-image:linear-gradient(90deg, var(--line) 0 100%),
    repeating-linear-gradient(90deg, var(--ink-soft) 0 1.5px, transparent 1.5px calc((100% - 2px) / 24));
  background-size:100% 2px, 100% 8px;
  background-position:0 0, 0 -3px;
  background-repeat:no-repeat, repeat-x;
  opacity:.9; z-index:0;
}
.timeline-fill{position:absolute; top:13px; left:0; height:2px; width:0%; background:var(--gold-dark); z-index:1; transition:width 1.1s cubic-bezier(.4,0,.2,1);}
.timeline-wrap.in .timeline-fill{width:100%;}
.timeline{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; position:relative; z-index:2;}
.tl-item{padding-right:8px;}
.tl-node{width:26px; height:26px; border-radius:50%; background:var(--white); border:3px solid var(--gold-dark); margin-bottom:16px; position:relative; z-index:2; display:flex; align-items:center; justify-content:center; transition:transform .3s ease, background .3s ease, border-color .3s ease;}
.tl-item:last-child .tl-node{background:var(--blue); border-color:var(--blue);}
.tl-item:last-child .tl-node::after{content:""; position:absolute; inset:-6px; border-radius:50%; border:1.5px solid var(--blue); opacity:.4;}
.tl-item:hover .tl-node{transform:scale(1.15);}
.tl-item b{font-family:'Manrope', sans-serif; color:var(--blue); font-size:19px; display:block; margin-bottom:8px; letter-spacing:-.01em;}
.tl-item p{font-size:13.5px; color:var(--ink-soft); line-height:1.55; max-width:180px;}

.capability-strip{display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:56px;}
.capability-strip span{font-family:'Manrope', sans-serif; font-size:12.5px; font-weight:600; letter-spacing:.03em; color:var(--blue); background:var(--blue-tint); border:1px solid var(--line); padding:9px 18px; border-radius:999px;}
.gallery-strip{display:grid; grid-template-columns:repeat(6,1fr); gap:4px; margin-top:40px;}
.gallery-strip div{aspect-ratio:1/1.1; background:linear-gradient(160deg, var(--blue-tint), var(--white)); border-top:1px solid var(--line);}
.gallery-strip div:nth-child(2n){background:linear-gradient(160deg,var(--white),var(--blue-tint));}
.gallery-strip div:nth-child(3n){background:linear-gradient(160deg,#dfe4ff,var(--white));}

/* ---------- Founder video ---------- */
.founder-video{margin-top:28px; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line); background:var(--navy); position:relative;}
.founder-video video{width:100%; max-height:420px; display:block; background:#000;}
.founder-video .video-caption{display:block; font-family:'Manrope', sans-serif; font-size:12.5px; font-weight:600; letter-spacing:.03em; color:var(--white); background:var(--navy); padding:12px 18px;}

/* ---------- Our Journey — vertical timeline ---------- */
.journey-section{background:var(--blue-tint);}
.journey-lede{max-width:680px; margin:0 auto 20px; text-align:center; font-size:15.5px; color:var(--ink-soft); line-height:1.7;}
.journey-timeline{position:relative; margin-top:56px;}
.journey-line{position:absolute; top:0; bottom:0; left:50%; width:2px; transform:translateX(-50%);
  background-image:linear-gradient(180deg, var(--line) 0 100%),
    repeating-linear-gradient(180deg, var(--ink-soft) 0 1.5px, transparent 1.5px 10px);
  background-size:2px 100%, 8px 100%; background-position:0 0,-3px 0;
  background-repeat:no-repeat, repeat-y; opacity:.9; z-index:0;}
.journey-fill{position:absolute; top:0; left:50%; width:2px; height:0%; transform:translateX(-50%); background:var(--gold-dark); z-index:1; transition:height 1.4s cubic-bezier(.4,0,.2,1);}
.journey-timeline.in .journey-fill{height:100%;}
.journey-item{display:grid; grid-template-columns:1fr 68px 1fr; align-items:center; column-gap:28px; position:relative; z-index:2; margin-bottom:44px;}
.journey-item:last-child{margin-bottom:0;}
.journey-card{background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:24px 26px; box-shadow:0 14px 30px -20px rgba(10,18,64,.25);}
.journey-item:nth-child(odd) .journey-card{grid-column:1; text-align:right;}
.journey-item:nth-child(even) .journey-card{grid-column:3; text-align:left;}
.journey-card h4{font-family:'Manrope', sans-serif; font-size:18px; color:var(--blue); margin-bottom:8px;}
.journey-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.6;}
.journey-node{grid-column:2; justify-self:center; width:68px; height:68px; border-radius:50%; background:var(--white); border:3px solid var(--gold-dark); display:flex; align-items:center; justify-content:center; font-family:'Manrope', sans-serif; font-weight:700; font-size:13px; color:var(--navy); box-shadow:0 0 0 6px var(--blue-tint); transition:transform .3s ease;}
.journey-item:hover .journey-node{transform:scale(1.1);}
.journey-item:last-child .journey-node{background:var(--blue); border-color:var(--blue); color:var(--white); box-shadow:0 0 0 6px var(--blue-tint), 0 0 0 9px rgba(21,38,147,.25);}
.journey-quote{margin-top:64px; background:linear-gradient(120deg, var(--blue) 0%, #1b30b0 60%, var(--navy) 100%); border-radius:var(--radius-lg); padding:52px 60px; text-align:center; position:relative; overflow:hidden;}
.journey-quote::before{content:"\201C"; position:absolute; top:-20px; left:30px; font-family:'Manrope', sans-serif; font-size:140px; color:rgba(244,180,0,.18); line-height:1;}
.journey-quote p{position:relative; font-family:'Manrope', sans-serif; font-weight:500; font-size:22px; line-height:1.55; color:var(--white); max-width:760px; margin:0 auto;}

/* ---------- Values (about page extra) ---------- */
.values-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.value-card{padding:26px; border-radius:var(--radius-md); background:var(--blue-tint); border:1px solid var(--line);}
.value-card h4{font-family:'Manrope', sans-serif; font-size:18px; margin-bottom:8px; color:var(--blue);}
.value-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.55;}

/* ---------- Testimonials (marketing version) ---------- */
.testimonials{background:var(--blue-tint);}
.t-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.t-card{background:var(--white); border-radius:var(--radius-md); padding:32px; border:1px solid var(--line); display:flex; flex-direction:column; justify-content:space-between; min-height:260px;}
.stars{color:var(--gold-dark); letter-spacing:2px; margin-bottom:18px; font-size:15px;}
.t-card p.quote{font-size:15px; line-height:1.65; color:var(--ink); font-family:'Manrope', sans-serif; font-weight:500;}
.t-person{display:flex; align-items:center; gap:12px; margin-top:24px;}
.t-avatar{width:42px; height:42px; border-radius:50%; background:var(--blue); color:var(--white); display:flex; align-items:center; justify-content:center; font-family:'Manrope', sans-serif; font-weight:700;}
.t-person b{font-size:14px; display:block;}
.t-person span{font-size:12.5px; color:var(--ink-soft);}

/* ---------- Contact ---------- */
.contact-head{text-align:center; max-width:620px; margin:0 auto 48px;}
.contact-cards{display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:800px; margin:0 auto;}
.contact-card{background:var(--blue-tint); border-radius:var(--radius-md); padding:28px 30px; border:1px solid var(--line);}
.contact-card h4{font-family:'Manrope', sans-serif; color:var(--blue); font-size:18px; margin-bottom:10px;}
.contact-card p{font-size:14.5px; color:var(--ink-soft); line-height:1.6;}

.contact-layout{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; margin-top:56px;}
.contact-form{background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px;}
.form-row{margin-bottom:20px;}
.form-row label{display:block; font-family:'Manrope', sans-serif; font-size:12.5px; font-weight:600; letter-spacing:.04em; margin-bottom:8px; color:var(--ink);}
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding:13px 16px; border-radius:10px; border:1.5px solid var(--line); font-family:'Manrope', sans-serif; font-size:14.5px; background:var(--white);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{outline:none; border-color:var(--blue);}
.form-row textarea{resize:vertical; min-height:110px;}
.map-panel{border-radius:var(--radius-lg); overflow:hidden; min-height:460px; position:relative; background:linear-gradient(155deg,var(--blue),var(--navy));}
.map-panel .pin{position:absolute; top:50%; left:50%; transform:translate(-50%,-60%);}
.faq-item{border-bottom:1px solid var(--line); padding:22px 0;}
.faq-item h4{font-family:'Manrope', sans-serif; font-size:17px; margin-bottom:8px; color:var(--blue);}
.faq-item p{font-size:14px; color:var(--ink-soft); line-height:1.6;}

.newsletter{background:linear-gradient(120deg, var(--blue) 0%, #1b30b0 60%, var(--navy) 100%); border-radius:var(--radius-lg); padding:56px 60px; margin-top:80px; display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; position:relative; overflow:hidden;}
.newsletter::before{content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%; background:rgba(244,180,0,.18);}
.newsletter h3{color:var(--white); font-size:26px; margin-bottom:10px; position:relative;}
.newsletter p{color:#c3c9f0; font-size:14.5px; max-width:380px; position:relative;}
.nl-form{display:flex; gap:10px; position:relative;}
.nl-form input{padding:15px 20px; border-radius:999px; border:none; width:260px; font-family:'Manrope', sans-serif; font-size:14px;}
.nl-form input:focus{outline:3px solid var(--gold);}

/* ---------- Footer ---------- */
footer{background:var(--blue-deep); color:#aeb4de; padding:76px 0 0;}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1.15fr 1.35fr; gap:44px; padding-bottom:56px;}
.footer-brand .logo-text, .footer-brand .logo-text small{color:var(--white);}
.footer-brand .logo-img{height:40px; background:var(--white); border-radius:6px; padding:4px 6px;}
.footer-brand p{font-size:14px; line-height:1.6; margin:16px 0 20px; max-width:280px;}
.social-row{display:flex; gap:10px;}
.social-row a{width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:var(--white); transition:background .25s ease;}
.social-row a:hover{background:var(--gold); color:var(--navy);}
.footer-col h5{font-family:'Manrope', sans-serif; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); margin-bottom:18px; font-weight:700;}
.footer-col li{margin-bottom:12px; font-size:14.5px;}
.footer-col a:hover{color:var(--white);}
.footer-col.contact-col li{display:flex; gap:10px; align-items:flex-start; font-size:14px;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1); padding:24px 0; display:flex; justify-content:space-between; font-size:13px; flex-wrap:wrap; gap:12px;}
.footer-bottom .links{display:flex; gap:22px;}
.foot-dev{opacity:0.85;}

[data-reveal]{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
[data-reveal].in{opacity:1; transform:translateY(0);}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{height:380px;}
  .feature-grid, .t-grid, .values-grid{grid-template-columns:1fr 1fr;}
  .cat-grid{grid-template-columns:repeat(3,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .room-grid{grid-template-columns:1fr;}
  .interior-row{grid-template-columns:1fr;}
  .interior-visual{min-height:280px;}
  .interior-copy{padding:56px 32px;}
  .about-grid{grid-template-columns:1fr;}
  .about-visual{height:320px; margin-bottom:40px;}
  .process-grid{grid-template-columns:1fr 1fr;}
  .contact-cards, .contact-layout{grid-template-columns:1fr;}
  .nav-hamburger{display:none;}
  /* header.php uses Bootstrap's own .collapse/.show toggle on #navbarNav (data-bs-toggle="collapse"),
     not the mockup's custom .nav-hamburger/.nav-links.open JS — so visibility here must ride on
     Bootstrap's collapse state, not a separate max-height/opacity gate (which would stay permanently
     closed since nothing ever adds .open). */
  .nav-links{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    background:var(--white); border-top:1px solid var(--line);
    /*box-shadow:0 18px 30px -14px rgba(10,18,64,.22);*/
    max-height:min(75vh, 560px); overflow-y:auto; -webkit-overflow-scrolling:touch;
    padding:10px 32px 22px;
  }
  .nav-links a{padding:13px 0; width:100%;}
  .nav-links a::after{display:none;}
  .has-drop{width:100%;}
  /*.dropdown{*/
  /*  position:static; opacity:1; visibility:visible; transform:none; box-shadow:none;*/
  /*  border:none; padding:0 0 4px 14px; min-width:0; margin-top:-6px;*/
  /*}*/
  /*.dropdown a{padding:9px 0; font-size:13px; color:var(--ink-soft);}*/
  .gallery-strip{grid-template-columns:repeat(3,1fr);}
  .section-head.split{flex-direction:column; align-items:flex-start;}
  .section-head.split .right p{text-align:left;}

  .timeline-track, .timeline-fill{left:13px; top:0; bottom:0; width:2px; height:auto; right:auto;
    background-image:linear-gradient(180deg, var(--line) 0 100%),
      repeating-linear-gradient(180deg, var(--ink-soft) 0 1.5px, transparent 1.5px 10px);
    background-size:2px 100%, 8px 100%; background-position:0 0,-3px 0;
    background-repeat:no-repeat, repeat-y;}
  .timeline-fill{background:var(--gold-dark); height:0%; width:2px; transition:height 1.1s cubic-bezier(.4,0,.2,1);}
  .timeline-wrap.in .timeline-fill{height:100%; width:2px;}
  .timeline{grid-template-columns:1fr; gap:26px; padding-left:38px;}
  .tl-item{position:relative; padding-left:6px;}
  .tl-item .tl-node{position:absolute; left:-38px; top:0; margin-bottom:0;}
  .tl-item p{max-width:none;}

  .journey-line, .journey-fill{left:22px; transform:none;}
  .journey-item{grid-template-columns:56px 1fr; column-gap:16px; padding-left:0;}
  .journey-node{grid-column:1; grid-row:1; width:44px; height:44px; font-size:10.5px; box-shadow:0 0 0 4px var(--blue-tint);}
  .journey-item:last-child .journey-node{box-shadow:0 0 0 4px var(--blue-tint), 0 0 0 6px rgba(21,38,147,.25);}
  .journey-item:nth-child(odd) .journey-card, .journey-item:nth-child(even) .journey-card{grid-column:2; grid-row:1; text-align:left;}
  .journey-quote{padding:40px 28px;}
  .journey-quote p{font-size:18px;}
  .founder-video video{max-height:340px;}
}
@media (max-width: 600px){
  .wrap{padding:0 20px;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:1fr;}
  .feature-grid, .t-grid, .values-grid, .process-grid{grid-template-columns:1fr;}
  .stat-row{gap:26px; flex-wrap:wrap;}
  .newsletter{flex-direction:column; align-items:flex-start; padding:40px 28px;}
  .nl-form{flex-direction:column; width:100%;}
  .nl-form input{width:100%;}
  .footer-grid{grid-template-columns:1fr 1fr; gap:32px;}

  /* Keep logo + icons + hamburger from overflowing on narrow phones */
  nav{padding:12px 16px; column-gap:8px;}
  .logo{gap:8px;}
  .logo-img{height:36px;}
  .logo-text{font-size:15px;}
  .logo-text small{display:none;}
  .nav-icons{gap:12px;}
  .nav-links{padding:10px 16px 20px;}
}

/* ---------- Product detail page ---------- */
.breadcrumb{display:flex; align-items:center; gap:8px; padding:22px 0 6px; font-size:13px; color:var(--ink-soft); flex-wrap:wrap;}
.breadcrumb a:hover{color:var(--blue);}
.breadcrumb span{color:var(--ink-soft);}
.breadcrumb .current{color:var(--ink); font-weight:600;}
.pd-layout{display:grid; grid-template-columns:.95fr 1fr; gap:52px; padding:20px 0 40px;}
.pd-main-thumb{aspect-ratio:1/.92; border-radius:var(--radius-lg); background:var(--blue-tint); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;}
.pd-main-thumb svg{width:48%; height:48%;}
.pd-main-thumb img{width:100%; height:100%; object-fit:cover;}
.pd-thumb-row{display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:12px;}
.pd-thumb{aspect-ratio:1/1; border-radius:var(--radius-md); background:var(--blue-tint); border:1.5px solid var(--line); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:border-color .2s ease; overflow:hidden;}
.pd-thumb svg{width:60%; height:60%;}
.pd-thumb img{width:100%; height:100%; object-fit:cover;}
.pd-thumb.active, .pd-thumb:hover{border-color:var(--gold-dark);}
.pd-info h1{font-size:32px; margin:10px 0 12px;}
.pd-rating{display:flex; align-items:center; gap:10px; margin-bottom:16px;}
.pd-rating .stars{margin-bottom:0; font-size:14px;}
.pd-rating-count{font-size:13px; color:var(--ink-soft);}
.pd-price-row{display:flex; align-items:baseline; gap:12px; margin-bottom:18px;}
.pd-price-row .price{font-size:28px; font-weight:700; font-family:'Manrope', sans-serif; color:var(--blue);}
.pd-price-row .old{font-size:16px; color:var(--ink-soft); text-decoration:line-through;}
.pd-gst-note{font-family:'Manrope', sans-serif; font-size:13px; color:var(--ink-soft);}
.pd-save{font-family:'Manrope', sans-serif; font-size:12px; font-weight:700; color:#1a7a3c; background:#e6f6ec; padding:4px 10px; border-radius:999px;}
.pd-desc{color:var(--ink-soft); font-size:15px; line-height:1.7; margin-bottom:22px;}
.pd-option-row{margin-bottom:22px;}
.pd-option-label{display:block; font-family:'Manrope', sans-serif; font-size:12.5px; font-weight:600; letter-spacing:.04em; margin-bottom:10px;}
.pd-swatches{display:flex; gap:10px;}
.pd-swatch{width:32px; height:32px; border-radius:50%; border:2px solid transparent; cursor:pointer; padding:0;}
.pd-swatch.active{border-color:var(--blue); box-shadow:0 0 0 2px var(--white), 0 0 0 3px var(--blue);}
.pd-buy-row{display:flex; align-items:center; gap:14px; margin-bottom:24px; flex-wrap:wrap;}
.qty-stepper{display:flex; align-items:center; border:1.5px solid var(--line); border-radius:999px; overflow:hidden;}
.qty-btn{width:40px; height:48px; background:var(--white); border:none; cursor:pointer; font-size:17px; font-family:'Manrope', sans-serif; color:var(--blue);}
.qty-btn:hover{background:var(--blue-tint);}
.qty-value{width:36px; text-align:center; font-family:'Manrope', sans-serif; font-weight:600;}
.pd-add{padding:15px 32px;}
.pd-wish{width:48px; height:48px; border-radius:50%; border:1.5px solid var(--line); background:var(--white); font-size:18px; cursor:pointer; transition:.2s;}
.pd-wish:hover{border-color:var(--gold-dark); background:var(--blue-tint);}
.pd-trust{display:flex; flex-direction:column; gap:12px;}
.pd-trust li{display:flex; align-items:center; gap:10px; font-size:14px; color:var(--ink-soft);}
.pd-tabs-wrap{margin-top:20px;}
.pd-tabs{display:flex; gap:6px; border-bottom:1.5px solid var(--line); margin-bottom:28px;}
.pd-tab-btn{font-family:'Manrope', sans-serif; font-weight:600; font-size:14px; padding:14px 20px; background:none; border:none; cursor:pointer; color:var(--ink-soft); border-bottom:2.5px solid transparent; margin-bottom:-1.5px; transition:.2s;}
.pd-tab-btn.active, .pd-tab-btn:hover{color:var(--blue); border-color:var(--gold-dark);}
.pd-tab-panel{display:none; max-width:760px; color:var(--ink-soft); font-size:15px; line-height:1.75;}
.pd-tab-panel.active{display:block;}
.pd-spec-list{display:flex; flex-direction:column; gap:0;}
.pd-spec-list li{display:flex; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); font-size:14.5px;}
.pd-spec-list li span:first-child{font-weight:600; color:var(--ink);}
@media (max-width: 980px){
  .pd-layout{grid-template-columns:1fr; gap:28px;}
}

/* ============================================================================
   The rules below come from the commerce block (ui/cart.html's inline <style>,
   copy-pasted across checkout/login/register/wishlist/account-*/order-detail).
   Any selector above that's redefined here is intentionally overridden by the
   cascade (this block loads last) — see the file header note.
   ============================================================================ */

/* ---------- Hero (commerce pages that embed a marketing-style hero) ---------- */
.hero{
  position:relative; overflow:hidden;
  background:radial-gradient(120% 140% at 15% 0%, var(--blue-light) 0%, var(--blue) 42%, var(--navy) 100%);
  color:var(--white);
}
.hero .wrap{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:40px; align-items:center;
  /*padding:88px 28px 0px;*/
}
.hero h1{font-size:clamp(2.4rem, 4.4vw, 3.6rem); line-height:1.06; margin-bottom:20px; font-weight:700;}
/*.hero h1 em{font-style:normal; color:var(--gold);}*/
.hero p.lede{font-size:1.05rem; max-width:480px; color:rgba(255,255,255,0.86); margin-bottom:32px;}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:40px;}
.hero-stats{display:flex; gap:36px; padding-top:22px; border-top:1px solid rgba(255,255,255,0.22);}
.hero-stats div strong{display:block; font-family:'Manrope', sans-serif; font-size:1.6rem; color:var(--gold);}
.hero-stats div span{font-size:0.76rem; color:rgba(255,255,255,0.75); text-transform:uppercase; letter-spacing:0.06em;}

.arch-frame{
  position:relative; border-radius:220px 220px 20px 20px; overflow:hidden;
  border:5px solid var(--gold); box-shadow:0 30px 60px -18px rgba(0,0,0,0.45);
  transform:translateY(30px);
}
.arch-frame img{width:100%; height:560px; object-fit:cover;}
.badge-float{
  position:absolute; bottom:-26px; left:-26px; background:var(--gold); color:var(--navy);
  padding:16px 20px; border-radius:14px; box-shadow:var(--shadow); text-align:center; font-family:'Manrope', sans-serif;
}
.badge-float strong{display:block; font-size:1.7rem; line-height:1;}
.badge-float span{font-size:0.66rem; text-transform:uppercase; letter-spacing:0.1em; font-weight:700;}
.hero-wave{display:block; width:100%; margin-top:60px;}

/* ---------- Section shell (commerce version — wins the cascade over the marketing one above) ---------- */
section{padding:86px 0;}
/*.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:44px; flex-wrap:wrap;}*/
/*.section-head h2{font-size:clamp(1.7rem, 3vw, 2.4rem); max-width:560px;}*/
/*.section-head p{color:var(--ink-soft); max-width:420px; font-size:0.95rem;}*/
.center-head{text-align:center; margin-left:auto; margin-right:auto;}
.center-head h2, .center-head p{margin-left:auto; margin-right:auto;}

/* ---------- Why us ---------- */
.why-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.why-card{
  background:var(--white); border-radius:var(--radius-arch); padding:32px 28px;
  border:1px solid var(--cream-2); transition:transform .2s ease, box-shadow .2s ease;
}
.why-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
.why-card .icon{
  width:52px; height:52px; border-radius:14px; background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:18px; color:var(--navy);
}
.why-card h3{font-size:1.15rem; margin-bottom:10px;}
.why-card p{font-size:0.9rem; color:var(--ink-soft);}

/* ---------- Categories (arch badge motif — commerce version) ---------- */
.cat-strip{background:var(--white);}
.cat-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:22px;}
.cat-card{text-align:center;}
.cat-arch{
  border-radius:120px 120px 14px 14px; overflow:hidden; border:3px solid var(--gold);
  aspect-ratio:3/4; margin-bottom:14px; position:relative; box-shadow:0 14px 30px -14px rgba(11,29,140,0.3);
}
.cat-arch img{width:100%; height:100%; object-fit:cover; transition:transform .35s ease;}
.cat-card:hover .cat-arch img{transform:scale(1.08);}
.cat-card h4{font-size:0.95rem; font-weight:700;}
.cat-card span{font-size:0.76rem; color:var(--ink-soft);}

/* ---------- Products (commerce version) ---------- */
.filter-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px;}
.chip{
  padding:9px 18px; border-radius:30px; font-size:0.82rem; font-weight:700; cursor:pointer;
  border:1.5px solid var(--cream-2); color:var(--ink-soft); background:var(--white);
}
.chip.active{background:var(--navy); color:var(--white); border-color:var(--navy);}
.product-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px;}
.product-card{
  background:var(--white); border-radius:14px; overflow:hidden; border:1px solid var(--cream-2);
  transition:transform .2s ease, box-shadow .2s ease;
}
/*.product-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}*/
.product-media{position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--cream-2);}
.product-media img{width:100%; height:100%; object-fit:cover;}
.tag{
  position:absolute; top:12px; left:12px; background:var(--gold); color:var(--navy);
  font-size:0.66rem; font-weight:800; text-transform:uppercase; letter-spacing:0.06em;
  padding:5px 10px; border-radius:20px;
}
.wishlist-dot{
  position:absolute; top:10px; right:10px; width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,0.9); display:flex; align-items:center; justify-content:center; font-size:0.95rem;
  box-shadow: 0 4px 10px rgba(10,18,64,.15);
}
.product-info{padding:18px;}
.product-info .cat-label{font-size:0.7rem; color:var(--gold-dark); text-transform:uppercase; letter-spacing:0.08em; font-weight:800;}
.product-info h4{font-size:1rem; margin:6px 0 8px; font-weight:700;}

/* ---------- Interiors sections (commerce version) ---------- */
.interior-media{aspect-ratio:4/3.1; overflow:hidden;}
.interior-media img{width:100%; height:100%; object-fit:cover;}
.residential{background:var(--white);}
.commercial{background:var(--navy); color:var(--white);}
.commercial .interior-copy p{color:rgba(255,255,255,0.78);}
.commercial .eyebrow{color:var(--gold);}

/* ---------- Room inspiration (commerce version) ---------- */
.room-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:20px; height:480px;}
.room-card{position:relative; border-radius:16px; overflow:hidden; box-shadow:var(--shadow);}
.room-card img{width:100%; height:100%; object-fit:cover;}
.room-card .label{
  position:absolute; bottom:0; left:0; right:0; padding:24px;
  background:linear-gradient(0deg, rgba(11,29,140,0.85), transparent);
  color:var(--white); font-family:'Manrope', sans-serif; font-size:1.3rem; font-weight:600;
}

/* ---------- About / heritage (commerce version) ---------- */
.about-wrap{display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:center;}
.about-media{position:relative;}
.about-media img{border-radius:var(--radius-arch); width:100%; height:520px; object-fit:cover;}
.est-badge{
  position:absolute; top:-24px; right:-24px; background:var(--gold); color:var(--navy);
  width:120px; height:120px; border-radius:50%; display:flex; flex-direction:column; align-items:center;
  justify-content:center; box-shadow:var(--shadow); font-family:'Manrope', sans-serif; text-align:center;
  border:4px solid var(--white);
}
.est-badge strong{font-size:1.5rem; line-height:1;}
.est-badge span{font-size:0.6rem; text-transform:uppercase; letter-spacing:0.08em; font-weight:700;}
.about-copy p{color:var(--ink-soft); margin-bottom:18px; /*max-width:520px;*/}
.timeline{display:flex; gap:0; margin-top:34px; border-top:2px solid var(--cream-2); padding-top:26px;}
.timeline div{flex:1; padding-right:18px; border-left:3px solid var(--gold); padding-left:16px;}
.timeline div strong{font-family:'Manrope', sans-serif; display:block; font-size:1.15rem; color:var(--navy); margin-bottom:4px;}
.timeline div span{font-size:0.82rem; color:var(--ink-soft);}

/* ---------- Gallery strip (commerce version) ---------- */
.gallery-strip{display:grid; grid-template-columns:repeat(6,1fr); gap:4px;}
.gallery-strip img{width:100%; aspect-ratio:1/1; object-fit:cover;}

/* ---------- Testimonials (commerce version) ---------- */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.testi-card{background:var(--white); border-radius:14px; padding:30px; border:1px solid var(--cream-2);}
.testi-card p{font-size:0.92rem; color:var(--ink-soft); margin-bottom:20px;}
.testi-who{display:flex; align-items:center; gap:12px;}
.testi-who .av{width:40px; height:40px; border-radius:50%; background:var(--navy); color:var(--gold); display:flex; align-items:center; justify-content:center; font-weight:800; font-family:'Manrope', sans-serif;}
.testi-who strong{display:block; font-size:0.88rem;}
.testi-who span{font-size:0.76rem; color:var(--ink-soft);}

/* ---------- Newsletter (commerce version) ---------- */
.newsletter{background:linear-gradient(120deg,var(--navy),var(--blue)); color:var(--white); border-radius:22px; padding:56px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;}
.newsletter h3{font-size:1.6rem; margin-bottom:8px;}
.newsletter p{color:rgba(255,255,255,0.8); max-width:380px; font-size:0.92rem;}
.nl-form{display:flex; gap:10px; flex-wrap:wrap;}
.nl-form input{padding:14px 18px; border-radius:6px; border:none; min-width:260px; font-family:'Manrope',sans-serif;}

/* ---------- Commerce responsive ---------- */
@media (max-width: 1080px){
  .cat-grid{grid-template-columns:repeat(3,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .room-grid{grid-template-columns:1fr 1fr; height:auto;}
  .room-grid .room-card{height:260px;}
  .about-wrap{grid-template-columns:1fr;}
  .about-media img{height:380px;}
  .foot-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 860px){
  nav.primary{
    position:fixed; top:0; right:-100%; height:100vh; width:78%; max-width:340px;
    background:var(--white); flex-direction:column; padding:90px 26px 26px; transition:right .3s ease;
    box-shadow:-10px 0 30px rgba(0,0,0,0.15); overflow-y:auto;
  }
  nav.primary.open{right:0;}
  nav.primary > ul{flex-direction:column; align-items:flex-start; width:100%; gap:0;}
  nav.primary > ul > li{width:100%;}
  .burger{display:block;}
  .hero .wrap{grid-template-columns:1fr; padding-top:56px;}
  .arch-frame{transform:none; margin-top:20px;}
  .why-grid{grid-template-columns:1fr;}
  .testi-grid{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr;}
  .newsletter{padding:36px 28px;}
}
@media (max-width: 600px){
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:1fr 1fr;}
  .gallery-strip{grid-template-columns:repeat(3,1fr);}
  .room-grid{grid-template-columns:1fr;}
  .hero-stats{gap:20px; flex-wrap:wrap;}
}

/* ---------- Cart table (from ui/cart.html page-specific <style>, needed for checkout.php's cart page) ---------- */
.cart-table-wrap{background:transparent;}
.cart-table{width:100%; border-collapse:collapse; background:var(--white); border:1px solid var(--cream-2); border-radius:var(--radius-arch); overflow:hidden; box-shadow:var(--shadow);}
.cart-table thead th{
  text-align:left; font-size:0.7rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--ink-soft);
  font-weight:800; padding:18px 22px; border-bottom:1px solid var(--cream-2); background:var(--cream);
}
.cart-table thead th:not(:first-child){text-align:center;}
.cart-table td{padding:20px 22px; border-bottom:1px solid var(--cream-2); vertical-align:middle; text-align:center;}
.cart-table tr:last-child td{border-bottom:none;}
.prod-cell{display:flex; gap:16px; align-items:center; min-width:260px; text-align:left !important;}
.prod-cell img{width:80px; height:80px; border-radius:10px; object-fit:cover; flex-shrink:0; background:var(--cream-2);}
.prod-cell h5{font-size:0.98rem; margin-bottom:6px;}
.prod-cell .cat-label{font-size:0.68rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--gold-dark); font-weight:800; display:block; margin-bottom:4px;}
.remove-link{font-size:0.78rem; color:#B23A3A; font-weight:700; cursor:pointer;}
.price-cell{font-weight:700; white-space:nowrap;}
.total-cell{font-family:'Manrope', sans-serif; font-weight:700; color:var(--navy); white-space:nowrap; font-size:1.02rem;}
.qty-stepper{display:inline-flex; align-items:center; border:1.5px solid var(--cream-2); border-radius:8px; overflow:hidden;}
.qty-stepper button{width:34px; height:34px; border:none; background:var(--cream); font-size:1rem; font-weight:700; cursor:pointer; color:var(--ink);}
.qty-stepper button:hover{background:var(--cream-2);}
.qty-stepper input{width:40px; text-align:center; border:none; border-left:1.5px solid var(--cream-2); border-right:1.5px solid var(--cream-2); height:34px; font-family:'Manrope',sans-serif; font-weight:700; -moz-appearance:textfield;}
@media (max-width:860px){
  .cart-table thead{display:none;}
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td{display:block; width:100%;}
  .cart-table td{text-align:left !important; border-bottom:none; padding:8px 22px;}
  .cart-table tr{border-bottom:1px solid var(--cream-2); padding-bottom:14px; margin-bottom:14px;}
  .cart-table td:before{content:attr(data-label); display:block; font-size:0.66rem; text-transform:uppercase; letter-spacing:0.05em; color:var(--ink-soft); font-weight:800; margin-bottom:4px;}
  .prod-cell:before{display:none;}
}

/* ---------- Shared account / commerce UI (from the commerce block's third <style> tag) ---------- */
.page-hero{ background: var(--blue-tint); color:var(--white); padding:56px 0 64px;}
.page-hero .wrap{padding:0 28px;}
.page-hero .crumb{font-size:0.78rem; color: var(--navy); margin-bottom:10px;}
.page-hero .crumb a{color: var(--navy); font-weight:700;}
.page-hero .crumb a:hover{color:var(--gold);}
/*.page-hero h1{font-size:clamp(1.7rem,3vw,2.4rem); margin:0;}*/
/*.page-hero p{color:rgba(255,255,255,0.82); margin-top:8px; max-width:520px;}*/

.content-shell{padding:54px 0 90px;}

/* ---------- Stepper (checkout progress) ---------- */
.stepper{display:flex; align-items:center; gap:0; margin-bottom:44px; flex-wrap:wrap;}
.stepper .step{display:flex; align-items:center; gap:10px; color:var(--ink-soft); font-weight:700; font-size:0.86rem;}
.stepper .step .num{
  width:30px; height:30px; border-radius:50%; background:var(--cream-2); color:var(--ink-soft);
  display:flex; align-items:center; justify-content:center; font-family:'Manrope', sans-serif; font-weight:700; font-size:0.9rem;
}
.stepper .step.active .num{background:var(--navy); color:var(--white);}
.stepper .step.done .num{background:var(--gold); color:var(--navy);}
.stepper .step.active, .stepper .step.done{color:var(--ink);}
.stepper .divider{width:44px; height:2px; background:var(--cream-2); margin:0 10px;}

/* ---------- Form shell ---------- */
.form-shell{
  background:var(--white); border:1px solid var(--cream-2); border-radius:var(--radius-arch);
  padding:36px 40px; box-shadow:var(--shadow);
}
.form-shell h2{font-size:1.4rem; margin-bottom:6px;}
.form-shell .sub{color:var(--ink-soft); font-size:0.88rem; margin-bottom:26px;}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px 22px;}
.field{display:flex; flex-direction:column; gap:7px; margin-bottom:18px;}
.field.full{grid-column:1 / -1;}
.field label{font-size:0.78rem; font-weight:800; letter-spacing:0.03em; text-transform:uppercase; color:var(--ink-soft);}
.field input, .field select, .field textarea{
  font-family:'Manrope',sans-serif; font-size:0.95rem; padding:13px 15px; border-radius:8px;
  border:1.5px solid var(--cream-2); background:var(--cream); color:var(--ink); transition:border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--blue); background:var(--white);
}
.field textarea{resize:vertical; min-height:90px;}
.field .hint{font-size:0.74rem; color:var(--ink-soft); font-weight:500;}
.checkbox-row{display:flex; align-items:flex-start; gap:10px; font-size:0.86rem; color:var(--ink-soft); margin-bottom:22px;}
.checkbox-row input{margin-top:4px;}
.checkbox-row a{color:var(--blue); font-weight:700;}
.radio-card{
  display:flex; align-items:flex-start; gap:12px; border:1.5px solid var(--cream-2); border-radius:10px;
  padding:16px 18px; margin-bottom:12px; cursor:pointer; transition:border-color .15s ease, background .15s ease;
}
.radio-card:hover{border-color:var(--blue-light);}
.radio-card input{margin-top:3px;}
.radio-card.selected{border-color:var(--navy); background:var(--cream);}
.radio-card strong{display:block; font-size:0.95rem; margin-bottom:2px;}
.radio-card span.desc{font-size:0.82rem; color:var(--ink-soft);}
.form-foot-link{text-align:center; margin-top:20px; font-size:0.88rem; color:var(--ink-soft);}
.form-foot-link a{color:var(--blue); font-weight:800;}

/* ---------- Auth (register/login) centered card ---------- */
.auth-wrap{max-width:560px; margin:0 auto;}
.auth-social{display:flex; gap:12px; margin-bottom:22px;}
.auth-social button{
  flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
  padding:12px; border-radius:8px; border:1.5px solid var(--cream-2); background:var(--white);
  font-weight:700; font-size:0.86rem; color:var(--ink); cursor:pointer;
}
.auth-social button:hover{border-color:var(--navy);}
.or-divider{display:flex; align-items:center; gap:14px; color:var(--ink-soft); font-size:0.78rem; margin:6px 0 24px; text-transform:uppercase; letter-spacing:0.08em;}
.or-divider::before, .or-divider::after{content:""; flex:1; height:1px; background:var(--cream-2);}

/* ---------- Two-column layouts (checkout) ---------- */
.two-col{display:grid; grid-template-columns:1.5fr 1fr; gap:34px; align-items:start;}

/* ---------- Summary card ---------- */
.summary-card{
  background:var(--white); border:1px solid var(--cream-2); border-radius:var(--radius-arch);
  padding:28px; box-shadow:var(--shadow); position:sticky; top:96px;
}
.summary-card h3{font-size:1.1rem; margin-bottom:18px;}
.cart-line{display:flex; gap:14px; margin-bottom:18px; align-items:center;}
.cart-line img{width:64px; height:64px; border-radius:8px; object-fit:cover; flex-shrink:0;}
.cart-line .info{flex:1;}
.cart-line .info .cat{font-size:0.68rem; color:var(--gold-dark); font-weight:800; text-transform:uppercase; letter-spacing:0.06em;}
.cart-line .info h5{font-size:0.9rem; margin:3px 0; font-weight:700;}
.cart-line .info .qty{font-size:0.78rem; color:var(--ink-soft);}
.cart-line .price{font-family:'Manrope', sans-serif; font-weight:700; color:var(--navy); white-space:nowrap;}
.promo-row{display:flex; gap:8px; margin:18px 0;}
.promo-row input{flex:1; padding:11px 13px; border-radius:6px; border:1.5px solid var(--cream-2); font-family:'Manrope',sans-serif;}
.totals-row{display:flex; justify-content:space-between; font-size:0.9rem; color:var(--ink-soft); margin-bottom:10px;}
.totals-row.grand{color:var(--ink); font-weight:800; font-size:1.1rem; border-top:2px solid var(--cream-2); padding-top:14px; margin-top:14px;}
.totals-row.grand .amt{color:var(--navy); font-family:'Manrope', sans-serif;}
.secure-note{display:flex; align-items:center; gap:8px; font-size:0.76rem; color:var(--ink-soft); margin-top:16px; justify-content:center;}

/* ---------- Account layout (orders / profile) ---------- */
.account-layout{display:grid; grid-template-columns:250px 1fr; gap:34px; align-items:start;}
.account-nav{
  background:var(--white); border:1px solid var(--cream-2); border-radius:16px; padding:14px; box-shadow:var(--shadow);
  position:sticky; /*top:96px;*/
}
.account-nav .who{display:flex; gap:12px; align-items:center; padding:12px 10px 18px; border-bottom:1px solid var(--cream-2); margin-bottom:10px;}
.account-nav .who .av{
  width:44px; height:44px; border-radius:50%; background:var(--navy); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-family:'Manrope', sans-serif;
}
.account-nav .who strong{display:block; font-size:0.92rem;}
.account-nav .who span{font-size:0.76rem; color:var(--ink-soft);}
.account-nav a{
  display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:8px; font-size:0.88rem; font-weight:700;
  color:var(--ink-soft); margin-bottom:2px; border-left:3px solid transparent;
}
.account-nav a:hover{background:var(--cream); color:var(--ink);}
.account-nav a.active{background:var(--cream); color:var(--navy); border-left-color:var(--gold);}
.account-nav a.danger{color:#B23A3A;}

.panel{background:var(--white); border:1px solid var(--cream-2); border-radius:var(--radius-arch); padding:32px 36px; box-shadow:var(--shadow); margin-bottom:26px;}
.panel-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; flex-wrap:wrap; gap:12px;}
.panel-head h2{font-size:1.25rem; margin:0;}
.panel-head p{color:var(--ink-soft); font-size:0.84rem; margin-top:4px;}

/* ---------- Status chips ---------- */
.status{
  display:inline-flex; align-items:center; gap:6px; padding:5px 13px; border-radius:20px; font-size:0.72rem;
  font-weight:800; text-transform:uppercase; letter-spacing:0.05em;
}
.status::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor;}
.status.delivered{background:#E4F3E8; color:#227A44;}
.status.transit{background:#EAF1FF; color:var(--blue);}
.status.processing{background:#FDF1DC; color:var(--gold-dark);}
.status.cancelled{background:#FBE7E7; color:#B23A3A;}

/* ---------- Order list / table ---------- */
.order-card{
  display:grid; grid-template-columns:auto 1fr auto auto auto; gap:22px; align-items:center;
  background:var(--white); border:1px solid var(--cream-2); border-radius:14px; padding:20px 22px; margin-bottom:16px;
  transition:box-shadow .2s ease, transform .2s ease;
}
.order-card:hover{box-shadow:var(--shadow); transform:translateY(-2px);}
.order-card img{width:56px; height:56px; border-radius:8px; object-fit:cover;}
.order-card .oid{font-family:'Manrope', sans-serif; font-weight:700; color:var(--navy); font-size:0.98rem;}
.order-card .meta{font-size:0.78rem; color:var(--ink-soft); margin-top:3px;}
.order-card .amt{font-family:'Manrope', sans-serif; font-weight:700; font-size:1.02rem;}
.order-card .stack-imgs{display:flex;}
.order-card .stack-imgs img{border:3px solid var(--white); margin-left:-16px;}
.order-card .stack-imgs img:first-child{margin-left:0;}

/* ---------- Order detail ---------- */
.order-timeline{display:flex; justify-content:space-between; margin:8px 0 34px; position:relative;}
.order-timeline::before{
  content:""; position:absolute; top:15px; left:5%; right:5%; height:2px; background:var(--cream-2); z-index:0;
}
.order-timeline .t-step{position:relative; z-index:1; text-align:center; flex:1;}
.order-timeline .t-step .dot{
  width:32px; height:32px; border-radius:50%; background:var(--cream-2); border:3px solid var(--white);
  display:flex; align-items:center; justify-content:center; margin:0 auto 10px; color:var(--white); font-size:0.85rem;
}
.order-timeline .t-step.done .dot{background:var(--gold);}
.order-timeline .t-step.current .dot{background:var(--navy); box-shadow:0 0 0 4px rgba(11,29,140,0.15);}
.order-timeline .t-step strong{display:block; font-size:0.82rem;}
.order-timeline .t-step span{font-size:0.72rem; color:var(--ink-soft);}

.item-row{display:grid; grid-template-columns:auto 1fr auto auto; gap:18px; align-items:center; padding:16px 0; border-bottom:1px solid var(--cream-2);}
.item-row:last-child{border-bottom:none;}
.item-row img{width:66px; height:66px; border-radius:8px; object-fit:cover;}
.item-row h5{font-size:0.94rem; margin-bottom:4px;}
.item-row .cat-label{font-size:0.68rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--gold-dark); font-weight:800;}
.item-row .qty-badge{background:var(--cream); border-radius:6px; padding:6px 12px; font-size:0.82rem; font-weight:700; color:var(--ink-soft); white-space:nowrap;}
.item-row .line-total{font-family:'Manrope', sans-serif; font-weight:700; color:var(--navy); white-space:nowrap;}

.info-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px;}
.info-box{background:var(--cream); border-radius:12px; padding:18px 20px;}
.info-box h5{font-size:0.78rem; text-transform:uppercase; letter-spacing:0.05em; color:var(--ink-soft); margin-bottom:10px; font-weight:800;}
.info-box p{font-size:0.9rem; line-height:1.6;}

.avatar-upload{display:flex; align-items:center; gap:18px; margin-bottom:28px;}
.avatar-upload .av-lg{
  width:84px; height:84px; border-radius:50%; background:var(--navy); color:var(--gold); font-family:'Manrope', sans-serif;
  font-weight:700; font-size:1.7rem; display:flex; align-items:center; justify-content:center; border:4px solid var(--gold);
}
.danger-zone{border:1.5px dashed #E3B3B3; border-radius:12px; padding:20px 22px; background:#FCF4F4;}
.danger-zone h4{color:#B23A3A; font-size:0.98rem; margin-bottom:6px;}
.danger-zone p{font-size:0.84rem; color:var(--ink-soft); margin-bottom:14px;}
.btn-danger{background:#B23A3A; color:var(--white);}
.btn-danger:hover{background:#8f2c2c;}

.empty-state{text-align:center; padding:60px 20px; color:var(--ink-soft);}
.empty-state .icon{font-size:2.6rem; margin-bottom:14px;}
.empty-state h3{color:var(--ink); margin-bottom:8px;}

/* ---------- Saved address / saved card list (account page — from ui/account-addresses.html) ---------- */
.address-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:8px;}
.address-card{background:var(--white); border:1.5px solid var(--cream-2); border-radius:14px; padding:22px 24px; position:relative;}
.address-card.default{border-color:var(--navy);}
.address-card .badge-default{position:absolute; top:20px; right:20px; background:var(--gold); color:var(--navy); font-size:0.66rem; font-weight:800; padding:4px 10px; border-radius:20px; text-transform:uppercase; letter-spacing:0.04em;}
.address-card .type-tag{display:inline-block; font-size:0.7rem; font-weight:800; text-transform:uppercase; letter-spacing:0.05em; color:var(--gold-dark); margin-bottom:8px;}
.address-card h5{font-size:1.05rem; margin-bottom:8px;}
.address-card p{font-size:0.88rem; color:var(--ink-soft); line-height:1.6; margin-bottom:16px;}
.address-card .addr-actions{display:flex; gap:18px; font-size:0.82rem; font-weight:700;}
.address-card .addr-actions a{color:var(--blue);}
.address-card .addr-actions a.danger-link{color:#B23A3A;}
@media (max-width:860px){.address-grid{grid-template-columns:1fr;}}

@media (max-width: 860px){
  .form-grid{grid-template-columns:1fr;}
  .two-col{grid-template-columns:1fr;}
  .account-layout{grid-template-columns:1fr;}
  .account-nav{position:static;}
  .info-grid{grid-template-columns:1fr;}
  .order-card{grid-template-columns:auto 1fr; row-gap:10px;}
  .order-card .amt, .order-card .status, .order-card a{grid-column:2;}
}

/* ============================================================================
   Collapsible account sidebar (account-dashboard etc.) — from ui/styles.css,
   layered on top of the .account-nav/.account-layout base defined above.
   ============================================================================ */
.account-nav{position:relative; transition:padding .25s ease;}
.nav-toggle{
  position:absolute; top:14px; right:-14px; width:28px; height:28px; border-radius:50%;
  background:var(--navy,#0B1D8C); color:var(--gold,#F4B400); border:2px solid var(--white,#fff);
  display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0;
  box-shadow:0 4px 10px rgba(11,29,140,0.28); z-index:5; transition:transform .2s ease, background .2s ease;
}
.nav-toggle:hover{background:var(--blue,#1F5FE0);}
.nav-toggle svg{transition:transform .25s ease; pointer-events:none;}
.account-nav.collapsed .nav-toggle svg{transform:rotate(180deg);}
.account-nav .who{transition:padding .25s ease, justify-content .25s ease;}
.account-nav.collapsed .who{justify-content:center; padding-left:0; padding-right:0;}
.account-nav.collapsed .who-info{display:none;}
.account-nav a{
  transition:justify-content .2s ease, padding .2s ease;
  white-space:nowrap; overflow:hidden;
}
.account-nav .nav-icon{font-size:1rem; flex-shrink:0; display:inline-flex; width:20px; justify-content:center;}
.account-nav .nav-label{transition:opacity .15s ease;}
.account-nav.collapsed a{justify-content:center; padding-left:0; padding-right:0;}
.account-nav.collapsed .nav-label{display:none;}
.account-layout{transition:grid-template-columns .25s ease;}
.account-layout.collapsed{grid-template-columns:76px 1fr;}
@media (max-width:860px){
  .nav-toggle{display:none;}
  /* Always show the full menu on mobile/tablet, even if it was left
     collapsed on desktop — the layout stacks here so collapsing serves
     no purpose and would otherwise hide the labels/links. */
  .account-layout.collapsed{grid-template-columns:1fr;}
  .account-nav.collapsed{padding:14px;}
  .account-nav.collapsed .who{justify-content:flex-start; padding-left:10px; padding-right:10px;}
  .account-nav.collapsed .who-info{display:block;}
  .account-nav.collapsed a{justify-content:flex-start; padding:11px 12px;}
  .account-nav.collapsed .nav-label{display:inline;}
}

/* ============================================================================
   Shop browse (product_list): slim banner + sticky category-icon tab rail
   ----------------------------------------------------------------------------
   The category icons and the product tabs are one control here, so picking a
   category filters the already-rendered grid in place instead of loading a new
   page. Sizes are tuned so banner + rail + the first product row all fit in a
   single 900px-tall viewport.
   ========================================================================= */

.shop-banner{
  padding:26px 0 24px; background:var(--blue-tint); position:relative; overflow:hidden;
}
.shop-banner .wrap{position:relative; z-index:1;}
.shop-banner-motif{
  position:absolute; right:-70px; top:-110px; width:260px; height:260px;
  border-radius:50%; background:rgba(255,196,34,.28);
}
.shop-banner-inner{display:flex; align-items:flex-end; justify-content:space-between; gap:32px; flex-wrap:wrap;}
.shop-banner h1{font-size:clamp(24px,3vw,34px); margin-top:6px; line-height:1.15;}
.shop-banner .eyebrow{margin:0;}
.shop-banner-note{
  font-family:'Manrope', sans-serif; font-size:12.5px; font-weight:500;
  color:var(--ink-soft); max-width:360px; text-align:right; line-height:1.5; padding-bottom:4px;
}

/* ---- Category rail = the tabs ---- */
.cat-rail-wrap{
  --rail-top:0px;
  position:sticky; top:var(--rail-top); z-index:40;
  background:rgba(255,255,255,.94); backdrop-filter:blur(10px);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
/* Fade at the rail's own right edge hints that more categories scroll into view. */
.cat-rail-wrap > .wrap{position:relative;}
.cat-rail-wrap > .wrap::after{
  content:""; position:absolute; right:32px; top:0; bottom:0; width:52px; pointer-events:none;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.96));
}
.cat-rail{
  display:flex; gap:10px; align-items:stretch;
  padding:12px 0; overflow-x:auto; overflow-y:hidden;
  scrollbar-width:thin; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch;
}
.cat-rail::-webkit-scrollbar{height:5px;}
.cat-rail::-webkit-scrollbar-thumb{background:var(--line); border-radius:999px;}

.cat-tab{
  flex:0 0 auto; scroll-snap-align:start;
  display:flex; align-items:center; gap:10px;
  padding:9px 16px 9px 10px; border-radius:14px;
  border:1.5px solid var(--line); background:var(--white); color:var(--ink);
  cursor:pointer; text-align:left;
  transition:border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.cat-tab:hover{border-color:var(--gold-dark); transform:translateY(-2px);}
.cat-tab:focus-visible{outline:3px solid rgba(31,95,224,.35); outline-offset:2px;}
.cat-tab-icon{
  width:38px; height:38px; flex:none; border-radius:11px;
  background:var(--blue-tint); color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  transition:background .18s ease, color .18s ease;
}
.cat-tab-icon svg{width:24px; height:24px;}
.cat-tab-text{
  font-family:'Manrope', sans-serif; font-weight:600; font-size:13.5px;
  line-height:1.2; white-space:nowrap; display:flex; flex-direction:column; gap:2px;
}
.cat-tab-text small{
  font-size:11px; font-weight:600; color:var(--ink-soft); letter-spacing:.03em;
}
.cat-tab.active{background:var(--navy); border-color:var(--navy); color:var(--white);}
.cat-tab.active .cat-tab-icon{background:rgba(255,255,255,.16); color:var(--white);}
.cat-tab.active .cat-tab-text small{color:rgba(255,255,255,.72);}

/* ---- Results header + grid ---- */
.shop-results{padding:26px 0 72px; background:var(--paper);}
.results-bar{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  flex-wrap:wrap; margin-bottom:20px;
}
.results-bar h2{font-size:clamp(20px,2.4vw,26px); margin:0;}
.results-tools{display:flex; align-items:center; gap:16px;}
.result-count{
  font-family:'Manrope', sans-serif; font-size:12.5px; font-weight:600;
  color:var(--ink-soft); letter-spacing:.03em;
}
.sort-field{display:flex; align-items:center; gap:8px;}
.sort-field > span{
  font-family:'Manrope', sans-serif; font-size:11.5px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft);
}
.sort-field select{
  font-family:'Manrope', sans-serif; font-size:13px; font-weight:600; color:var(--ink);
  padding:8px 12px; border-radius:999px; border:1.5px solid var(--line);
  background:var(--white); cursor:pointer;
}
.sort-field select:focus-visible{outline:3px solid rgba(31,95,224,.35); outline-offset:2px;}

.shop-results .product-card[hidden]{display:none;}
.shop-results .product-grid[hidden]{display:none;}
.shop-results .empty-state[hidden]{display:none;}
.link-btn{
  background:none; border:none; padding:0; color:var(--blue);
  font:inherit; font-weight:700; cursor:pointer; text-decoration:underline;
}

@media (max-width:900px){
  .shop-banner-note{display:none;}
  .shop-banner{padding:20px 0 18px;}
}
@media (max-width:640px){
  .cat-rail-wrap > .wrap::after{right:20px; width:34px;}
  .cat-rail{gap:8px; padding:10px 0;}
  .cat-tab{padding:8px 13px 8px 8px; gap:8px;}
  .cat-tab-icon{width:32px; height:32px; border-radius:9px;}
  .cat-tab-icon svg{width:20px; height:20px;}
  .cat-tab-text{font-size:12.5px;}
  .shop-results{padding:20px 0 56px;}
  .results-bar{margin-bottom:16px; flex-direction:column; align-items:flex-start; gap:10px;}
  .results-tools{width:100%; justify-content:space-between; gap:10px;}
  .sort-field{min-width:0;}
  .sort-field select{max-width:170px; padding:7px 10px;}
}

/* ============================================================================
   Visual slider — photo slideshow inside the interiors .interior-visual frames
   ----------------------------------------------------------------------------
   Slides are stacked and cross-faded (no horizontal transform), so the frame
   never scrolls and the panel keeps the exact half-width bleed of the row.
   ========================================================================= */

.visual-slider{position:absolute; inset:0; overflow:hidden; isolation:isolate;}
.vs-track{position:absolute; inset:0;}
.vs-slide{
  position:absolute; inset:0; margin:0;
  opacity:0; visibility:hidden; transition:opacity .6s ease, visibility .6s ease;
}
.vs-slide.is-active{opacity:1; visibility:visible;}
.vs-slide img{width:100%; height:100%; object-fit:cover; display:block;}
.vs-slide figcaption{
  position:absolute; left:0; right:0; bottom:0;
  /* right padding keeps the text clear of the dot row on the same baseline */
  padding:44px 150px 18px 22px;
  font-family:'Manrope', sans-serif; font-size:12.5px; font-weight:600; line-height:1.45;
  color:#fff; text-shadow:0 1px 3px rgba(10,18,64,.5);
  background:linear-gradient(0deg, rgba(10,18,64,.72), rgba(10,18,64,0));
}

/* Arrows */
.vs-nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:40px; height:40px; border-radius:50%; padding:0;
  border:1px solid rgba(255,255,255,.55); background:rgba(255,255,255,.86); color:var(--navy);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow:0 6px 18px -8px rgba(10,18,64,.5);
  transition:background .2s ease, transform .2s ease, opacity .2s ease;
  opacity:0;
}
.vs-nav svg{width:20px; height:20px;}
.vs-nav.prev{left:14px;}
.vs-nav.next{right:14px;}
.vs-nav:hover{background:#fff; transform:translateY(-50%) scale(1.06);}
.vs-nav:focus-visible{outline:3px solid rgba(244,180,0,.85); outline-offset:2px; opacity:1;}
.visual-slider:hover .vs-nav,
.visual-slider:focus-within .vs-nav{opacity:1;}

/* Dots */
.vs-dots{
  position:absolute; right:20px; bottom:18px; z-index:2; max-width:45%;
  display:flex; justify-content:flex-end; align-items:center; gap:7px; flex-wrap:wrap;
}
.vs-dot{
  width:8px; height:8px; padding:0; border-radius:50%; cursor:pointer;
  border:1px solid rgba(255,255,255,.9); background:rgba(255,255,255,.35);
  transition:background .2s ease, width .2s ease, border-radius .2s ease;
}
.vs-dot.is-active{background:var(--gold); border-color:var(--gold); width:20px; border-radius:999px;}
.vs-dot:focus-visible{outline:3px solid rgba(244,180,0,.85); outline-offset:3px;}

/* The photo panel needs real height on small screens, where the row stacks. */
@media (max-width:900px){
  .interior-visual{min-height:0;}
  /* The photos are portrait, so the stacked panel stays close to square
     rather than cropping the frame down to a letterbox. */
  .interior-visual.res:has(.visual-slider),
  .interior-visual.com:has(.visual-slider){aspect-ratio:1/1; min-height:320px;}
  .visual-slider{position:relative; inset:auto; width:100%; height:100%;}
  .vs-nav{opacity:1; width:36px; height:36px;}
  .vs-nav.prev{left:10px;}
  .vs-nav.next{right:10px;}
  .vs-slide figcaption{font-size:12px; padding:36px 16px 34px;}
  .vs-dots{left:0; right:0; bottom:12px; max-width:none; justify-content:center; padding:0 16px;}
}
/* Fallback for browsers without :has() — the panel still gets its height. */
@supports not selector(:has(*)){
  @media (max-width:900px){
    .interior-visual{min-height:320px;}
  }
}
@media (max-width:520px){
  .interior-visual.res:has(.visual-slider),
  .interior-visual.com:has(.visual-slider){aspect-ratio:4/5; min-height:340px;}
  .vs-dots{bottom:10px; gap:6px;}
}

@media (prefers-reduced-motion: reduce){
  .vs-slide{transition:none;}
  .vs-nav{transition:none;}
}

/* ---------- Project fact strip (interiors case-study copy column) ---------- */
.project-meta{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 28px;
  margin:6px 0 28px; padding:20px 24px; max-width:460px;
  border:1px solid var(--line); border-left:3px solid var(--gold);
  border-radius:var(--radius-md); background:var(--blue-tint);
}
.project-meta div{min-width:0;}
.project-meta dt{
  font-family:'Manrope', sans-serif; font-size:10.5px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:5px;
}
.project-meta dd{
  font-family:'Manrope', sans-serif; font-size:14px; font-weight:600;
  color:var(--navy); margin:0; line-height:1.35;
}
.interior-copy.on-blue .project-meta{
  background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18); border-left-color:var(--gold);
}
.interior-copy.on-blue .project-meta dt{color:#a9b2e4;}
.interior-copy.on-blue .project-meta dd{color:var(--white);}

@media (max-width:520px){
  .project-meta{grid-template-columns:1fr; gap:14px; padding:18px 20px;}
}

/* ---------- Interiors banner (intro + value cards in one band) ---------- */
.interiors-hero{padding:48px 0 52px;}
/* Pull the motif clear of the lead paragraph now that copy runs full width. */
.interiors-hero .page-hero-motif{width:250px; height:250px; right:-95px; top:-125px;}
.interiors-hero .hero-intro{
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:20px 48px; align-items:end;
}
.interiors-hero h1{margin-top:12px;}
.interiors-hero .hero-lead{
  color:var(--ink-soft); font-size:15.5px; line-height:1.65; max-width:520px; margin:0 0 4px;
}
.interiors-hero .hero-values{
  margin-top:34px; padding-top:28px; border-top:1px solid rgba(11,29,140,.12);
}
.interiors-hero .hero-values h2{font-size:clamp(20px,2.2vw,26px); margin:10px 0 22px;}
/* On the tinted banner the cards need to be white to read as cards. */
.interiors-hero .value-card{
  background:var(--white); border-color:rgba(11,29,140,.10);
  box-shadow:0 10px 24px -20px rgba(10,18,64,.5);
  padding:22px 22px 24px;
}
.interiors-hero .value-card h4{font-size:16.5px;}
.interiors-hero .value-card p{font-size:13px;}

@media (max-width:1024px){
  .interiors-hero .hero-intro{grid-template-columns:1fr; align-items:start;}
  .interiors-hero .hero-lead{max-width:640px;}
}
@media (max-width:640px){
  .interiors-hero{padding:34px 0 38px;}
  .interiors-hero .hero-values{margin-top:26px; padding-top:22px;}
  .interiors-hero .hero-values h2{margin-bottom:18px;}
}

/* ---------- Compact case-study row (residential) ----------------------------
   The whole row is sized to sit inside one viewport, and the slider becomes a
   framed card that shows each photo whole (contain) instead of cropping it to
   fill the panel.
   ------------------------------------------------------------------------- */
.interior-row.compact .interior-copy{padding:44px 52px;}
.interior-row.compact .interior-copy h2{font-size:clamp(23px,2.5vw,30px);}
.interior-row.compact .interior-copy p.desc{margin:14px 0 18px; font-size:15px; line-height:1.6;}
.interior-row.compact .project-meta{margin:0 0 18px; padding:16px 20px; gap:12px 24px;}
.interior-row.compact .project-meta dd{font-size:13.5px;}
.interior-row.compact .check-list.tight li{margin-bottom:8px; font-size:14px;}
.interior-row.compact .interior-visual{min-height:0;}

/* The panel is now a mat around a fixed-height photo card. */
.interior-visual.res:has(.visual-slider),
.interior-visual.com:has(.visual-slider){
  display:flex; align-items:center; justify-content:center; padding:34px 34px 30px;
}
.interior-visual .visual-slider{
  position:relative; inset:auto;
  width:100%; max-width:460px; height:clamp(340px, 52vh, 500px);
  border-radius:var(--radius-md); overflow:visible; box-shadow:none;
}
.visual-slider .vs-track{
  position:absolute; left:0; right:0; top:0; bottom:34px; /* 34px = dot rail */
  border-radius:var(--radius-md); overflow:hidden;
  background:var(--white); border:1px solid rgba(11,29,140,.10);
  box-shadow:0 20px 44px -26px rgba(10,18,64,.55);
}
.visual-slider .vs-slide{display:flex; flex-direction:column;}
/* contain, so nothing is cropped out of frame */
.visual-slider .vs-slide img{
  flex:1 1 auto; min-height:0; width:100%; height:auto; object-fit:contain;
  background:var(--blue-tint);
}
.visual-slider .vs-slide figcaption{
  position:static; flex:none;
  padding:9px 14px; background:var(--white); border-top:1px solid rgba(11,29,140,.08);
  color:var(--ink); text-shadow:none;
  font-size:11.5px; line-height:1.3; font-weight:600;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
/* Dots sit under the card now that the photo is not full-bleed. */
.visual-slider .vs-dots{
  position:absolute; left:0; right:0; bottom:0; top:auto; max-width:none;
  justify-content:center; padding:0; height:34px;
}
.visual-slider .vs-dot{border-color:rgba(11,29,140,.45); background:rgba(11,29,140,.18);}
.visual-slider .vs-dot.is-active{background:var(--gold-dark); border-color:var(--gold-dark);}
.visual-slider .vs-nav{top:calc(50% - 17px);}
.visual-slider .vs-nav.prev{left:-16px;}
.visual-slider .vs-nav.next{right:-16px;}

@media (max-width:900px){
  .interior-row.compact .interior-copy{padding:36px 24px 30px;}
  /* the aspect-ratio rules from the full-bleed version no longer apply */
  .interior-visual.res:has(.visual-slider),
  .interior-visual.com:has(.visual-slider){aspect-ratio:auto; min-height:0; padding:0 20px 26px;}
  .interior-visual .visual-slider{max-width:380px; height:clamp(320px, 62vh, 440px);}
  .visual-slider .vs-nav.prev{left:6px;}
  .visual-slider .vs-nav.next{right:6px;}
}
@media (max-width:520px){
  .interior-visual .visual-slider{max-width:100%; height:min(58vh, 380px);}
}

/* ============================================================================
   Google reviews slider (about-us)
   ========================================================================= */

.review-slider{position:relative; display:flex; align-items:center; gap:12px;}
.rev-rail{
  display:flex; gap:20px; flex:1 1 auto; min-width:0;
  overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory;
  padding:4px 2px 18px; scroll-padding-left:2px;
  scrollbar-width:thin; -webkit-overflow-scrolling:touch;
}
.rev-rail::-webkit-scrollbar{height:6px;}
.rev-rail::-webkit-scrollbar-thumb{background:rgba(11,29,140,.18); border-radius:999px;}
.rev-rail:focus-visible{outline:3px solid rgba(31,95,224,.35); outline-offset:4px; border-radius:var(--radius-md);}

.rev-card{
  flex:0 0 calc((100% - 40px) / 3); min-width:280px; scroll-snap-align:start;
  display:flex; flex-direction:column; gap:14px;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:26px 26px 22px;
}
.rev-top{display:flex; align-items:center; justify-content:space-between; gap:12px;}
.rev-top .stars{margin-bottom:0; font-size:15px; letter-spacing:2px;}
.rev-g{width:18px; height:18px; flex:none;}

.rev-card .quote{
  flex:1 1 auto; margin:0;
  font-family:'Manrope', sans-serif; font-weight:500;
  font-size:15px; line-height:1.6; color:var(--ink);
  /* keeps every card the same height however long the review runs */
  display:-webkit-box; -webkit-line-clamp:7; -webkit-box-orient:vertical; overflow:hidden;
}

.rev-foot{
  display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 12px; align-items:center;
  padding-top:16px; border-top:1px solid var(--line);
}
.rev-foot .t-avatar{grid-row:span 2;}
.rev-who{min-width:0;}
.rev-who b{display:block; font-family:'Manrope', sans-serif; font-size:14px; color:var(--ink);}
.rev-who span{
  display:block; font-size:11.5px; color:var(--ink-soft); line-height:1.35;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.rev-link{
  grid-column:2; justify-self:start;
  font-family:'Manrope', sans-serif; font-size:11.5px; font-weight:700;
  letter-spacing:.03em; color:var(--blue); text-decoration:underline; text-underline-offset:2px;
}
.rev-link:hover{color:var(--navy);}

/* Arrows */
.rev-nav{
  flex:none; width:40px; height:40px; border-radius:50%; padding:0; cursor:pointer;
  border:1.5px solid var(--line); background:var(--white); color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease, opacity .2s ease;
}
.rev-nav svg{width:20px; height:20px;}
.rev-nav:hover:not(:disabled){border-color:var(--gold-dark); background:var(--cream);}
.rev-nav:disabled{opacity:.32; cursor:default;}
.rev-nav:focus-visible{outline:3px solid rgba(31,95,224,.35); outline-offset:2px;}

/* Per-branch links to the full Google listings */
.review-sources{margin-top:34px; padding-top:28px; border-top:1px solid rgba(11,29,140,.12);}
.rev-sources-label{
  font-family:'Manrope', sans-serif; font-size:11.5px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:16px;
}
.rev-source-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px;}
.rev-source{
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 10px;
  padding:16px 18px; border-radius:var(--radius-md);
  background:var(--white); border:1px solid var(--line);
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rev-source:hover{border-color:var(--gold-dark); transform:translateY(-2px); box-shadow:0 16px 30px -24px rgba(10,18,64,.5);}
.rev-source-name{
  font-family:'Manrope', sans-serif; font-weight:600; font-size:13.5px; color:var(--ink);
  line-height:1.3;
}
.rev-source-meta{grid-column:1; font-size:11.5px; color:var(--ink-soft);}
.rev-source-arrow{grid-column:2; grid-row:1 / span 2; width:16px; height:16px; color:var(--blue); flex:none;}

@media (max-width:1024px){
  .rev-card{flex-basis:calc((100% - 20px) / 2);}
  .rev-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:680px){
  .review-slider{gap:0;}
  .rev-nav{display:none;}          /* swipe instead */
  .rev-card{flex-basis:88%; min-width:0; padding:22px;}
  .rev-card .quote{-webkit-line-clamp:9;}
  .rev-source-grid{grid-template-columns:1fr;}
  .review-sources{margin-top:26px; padding-top:22px;}
}

/* ---------- Home banner photo (assets/home/banner/) ---------- */
.hero-panel.has-photo{
  background:var(--navy);   /* shows only until the photo paints */
}
.hero-panel .hero-photo{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
}
/* Keeps the white badge and tag readable over any photo. */
.hero-panel.has-photo::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(0deg, rgba(10,18,64,.55) 0%, rgba(10,18,64,.12) 38%, rgba(10,18,64,0) 62%),
             linear-gradient(200deg, rgba(10,18,64,.35) 0%, rgba(10,18,64,0) 42%);
}
.hero-panel.has-photo .hero-badge,
.hero-panel.has-photo .hero-tag{z-index:2;}

@media (max-width:860px){
  .hero-visual{height:380px;}
}
@media (max-width:520px){
  .hero-visual{height:300px;}
  .hero-panel .hero-tag{left:16px; right:16px; bottom:16px; max-width:none;}
}

/* ---------- Footer: branches merged into the single footer grid ---------- */
.footer-contact{margin:0 0 18px;}
.footer-contact li{font-size:14px; margin-bottom:8px;}
.footer-contact a{color:#c9d0f5;}
.footer-contact a:hover{color:var(--white);}

.footer-col.loc-col .footer-locs{margin-bottom:14px;}
.footer-col.loc-col .footer-locs li{margin-bottom:12px; font-size:14px;}
.footer-col.loc-col .footer-locs a{display:flex; flex-direction:column; gap:2px;}
.footer-col.loc-col .loc-name{font-size:13.5px; font-weight:600; line-height:1.35; color:#c9d0f5; transition:color .2s ease;}
.footer-col.loc-col .loc-area{font-size:11.5px; font-weight:600; color:var(--gold); letter-spacing:.02em;}
.footer-col.loc-col a:hover .loc-name{color:var(--white);}
.footer-more{
  display:inline-block; font-size:12.5px; font-weight:700; color:var(--gold);
  border-bottom:1px solid rgba(244,180,0,.4); padding-bottom:2px;
}
.footer-more:hover{color:var(--white); border-bottom-color:var(--white);}
/* ---------- Empty state with a contact prompt (account: no chits) ---------- */
.empty-contact{
  display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin:20px 0 6px;
}
.empty-contact .btn{font-size:14px; padding:12px 22px;}
.empty-note{font-size:13px; color:var(--ink-soft); margin-top:6px;}
.empty-note a{color:var(--blue); font-weight:700; text-decoration:underline; text-underline-offset:2px;}

/* Footer grid: two columns on tablets, one on phones (branch list stays legible) */
@media (max-width:900px){
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr; gap:32px;}
  .footer-col.loc-col{grid-column:1 / -1;}
  .footer-col.loc-col .footer-locs{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 24px;}
}
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr; gap:28px;}
  .footer-col.loc-col .footer-locs{grid-template-columns:1fr;}
}
