/*
Theme Name: Maa Kamakkhya Herbals
Description: WooCommerce storefront for Maa Kamakkhya Herbals, Rajkot.
Version: 2.0.0
Requires PHP: 8.0
Text Domain: maakamakkhya
*/

/* Shape system: buttons are full pill, cards 14px, images 12px, inputs 8px. */
:root {
  --cream: #f8f4e8;
  --cream-2: #f1ebd9;
  --paper: #fffdf7;
  --olive: #4a6524;
  --olive-dark: #2d3f16;
  --olive-ink: #24300f;
  --gold: #a8812f;
  --gold-soft: #d9c28c;
  --ink: #2f2a1e;
  --muted: #6b6450;
  --line: #e2d9bf;
  --r-card: 14px;
  --r-img: 12px;
  --r-input: 8px;
  --shadow: 0 18px 40px -24px rgba(63, 74, 24, .45);
  --shadow-sm: 0 8px 20px -14px rgba(63, 74, 24, .5);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --serif: "Lora", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--olive-dark); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; left: -9999px; }
[class^="ph"] { line-height: 1; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button,
.woocommerce .button.alt, .woocommerce a.button.alt, .woocommerce button.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--olive-dark) !important; color: #fff !important; border: 0; border-radius: 999px;
  padding: .85em 1.7em; font: 500 14px var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .25s, transform .15s, box-shadow .25s;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--gold) !important; box-shadow: var(--shadow-sm);
}
.btn:active, .button:active, .wa-order:active, .woocommerce a.button:active, .wc-block-components-button:active { transform: scale(.97); }
.btn .ph { font-size: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
.btn--ghost { background: transparent !important; color: var(--olive-dark) !important; box-shadow: inset 0 0 0 1.5px var(--olive-dark); }
.btn--ghost:hover { background: var(--olive-dark) !important; color: #fff !important; }
.btn--wa { background: #1f7a45 !important; }
.btn--wa:hover { background: #17603a !important; }
:is(.btn, .button, .wa-order, .nav a, .tile, .link-arrow):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7em; font-weight: 500; }
.section { padding: 64px 0; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); }
.section-lead { color: var(--muted); font-size: 18px; max-width: 34em; margin: -.2em 0 1.6em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; color: var(--olive-dark); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold-soft); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold); }
.link-arrow .ph { transition: transform .25s var(--ease); }
.link-arrow:hover .ph { transform: translateX(4px); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.head-row .section-title { margin: 0; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--olive-ink); color: #efe7cf; font-size: 13.5px; letter-spacing: .02em; text-align: center; padding: 7px 12px; }
.site-header { background: rgba(248, 244, 232, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(45, 63, 22, .6); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand img { height: 58px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-size: 16px; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav .current-menu-item > a::after { transform: scaleX(1); }
.header-icons { display: flex; gap: 18px; align-items: center; }
.header-icons a, .menu-toggle { color: var(--ink); position: relative; display: inline-flex; font-size: 23px; text-decoration: none; transition: color .2s; }
.header-icons a:hover { color: var(--gold); }
.cart-count { position: absolute; top: -7px; right: -10px; background: var(--gold); color: #fff; font: 600 10.5px var(--sans); border-radius: 99px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.menu-toggle { display: none; background: none; border: 0; padding: 4px; cursor: pointer; }

/* ---------- Hero (layout from the client's inspiration image) ---------- */
.hero { position: relative; overflow: hidden; background: #d8c48f; min-height: clamp(460px, 38vw, 600px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(245, 236, 210, .7) 0%, rgba(245, 236, 210, .35) 38%, transparent 58%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.hero-inner > * { max-width: 540px; }
.hero-eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #5a4a22; margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 56px); color: #3b3414; font-weight: 500; line-height: 1.1; margin-bottom: 12px; }
.hero h1 em { display: block; color: #9a742a; font-style: italic; font-weight: 500; padding-bottom: 4px; }
.hero-rule { display: block; width: 150px; height: 1.5px; background: linear-gradient(90deg, #9a742a, transparent); margin: 6px 0 18px; }
.hero-kicker { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: #3b3414; margin: 0 0 22px; }
.hero-kicker i { font-style: normal; color: #9a742a; margin: 0 .5em; }
.hero-pillars { list-style: none; display: flex; padding: 0; margin: 0 0 28px; }
.hero-pillars li + li { border-left: 1px solid rgba(90, 74, 34, .3); }
.hero-pillars a { display: grid; justify-items: center; gap: 6px; padding: 0 22px; font-size: 14.5px; color: #3b3414; text-decoration: none; }
.hero-pillars li:first-child a { padding-left: 0; }
.hero-pillars span { width: 46px; height: 46px; border-radius: 50%; border: 1.2px solid #7a6330; display: grid; place-items: center; font-size: 22px; color: #6a5420; transition: background .25s, color .25s; }
.hero-pillars a:hover span { background: #3b3414; color: #f5ecd2; }
.btn--dark { background: #3a3415 !important; }
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .9s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3), .hero-inner > :nth-child(4) { animation-delay: .16s; }
  .hero-inner > :nth-child(5) { animation-delay: .24s; }
  .hero-inner > :nth-child(6) { animation-delay: .32s; }
  .hero-bg { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Why choose (inspiration row) ---------- */
.why { background: linear-gradient(180deg, #f6f1e1, var(--cream)); padding: 50px 0 46px; }
.rule-title { display: flex; align-items: center; gap: 26px; justify-content: center; font-family: var(--sans); font-weight: 500; font-size: clamp(18px, 2vw, 24px); letter-spacing: .14em; text-transform: uppercase; color: #3b3414; margin-bottom: 34px; text-align: center; }
.rule-title::before, .rule-title::after { content: ""; height: 1px; width: min(90px, 10vw); flex: none; background: var(--gold); opacity: .6; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.why-grid li { display: grid; justify-items: center; align-content: start; gap: 12px; text-align: center; padding: 0 16px; font-family: var(--serif); font-size: 18px; line-height: 1.35; color: #3b3414; }
.why-grid li + li { border-left: 1px solid var(--line); }
.why-dup { display: none !important; }
@keyframes why-slide { to { transform: translateX(calc(-50% - 5px)); } }
.ring { width: 66px; height: 66px; border-radius: 50%; border: 1.3px solid var(--gold); display: grid; place-items: center; font-size: 30px; color: #8a6a26; transition: transform .35s var(--ease), background .3s; }
.why-grid li:hover .ring { transform: translateY(-4px); background: #fff; }

.tagline { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 20px; background: linear-gradient(90deg, #e9e2c6, #f3eedb 50%, #e9e2c6); border-block: 1px solid var(--line); font-size: 13.5px; letter-spacing: .24em; text-transform: uppercase; color: #4a4120; }
.tagline i { font-style: normal; color: var(--gold); }

/* ---------- Category bento ---------- */
.cats-section .section-title { margin-bottom: 26px; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; min-height: 520px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-card); text-decoration: none; color: var(--ink); display: flex; padding: 30px; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: 30px; margin-bottom: 8px; }
.tile p { margin: 0 0 16px; color: var(--muted); max-width: 22em; }
.tile-link { display: inline-flex; align-items: center; gap: .45em; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-dark); font-weight: 500; }
.tile-link .ph { transition: transform .3s var(--ease); }
.tile:hover .tile-link .ph { transform: translateX(5px); }
.tile img { position: absolute; z-index: -1; transition: transform .7s var(--ease); }
.tile--hair { grid-row: span 2; background: radial-gradient(120% 90% at 85% 90%, #dfe6c4 0%, #eef0dc 45%, #f6f3e4 100%); flex-direction: column; }
.tile--hair img { height: 78%; width: auto; right: 9%; bottom: -2%; filter: drop-shadow(0 30px 30px rgba(45, 63, 22, .28)); }
.tile--hair:hover img { transform: translateY(-8px) rotate(-2deg); }
.tile--skin { background: linear-gradient(120deg, #fbf3df, #f3e3bb); }
.tile--skin img { width: 54%; right: -2%; bottom: -6%; mix-blend-mode: multiply; }
.tile--soap { background: linear-gradient(120deg, #f7f0ea, #ecdcd0); }
.tile--soap img { width: 52%; right: -4%; bottom: -14%; mix-blend-mode: multiply; }
.tile--skin:hover img, .tile--soap:hover img { transform: scale(1.06); }
.tile--skin .tile-copy, .tile--soap .tile-copy { max-width: 52%; align-self: center; }

/* ---------- Product cards (shop, category, home, related) ---------- */
.products-section { padding-top: 24px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 0 10px !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important; position: relative;
  background: var(--paper); border-radius: var(--r-card); padding: 0 0 18px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px rgba(226, 217, 191, .6); transition: transform .4s var(--ease), box-shadow .4s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 0 0 1px var(--gold-soft); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img {
  aspect-ratio: 1; width: 100%; object-fit: contain; margin: 0 0 14px; border-radius: 0;
  background: var(--cream); padding: 0;
  transition: transform .6s var(--ease);
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.05); }
.loop-cat { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #7d6420; padding: 0 16px; margin-bottom: 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: 18px; line-height: 1.3; color: var(--olive-dark); padding: 0 16px !important; margin: 0 0 6px; font-weight: 600; }
.woocommerce ul.products li.product .price { color: var(--ink) !important; font: 600 17px var(--sans); padding: 0 16px; margin: auto 0 14px !important; }
.woocommerce ul.products li.product .button { align-self: flex-start; margin: 0 0 0 16px !important; font-size: 12.5px; padding: .8em 1.3em; }
.woocommerce ul.products li.product .added_to_cart { font-size: 13px; margin: 8px 6px 0; color: var(--olive); }
.wa-order { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: #1f7a45; color: #fff !important; border-radius: 999px; padding: .85em 1.6em; font: 500 14px var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .25s, transform .15s; }
.wa-order:hover { background: #17603a; }
.wa-order .ph { font-size: 1.3em; }
.wa-order--icon { position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; padding: 0; }
.wa-order--icon .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce span.onsale { background: var(--gold); border-radius: 999px; min-height: 0; line-height: 1; padding: 7px 12px; top: 18px; left: 18px; }

/* ---------- Marquee (the one marquee on the page) ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--olive-dark); }
.marquee-track i { color: var(--gold); font-size: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 50s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Ingredients ---------- */
.ing-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.ing-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.ing-halo { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #e4ebc9 0%, #eef0dc 45%, transparent 70%); }
.ing-halo::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed var(--gold-soft); }
.ing-visual img { position: relative; height: 480px; width: auto; filter: drop-shadow(0 34px 34px rgba(45, 63, 22, .3)); }
.ing-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; margin: 0; }
.ing-list dt { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--olive-dark); margin-bottom: 4px; }
.ing-list dt .ph-light { color: var(--gold); font-size: 20px; }
.ing-list dd { margin: 0 0 0 30px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ---------- Founder ---------- */
.founder-section { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.founder { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.founder-photo { margin: 0; position: relative; }
.founder-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold-soft); border-radius: var(--r-card); }
.founder-photo img { position: relative; border-radius: var(--r-card); width: 100%; box-shadow: var(--shadow); }
.founder blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.4; margin: 0 0 18px; color: var(--olive-dark); }
.founder-name { display: flex; flex-direction: column; margin: 0 0 14px; }
.founder-name span { color: var(--gold); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.founder p { color: var(--muted); max-width: 36em; }
.founder--solo { grid-template-columns: 1fr; max-width: 760px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 64px; background: var(--cream-2); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: radial-gradient(120% 140% at 0% 0%, #f3e6bf, #e3d3a2 60%, #d2bf85); border-radius: var(--r-card); padding: 36px 40px; box-shadow: var(--shadow); }
.cta-inner h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 6px; color: #3b3414; }
.cta-inner p { margin: 0; color: #5a4a22; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-inner .btn--ghost { box-shadow: inset 0 0 0 1.5px #3b3414; color: #3b3414 !important; }
.cta-inner .btn--ghost:hover { color: #fff !important; background: #3b3414 !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-ink); color: #d9d1b6; padding: 56px 0 22px; font-size: 15px; }
.site-footer a { color: #d9d1b6; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 36px; }
.site-footer .f-h { color: var(--gold-soft); font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo { width: 190px; margin-bottom: 16px; }
.site-footer p { max-width: 26em; color: #b9b194; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #4b5a2c; display: grid; place-items: center; font-size: 19px; transition: background .25s, border-color .25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.copyright { border-top: 1px solid #3a4722; margin-top: 40px; padding-top: 18px; text-align: center; font-size: 13px; color: #a89f82; }
.wa-float { position: fixed; right: 20px; bottom: 20px; background: #25d366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); z-index: 60; text-decoration: none; transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Inner pages ---------- */
.page-band { background: linear-gradient(100deg, #efe6c9, #e5d6a8); padding: 34px 0 30px; position: relative; overflow: hidden; }
.page-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(168, 129, 47, .35); }
.page-band .page-title { margin: 0; font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; }
.page-band .eyebrow { margin-bottom: .4em; }
.page-band .woocommerce-breadcrumb { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.page-band .woocommerce-breadcrumb a { color: var(--olive); }
.page-content { padding-top: 40px; padding-bottom: 64px; }
.page-content .entry { max-width: 760px; }
.page-content .entry--wide { max-width: none; }
.entry h2 { font-size: 26px; margin-top: 1.4em; }
.entry p { margin: 0 0 1em; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.contact-card { background: var(--paper); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line); padding: 20px; text-decoration: none; color: var(--ink); display: grid; gap: 4px; transition: transform .35s var(--ease), box-shadow .35s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 1px var(--gold-soft); }
.contact-card span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.contact-card strong { font-family: var(--serif); font-size: 18px; color: var(--olive-dark); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Single product ---------- */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { position: sticky; top: 100px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: var(--cream); border-radius: var(--r-card); overflow: hidden; }
.woocommerce div.product div.images img { mix-blend-mode: multiply; }
.woocommerce div.product .product_title { font-size: clamp(30px, 3vw, 40px); font-weight: 500; margin-bottom: 10px; }
.woocommerce div.product p.price { color: var(--ink) !important; font: 600 26px var(--sans); margin-bottom: 14px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 18px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 22px; }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px !important; }
.woocommerce div.product form.cart .qty { height: 100%; min-height: 48px; width: 72px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font: 500 16px var(--sans); background: #fff; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; }
.woocommerce div.product .summary > .wa-order { width: 100%; }
.trust-list { list-style: none; padding: 18px 0 0; margin: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 15px; color: var(--muted); }
.trust-list li { display: flex; align-items: center; gap: 10px; }
.trust-list .ph-light { font-size: 22px; color: var(--gold); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 24px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--serif); font-size: 18px; color: var(--muted); padding: 10px 0; border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--olive-dark); border-bottom-color: var(--gold); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.related > h2 { font-size: 30px; margin: 30px 0 20px; }

/* ---------- Shop toolbar ---------- */
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: var(--paper); font: 15px var(--sans); color: var(--ink); }

/* ---------- Forms ---------- */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input, .wc-blocks-components-select__select {
  border: 1px solid var(--line) !important; border-radius: var(--r-input) !important; background: #fff !important; padding: 12px 14px; font: 16px var(--sans);
}
.woocommerce form .form-row input.input-text:focus, .wc-block-components-text-input input:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold) !important; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon { background: var(--paper); border: 0 !important; box-shadow: 0 0 0 1px var(--line); border-radius: var(--r-card); padding: 28px !important; max-width: 480px; }
.woocommerce-account .entry h2 { margin-top: 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; background: var(--paper); box-shadow: 0 0 0 1px var(--line); border-radius: var(--r-card); overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--cream-2); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--olive-dark); color: #fff; }

/* ---------- Classic cart ---------- */
.woocommerce table.shop_table { background: var(--paper); border: 0; box-shadow: 0 0 0 1px var(--line); border-radius: var(--r-card); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.woocommerce table.shop_table td { border-top-color: var(--cream-2); }
.woocommerce table.cart img { width: 76px; border-radius: 10px; background: var(--cream); }
.woocommerce table.cart td.product-name a { font-family: var(--serif); font-size: 18px; color: var(--olive-dark); text-decoration: none; }
.woocommerce table.cart .quantity .qty { width: 68px; padding: 9px; border: 1px solid var(--line); border-radius: 999px; text-align: center; }
.woocommerce table.cart td.actions .coupon .input-text { width: 170px !important; padding: 11px 14px !important; border: 1px solid var(--line); border-radius: 999px; }
.woocommerce a.remove { color: #a5473a !important; }
.woocommerce a.remove:hover { background: #a5473a; color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals { background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); border-radius: var(--r-card); padding: 22px 24px; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 24px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { box-shadow: none; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; font-size: 15px; padding: 1.05em; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--olive); background: var(--paper); border-radius: 0 0 var(--r-input) var(--r-input); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--olive); }

/* ---------- Block checkout ---------- */
.wp-block-woocommerce-checkout-order-summary-block { background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); border-radius: var(--r-card); padding: 8px 20px; border: 0; }
.wc-block-components-button:not(.is-link), .wc-block-components-checkout-place-order-button { background: var(--olive-dark) !important; color: #fff !important; border-radius: 999px !important; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; min-height: 52px; }
.wc-block-components-button:not(.is-link):hover { background: var(--gold) !important; }
.wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control__option { background: #fff; }
.wc-block-components-title.wc-block-components-title { font-family: var(--serif); color: var(--olive-dark); font-size: 22px; font-weight: 500; }
.wc-block-components-product-name { color: var(--olive-dark); font-weight: 600; text-decoration: none; }
.wc-block-components-notice-banner { border-radius: var(--r-input); }


/* ---------- Cart drawer ---------- */
body.no-scroll { overflow: hidden; }
.drawer-scrim { position: fixed; inset: 0; background: rgba(36, 48, 15, .35); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; z-index: 90; }
.drawer-scrim.is-open { opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--paper); z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 50px -30px rgba(36, 48, 15, .6); outline: none; }
.cart-drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 24px; font-weight: 500; }
.drawer-x { background: none; border: 0; font-size: 22px; color: var(--ink); cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.drawer-x:hover { background: var(--cream-2); }
.cart-drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; overflow-y: auto; padding: 8px 24px 24px; }
.cart-drawer ul.cart_list { list-style: none; margin: 0; padding: 0; }
.cart-drawer ul.cart_list li { position: relative; padding: 16px 30px 16px 0; border-bottom: 1px solid var(--cream-2); font-size: 15px; }
.cart-drawer ul.cart_list li a:not(.remove) { display: flex; align-items: center; gap: 14px; font-family: var(--serif); color: var(--olive-dark); text-decoration: none; font-weight: 600; line-height: 1.3; }
.cart-drawer ul.cart_list li img { order: -1; flex: none; width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--cream); box-shadow: 0 0 0 1px var(--line); margin: 0; float: none; }
.cart-drawer ul.cart_list li .quantity { display: block; color: var(--muted); padding-left: 78px; margin-top: -18px; }
.cart-drawer ul.cart_list li a.remove { position: absolute; right: 0; top: 16px; color: var(--muted) !important; font-size: 20px; }
.cart-drawer .woocommerce-mini-cart__total { margin-top: auto; display: flex; justify-content: space-between; padding: 18px 0 14px; font-size: 17px; border-top: 1px solid var(--line); }
.cart-drawer .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.cart-drawer .woocommerce-mini-cart__buttons .button { width: 100%; }
.cart-drawer .woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent !important; color: var(--olive-dark) !important; box-shadow: inset 0 0 0 1.5px var(--olive-dark); }
.cart-drawer .woocommerce-mini-cart__empty-message { margin: auto; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 19px; }

/* ---------- Quick view ---------- */
.qv-btn { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 253, 247, .92); border: 0; border-radius: 999px; padding: 8px 12px; font: 500 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--olive-dark); cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease), background .2s; }
.qv-btn .ph { font-size: 16px; }
.woocommerce ul.products li.product:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: none; }
.qv-btn:hover { background: var(--olive-dark); color: #fff; }
@media (hover: none) { .qv-btn { opacity: 1; transform: none; padding: 8px; } .qv-btn span { display: none; } }
.quick-view { width: min(920px, 94vw); max-height: 90vh; border: 0; border-radius: var(--r-card); padding: 0; background: var(--paper); box-shadow: 0 40px 80px -30px rgba(36, 48, 15, .6); overflow: auto; }
.quick-view::backdrop { background: rgba(36, 48, 15, .4); backdrop-filter: blur(3px); }
.quick-view[open] { animation: rise .45s var(--ease) both; }
.quick-view > .drawer-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--paper); }
.qv-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; }
.qv-media { background: radial-gradient(circle at 50% 55%, #fff, #f3edda); display: grid; place-items: center; padding: 30px; }
.qv-media img { max-height: 440px; width: auto; mix-blend-mode: multiply; }
.qv-body .summary { padding: 40px 34px 30px; }
.qv-body .product_title { font-size: 30px; font-weight: 500; }
.qv-body .price { font: 600 22px var(--sans); color: var(--ink); }
.qv-body form.cart { display: flex; gap: 10px; margin: 18px 0 10px; }
.qv-body form.cart .qty { width: 68px; border: 1px solid var(--line); border-radius: 999px; text-align: center; min-height: 46px; }
.qv-body .wa-order { width: 100%; }
.qv-more { margin-top: 18px; }
.qv-loading { grid-column: 1 / -1; display: grid; place-items: center; padding: 60px; color: var(--muted); }

/* ---------- Sticky add-to-cart (mobile) ---------- */
.sticky-atc { display: none; }
@media (max-width: 900px) {
  .sticky-atc { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 247, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .sticky-atc.is-visible { transform: none; }
  .sticky-atc div { display: grid; min-width: 0; }
  .sticky-atc strong { font-family: var(--serif); color: var(--olive-dark); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-atc span { font-weight: 600; font-size: 15px; }
  .sticky-atc .button { flex: none; font-size: 12.5px; }
  .single-product .wa-float { bottom: 84px; }
  .qv-body { grid-template-columns: 1fr; }
  .qv-media img { max-height: 260px; }
  .qv-body .summary { padding: 24px 22px; }
}

/* ---------- Shop by concern ---------- */
.concerns { padding: 8px 0 30px; }
.concerns-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; background: var(--paper); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line); padding: 22px 26px; }
.concerns h2 { font-size: 22px; margin: 0; font-weight: 500; }
.concerns ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.concerns a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); color: var(--olive-dark); text-decoration: none; font-size: 15px; transition: background .25s, color .25s, box-shadow .25s; }
.concerns a span { font-size: 12px; color: var(--gold); }
.concerns a:hover { background: var(--olive-dark); color: #fff; box-shadow: none; }
.concerns a:hover span { color: var(--gold-soft); }

/* ---------- About page ---------- */
.about-hero { background: linear-gradient(110deg, #f3ead0, #e3d3a2); padding: 56px 0; overflow: hidden; }
.about-hero-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.about-hero h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 500; color: #3b3414; }
.about-lead { font-size: 19px; color: #5a4a22; max-width: 30em; margin: 0; }
.about-hero figcaption { position: relative; margin-top: 30px; display: grid; }
.about-hero figcaption span { color: var(--gold); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.about-story { max-width: 820px; font-family: var(--serif); font-size: clamp(20px, 2.1vw, 25px); line-height: 1.55; color: var(--olive-dark); }
.about-story p { margin: 0 0 .8em; }
.mv-section { padding-top: 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { background: var(--paper); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line); padding: 32px; }
.mv-card--alt { background: linear-gradient(140deg, #eef0dc, #dfe6c4); box-shadow: none; }
.mv-card h2 { font-size: 26px; margin: 16px 0 8px; }
.mv-card p { margin: 0; color: var(--muted); }
.about-range { background: var(--cream-2); }
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.range-grid a { background: var(--paper); border-radius: var(--r-card); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.range-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 0 0 1px var(--gold-soft); }
.range-grid img { height: 170px; width: 100%; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 14px; }
.range-grid h3 { font-size: 22px; margin-bottom: 4px; }
.range-grid p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .about-hero-inner, .mv-grid, .range-grid { grid-template-columns: 1fr; }
  .about-hero .founder-photo { max-width: 260px; }
  .concerns-inner { padding: 18px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .why-grid li { font-size: 16px; padding: 0 10px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 14px; }
  .nav a { display: block; padding: 12px 0; font-size: 18px; }
  .nav a::after { display: none; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; background: #efe4c4; }
  .hero-bg { position: relative; height: 300px; order: 2; object-position: 85% center; }
  .hero::before { display: none; }
  .hero-inner { padding-top: 34px; padding-bottom: 26px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .why-grid li + li { border-left: 0; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .tile { min-height: 230px; }
  .tile--hair { grid-row: auto; min-height: 340px; }
  .tile--hair img { height: 88%; right: 6%; }
  .tile--hair .tile-copy { max-width: 55%; }
  .ing-layout, .founder, .woocommerce div.product { grid-template-columns: 1fr; gap: 32px; }
  .ing-visual { min-height: 360px; }
  .ing-visual img { height: 340px; }
  .woocommerce div.product div.images { position: static; }
  .founder-photo { max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 46px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-header .wrap { height: 66px; }
  .brand img { height: 48px; }
  .header-icons { gap: 14px; }
  .header-icons a, .menu-toggle { font-size: 22px; }
  .hero-kicker { font-size: 12.5px; letter-spacing: .14em; }
  .hero-pillars a { padding: 0 12px; font-size: 13px; }
  .hero-bg { height: 230px; }
  .rule-title { font-size: 16px; gap: 12px; letter-spacing: .1em; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid li:last-child { grid-column: 1 / -1; }
  .ring { width: 58px; height: 58px; font-size: 26px; }
  .tagline { font-size: 11px; letter-spacing: .14em; gap: 8px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .woocommerce ul.products li.product { padding: 8px 8px 14px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; padding: 0 4px !important; }
  .woocommerce ul.products li.product .price { font-size: 15px; padding: 0 4px; }
  .loop-cat { font-size: 10px; padding: 0 4px; }
  .woocommerce ul.products li.product .button { font-size: 11px; padding: .75em 1em; margin-left: 4px !important; letter-spacing: .04em; }
  .wa-order--icon { width: 36px; height: 36px; right: 10px; bottom: 14px; }
  .marquee-track { font-size: 19px; }
  .ing-list { grid-template-columns: 1fr; }
  .tile { padding: 22px; }
  .tile h3 { font-size: 25px; }
  .tile--skin .tile-copy, .tile--soap .tile-copy { max-width: 58%; }
  .tile--skin img, .tile--soap img { width: 44%; }
  .footer-grid, .contact-grid, .trust-list { grid-template-columns: 1fr; }
  .cta-inner { padding: 26px 22px; }
  .cta-actions .btn { flex: 1; }
  .page-band { padding: 22px 0 18px; }
  .page-content { padding-top: 26px; padding-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
/* Static preview has no cart, so WhatsApp becomes the main card button */
.woocommerce ul.products li.product .wa-order--full { align-self: flex-start; margin-left: 16px; font-size: 12.5px; padding: .8em 1.3em; }
@media (max-width: 600px) { .woocommerce ul.products li.product .wa-order--full { margin-left: 4px; font-size: 11px; padding: .75em 1em; } }
.about-hero .founder-photo::before { display: none; }

/* ---------- Mobile fixes ---------- */
@media (max-width: 600px) {
  .topbar { white-space: normal; }
  .topbar-extra { display: none; }
  .wa-float { width: 50px; height: 50px; font-size: 26px; right: 14px; bottom: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer { padding-top: 40px; }
  .copyright { margin-top: 28px; }
  .about-hero { padding: 34px 0; }
  .about-hero .founder-photo { margin: 0 auto; }
  .about-hero figcaption { text-align: center; margin-top: 14px; }
  .mv-card { padding: 24px; }
  .woocommerce div.product .product_title { margin-top: 6px; }
  .woocommerce div.product form.cart { flex-wrap: nowrap; }
  .woocommerce div.product .summary > .wa-order { font-size: 13px; }
  .woocommerce .woocommerce-ordering { margin-bottom: 14px; }
  .woocommerce .woocommerce-ordering select { width: 100%; }
}

/* Static-preview cart controls (assets/static-cart.js) */
.mk-qty { display: flex !important; align-items: center; gap: 8px; margin-top: 8px; padding-left: 78px; }
.mk-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; line-height: 1; color: var(--olive-dark); }
.mk-qty button:hover { border-color: var(--gold); }
.mk-qty em { font-style: normal; color: var(--muted); margin-left: 4px; }
.cart-drawer button.remove { position: absolute; right: 0; top: 16px; background: none; border: 0; font-size: 22px; color: var(--muted); cursor: pointer; }
.mk-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.cart-drawer .mk-qty { margin-top: 6px; }

/* ---------- Mobile audit fixes ---------- */
.cart-drawer:not(.is-open) { visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.cart-drawer.is-open { visibility: visible; transition: transform .45s var(--ease); }
.woocommerce div.product div.images img { width: 100%; height: auto; }
@media (max-width: 600px) {
  /* 44px tap targets in the header */
  .header-icons { gap: 2px; }
  .header-icons a, .menu-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; }
  .cart-count { top: 4px; right: 2px; }
  /* minimum readable sizes */
  .loop-cat, .tagline { font-size: 12px; }
  .woocommerce ul.products li.product .button, .woocommerce ul.products li.product .wa-order--full { font-size: 12px; }
  .hero-pillars a { font-size: 13.5px; }
  .tile-link { font-size: 12.5px; }
  .page-band .woocommerce-breadcrumb { font-size: 13.5px; }
  .page-band .woocommerce-breadcrumb a { display: inline-block; padding: 8px 0; }
  /* section heading: drop decorative rules so it fits */
  .rule-title::before, .rule-title::after { display: none; }
  .rule-title { font-size: 17px; line-height: 1.4; }
  /* category tiles: keep imagery clear of the copy */
  .tile--hair { min-height: 300px; }
  .tile--hair img { height: 70%; right: 4%; bottom: 0; }
  .tile--hair .tile-copy { max-width: 58%; }
  .tile--skin img, .tile--soap img { width: 40%; bottom: -4%; }
  /* ingredients visual */
  .ing-visual { min-height: 280px; }
  .ing-visual img { height: 260px; }
  .ing-halo { width: 280px; }
  /* product page */
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper { max-height: 380px; }
  .woocommerce div.product div.images img { max-height: 380px; object-fit: contain; }
  .woocommerce div.product div.images { margin-bottom: 8px !important; }
  .single-product .wa-float { bottom: 84px; }
  .trust-list { font-size: 14.5px; }
}
@media (max-width: 900px) {
  .woocommerce div.product div.images.woocommerce-product-gallery { position: relative; top: auto; }
}
@media (max-width: 900px) { .single-product .wa-float { display: none; } }

/* Mobile homepage: cleaner hero + trust badges as one swipeable strip */
@media (max-width: 900px) {
  .hero-inner { padding: 40px 20px 28px; text-align: center; }
  .hero-inner > * { margin-left: auto; margin-right: auto; }
  .hero-rule { margin: 6px auto 18px; background: linear-gradient(90deg, transparent, #9a742a, transparent); }
  .hero-pillars { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 360px; }
  .hero-pillars a, .hero-pillars li:first-child a { padding: 0 6px; }
  .hero .btn { display: inline-flex; }
  .hero-bg { width: auto; height: 240px; margin: 0 20px 28px; border-radius: 20px; box-shadow: 0 18px 40px -18px rgba(45, 63, 22, .45); }

  .why { padding: 32px 0 28px; }
  .why .rule-title { font-size: 15px; margin-bottom: 18px; }
  .why .wrap { padding: 0; overflow: hidden; }
  .why .rule-title { padding: 0 20px; }
  .why-grid { display: flex; gap: 10px; width: max-content; padding: 2px 0 6px; animation: why-slide 28s linear infinite; }
  .why-grid:hover, .why-grid:active { animation-play-state: paused; }
  .why-grid li, .why-grid li:last-child { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fffdf7; font-family: var(--sans); font-size: 14px; white-space: nowrap; }
  .why-grid .ring { width: 36px; height: 36px; font-size: 19px; flex: none; }

  .tagline { display: none; } /* same message as the badge strip; too long for one line on phones */
}

@media (max-width: 900px) {
  .why-dup { display: flex !important; }
  /* roomier side gutters on phones */
  .wrap { padding-left: 20px; padding-right: 20px; }
  .concerns-inner { margin: 0 20px; width: auto; padding: 18px; }
  .woocommerce div.product .woocommerce-tabs { min-width: 0; max-width: 100%; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; max-width: 100%; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { flex: none; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .why .wrap { overflow-x: auto; }
  .why-grid { padding: 2px 20px 6px; }
  .why-dup { display: none !important; }
}

/* Product page (desktop): image lines up with the title, tabs clear the gallery */
@media (min-width: 901px) {
  .woocommerce div.product div.images.woocommerce-product-gallery { position: sticky; top: 100px; }
  .woocommerce div.product .woocommerce-tabs { margin-top: 40px; }
}

/* ---------- Free delivery bar (cart drawer) ---------- */
.ship-bar { padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--cream); }
.ship-bar p { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.ship-bar span { display: block; height: 6px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.ship-bar i { display: block; height: 100%; width: 0; background: var(--olive); border-radius: inherit; transition: width .5s var(--ease); }

/* ---------- Concern chips (shop) ---------- */
.concern-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.concern-chips a { padding: 8px 16px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-size: 14px; transition: background .2s, color .2s; }
.concern-chips a:hover { box-shadow: 0 0 0 1px var(--gold-soft); }
.concern-chips a[aria-current] { background: var(--olive-dark); color: #fff; box-shadow: none; }
@media (max-width: 640px) {
  .concern-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 18px; padding: 2px 20px; scrollbar-width: none; }
  .concern-chips a { flex: none; }
}

/* ---------- Search dialog ---------- */
.search-dialog { width: min(640px, calc(100vw - 32px)); max-height: 80vh; margin: 10vh auto auto; padding: 0; border: 0; border-radius: var(--r-card); background: var(--paper); box-shadow: 0 40px 80px -30px rgba(36, 48, 15, .6); overflow: hidden; display: none; flex-direction: column; }
.search-dialog[open] { display: flex; }
.search-dialog::backdrop { background: rgba(36, 48, 15, .35); backdrop-filter: blur(2px); }
.search-dialog form { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.search-dialog form > i { font-size: 20px; color: var(--muted); }
.search-dialog input { flex: 1; min-width: 0; border: 0; background: none; font: 400 17px var(--sans); color: var(--ink); padding: 10px 0; outline: none; }
.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a:focus-visible { background: var(--cream); }
.search-results img { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: var(--cream); flex: none; }
.search-results span { display: grid; flex: 1; min-width: 0; }
.search-results strong { font-family: var(--serif); font-weight: 500; color: var(--olive-dark); line-height: 1.3; }
.search-dialog input::-webkit-search-cancel-button { display: none; }
.search-results em { font-style: normal; font-size: 13px; color: var(--muted); }
.search-results b { font-weight: 600; flex: none; }
.search-empty { padding: 18px 10px; color: var(--muted); }

/* Delivery is ₹0 at checkout because charges are confirmed on call (see Shipping & Returns), so don't show "FREE". */
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__secondary-label,
.wc-block-components-totals-shipping .wc-block-components-totals-item__value { display: none; }

/* ---------- Checkout payment options ---------- */
.pay-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; width: 100%; }
.pay-opt > span:first-child { display: grid; gap: 2px; }
.pay-opt strong { font-weight: 600; font-size: 16px; color: var(--ink); }
.pay-opt small { font-size: 13px; color: var(--muted); }
.pay-logos { display: flex; align-items: center; gap: 6px; }
.pay-logos img { height: 22px; width: auto; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pay-logos img[alt="UPI"], .pay-logos img[alt="RuPay"] { padding: 3px 5px; }
.wc-block-components-radio-control__label { flex: 1; }
/* the sub-line already says it; hide the repeated accordion text */
#radio-control-wc-payment-method-options-cod__content { display: none; }
