/* ============================================================
   MANIROSE — Design tokens
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root{
  --bg:            #FAF6F0;
  --bg-alt:        #F2EAE0;
  --ink:           #2A211D;
  --ink-soft:      #6B5D53;
  --line:          #E4D9CC;
  --maroon:        #7C2D42;
  --maroon-dark:   #5C1F30;
  --gold:          #A9835A;
  --blush:         #E7D3C4;
  --whatsapp:      #25D366;
  --whatsapp-dark: #1DA851;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max-w: 1240px;
  --radius: 2px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }
input, select{ font-family: inherit; }

.wrap{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline: 2px solid var(--maroon);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   Signature motif: the "running stitch" divider
   A dashed thread-like rule used across the site — a nod to the
   hand-embroidery ("embroidered lawn / chikankari") the brand sells.
   ============================================================ */
.stitch{
  height: 10px;
  background-image: repeating-linear-gradient(
    to right,
    var(--gold) 0px, var(--gold) 6px,
    transparent 6px, transparent 13px
  );
  background-position: center;
  background-repeat: repeat-x;
  background-size: 13px 1.4px;
  width: 100%;
}
.stitch--maroon{
  background-image: repeating-linear-gradient(
    to right,
    var(--maroon) 0px, var(--maroon) 6px,
    transparent 6px, transparent 13px
  );
}
.stitch-v{
  width: 10px;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--gold) 0px, var(--gold) 6px,
    transparent 6px, transparent 13px
  );
  background-position: center;
  background-repeat: repeat-y;
  background-size: 1.4px 13px;
}

/* ============================================================
   Type helpers
   ============================================================ */
.eyebrow{
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 500;
}
h1, h2, h3, .display{
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
}
h1{ font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
h2{ font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
h3{ font-size: 22px; }
p{ margin: 0 0 12px; color: var(--ink-soft); }

/* ============================================================
   Announcement bar + Header
   ============================================================ */
.announce{
  background: var(--maroon);
  color: #F6E9DC;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
}

header.site-header{
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,246,240,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 24px;
  gap: 20px;
}
.logo{
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink);
}
.logo span{ color: var(--maroon); }
.logo small{
  display:block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 2px;
}
nav.main-nav{ display:flex; gap: 34px; }
nav.main-nav a{
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
nav.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background: var(--maroon);
  transition: width 0.25s ease;
}
nav.main-nav a:hover::after, nav.main-nav a.active::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:16px; }
.header-whatsapp{
  display:flex; align-items:center; gap:7px;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.header-whatsapp:hover{ border-color: var(--whatsapp); color: var(--whatsapp-dark); }
.header-whatsapp svg{ width:16px; height:16px; flex-shrink:0; }

.nav-toggle{
  display:none;
  background:none; border:none;
  width: 30px; height: 22px;
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{
  content:""; position:absolute; left:0; right:0; height:1.4px; background: var(--ink);
}
.nav-toggle span{ top:10px; }
.nav-toggle::before{ top:2px; }
.nav-toggle::after{ bottom:2px; }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  padding: 64px 0 40px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:center;
}
.hero-copy p{ font-size: 16.5px; max-width: 420px; }
.hero-copy h1{ margin: 14px 0 18px; }
.hero-buttons{ display:flex; gap:16px; margin-top: 26px; flex-wrap: wrap; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 30px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--maroon);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-primary{ background: var(--maroon); color: #fff; }
.btn-primary:hover{ background: var(--maroon-dark); border-color: var(--maroon-dark); }
.btn-outline{ background: transparent; color: var(--maroon); }
.btn-outline:hover{ background: var(--maroon); color:#fff; }
.btn:active{ transform: scale(0.98); }

.btn-whatsapp{
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
  width: 100%;
  padding: 16px 20px;
  font-size: 13.5px;
}
.btn-whatsapp:hover{ background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); }
.btn-whatsapp svg{ width:19px; height:19px; }

.hero-image-frame{
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
}
.hero-image-frame img{ width:100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-image-frame .stitch{ position:absolute; left:14px; right:14px; bottom:-5px; }

/* ============================================================
   Category chips
   ============================================================ */
.chip-row{
  display:flex; gap:12px; flex-wrap:wrap;
  padding: 8px 0 8px;
}
.chip{
  font-size: 12.5px;
  letter-spacing: 0.05em;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.chip:hover{ border-color: var(--maroon); color: var(--maroon); }
.chip.active{ background: var(--maroon); border-color: var(--maroon); color:#fff; }

/* ============================================================
   Section headers
   ============================================================ */
.section{ padding: 56px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 20px; margin-bottom: 30px; flex-wrap: wrap;
}
.section-head .stitch{ margin-top: 12px; max-width: 120px; }

/* ============================================================
   Product grid + cards
   ============================================================ */
.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 24px;
}
.product-card{
  background: #fff;
  border: 1px solid var(--line);
  display:flex; flex-direction:column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product-card:hover{ box-shadow: 0 14px 30px -18px rgba(42,33,29,0.35); transform: translateY(-3px); }
.product-card .thumb{
  position:relative;
  aspect-ratio: 4/5;
  overflow:hidden;
  background: var(--bg-alt);
}
.product-card .thumb img{
  width:100%; height:100%; object-fit:cover;
  transition: transform 0.5s ease;
}
.product-card:hover .thumb img{ transform: scale(1.045); }
.badge-sale{
  position:absolute; top:12px; left:12px;
  background: var(--maroon); color:#fff;
  font-size: 10.5px; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 999px;
}
.card-body{ padding: 16px 18px 20px; display:flex; flex-direction:column; gap:6px; flex:1; }
.card-body .cat{ font-size: 11px; letter-spacing: 0.1em; text-transform:uppercase; color: var(--gold); }
.card-body h3{
  font-size: 19px; line-height:1.25; font-weight:500;
  min-height: 48px;
}
.price-row{ display:flex; align-items:center; gap:10px; margin-top:2px; }
.price{ font-family: var(--font-body); font-weight: 500; color: var(--ink); font-size: 15px; }
.price-old{ font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.card-cta{
  margin-top: 12px;
  display:flex; align-items:center; justify-content:space-between;
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--maroon);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.card-cta svg{ width:14px; height:14px; transition: transform 0.2s ease; }
.product-card:hover .card-cta svg{ transform: translateX(4px); }

.empty-state{
  padding: 60px 20px;
  text-align:center;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip{
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid{
  display:grid; grid-template-columns: repeat(3,1fr);
  gap: 30px;
  padding: 40px 0;
}
.trust-item{ text-align:center; }
.trust-item h4{
  font-family: var(--font-display); font-size:19px; font-weight:600; margin: 10px 0 4px;
}
.trust-item p{ font-size: 13.5px; margin:0; }
.trust-icon{
  width: 40px; height:40px; margin: 0 auto;
  color: var(--maroon);
}

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer{
  background: var(--ink);
  color: #E7DDD3;
  padding-top: 54px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo{ color:#fff; }
.footer-brand p{ color:#B9AB9E; font-size: 13.5px; margin-top:14px; max-width: 300px; }
.footer-col h5{
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #C9A876; margin: 0 0 16px; font-weight:500;
}
.footer-col a, .footer-col span{
  display:block; font-size: 13.5px; color:#CBC0B5; margin-bottom:10px;
}
.footer-col a:hover{ color:#fff; }
.footer-social{ display:flex; gap:12px; margin-top:16px; }
.footer-social a{
  width:34px; height:34px; border:1px solid #4c4038; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.footer-social svg{ width:15px; height:15px; }
.footer-social a:hover{ border-color:#C9A876; color:#C9A876; }
.footer-bottom{
  border-top: 1px solid #423830;
  padding: 18px 0 26px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size: 12.5px; color:#8f8177;
}

/* ============================================================
   Floating WhatsApp button (site-wide)
   ============================================================ */
.floating-whatsapp{
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 56px; height:56px; border-radius: 50%;
  background: var(--whatsapp);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}
.floating-whatsapp:hover{ transform: scale(1.07); }
.floating-whatsapp svg{ width:28px; height:28px; color:#fff; }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb{
  padding: 20px 0 0;
  font-size: 12.5px; color: var(--ink-soft);
  display:flex; gap:8px; flex-wrap:wrap;
}
.breadcrumb a:hover{ color: var(--maroon); }

/* ============================================================
   Product detail page
   ============================================================ */
.product-detail{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  padding: 34px 0 70px;
  align-items:flex-start;
}
.gallery-main{
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  overflow:hidden;
  background: var(--bg-alt);
}
.gallery-main img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumbs{ display:flex; gap:12px; margin-top:12px; flex-wrap: wrap; }
.gallery-thumbs button{
  border:1px solid var(--line); background:none; padding:0;
  width: 76px; height: 92px; overflow:hidden; opacity:0.75;
  flex-shrink: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.gallery-thumbs button img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumbs button.active{ opacity:1; border-color: var(--maroon); }

.pd-cat{ font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color: var(--gold); }
.pd-name{ margin: 8px 0 12px; }
.pd-price-row{ display:flex; align-items:baseline; gap:12px; margin-bottom: 18px; }
.pd-price{ font-family: var(--font-display); font-size: 28px; color: var(--maroon); font-weight:600; }
.pd-price-old{ font-size: 16px; color: var(--ink-soft); text-decoration: line-through; }
.pd-desc{ font-size: 15px; max-width: 480px; margin-bottom: 22px; }

.pd-block{ margin-bottom: 22px; }
.pd-block-label{
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); font-weight:500; margin-bottom:10px; display:block;
}
.option-row{ display:flex; gap:10px; flex-wrap:wrap; }
.option-btn{
  min-width: 46px; padding: 10px 16px;
  border: 1px solid var(--line);
  background:#fff; font-size: 13.5px; color: var(--ink);
  border-radius: 999px;
  transition: all 0.18s ease;
}
.option-btn:hover{ border-color: var(--maroon); }
.option-btn.selected{ background: var(--maroon); border-color: var(--maroon); color:#fff; }

.qty-row{ display:flex; align-items:center; gap:0; width: fit-content; border:1px solid var(--line); }
.qty-row button{
  width: 40px; height:40px; background:#fff; border:none; font-size:16px; color: var(--ink);
}
.qty-row button:hover{ background: var(--bg-alt); }
.qty-row span{ width: 44px; text-align:center; font-size:15px; }

.pd-order-block{
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
}
.pd-note{ font-size: 12.5px; color: var(--ink-soft); margin-top:12px; text-align:center; }

.pd-trust{ display:flex; gap:22px; margin-top:20px; flex-wrap:wrap; }
.pd-trust-item{ display:flex; align-items:center; gap:8px; font-size:12.5px; color: var(--ink-soft); }
.pd-trust-item svg{ width:16px; height:16px; color: var(--maroon); flex-shrink:0; }

/* Related products */
.related-section{ border-top: 1px solid var(--line); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-image-frame{ order:-1; }
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
  .product-detail{ grid-template-columns: 1fr; gap: 34px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .trust-grid{ grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
}

@media (max-width: 720px){
  nav.main-nav{
    position: fixed; inset: 0 0 0 auto; top: 68px;
    width: 74%; max-width: 300px; height: calc(100vh - 68px);
    background: var(--bg); border-left:1px solid var(--line);
    flex-direction: column; gap: 0; padding: 20px 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  nav.main-nav.open{ transform: translateX(0); }
  nav.main-nav a{ padding: 14px 26px; border-bottom: 1px solid var(--line); }
  .nav-toggle{ display:block; }
  .header-whatsapp span{ display:none; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  .card-body h3{ min-height: unset; }
}

@media (max-width: 480px){
  .header-row{ padding: 14px 16px; }
  .hero{ padding: 40px 0 30px; }
  .section{ padding: 40px 0; }
  .gallery-thumbs button{ width: 64px; height: 78px; }
  .gallery-thumbs{ gap: 8px; }
}
