/* ===========================================================
   Dubai Curtains — shared stylesheet
   Palette: cream background, near-black ink, red accent, green CTA
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink:#1b1917;
  --ink-soft:#4a463f;
  --cream:#f6f1e8;
  --cream-2:#efe7d6;
  --card-dark-1:#2b2620;
  --card-dark-2:#4a4038;
  --red:#c8202f;
  --red-dark:#a3111e;
  --green:#1f7a4d;
  --green-dark:#175c3a;
  --line:#e2dac2;
  --white:#ffffff;
  --radius:10px;
  --shadow: 0 6px 24px rgba(27,25,23,0.08);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  /* Stops elastic "rubber-band" overscroll on mobile from dragging the
     page past its edges, which is what can make the fixed bottom nav
     look like it briefly detaches from the screen's bottom border. */
  overscroll-behavior-y:none;
}
h1,h2,h3,.serif{
  font-family:'Playfair Display',Georgia,serif;
  margin:0;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;}
.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}
.small-caps{
  font-size:12px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--red);
}

/* ---------- Header ---------- */
.site-header{
  background:var(--white);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:50;
}
.site-header .inner{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  padding:16px 24px;
  max-width:1180px;
  margin:0 auto;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:17px;
  letter-spacing:0.5px;
  white-space:nowrap;
  flex-shrink:0;
}
.brand .mark{
  width:36px;height:36px;
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  flex-shrink:0;
}
.brand .mark img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.main-nav{
  display:flex;
  flex-wrap:nowrap;
  gap:clamp(12px,2vw,28px);
  font-size:13px;
  font-weight:600;
  letter-spacing:0.4px;
  text-transform:uppercase;
}
.main-nav a{opacity:0.85;transition:opacity .15s,color .15s;padding-bottom:4px;border-bottom:2px solid transparent;white-space:nowrap;}
.main-nav a:hover{opacity:1;}
.main-nav a.active{opacity:1;color:var(--red);border-bottom-color:var(--red);}
.header-actions{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:clamp(8px,1.4vw,20px);
  flex-shrink:0;
}
.enquiry-link{
  font-size:12px;
  font-weight:700;
  letter-spacing:0.6px;
  text-transform:uppercase;
  color:var(--red);
  display:flex;
  align-items:center;
  gap:6px;
}
.enquiry-count{
  background:var(--red);
  color:#fff;
  min-width:18px;
  height:18px;
  border-radius:50%;
  font-size:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 4px;
}
.icon-btn{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  width:auto;min-width:34px;height:34px;border-radius:17px;padding:0 8px;
  color:var(--ink);opacity:0.85;transition:opacity .15s,background .15s;
}
.icon-btn:hover{opacity:1;background:var(--cream);}
.whatsapp-link{
  font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase;
  color:var(--ink);display:flex;align-items:center;gap:6px;
}
.pill-count{
  color:var(--ink);font-weight:700;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center;
}
.account-menu{position:relative;}
.account-toggle{
  display:flex;align-items:center;gap:7px;
  background:none;border:none;cursor:pointer;
  font-size:13px;font-weight:600;color:var(--ink);
  padding:6px 4px;
  white-space:nowrap;
  max-width:130px;
}
.account-toggle .account-label{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.account-dot{
  width:8px;height:8px;border-radius:50%;background:var(--ink);flex-shrink:0;
}
.account-toggle .chevron{transition:transform .15s;opacity:0.6;}
.account-menu.open .account-toggle .chevron{transform:rotate(180deg);}
.account-dropdown{
  display:none;position:absolute;top:calc(100% + 8px);right:0;
  background:#fff;border:1px solid var(--line);border-radius:10px;
  box-shadow:var(--shadow);min-width:170px;padding:6px;z-index:60;
}
.account-menu.open .account-dropdown{display:block;}
.account-dropdown a{
  display:block;padding:9px 12px;border-radius:6px;font-size:13px;color:var(--ink);
}
.account-dropdown a:hover{background:var(--cream);}
.nav-toggle{display:none;background:none;border:none;font-size:22px;cursor:pointer;padding:6px;flex-shrink:0;}
.nav-toggle-bars{display:flex;flex-direction:column;gap:5px;width:22px;}
.nav-toggle-bars span{display:block;height:2px;width:100%;background:var(--ink);border-radius:1px;transition:transform .2s,opacity .2s;}
.nav-toggle.open .nav-toggle-bars span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.open .nav-toggle-bars span:nth-child(2){opacity:0;}
.nav-toggle.open .nav-toggle-bars span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-nav-panel{display:none;flex-direction:column;background:#fff;border-top:1px solid var(--line);}
.mobile-nav-panel a{
  padding:14px 24px;font-size:14px;font-weight:600;letter-spacing:0.3px;
  border-bottom:1px solid var(--line);color:var(--ink);
}
.mobile-nav-panel a.active{color:var(--red);}
.mobile-nav-panel.open{display:flex;}

.mobile-bottom-nav{
  display:none;
  position:fixed;left:0;right:0;bottom:0;z-index:80;
  background:var(--ink);
  padding:8px 4px calc(8px + env(safe-area-inset-bottom));
  align-items:stretch;
}
.mobile-bottom-nav a{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  color:#c7c2b8;font-size:10.5px;font-weight:700;letter-spacing:0.2px;text-transform:uppercase;
  padding:4px 2px;position:relative;
}
.mobile-bottom-nav a.active{color:#fff;}
.mobile-bottom-nav a svg{flex-shrink:0;}
.mobile-bottom-nav .pill-count{
  position:absolute;top:-2px;right:8px;background:var(--red);color:#fff;
  min-width:15px;height:15px;border-radius:50%;font-size:9px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;padding:0 3px;
}

@media (max-width:1280px){
  .main-nav{gap:10px;}
  .whatsapp-link .wa-label{display:none;}
  .account-toggle{max-width:100px;}
}
@media (max-width:1140px){
  .main-nav{display:none;}
  .nav-toggle{display:block;}
  .header-actions .icon-btn,
  .header-actions .whatsapp-link,
  .header-actions .account-menu{display:none;}
}
@media (max-width:600px){
  .mobile-bottom-nav{display:flex;}
  body{padding-bottom:64px;}
}

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(180deg,var(--cream) 0%, var(--cream-2) 100%);
  padding:56px 0 44px;
}
.hero .hero-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  flex-wrap:wrap;
  margin-bottom:34px;
}
.hero h1{
  font-size:38px;
  line-height:1.15;
  margin:10px 0 8px;
}
.hero p{
  color:var(--ink-soft);
  font-size:15px;
  max-width:520px;
  margin:0;
}
.search-box{
  min-width:280px;
  flex:1;
  max-width:360px;
}
.search-box input{
  width:100%;
  padding:13px 16px;
  border-radius:8px;
  border:1px solid var(--line);
  background:#fff;
  font-size:14px;
  font-family:inherit;
}
.search-box input:focus{outline:2px solid var(--ink);outline-offset:1px;}

@media (max-width:700px){
  .hero{padding:28px 0 24px;}
  .hero h1{font-size:26px;}
  .hero p{font-size:13.5px;}
  .search-box{min-width:100%;max-width:100%;}
  .enquiry-banner{flex-direction:column;align-items:flex-start;gap:14px;}

  /* Generic fallback: any inline two-column grid (about/services/contact
     hero splits and content grids) collapses to a single column on mobile. */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.5fr 1fr"],
  [style*="grid-template-columns: 1.5fr 1fr"]{
    grid-template-columns:1fr !important;
  }
  section.hero[style*="padding:0"] h1{font-size:26px !important;}
  section.hero[style*="padding:0"] > .container > div:first-child{padding:32px 24px !important;}
  section.hero[style*="padding:0"] > .container > div:last-child{min-height:180px !important;}
}

/* ---------- Collection cards ---------- */
.collections-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
@media (max-width:700px){
  .collections-grid{grid-template-columns:1fr 1fr;gap:12px;}
  .collection-card{min-height:170px;}
  .collection-card h3{font-size:19px;}
  .collection-card .cc-sub{display:none;}
  .collection-card .cc-explore{display:none;}
  .collection-card .cc-bar{height:36px;width:5px;}
}
@media (max-width:420px){
  .collection-card{min-height:150px;}
}
.collection-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:230px;
  background:#222;
  display:flex;
  align-items:flex-end;
  box-shadow:var(--shadow);
  border:2px solid transparent;
  transition:transform .18s, border-color .18s;
}
.collection-card:hover{transform:translateY(-3px);}
.collection-card.is-featured{border-color:#3b82f6;}
.collection-card img{
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
  z-index:0;
}
.collection-card::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.75) 100%);
  z-index:1;
}
.collection-card .cc-inner{
  position:relative;
  z-index:2;
  padding:22px 24px;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  color:#fff;
}
.collection-card .cc-text{
  display:flex;
  gap:10px;
}
.collection-card .cc-bar{
  width:3px;
  background:var(--red);
  border-radius:2px;
}
.collection-card h3{
  font-size:23px;
  margin-bottom:4px;
}
.collection-card .cc-sub{
  font-size:12.5px;
  opacity:0.85;
}
.collection-card .cc-explore{
  font-size:12px;
  font-weight:700;
  letter-spacing:0.5px;
  text-transform:uppercase;
  white-space:nowrap;
  border-bottom:1px solid rgba(255,255,255,0.5);
  padding-bottom:2px;
}

/* ---------- Enquiry banner ---------- */
.enquiry-banner{
  margin-top:26px;
  background:var(--ink);
  border-radius:var(--radius);
  padding:22px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  color:#fff;
}
.enquiry-banner h4{font-size:15px;margin-bottom:4px;font-family:inherit;font-weight:700;}
.enquiry-banner p{margin:0;font-size:13px;color:#d8d5cd;max-width:480px;}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 20px;
  border-radius:7px;
  border:none;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.3px;
  white-space:nowrap;
}
.btn-red{background:var(--red);color:#fff;}
.btn-red:hover{background:var(--red-dark);}
.btn-green{background:var(--green);color:#fff;}
.btn-green:hover{background:var(--green-dark);}
.btn-outline{background:transparent;border:1.5px solid var(--ink);color:var(--ink);}
.btn-block{width:100%;justify-content:center;}

/* ---------- Section shell ---------- */
.section{padding:56px 0;}
.section-head{margin-bottom:28px;}
.section-head h2{font-size:28px;margin-top:6px;}
.section-head p{color:var(--ink-soft);font-size:14.5px;margin-top:8px;max-width:560px;}

/* ---------- Catalogue tabs & pagination ---------- */
.tier-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:18px 0 26px;
}
.tier-tab{
  border:1.5px solid var(--line);
  background:#fff;
  padding:9px 18px;
  border-radius:22px;
  font-size:13px;
  font-weight:700;
}
.tier-tab.active{background:var(--red);border-color:var(--red);color:#fff;}
.catalogue-meta{
  font-size:12.5px;
  color:var(--ink-soft);
  text-align:right;
}
.pagination{
  display:flex;
  justify-content:flex-end;
  gap:6px;
  margin-top:26px;
  font-size:13px;
}
.pagination button{
  border:1px solid var(--line);
  background:#fff;
  padding:7px 13px;
  border-radius:6px;
  font-weight:600;
}
.pagination button.active{background:var(--ink);color:#fff;border-color:var(--ink);}
.pc-addrow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:8px;
}
.pc-quickadd{
  background:none;
  border:none;
  color:var(--red);
  font-size:11.5px;
  font-weight:700;
  letter-spacing:0.3px;
  text-transform:uppercase;
}
.pc-quickadd.added{color:var(--green);}

/* ---------- Product grid ---------- */
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
@media (max-width:900px){.product-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.product-grid{grid-template-columns:1fr 1fr;gap:12px;}
  .pc-body{padding:10px 10px 12px;}
  .product-card h3{font-size:14px;}
  .pc-tag{font-size:9.5px;}
  .pc-addrow{flex-direction:column;align-items:flex-start;gap:6px;}
}

.product-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  transition:box-shadow .15s, transform .15s;
}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);}
.product-card{position:relative;}
.pc-wish{
  position:absolute;top:12px;right:12px;z-index:2;
  width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,0.92);
  display:flex;align-items:center;justify-content:center;color:var(--ink);
  box-shadow:0 2px 8px rgba(0,0,0,0.18);
}
.pc-wish svg{width:16px;height:16px;}
.pc-wish.is-active{color:var(--red);}
.pc-wish.is-active svg{fill:var(--red);}
.product-card .pc-img{aspect-ratio:4/3;overflow:hidden;background:#222;position:relative;}
.product-card .pc-img img{width:100%;height:100%;object-fit:cover;}
.product-card .pc-body{padding:16px 18px 18px;}
.product-card .pc-tag{font-size:11px;font-weight:700;letter-spacing:0.8px;text-transform:uppercase;color:var(--red);}
.product-card h3{font-size:17px;margin:6px 0 3px;}
.product-card .pc-code{font-size:12px;color:var(--ink-soft);}

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  font-size:12.5px;
  color:var(--ink-soft);
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.breadcrumb a{opacity:0.75;}
.breadcrumb a:hover{opacity:1;text-decoration:underline;}
.breadcrumb .help{float:right;font-weight:600;color:var(--ink);}
@media (max-width:600px){.breadcrumb .help{display:block;float:none;margin-top:6px;}}

/* ---------- Product detail ---------- */
.pd-wrap{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:34px;
  padding:34px 0 12px;
  align-items:start;
}
@media (max-width:900px){.pd-wrap{grid-template-columns:1fr;}}
@media (max-width:600px){
  .pd-wrap{gap:20px;padding:20px 0 12px;}
  .pd-title{font-size:22px;}
  .pill-row{gap:6px;}
  .pill-row .pill{flex:1 1 auto;text-align:center;min-width:100px;}
}

.pd-media{
  border-radius:var(--radius);
  overflow:hidden;
  position:relative;
  background:#222;
}
.pd-media img{width:100%;aspect-ratio:4/3;object-fit:cover;}
.pd-badge{
  position:absolute;top:14px;left:14px;
  background:rgba(0,0,0,0.65);
  color:#fff;font-size:11px;font-weight:700;letter-spacing:0.5px;text-transform:uppercase;
  padding:6px 10px;border-radius:5px;
}
.pd-caption{
  font-size:12px;
  color:var(--ink-soft);
  background:var(--cream);
  padding:9px 14px;
  margin-top:1px;
}

.pd-tag{font-size:12px;font-weight:700;letter-spacing:0.8px;text-transform:uppercase;color:var(--red);margin-bottom:8px;}
.pd-title{font-size:27px;margin-bottom:6px;}
.pd-code{font-size:13px;color:var(--ink-soft);margin-bottom:18px;}

.sample-row{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px;
  margin-bottom:20px;
}
.sample-row img{width:56px;height:56px;object-fit:cover;border-radius:5px;flex-shrink:0;}
.sample-row .sr-label{font-size:11px;font-weight:700;color:var(--red);letter-spacing:0.5px;margin-bottom:3px;}
.sample-row p{font-size:12.5px;color:var(--ink-soft);margin:0;line-height:1.4;}

.field-label{font-size:13px;font-weight:700;margin-bottom:10px;}
.pill-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px;}
.pill{
  border:1.5px solid var(--line);
  background:#fff;
  padding:9px 15px;
  border-radius:7px;
  font-size:12.5px;
  font-weight:600;
}
.pill.active{background:var(--red);border-color:var(--red);color:#fff;}
.pill.static{background:#f4f2ec;color:var(--ink-soft);border-color:#eee7d5;}

.notice{
  display:flex;
  gap:10px;
  background:#fdf1ef;
  border:1px solid #f3d6d2;
  border-radius:8px;
  padding:12px 14px;
  font-size:12.5px;
  color:#6b2b26;
  margin:22px 0;
  line-height:1.5;
}
.notice .dot{
  flex-shrink:0;width:18px;height:18px;border-radius:50%;
  background:var(--red);color:#fff;font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  margin-top:10px;
}
@media (max-width:700px){.steps{grid-template-columns:1fr 1fr;}}
.step .step-num{
  width:24px;height:24px;border-radius:50%;
  background:var(--red);color:#fff;font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;margin-bottom:10px;
}
.step h4{font-size:13.5px;margin-bottom:4px;}
.step p{font-size:12px;color:var(--ink-soft);margin:0;line-height:1.4;}

/* ---------- Project cards ---------- */
.project-card{
  display:flex;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
}
.project-card .pj-img{width:42%;flex-shrink:0;background:#222;}
.project-card .pj-img img{width:100%;height:100%;object-fit:cover;}
.project-card .pj-body{padding:18px 20px;}
.project-card .pj-tag{font-size:11px;font-weight:700;letter-spacing:0.6px;text-transform:uppercase;color:var(--red);margin-bottom:6px;}
.project-card h3{font-size:16px;margin-bottom:6px;}
.project-card p{font-size:13px;color:var(--ink-soft);margin:0 0 10px;line-height:1.5;}
.project-card .pj-link{font-size:12px;font-weight:700;color:var(--red);}
@media (max-width:560px){.project-card{flex-direction:column;}.project-card .pj-img{width:100%;height:160px;}}

/* ---------- Enquiry list page ---------- */
.enquiry-layout{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:26px;
  align-items:start;
}
@media (max-width:820px){.enquiry-layout{grid-template-columns:1fr;}}

.enq-item{
  display:flex;
  gap:14px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:16px;
  margin-bottom:14px;
  background:#fff;
}
.enq-item img{width:72px;height:72px;object-fit:cover;border-radius:8px;flex-shrink:0;}
.enq-item .ei-body{flex:1;min-width:0;}
.enq-item .ei-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
.enq-item .ei-body h4{font-size:15px;margin-bottom:2px;}
.enq-item .ei-body p{font-size:12px;color:var(--ink-soft);margin:0;}
.enq-item .ei-remove{
  background:none;border:none;color:var(--red);font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:0.3px;white-space:nowrap;
}
.enq-item .ei-note{
  width:100%;
  margin-top:10px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:6px;
  font-size:12.5px;
  font-family:inherit;
}

.summary-card{
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px;
  background:#fff;
  position:sticky;
  top:90px;
}
.summary-card h3{font-size:22px;margin:6px 0 6px;}
.summary-card p{font-size:13px;color:var(--ink-soft);margin:0 0 16px;}
.summary-card textarea{
  width:100%;min-height:100px;
  border:1px solid var(--line);border-radius:8px;
  padding:12px 14px;font-family:inherit;font-size:13.5px;
  margin-bottom:16px;resize:vertical;
}
.summary-card .btn{margin-bottom:10px;}
.summary-card .fine-print{font-size:11.5px;color:var(--ink-soft);line-height:1.5;margin:0;}
.empty-state{
  text-align:center;
  padding:60px 20px;
  color:var(--ink-soft);
}
.empty-state h3{margin-bottom:8px;color:var(--ink);}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--ink);
  color:#c9c5bb;
  padding:44px 0 24px;
  margin-top:60px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:30px;
  margin-bottom:30px;
}
@media (max-width:700px){.footer-grid{grid-template-columns:1fr;}}
.footer-grid h5{
  color:#fff;font-size:13px;letter-spacing:0.5px;text-transform:uppercase;
  margin-bottom:14px;
}
.footer-grid p, .footer-grid a{font-size:13.5px;line-height:1.9;color:#c9c5bb;display:block;}
.footer-grid a:hover{color:#fff;}
.footer-grid div > span{font-size:13.5px;line-height:1.9;color:#c9c5bb;display:block;}
.footer-bottom{
  border-top:1px solid #3a362f;
  padding-top:18px;
  font-size:12px;
  color:#8b8779;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}

/* ---------- Generic form ---------- */
.form-grid{display:grid;gap:14px;max-width:520px;}
.form-grid label{font-size:13px;font-weight:600;margin-bottom:5px;display:block;}
.form-grid input, .form-grid textarea, .form-grid select{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:7px;font-family:inherit;font-size:14px;
}
.form-grid textarea{resize:vertical;min-height:110px;}

/* Utility */
.mt-0{margin-top:0;}
.flex{display:flex;}
.gap-8{gap:8px;}
.center{text-align:center;}

/* ---------- Auth (login / create account) ---------- */
.auth-header{
  background:var(--white);
  border-bottom:1px solid var(--line);
  padding:18px 0;
}
.auth-header .container{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;
}
.auth-header .brand-mark{
  display:flex;align-items:center;gap:10px;font-family:'Playfair Display',serif;font-weight:700;font-size:18px;letter-spacing:0.5px;
}
.auth-header .brand-mark .mark{
  width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;
}
.auth-header .brand-mark .mark img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.auth-header .help{font-size:13.5px;color:var(--ink-soft);}
.auth-header .help strong{color:var(--ink);}

.auth-shell{
  background:var(--cream);
  min-height:calc(100vh - 76px);
  padding:40px 24px;
}
.auth-grid{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:stretch;
}
@media (max-width:900px){ .auth-grid{grid-template-columns:1fr;} }

.auth-visual{
  position:relative;border-radius:16px;overflow:hidden;min-height:520px;
  background:linear-gradient(135deg,var(--card-dark-1),var(--card-dark-2));
  display:flex;align-items:flex-end;padding:36px;
}
.auth-visual::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg, rgba(20,18,15,0.72) 10%, rgba(20,18,15,0.15) 55%, rgba(20,18,15,0.05) 100%);
}
.auth-visual .content{position:relative;z-index:1;color:#fff;max-width:440px;}
.auth-visual .eyebrow{color:#e8b98f;font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:10px;}
.auth-visual h1{font-size:34px;line-height:1.15;margin-bottom:12px;}
.auth-visual p{color:#e5e1d8;font-size:14.5px;margin-bottom:16px;}
.auth-visual .checks{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:#e5e1d8;}
.auth-visual .checks span{display:inline-flex;align-items:center;gap:6px;}

.auth-card{
  background:#fff;border-radius:16px;box-shadow:var(--shadow);padding:36px;
  display:flex;flex-direction:column;justify-content:center;
}
.auth-card .eyebrow{color:var(--red);font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:10px;}
.auth-card h2{font-size:26px;margin-bottom:8px;}
.auth-card .sub{color:var(--ink-soft);font-size:14px;margin-bottom:24px;}
.auth-field{margin-bottom:16px;}
.auth-field label{display:block;font-size:11.5px;font-weight:700;letter-spacing:0.6px;text-transform:uppercase;color:var(--ink-soft);margin-bottom:7px;}
.auth-field input{
  width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:8px;font-family:inherit;font-size:14.5px;background:var(--cream-2);
}
.auth-field input:focus{outline:2px solid var(--ink);outline-offset:1px;background:#fff;}
.auth-field .pw-row{position:relative;}
.auth-field .pw-row button{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  background:none;border:none;color:var(--red);font-size:12px;font-weight:700;letter-spacing:0.4px;
}
.auth-forgot{
  display:inline-block;margin-top:9px;font-size:12.5px;font-weight:700;color:var(--ink-soft);
}
.auth-forgot:hover{color:var(--red);}
.auth-error{
  background:#fbe8e6;border:1px solid #f3c2bd;color:var(--red-dark);font-size:13.5px;padding:10px 14px;border-radius:8px;margin-bottom:16px;
}
.auth-success{
  background:#e8f5ec;border:1px solid #bfe3cb;color:#1c6b3a;font-size:13.5px;padding:10px 14px;border-radius:8px;margin-bottom:16px;
}
.auth-note{margin-top:16px;font-size:13px;color:var(--ink-soft);text-align:center;}
.auth-note a{color:var(--red);font-weight:700;}
.auth-required-note{
  background:#faf3e8;border:1px solid #eddcbd;color:var(--ink);font-size:13px;line-height:1.5;padding:12px 14px;border-radius:8px;margin-bottom:14px;
}
.auth-required-note strong{color:var(--red-dark);}
.auth-terms{margin-top:16px;font-size:12px;color:#8b8779;text-align:center;}

/* ---------- Collection overview page ---------- */
.collection-hero{
  position:relative;border-radius:16px;overflow:hidden;
  min-height:230px;background:var(--card-dark-1);
  display:flex;align-items:center;padding:32px 36px;
  margin-bottom:26px;
}
.collection-hero img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0.32;z-index:0;
}
.collection-hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg, var(--cream) 0%, rgba(246,241,232,0.55) 42%, rgba(246,241,232,0.15) 100%);
  z-index:0;
}
.collection-hero .ch-inner{
  position:relative;z-index:1;width:100%;
  display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;
}
.collection-hero .ch-bar{width:3px;height:22px;background:var(--red);display:inline-block;border-radius:2px;vertical-align:middle;margin-right:8px;}
.collection-hero h1{font-size:32px;margin:6px 0;}
.collection-hero p{color:var(--ink-soft);font-size:14px;max-width:480px;margin:0 0 14px;}
.collection-hero .ch-features{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;font-weight:600;}
.collection-hero .ch-features span{display:inline-flex;align-items:center;gap:6px;}
.collection-hero .ch-stats{
  background:#fff;border-radius:12px;padding:16px 26px;text-align:center;box-shadow:var(--shadow);flex-shrink:0;
}
.collection-hero .ch-stats .num{font-size:24px;font-weight:800;color:var(--ink);}
.collection-hero .ch-stats .lbl{font-size:11.5px;color:var(--ink-soft);text-transform:uppercase;letter-spacing:0.5px;}

.collection-layout{display:grid;grid-template-columns:220px 1fr;gap:26px;align-items:start;}
@media (max-width:820px){.collection-layout{grid-template-columns:1fr;}}

.filter-sidebar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;position:sticky;top:88px;}
.filter-sidebar .fs-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;}
.filter-sidebar .fs-head h4{font-size:14px;margin:0;}
.filter-sidebar .fs-clear{font-size:12px;color:var(--red);font-weight:700;background:none;border:none;}
@media (max-width:820px){
  /* position:sticky on the filter panel, combined with the taller
     single-column layout on mobile, lets normal-flow product thumbnails
     below it visually paint on top of the sticky box while scrolling
     (sticky elements don't automatically layer above later siblings
     without a stacking context). The sidebar is already stacked above
     the content on mobile, so sticking it adds no benefit — turn it off. */
  .filter-sidebar{position:static;top:auto;}
}
.filter-group{margin-bottom:20px;}
.filter-group h5{font-size:11px;text-transform:uppercase;letter-spacing:0.6px;color:var(--ink-soft);margin:0 0 10px;}
.filter-check{display:flex;align-items:center;gap:9px;font-size:13.5px;margin-bottom:9px;cursor:pointer;}
.filter-check input{accent-color:var(--red);}
.filter-search input{
  width:100%;border:1px solid var(--line);border-radius:8px;padding:9px 12px;font-size:13px;background:var(--cream);
}

.tab-pills{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px;}
.tab-pill{border:1.5px solid var(--line);background:#fff;padding:9px 18px;border-radius:22px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:7px;}
.tab-pill.active{background:var(--red);border-color:var(--red);color:#fff;}

.subcol-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
@media (max-width:1100px){.subcol-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:760px){.subcol-grid{grid-template-columns:repeat(2,1fr);}}
.subcol-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;}
.subcol-card .sc-img-wrap{position:relative;aspect-ratio:1/1;overflow:hidden;background:#222;}
.subcol-card .sc-img-wrap img{width:100%;height:100%;object-fit:cover;}
.subcol-card .sc-badge{
  position:absolute;top:10px;left:10px;background:var(--red);color:#fff;
  font-size:11px;font-weight:800;padding:5px 8px;border-radius:6px;text-align:center;line-height:1.15;
}
.subcol-card .sc-body{padding:14px 16px 16px;flex:1;display:flex;flex-direction:column;}
.subcol-card .sc-name{font-size:15.5px;font-weight:700;margin:0 0 2px;}
.subcol-card .sc-range{font-size:12px;color:var(--ink-soft);}
.subcol-card .sc-dots{display:flex;gap:4px;margin:10px 0 12px;}
.subcol-card .sc-dot{width:8px;height:8px;border-radius:50%;background:#a8946c;}
.subcol-card .sc-btn{
  margin-top:auto;display:flex;align-items:center;justify-content:center;gap:6px;
  border:1.5px solid var(--red);color:var(--red);border-radius:8px;padding:9px;
  font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:0.3px;
}
.subcol-card .sc-btn:hover{background:var(--red);color:#fff;}

.sticky-cta{
  background:var(--ink);color:#fff;border-radius:14px;
  padding:20px 26px;display:flex;justify-content:space-between;align-items:center;
  gap:20px;flex-wrap:wrap;margin-top:32px;
}
.sticky-cta h4{margin:0 0 4px;font-size:16px;}
.sticky-cta p{margin:0;font-size:13px;color:#c7c2b6;}
.sticky-cta .cta-buttons{display:flex;gap:12px;flex-wrap:wrap;}
.cta-instagram,.cta-whatsapp{
  display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:8px;
  font-size:13px;font-weight:700;white-space:nowrap;
}
.cta-instagram{background:linear-gradient(45deg,#f58529,#dd2a7b 40%,#8134af 70%,#515bd4);color:#fff;}
.cta-whatsapp{border:1.5px solid #25d366;color:#25d366;}

@media (max-width:700px){
  .collection-hero{min-height:0;padding:20px;flex-direction:column;align-items:flex-start;}
  .collection-hero h1{font-size:24px;}
  .collection-hero .ch-inner{flex-direction:column;align-items:flex-start;gap:14px;}
  .collection-hero .ch-features{font-size:12px;gap:14px;}
  .collection-hero .ch-stats{padding:12px 20px;}

  .tab-pills{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  .tab-pill{justify-content:center;padding:9px;}

  .subcol-grid{display:flex;flex-direction:column;gap:12px;}
  .subcol-card{flex-direction:row;align-items:center;padding:8px;}
  .subcol-card .sc-img-wrap{width:76px;height:76px;flex-shrink:0;border-radius:10px;aspect-ratio:unset;}
  .subcol-card .sc-badge{top:6px;left:6px;font-size:9px;padding:4px 5px;}
  .subcol-card .sc-body{padding:0 0 0 14px;}
  .subcol-card .sc-name{font-size:14px;}
  .subcol-card .sc-dots{margin:6px 0;}
  .subcol-card .sc-btn{
    border:none;padding:0;justify-content:flex-start;margin-top:2px;color:var(--red);
  }
  .subcol-card .sc-btn:hover{background:none;color:var(--red);}

  .sticky-cta{flex-direction:column;align-items:flex-start;padding:16px 18px;}
  .sticky-cta .cta-buttons{width:100%;flex-direction:column;}
  .cta-instagram,.cta-whatsapp{justify-content:center;width:100%;}
}

/* Hero slideshow (fading carousel used in place of the static hero photo).
   Backgrounds crossfade on their own layer (.hero-bg); the text label is a
   single element (.hero-slide-label) whose text is swapped by JS mid-fade,
   so two labels never overlap during a transition. */
.hero-slideshow{position:relative;width:100%;height:100%;overflow:hidden;}
.hero-bg{position:absolute;inset:0;opacity:0;transition:opacity 1.1s ease;}
.hero-bg.active{opacity:1;}
.hero-slide-label{
  position:absolute;left:22px;bottom:22px;z-index:2;
  color:#fff;font-family:Georgia,serif;font-size:22px;font-weight:600;
  text-shadow:0 2px 10px rgba(0,0,0,0.35);
  transition:opacity .3s ease;
}
.hero-dots{position:absolute;top:14px;right:14px;display:flex;gap:6px;z-index:2;}
.hero-dot{
  width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.5);
  border:none;padding:0;cursor:pointer;
}
.hero-dot.active{background:#fff;}

/* ---------- Floating WhatsApp chat button (all main pages) ---------- */
.wa-float{
  position:fixed;top:50%;right:18px;transform:translateY(-50%);
  width:56px;height:56px;border-radius:50%;
  background:#25d366;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,0.28);
  z-index:95;transition:transform .15s;
}
.wa-float:hover{transform:translateY(-50%) scale(1.07);}
@media (max-width:600px){
  .wa-float{width:48px;height:48px;right:12px;top:auto;bottom:78px;transform:none;}
  .wa-float:hover{transform:scale(1.07);}
}

/* ---------- Full-bleed dark page banner (About / Contact top section) ---------- */
.page-hero-banner{
  position:relative;
  min-height:320px;
  background:#05060a;
  overflow:hidden;
  display:flex;
  align-items:center;
}
.page-hero-banner .phb-bg{
  position:absolute;inset:0;
  opacity:0;
  transition:opacity 1.2s ease;
  background-image:var(--phb-photo);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.page-hero-banner .phb-bg.active{opacity:1;}
.page-hero-banner .phb-scrim{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.42) 40%, rgba(0,0,0,0.12) 62%, rgba(0,0,0,0) 78%);
  pointer-events:none;
}
.page-hero-banner .phb-inner{
  position:relative;z-index:2;
  width:100%;
}
.page-hero-banner .phb-content{
  color:#fff;
  max-width:460px;
  padding:48px 0;
}
.page-hero-banner .phb-content .small-caps{color:#cfc9bb;}
.page-hero-banner .phb-content h1{
  color:#fff;
  text-transform:uppercase;
  letter-spacing:0.3px;
  font-size:30px;
  margin:10px 0 14px;
}
.page-hero-banner .phb-content p{color:#d6d2c7;font-size:14px;max-width:400px;}
@media (max-width:700px){
  .page-hero-banner{min-height:220px;}
  .page-hero-banner .phb-scrim{
    background:linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.6) 48%, rgba(0,0,0,0.25) 66%, rgba(0,0,0,0) 82%);
  }
  .page-hero-banner .phb-content{padding:28px 0;max-width:66%;}
  .page-hero-banner .phb-content h1{font-size:20px;}
  .page-hero-banner .phb-content p{font-size:12.5px;}
}
@media (max-width:420px){
  .page-hero-banner .phb-content{max-width:72%;}
  .page-hero-banner .phb-content h1{font-size:18px;}
}
