/* ============================================================
   LittleRoots — "Beebox"-inspired theme (loaded LAST, overrides all).
   Clean white canvas · golden-yellow CTAs · chunky Caprasimo display.
   Re-maps the shared design tokens so existing components re-skin,
   then adds the new storefront components (marquee, hero slider,
   category circles, trust row, product carousels).
   ============================================================ */

:root {
  --cream: #ffffff;
  --cream-soft: #fbf7ef;
  --sage: #8faa73;
  --sage-deep: #5f7a45;
  --olive: #4f6a3a;
  --brown: #b98a5e;
  --brown-deep: #2c2620;      /* headings / dark ink */
  --peach: #ef9f78;
  --mustard: #f4c94f;
  --ink: #2c2620;
  --muted: #7a7168;
  --line: rgba(44, 38, 32, 0.12);
  --glass: #fbf7ef;
  --primary: #f4c94f;
  --primary-dark: #ecba2f;
  --primary-ink: #2a2010;
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Quicksand", "Nunito Sans", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 6px 18px -12px rgba(44, 38, 32, .5);
  --shadow-md: 0 18px 40px -22px rgba(44, 38, 32, .45);
}

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
}
/* clean white canvas — retire the old atmospheric washes */
.atmosphere { display: none !important; }

h1, h2, h3, .headline, .hero-title { font-family: var(--font-display); letter-spacing: .2px; }

/* ---------- Announcement marquee ---------- */
.announce-bar { background: var(--brown-deep); color: #fff; overflow: hidden; white-space: nowrap; }
.announce-track { display: inline-flex; gap: 3rem; padding: .5rem 0; animation: announce-scroll 28s linear infinite; will-change: transform; }
.announce-track span { font-size: .82rem; letter-spacing: .02em; opacity: .95; }
.announce-track strong { color: var(--mustard); }
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.store-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px -14px rgba(44,38,32,.6);
  padding: .6rem clamp(1rem, 3vw, 2.25rem);
}
.site-logo img { filter: none; }
.site-logo span { font-family: var(--font-display); }
.name-little { color: var(--sage-deep); }
.name-roots { color: var(--brown); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--brown-deep); cursor: pointer; }
.site-nav a { font-weight: 600; color: var(--ink); position: relative; }
.site-nav a.active, .site-nav a:hover { color: var(--olive); }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--mustard); }
.header-search input { background: var(--cream-soft); border-color: transparent; }
.header-search input:focus { background: #fff; }
.ha-icon { color: var(--brown-deep); }
.ha-badge { background: var(--sage-deep); }
.btn-login { background: var(--mustard); color: var(--primary-ink); font-weight: 700; }
.btn-login:hover { background: var(--primary-dark); color: var(--primary-ink); }
.ha-avatar { background: var(--sage-deep); }

/* ---------- Nav dropdown (Shop by Collection) ---------- */
.nav-drop { position: relative; display: inline-block; }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: .3rem; }
.nd-caret { font-size: .7rem; transition: transform .2s ease; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: .5rem; opacity: 0; visibility: hidden; transition: all .2s ease; z-index: 200;
}
.nav-drop-menu::before { content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop:hover .nd-caret { transform: rotate(180deg); }
.nav-drop-menu a { display: flex; align-items: center; justify-content: space-between; padding: .6rem .85rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.nav-drop-menu a:hover { background: var(--cream-soft); color: var(--olive); }
.nav-drop-menu a.ndm-all { color: var(--olive); border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: .25rem; }
.ndm-count { background: var(--cream-soft); color: var(--muted); font-size: .72rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; }
.nav-drop-menu a:hover .ndm-count { background: #fff; }

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--mustard); color: var(--primary-ink);
  font-weight: 700; border-radius: 11px;
  box-shadow: 0 12px 24px -14px rgba(236,186,47,.9);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--primary-ink); }
.btn-ghost { background: #fff; border: 2px solid var(--brown-deep); color: var(--brown-deep); border-radius: 11px; font-weight: 700; }
.btn-ghost:hover { background: var(--brown-deep); color: #fff; }
.btn-cart {
  background: var(--brown-deep); color: #fff; border-radius: 10px; font-weight: 700;
  letter-spacing: .02em; text-transform: none;
}
.btn-cart:hover { background: var(--olive); color: #fff; }

/* ---------- Product cards ---------- */
.product-grid { gap: clamp(1rem, 2.2vw, 1.5rem); }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(244,201,79,.6); }
.product-card .product-media { background: var(--cream-soft); border-radius: 0; aspect-ratio: 1/1; display:block; overflow:hidden; }
.product-card .product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-body { padding: .9rem 1rem 1.1rem; }
a.product-name { font-family: var(--font-body); font-weight: 700; color: var(--brown-deep); font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
a.product-name:hover { color: var(--olive); }
.product-price .now { font-weight: 800; color: var(--brown-deep); font-size: 1.05rem; }
.product-price .was { color: var(--muted); }
.badge-off { background: var(--peach); color: #fff; font-weight: 700; border-radius: 999px; }
.badge-featured { background: var(--sage-deep); color: #fff; font-weight: 700; border-radius: 999px; }
.wl-heart { background: #fff; box-shadow: var(--shadow-sm); }
.wl-heart.active { color: #e0563a; }
.stars { color: var(--mustard); }
.stars .star.empty, .stars .star.half { color: rgba(244,201,79,.32); }
.stars .star.half::before { color: var(--mustard); }

/* ---------- Section heading (chunky) ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; }
.section-head h2 { font-family: var(--font-display); color: var(--brown-deep); font-size: clamp(1.5rem, 4vw, 2.3rem); margin: 0; }
.section-head .see-all { color: var(--olive); font-weight: 700; text-decoration: none; white-space: nowrap; }
.section-head .see-all:hover { text-decoration: underline; }
.section-sub { color: var(--muted); text-align: center; margin: -0.5rem 0 1.5rem; }

/* ---------- Home wrapper full-bleed sections ---------- */
.home { width: 100%; max-width: none; margin: 0; padding: 0 0 4rem; }
.home > section { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.home > section.full-bleed { width: 100%; }

/* ---------- Hero slider (full-bleed) ---------- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; }
.hs-track { display: flex; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.hs-slide { min-width: 100%; position: relative; min-height: clamp(360px, 46vw, 560px); display: flex; align-items: center; overflow: hidden; }
.hs-slide.theme-a { background: radial-gradient(circle at 80% 20%, #fef3d0, #f6d98f); }
.hs-slide.theme-b { background: radial-gradient(circle at 80% 20%, #edf3e2, #c7dcae); }
.hs-slide.theme-c { background: radial-gradient(circle at 80% 20%, #fce6d8, #f3c6ab); }
.hs-slide::after { content:""; position:absolute; inset:0; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='3' cy='3' r='1.4' fill='%23ffffff' opacity='0.25'/%3E%3C/svg%3E"); pointer-events:none; }
.hs-inner { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1rem,4vw,3rem); padding: clamp(2rem,5vw,3.5rem) 0; position: relative; z-index: 1; }
.hs-eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); font-size: .82rem; }
.hs-title { font-family: var(--font-display); color: var(--brown-deep); font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.05; margin: .6rem 0 .9rem; }
.hs-text { color: #5b5148; max-width: 44ch; margin: 0 0 1.75rem; font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.55; }
.hs-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.hs-blob { position: absolute; width: min(78%, 420px); aspect-ratio: 1/1; background: rgba(255,255,255,.55); border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; animation: blob-morph 12s ease-in-out infinite; }
.hs-art img { position: relative; width: min(70%, 360px); aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 50px -20px rgba(44,38,32,.4); border: 8px solid #fff; animation: float-soft 6s ease-in-out infinite; }
.hs-art-2 { position: absolute; bottom: 6%; right: 10%; width: 34% !important; aspect-ratio: 1/1; border: 6px solid #fff !important; animation: float-soft 5s ease-in-out infinite reverse !important; }
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--brown-deep); font-size: 1.6rem; cursor: pointer; box-shadow: var(--shadow-sm); z-index: 3; display: flex; align-items: center; justify-content: center; }
.hs-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.hs-arrow.prev { left: clamp(.75rem,3vw,2rem); } .hs-arrow.next { right: clamp(.75rem,3vw,2rem); }
.hs-dots { position: absolute; bottom: 1.25rem; left: 0; right: 0; display: flex; gap: .5rem; justify-content: center; z-index: 3; }
.hs-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(44,38,32,.28); cursor: pointer; padding: 0; }
.hs-dots button.active { background: var(--brown-deep); width: 26px; border-radius: 6px; }
@keyframes float-soft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes blob-morph { 0%,100% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; } 50% { border-radius: 58% 42% 44% 56% / 44% 58% 42% 56%; } }
@media (max-width: 820px){
  .hs-inner { grid-template-columns: 1fr; text-align: center; }
  .hs-text { margin-inline: auto; }
  .hs-art { order: -1; min-height: 220px; }
  .hs-art img { width: 220px; }
}

/* ---------- Category circles ---------- */
.cat-circles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(110px, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); overflow-x: auto; padding: .5rem .25rem 1rem; scroll-snap-type: x mandatory; }
.cat-circle { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none; scroll-snap-align: start; }
.cc-img { width: clamp(84px, 12vw, 120px); height: clamp(84px, 12vw, 120px); border-radius: 50%; background: var(--cream-soft); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; border: 2px solid transparent; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle:hover .cc-img { transform: translateY(-4px); border-color: var(--mustard); box-shadow: var(--shadow-sm); }
.cc-name { font-weight: 700; color: var(--brown-deep); font-size: .84rem; text-align: center; }

/* ---------- Trust row ---------- */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: var(--cream-soft); border-radius: var(--radius-lg); padding: clamp(1.1rem, 3vw, 1.75rem); margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.trust-item { display: flex; align-items: center; gap: .75rem; justify-content: center; }
.trust-item .ti-ico { font-size: 1.8rem; }
.trust-item h4 { margin: 0; font-family: var(--font-body); font-weight: 800; color: var(--brown-deep); font-size: .95rem; }
.trust-item p { margin: 0; color: var(--muted); font-size: .78rem; }

/* ---------- Product carousel ---------- */
.pc-section { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.pc-nav { display: flex; gap: .5rem; }
.pc-nav button { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--brown-deep); background: #fff; color: var(--brown-deep); font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease; }
.pc-nav button:hover { background: var(--brown-deep); color: #fff; }
.pc-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 260px); justify-content: start; gap: clamp(1rem, 2vw, 1.4rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .75rem; scrollbar-width: none; }
@media (max-width: 560px){ .pc-track { grid-auto-columns: minmax(72vw, 78vw); } }
.pc-track::-webkit-scrollbar { display: none; }
.pc-track > .product-card { scroll-snap-align: start; }

/* ---------- Promo band ---------- */
.promo-band { background: linear-gradient(120deg, var(--mustard), #f7d977); border-radius: var(--radius-lg); padding: clamp(1.75rem, 5vw, 3rem); text-align: center; margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.promo-band h2 { font-family: var(--font-display); color: var(--primary-ink); font-size: clamp(1.6rem, 4.5vw, 2.6rem); margin: 0 0 .5rem; }
.promo-band p { color: #5a4a1e; margin: 0 0 1.5rem; }

/* ---------- Home feature band (reused) ---------- */
.home-band { margin-top: clamp(2.25rem,5vw,3.5rem); }
.band-item { background: var(--cream-soft); border: 1px solid var(--line); }
.band-item h3 { font-family: var(--font-display); }

/* ---------- Footer ---------- */
.store-footer { background: var(--brown-deep); border: 0; margin-top: 4rem; }
.store-footer .foot-col h4 { color: #fff; }
.store-footer .foot-col a, .store-footer .foot-brand p { color: rgba(255,255,255,.72); }
.store-footer .foot-col a:hover { color: var(--mustard); }
.store-footer .site-logo span { color: #fff; }
.store-footer .name-little { color: var(--mustard); }
.store-footer .name-roots { color: #e8d6bf; }
.store-footer .foot-base { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
.store-footer .site-logo img { filter: brightness(0) invert(1); opacity: .95; }

/* ---------- Shop / page headline tune ---------- */
.page-intro .headline, .store-page .headline { color: var(--brown-deep); }
.chip.active { background: var(--brown-deep); border-color: var(--brown-deep); }
.chip { background: #fff; }

/* ---------- Auth / cards on white ---------- */
.auth-card, .co-card, .cart-summary, .checkout-summary, .review-form-wrap, .order-detail-card, .account-nav, .review-card, .order-item-card { background: #fff; box-shadow: var(--shadow-sm); }

/* ---------- Pincode / delivery checker (product page) ---------- */
.pin-check { margin-top: 1.25rem; padding: 1rem 1.1rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--cream-soft); }
.pin-label { display: block; font-weight: 700; color: var(--brown-deep); margin-bottom: .6rem; font-size: .9rem; }
.pin-row { display: flex; gap: .5rem; }
.pin-row input { flex: 1; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: var(--font-body); }
.pin-row input:focus { outline: none; border-color: var(--mustard); }
.pin-row button { padding: .7rem 1.2rem; border: 0; border-radius: 10px; background: var(--brown-deep); color: #fff; font-weight: 700; cursor: pointer; }
.pin-row button:hover { background: var(--olive); }
.pin-row button:disabled { opacity: .6; cursor: default; }
.pin-result { margin-top: .65rem; font-size: .88rem; min-height: 1.2em; }
.pin-result.ok { color: var(--olive); font-weight: 600; }
.pin-result.err { color: #c0492b; }
.pin-cod { display: inline-block; margin-left: .5rem; padding: .1rem .55rem; border-radius: 999px; background: var(--sage-deep); color: #fff; font-size: .72rem; font-weight: 700; }
.pin-cod-no { background: #b98a5e; }

/* ---------- Shipment tracking timeline ---------- */
.track-timeline { display: flex; flex-direction: column; gap: 0; margin-top: .5rem; }
.track-step { display: flex; gap: .85rem; align-items: flex-start; position: relative; padding-bottom: 1.1rem; }
.track-step:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: -2px; width: 2px; background: var(--line); }
.track-step.done:not(:last-child)::before { background: var(--sage); }
.ts-dot { width: 14px; height: 14px; border-radius: 50%; background: #d9d2c7; flex: none; margin-top: 2px; box-shadow: 0 0 0 3px #fff; z-index: 1; }
.track-step.done .ts-dot { background: var(--sage-deep); }
.track-step strong { display: block; color: var(--brown-deep); font-size: .92rem; }
.track-step small { color: var(--muted); font-size: .8rem; }

/* ---------- Razorpay payment page ---------- */
.pay-wrap { display: flex; justify-content: center; padding: clamp(1.5rem, 5vw, 3rem) 0; }
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.75rem, 5vw, 2.75rem); max-width: 440px; width: 100%; text-align: center; }
.pay-emoji { font-size: 2.6rem; }
.pay-card h1 { font-family: var(--font-display); color: var(--brown-deep); font-size: 1.6rem; margin: .4rem 0 .3rem; }
.pay-order { color: var(--muted); margin: 0 0 1rem; }
.pay-amount { font-family: var(--font-display); font-size: 2.4rem; color: var(--brown-deep); margin-bottom: 1.25rem; }
.pay-note { color: var(--muted); font-size: .82rem; margin: 1rem 0; }

/* ---------- Brand story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-top: clamp(2.5rem, 6vw, 4rem); }
.story-media { position: relative; }
.story-media > img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.story-media-2 { position: absolute; bottom: -28px; right: -18px; width: 42% !important; aspect-ratio: 1/1 !important; border: 6px solid #fff; }
.story-badge { position: absolute; top: 1rem; left: 1rem; background: #fff; color: var(--brown-deep); font-weight: 700; font-size: .8rem; padding: .45rem .8rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.story-copy h2 { font-family: var(--font-display); color: var(--brown-deep); font-size: clamp(1.5rem, 3.5vw, 2.4rem); margin: .3rem 0 1rem; }
.story-copy p { color: #5b5148; line-height: 1.65; margin: 0 0 1rem; }
.story-points { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .4rem; }
.story-points li { color: var(--olive); font-weight: 600; }

/* ---------- Newsletter ---------- */
.newsletter { width: 100vw; margin-left: calc(50% - 50vw); margin-top: clamp(3rem, 7vw, 5rem); background: linear-gradient(120deg, var(--sage-deep), var(--olive)); color: #fff; }
.nl-inner { width: var(--wrap); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4rem) 0; text-align: center; }
.nl-inner h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0 0 .5rem; color: #fff; }
.nl-inner > p { opacity: .92; margin: 0 auto 1.5rem; max-width: 46ch; }
.nl-form { display: flex; gap: .6rem; max-width: 460px; margin: 0 auto; }
.nl-form input { flex: 1; padding: .9rem 1.1rem; border: 0; border-radius: 12px; font-family: var(--font-body); font-size: 1rem; }
.nl-form input:focus { outline: 3px solid rgba(255,255,255,.4); }
.nl-form button { padding: .9rem 1.6rem; border: 0; border-radius: 12px; background: var(--mustard); color: var(--primary-ink); font-weight: 800; font-family: var(--font-body); cursor: pointer; white-space: nowrap; }
.nl-form button:hover { background: var(--primary-dark); }
.nl-msg { min-height: 1.2em; margin: .75rem 0 0; font-weight: 600; }
.nl-msg.success { color: #eaffea; } .nl-msg.error { color: #ffe2d6; }
.nl-fine { opacity: .7; font-size: .78rem; margin-top: .5rem; }
@media (max-width: 640px){ .story { grid-template-columns: 1fr; } .story-media-2 { display: none; } .nl-form { flex-direction: column; } }

/* ============================================================
   Full-desktop-width containers (use more of the screen)
   ============================================================ */
:root { --wrap: min(100% - clamp(1.75rem, 5vw, 5rem), 1600px); }
.home > section:not(.full-bleed),
.shop, .store-page { width: var(--wrap) !important; margin-inline: auto; }
/* product detail reads better at a comfortable width, not full-bleed */
.pdx { width: min(100% - 2.5rem, 1140px) !important; margin-inline: auto; }
.cart-layout, .checkout-layout, .account-layout { width: var(--wrap); margin-inline: auto; }
/* denser product grids on wide screens */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (min-width: 1400px){ .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }

/* ============================================================
   Product detail — redesigned
   ============================================================ */
.pdx { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5rem); animation: rise-in .6s cubic-bezier(.22,1,.36,1) both; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--olive); }
.breadcrumb span { margin: 0 .4rem; opacity: .5; }
.breadcrumb em { color: var(--brown-deep); font-style: normal; font-weight: 700; }

.pdx-grid { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(1.5rem, 4vw, 3.25rem); align-items: start; }

/* gallery */
.pdx-gallery { position: sticky; top: 92px; display: flex; flex-direction: column; gap: .9rem; max-width: 460px; }
.pdx-stage { position: relative; background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdx-stage img { width: 100%; height: 100%; object-fit: contain; transition: transform .18s ease; transform-origin: center center; will-change: transform; }
.pdx-stage.pdx-zoomable { cursor: zoom-in; }
.pdx-zoom-hint { position: absolute; bottom: .7rem; left: 50%; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: .35rem; background: rgba(44,38,32,.72); color: #fff; font-size: .72rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.pdx-stage:hover .pdx-zoom-hint { opacity: 1; }
.pdx-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.pdx-heart { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.pdx-thumbs { display: flex; flex-direction: row; gap: .6rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.pdx-thumb { padding: 0; width: 80px; flex: 0 0 80px; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--cream-soft); cursor: pointer; aspect-ratio: 1/1; transition: border-color .15s ease, transform .15s ease; }
.pdx-thumb:hover { transform: translateY(-2px); }
.pdx-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdx-thumb.active { border-color: var(--mustard); }

/* Lightbox (image popup) */
.lr-lightbox { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; background: rgba(20,16,12,.93); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: llbFade .18s ease; }
.lr-lightbox.open { display: flex; }
@keyframes llbFade { from { opacity: 0; } to { opacity: 1; } }
.lr-lightbox .llb-stage { max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.lr-lightbox .llb-img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.55); background: #fff; }
.lr-lightbox .llb-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; font-size: 1.7rem; line-height: 1; background: rgba(255,255,255,.14); border: none; border-radius: 50%; color: #fff; cursor: pointer; transition: background .15s ease; }
.lr-lightbox .llb-close:hover { background: rgba(255,255,255,.3); }
.lr-lightbox .llb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.lr-lightbox .llb-nav:hover { background: rgba(255,255,255,.3); }
.lr-lightbox .llb-prev { left: 22px; } .lr-lightbox .llb-next { right: 22px; }
.lr-lightbox .llb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-size: .85rem; letter-spacing: .04em; opacity: .85; }
@media (max-width: 760px) {
  .lr-lightbox .llb-nav { width: 40px; height: 40px; font-size: 1.5rem; background: rgba(255,255,255,.2); }
  .lr-lightbox .llb-prev { left: 8px; } .lr-lightbox .llb-next { right: 8px; }
  .lr-lightbox .llb-img, .lr-lightbox .llb-stage { max-width: 96vw; }
}

/* info panel */
.pdx-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--olive); margin: 0 0 .5rem; }
.pdx-title { font-family: var(--font-display); font-weight: 700; color: var(--brown-deep); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.12; margin: 0 0 .75rem; }
.pdx-rating-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pdx-rating { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--muted); font-size: .85rem; font-weight: 600; }
.pdx-rating.muted .stars { opacity: .6; }
.pdx-stock { font-size: .82rem; font-weight: 700; }
.pdx-stock.in { color: var(--sage-deep); }
.pdx-stock.made { color: var(--brown); }
.pdx-price { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem .85rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdx-price .now { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--brown-deep); }
.pdx-price .was { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.pdx-price .save { background: #eafae1; color: var(--olive); font-weight: 700; font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; }
.pdx-price .pdx-tax { flex-basis: 100%; color: var(--muted); font-size: .74rem; }
.pdx-short { color: #5b5148; line-height: 1.6; margin: 1rem 0; }
.pdx-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chipfact { display: inline-flex; align-items: center; gap: .4rem; background: var(--cream-soft); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; font-size: .8rem; font-weight: 600; color: var(--brown-deep); }
.chipfact i { font-style: normal; }
.pdx-buy { display: flex; gap: .75rem; align-items: stretch; margin-bottom: .75rem; }
.pdx-buy .qty-stepper { display: flex; align-items: center; border: 2px solid var(--brown-deep); border-radius: 12px; overflow: hidden; }
.pdx-buy .qty-stepper button { border: 0; background: transparent; width: 44px; font-size: 1.3rem; cursor: pointer; color: var(--brown-deep); }
.pdx-buy .qty-stepper input { width: 46px; border: 0; text-align: center; font-size: 1rem; font-family: var(--font-body); font-weight: 700; -moz-appearance: textfield; }
.pdx-buy .qty-stepper input::-webkit-outer-spin-button, .pdx-buy .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdx-add { flex: 1; font-size: 1.02rem; padding: .85rem 1.25rem; }
.pdx-buy-row2 { display: flex; gap: .75rem; margin-bottom: 1.25rem; }
.pdx-buy-row2 .btn-ghost { flex: 1; text-align: center; padding: .7rem; font-size: .9rem; }
.pdx-wish.active { border-color: #e0563a; color: #e0563a; }
.pdx-assure { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.pdx-assure li { display: flex; align-items: center; gap: .6rem; color: #5b5148; font-size: .86rem; }
.pdx-assure i { font-style: normal; }

/* tabs */
.pdx-tabs { margin-top: clamp(2.5rem, 6vw, 4rem); }
.tabs-nav { display: flex; gap: .25rem; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.tab-btn { border: 0; background: none; padding: .85rem 1.15rem; font-family: var(--font-body); font-weight: 700; font-size: .95rem; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab-btn.active { color: var(--brown-deep); border-bottom-color: var(--mustard); }
.tab-pane { display: none; padding: 1.5rem 0; color: #5b5148; line-height: 1.7; max-width: 900px; }
.tab-pane.active { display: block; animation: rise-in .4s ease both; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; }
.spec-table td { color: var(--brown-deep); font-weight: 600; }
.desc-text { margin-bottom: 1.5rem; }
.desc-h { font-family: var(--font-display); color: var(--brown-deep); font-size: 1.15rem; margin: 0 0 .9rem; }
.desc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem 1.5rem; max-width: 760px; }
.desc-grid > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .1rem; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.desc-grid span { color: var(--muted); }
.desc-grid b { color: var(--brown-deep); text-align: right; }
.desc-grid b a { color: var(--olive); text-decoration: none; }
.ship-list { padding-left: 1.1rem; }
.ship-list li { margin-bottom: .5rem; }
.reviews-summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--cream-soft); border-radius: var(--radius); margin-bottom: 1.25rem; }
.rs-score { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--brown-deep); line-height: 1; }
.rs-count { color: var(--muted); font-size: .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .pdx-grid { grid-template-columns: 1fr; }
  .pdx-gallery { position: static; }
}
@media (max-width: 560px){
  .pdx-buy { flex-wrap: wrap; }
  .pdx-add { flex-basis: 100%; }
}
/* ---------- Responsive (base) ---------- */
@media (max-width: 860px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .hs-slide { grid-template-columns: 1fr; text-align: center; }
  .hs-slide .hs-text { margin-inline: auto; }
  .hs-art { display: none; }
}
.nav-close { display: none; }
.lr-nav-backdrop { display: none; }

@media (max-width: 760px) {
  .nav-toggle { display: block; order: -1; }

  /* The header's entrance animation leaves a residual transform (fill-mode:both),
     which would make .site-header the containing block for the position:fixed
     drawer below — clamping it to the header's height instead of the viewport.
     Disable the animation on mobile so the drawer anchors to the viewport. */
  .site-header { animation: none; transform: none; }

  /* ---- Off-canvas side drawer ---- */
  .site-nav {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(84vw, 330px); height: 100dvh; max-height: 100dvh;
    background: #fff; flex-direction: column; align-items: stretch;
    justify-content: flex-start;               /* top-aligned (override store.css center) */
    order: 0; flex-basis: auto;                /* neutralise store.css @720 leak */
    gap: .1rem; padding: 4.25rem 1.1rem 2rem;
    box-shadow: var(--shadow-md); z-index: 1200;
    transform: translateX(-100%); transition: transform .28s ease;
    overflow-y: auto; display: flex;
  }
  body.lr-nav-open .site-nav { transform: translateX(0); }
  body.lr-nav-open { overflow: hidden; }

  /* The drawer lives inside .store-header, which is its own stacking context
     (position:sticky; z-index:100) — so the drawer's z-index:1200 is capped at
     100 in the root and the backdrop (z-index:1100) would paint OVER the drawer,
     dimming the menu itself. Lift the header above the backdrop while open so the
     drawer sits above the scrim and only the page content behind dims. */
  body.lr-nav-open .store-header { z-index: 1300; }

  .lr-nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 1100;
    background: rgba(38, 28, 18, .45);
    opacity: 0; visibility: hidden; transition: opacity .28s ease;
  }
  body.lr-nav-open .lr-nav-backdrop { opacity: 1; visibility: visible; }

  .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 1rem; right: 1rem;
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: var(--cream-soft); color: var(--brown-deep);
    font-size: 1.1rem; cursor: pointer;
  }

  .site-nav > a, .nav-drop-trigger {
    display: flex; align-items: center; width: 100%;
    padding: .95rem .55rem; border-bottom: 1px solid var(--line);
    font-size: 1.02rem; border-radius: 0;
  }
  .site-nav a.active::after { display: none; }

  /* ---- Shop by Collection = click-to-expand accordion ---- */
  .nav-drop { position: static; display: block; width: 100%; }
  .nav-drop-trigger { justify-content: space-between; }
  .nd-caret { transition: transform .25s ease; }

  .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; border: 0; box-shadow: none; background: transparent;
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .3s ease; z-index: auto;
  }
  .nav-drop-menu::before { display: none; }
  /* neutralise desktop hover-open on touch. IMPORTANT: also reset the desktop
     hover transform (translateX(-50%)) — on the now-static full-width menu it
     would shift the list left by half its width and clip the category names. */
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { max-height: 0; transform: none; }
  .nav-drop.open .nav-drop-menu,
  .nav-drop.open:hover .nav-drop-menu { max-height: 70vh; overflow-y: auto; padding: .2rem 0 .5rem; transform: none; }
  .nav-drop.open .nd-caret { transform: rotate(180deg); }
  .nav-drop-menu a { padding: .8rem .6rem .8rem 1.2rem; font-size: .95rem; }
}
@media (max-width: 560px) {
  .trust-row { grid-template-columns: 1fr; }
}
