/* The fonts are loaded from a <link> in every page head (faster than an @import here). */

/* 1place — new storefront theme (ported from the React storefront design) */
:root {
  --bg: #f4f0e8;
  --paper: #f8f5ee;
  --panel: #ebe5da;
  --ink: #302820;
  --muted: #75695d;
  --line: #dfd7c9;
  --green: #40584b;
  --green-dark: #30463a;
  --accent: #8e4e36;
  --tan: #8b634d;
  --danger: #a8332e;
  --logo-navy: #1c1050;
  --logo-orange: #eca030;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.12; }
main { min-height: 62vh; animation: rise .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { main { animation: none; } }

.eyebrow {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--tan); font-weight: 700; margin: 0 0 8px;
}

/* Announcement + header */
.announcement {
  position: relative; display: flex; align-items: center; background: #3f5549; color: #f4f0e8; font-size: 10px;
  letter-spacing: .19em; text-transform: uppercase; height: 38px; overflow: hidden;
}
.announce-track { display: flex; width: max-content; animation: announce-scroll 42s linear infinite; will-change: transform; }
.announce-group { display: flex; align-items: center; flex-shrink: 0; min-width: 100vw; justify-content: space-around; }
.announce-item, .announce-sep { white-space: nowrap; padding: 0 1.3em; }
.announcement:hover .announce-track { animation-play-state: paused; }
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.announcement a { color: inherit; text-decoration: none; }
.announcement a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announcement .hl { color: #f6c25f; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; width: 100%; justify-content: center; }
  .announce-group:nth-child(2), .announce-sep, .announce-item:not(:first-child) { display: none; }
  .announce-group { min-width: 0; }
}
.site-header {
  height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(20px, 5vw, 76px); background: var(--paper);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;
}
.logo { display: block; flex: none; }
.logo img { display: block; width: 116px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a, .nav-logout button {
  color: var(--ink); font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav a, .nav-logout button { white-space: nowrap; }
.nav a:hover, .nav-logout button:hover, .nav a.current { color: var(--accent); }
.nav-logout { margin: 0; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.icon-link { position: relative; display: grid; place-items: center; color: var(--ink); }
.icon-link:hover { color: var(--accent); }
.icon-link svg { width: 19px; height: 19px; display: block; }
.count-dot {
  font: 700 10px "DM Sans", sans-serif; background: var(--green); color: #fff; position: absolute;
  top: -8px; right: -10px; border-radius: 50%; min-width: 17px; height: 17px; padding: 0 3px;
  display: grid; place-items: center;
}
.menu-toggle { display: none; border: 0; background: none; padding: 8px; color: var(--green); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; display: block; }
.nav-scrim { display: none; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  background: var(--green); color: #faf7ef; border: 1px solid var(--green);
  padding: 15px 21px; text-transform: uppercase; letter-spacing: .13em; font-size: 10px;
  font-weight: 600; cursor: pointer; transition: transform .2s, background .2s; min-height: 48px; border-radius: 0;
}
.button:hover { transform: translateY(-2px); background: var(--green-dark); }
.button.secondary { background: transparent; color: #3e5146; }
.button.secondary:hover { background: #e9e3d7; }
.button-small { min-height: 40px; padding: 10px 16px; }
.button-danger { background: var(--danger); border-color: var(--danger); }
.button-danger:hover { background: #8a2823; }
.text-link {
  color: #4d6255; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid #aab2a7; padding-bottom: 4px; display: inline-block;
}
.text-link:hover { color: var(--accent); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(300px, .72fr) 1.8fr; min-height: 560px; background: #e7ded0; overflow: hidden; }
.hero-copy { padding: clamp(30px, 4.5vw, 72px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero h1 { color: var(--logo-navy); font-size: clamp(40px, 4.6vw, 68px); line-height: .99; letter-spacing: -.045em; margin: 18px 0 22px; max-width: 540px; }
.hero h1 em { font-style: italic; color: var(--logo-orange); }
.hero-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; max-width: 410px; color: #65594d; margin: 0 0 28px; }
.hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 14px 14px 0; }
.hero-cards.cards-1 { grid-template-columns: minmax(0, 1fr); }
.hero-cards.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-card { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 22px 22px 24px; border-radius: 6px; overflow: hidden; color: #fff; background: #2a1a0f center/cover no-repeat; isolation: isolate; }
.hero-card:before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,10,4,.72) 0%, rgba(20,10,4,.35) 45%, rgba(20,10,4,.65) 100%); transition: opacity .3s; }
.hero-card:hover:before { opacity: .85; }
.hero-card-tag { align-self: flex-end; font-size: 11px; letter-spacing: .08em; opacity: .9; }
.hero-card h3 { color: #fff; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; margin: 34px 0 14px; font-style: italic; font-weight: 500; }
.hero-card p { color: rgba(255,255,255,.9); font-size: 14px; line-height: 1.55; margin: 0; max-width: 230px; }
.hero-card-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; padding: 9px 18px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,.18); transition: background .2s, color .2s; }
.hero-card:hover .hero-card-btn { background: #fff; color: var(--logo-navy); }
.hero-image { background: #b5aa98 center/cover no-repeat; min-height: 420px; position: relative; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: multiply; }
.hero-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(231,222,208,.12), transparent 35%); pointer-events: none; }

/* Layout helpers */
.page { max-width: 1320px; margin: auto; padding: 54px clamp(20px, 5vw, 72px) 100px; }
.section { max-width: 1320px; margin: auto; padding: 4px clamp(20px, 5vw, 72px) 20px; }
.nav-new { display: inline-block; background: #f6d98a; color: #5a3c05; font-size: 9px; font-weight: 700; letter-spacing: .06em; padding: 2px 7px; border-radius: 9px; margin-left: 4px; vertical-align: middle; }
.spice-feature { display: grid; grid-template-columns: minmax(300px, 1fr) 1.7fr minmax(130px, .5fr); align-items: center; gap: 24px; margin: 46px 0 26px; }
.spice-eyebrow { display: flex; align-items: center; gap: 12px; color: #1f5a37; }
.spice-eyebrow svg { flex: none; }
.spice-copy h2 { white-space: nowrap; font-size: clamp(38px, 4.4vw, 62px); font-weight: 700; color: #1f4d33; letter-spacing: -.035em; margin: 8px 0 12px; line-height: 1; }
.spice-copy > p:not(.eyebrow) { color: #65594d; font-size: 15px; margin: 0 0 20px; }
.spice-banner { height: 190px; background: center/cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.spice-script { font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive; font-style: italic; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.35; color: var(--logo-navy); transform: rotate(-8deg); text-align: center; }
.product-grid.product-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
.product-row .product-card { background: #fff; padding: 12px; border-radius: 6px; box-shadow: 0 1px 10px rgba(70,50,20,.07); }
.product-row .product-art { border-radius: 4px; }
.product-row .brand-tag { display: none; }
.product-row .product-name { font-size: 15px; }
.product-row .product-card-actions .button { width: 100%; }
.cat-empty { color: var(--muted); font-size: 14px; padding: 18px 0 8px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 75px 0 24px; gap: 16px; }
.section-heading h2, .page-title { font-size: clamp(35px, 4vw, 55px); line-height: 1.06; margin: 10px 0 0; letter-spacing: -.035em; }
.section-heading a { color: #4d6255; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid #aab2a7; padding-bottom: 4px; white-space: nowrap; }
.section-heading a:hover { color: var(--accent); }

.page-intro { max-width: 1320px; margin: auto; padding: 54px clamp(20px, 5vw, 72px) 22px; }
.page-intro h1 { font-size: clamp(38px, 5vw, 58px); letter-spacing: -.035em; margin: 8px 0 14px; }
.page-intro > p:not(.eyebrow) { max-width: 640px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.page-body { max-width: 1320px; margin: auto; padding: 0 clamp(20px, 5vw, 72px) 100px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 17px; }
.product-card { min-width: 0; position: relative; display: flex; flex-direction: column; }
.product-art { aspect-ratio: 4/5; background: #e5ddcf; position: relative; overflow: hidden; }
.product-art > a { display: block; width: 100%; height: 100%; }
.product-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.product-card:hover .product-art img { transform: scale(1.04); }
.heart-form { margin: 0; }
.wishlist-btn {
  position: absolute; right: 13px; top: 13px; border: 0; background: #f8f5eeec; width: 38px; height: 38px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #46594d; z-index: 2;
}
.wishlist-btn svg { width: 17px; height: 17px; display: block; }
.wishlist-btn.on svg { fill: currentColor; }
.wishlist-btn:hover { color: var(--accent); }
.brand-tag {
  position: absolute; bottom: 12px; left: 12px; background: var(--paper); color: #55483b; padding: 7px 9px;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
}
.product-info { display: flex; flex-direction: column; flex: 1; gap: 8px; padding-top: 12px; }
.product-info > div:last-child { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.product-name { font: 500 18px "Playfair Display", serif; color: var(--ink); }
.product-name:hover { color: var(--accent); }
.product-brand { font-size: 10px; color: #8b7b6d; letter-spacing: .1em; text-transform: uppercase; margin-top: 5px; }
.price { font-size: 13px; white-space: nowrap; color: #453a31; margin: 0; }
.product-card-actions { margin-top: 14px; }
.product-card-actions form { margin: 0; }
.product-card-actions .button { width: 100%; }

/* Story band & brand split */
.story-band { margin: 100px 0 30px; background: #dce2d9; display: grid; grid-template-columns: 1fr 1fr; min-height: 390px; }
.story-art { background: linear-gradient(145deg, #b9c1b4, #e2ddd1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.story-copy { padding: clamp(32px, 6vw, 78px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.story-copy h2 { font-size: clamp(35px, 4vw, 52px); line-height: 1.08; margin: 14px 0; }
.story-copy p { line-height: 1.8; color: #655e53; max-width: 430px; font-size: 14px; }
.story-symbol {
  width: 260px; height: 260px; border: 1px solid #6e796c; border-radius: 50%; display: flex; flex-direction: column;
  justify-content: center; align-items: center; color: #435648; position: relative; transform: rotate(-8deg);
}
.story-symbol:before, .story-symbol:after { content: ""; position: absolute; inset: 14px; border: 1px solid #879286; border-radius: 50%; transform: rotate(36deg) scaleX(.7); }
.story-symbol:after { transform: rotate(-38deg) scaleX(.72); }
.story-symbol span { font: 500 104px/.82 "Playfair Display", serif; }
.story-symbol small { font: 500 24px "Playfair Display", serif; }
.story-symbol i { font-style: normal; font-size: 8px; letter-spacing: .2em; text-align: center; margin-top: 25px; line-height: 1.6; }
.brand-split { padding: 70px 0 10px; }
.brand-split h2 { font-size: 40px; margin: 10px 0; }
.brand-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #d8d0c3; padding: 21px 0; gap: 12px; }
.brand-row:last-child { border-bottom: 1px solid #d8d0c3; }
.brand-row span { font: 500 23px "Playfair Display", serif; }
.brand-row small { letter-spacing: .15em; text-transform: uppercase; color: #83786c; }
.brand-row:hover span { color: var(--accent); }

/* Shop layout (server-rendered filters) */
.shop-layout { display: grid; grid-template-columns: 210px 1fr; gap: 45px; margin-top: 38px; }
.filters { border-right: 1px solid #ddd4c8; padding-right: 26px; }
.filter-block { margin-bottom: 28px; }
.filter-block h3 { font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 15px; }
.filter-block a { display: block; margin: 11px 0; color: #61584e; font-size: 13px; }
.filter-block a:hover { color: var(--accent); }
.filter-block a.active { color: var(--green); font-weight: 700; }
.filter-block a.active:before { content: "— "; }
.searchbar { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #b9afa1; padding: 6px 0; margin-bottom: 24px; }
.searchbar svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.searchbar input { border: 0; background: transparent; outline: none; flex: 1; padding: 8px 6px; min-width: 0; }
.searchbar button { border: 0; background: none; cursor: pointer; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #4d6255; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; color: #82776b; font-size: 12px; gap: 12px; }
.shop-toolbar form { margin: 0; }
.shop-toolbar select { border: 1px solid #d5ccbe; background: transparent; padding: 10px; color: #433a31; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(35px, 8vw, 100px); align-items: start; margin-top: 25px; }
.detail-image { background: #e5ddcf; aspect-ratio: 4/5; position: relative; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-copy { padding-top: 30px; position: sticky; top: 125px; }
.detail-copy h1 { font-size: clamp(39px, 5vw, 64px); line-height: 1.03; margin: 17px 0; letter-spacing: -.03em; }
.detail-price { font-size: 18px; margin: 24px 0; }
.detail-copy p { line-height: 1.9; color: #665c50; font-size: 14px; }
.detail-actions { display: flex; gap: 12px; margin: 27px 0; flex-wrap: wrap; }
.detail-actions form { margin: 0; }
.detail-note { border-top: 1px solid #d8d0c3; padding-top: 20px; margin-top: 32px; }

/* Forms */
.form-card, .panel { max-width: 760px; margin: 0 auto 60px; background: var(--panel); padding: clamp(24px, 5vw, 54px); }
.form-card h3 { font-size: 27px; margin: 0 0 18px; }
.form-card label { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #766b5e; font-weight: 500; }
.form-card input, .form-card textarea, .form-card select {
  border: 1px solid #d3c9ba; background: var(--paper); padding: 13px 12px; color: #352e27; width: 100%;
  font-size: 14px; letter-spacing: normal; text-transform: none; border-radius: 0;
}
.form-card textarea { min-height: 130px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: 2px solid #657a6d; outline-offset: 0; }
.form-card p { color: var(--muted); font-size: 13px; }
.form-card p a { color: var(--green); font-weight: 700; text-decoration: underline; }
.form-card .button { margin-top: 6px; }
.auth-form { max-width: 540px; }
.auth-tabs { display: flex; margin: 0 0 20px; border: 1px solid var(--line); background: var(--panel); }
.auth-tabs a { flex: 1; text-align: center; padding: 12px 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; }
.auth-tabs a + a { border-left: 1px solid var(--line); }
.auth-tabs a:hover { color: var(--green); }
.auth-tabs a.active { background: var(--green); color: #fff; }

.notice { padding: 14px 17px; background: #e2dfd2; border-left: 3px solid #76836c; font-size: 12px; line-height: 1.65; color: #5c594d; margin: 18px auto; max-width: 760px; }
.notice.success { background: #e1ebdc; border-left-color: #4f7a46; color: #2f4a29; }
.notice.error { background: #f4ddda; border-left-color: var(--danger); color: #7d2a26; }
.page-intro + .notice, .page-intro ~ .notice { margin-left: auto; margin-right: auto; }

/* Cart */
.cart-wrap { max-width: 1320px; margin: auto; padding: 0 clamp(20px, 5vw, 72px) 100px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 35px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 22px; padding: 18px 0; border-bottom: 1px solid #d9d0c3; align-items: center; }
.cart-row img { width: 100px; height: 125px; object-fit: cover; background: #e5ddcf; }
.cart-product h3 { font: 500 21px "Playfair Display", serif; margin: 0 0 5px; }
.cart-product p { font-size: 12px; color: #83786d; margin: 2px 0; }
.summary-box, .cart-summary { background: var(--panel); padding: 26px; height: max-content; }
.summary-box h3 { font-size: 24px; margin: 0 0 20px; }
.summary-row, .cart-summary > p:first-child { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13px; margin: 0; }
.summary-total { border-top: 1px solid #cfc5b7; margin-top: 11px; padding-top: 17px; font-weight: 700; }
.summary-box .button, .cart-summary .button { width: 100%; margin-top: 20px; }
.empty-state { text-align: center; padding: 80px 20px; background: var(--panel); max-width: 1320px; margin: 0 auto 60px; }
.empty-state h2 { font-size: 35px; margin: 0 0 10px; }
.empty-state p { color: var(--muted); margin: 0 0 22px; }
.cart-empty-wrap { max-width: 1320px; margin: auto; padding: 0 clamp(20px, 5vw, 72px) 100px; }

/* Account */
.account-card { max-width: 760px; margin: 0 auto 30px; background: var(--panel); padding: clamp(24px, 5vw, 44px); }
.account-card h2 { font-size: 27px; margin: 0 0 18px; }
.account-card h3 { font-size: 20px; margin: 22px 0 8px; }
.account-card dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 18px; margin: 0; }
.account-card dt { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.account-card dd { margin: 0; overflow-wrap: anywhere; }
.account-card label { display: flex; flex-direction: column; gap: 7px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #766b5e; }
.account-card textarea { border: 1px solid #d3c9ba; background: var(--paper); padding: 13px 12px; width: 100%; font-size: 14px; letter-spacing: normal; text-transform: none; border-radius: 0; }
.address-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #d5ccbe; }
.address-row form { margin: 0; }
.limit-note { color: var(--danger); margin-top: 15px; }

/* Policy / about */
.about-grid { max-width: 1320px; margin: auto; padding: 10px clamp(20px, 5vw, 72px) 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.story-card { padding: clamp(26px, 4vw, 44px); background: var(--panel); }
.story-card h2 { font-size: 32px; margin: 8px 0 12px; }
.story-card p:last-child { color: #655e53; line-height: 1.8; font-size: 14px; }
.policy { line-height: 1.85; color: #655c51; max-width: 760px; }
.policy h2 { font-size: 30px; margin: 0 0 8px; }
.policy h3 { font-size: 20px; margin: 22px 0 4px; color: var(--ink); }
.policy ul { padding-left: 20px; }

/* Footer */
.footer { background: #354a3f; color: #f4f0e8; padding: 55px clamp(22px, 6vw, 80px) 25px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 45px; max-width: 1320px; margin: auto; }
.footer h3 { font-size: 27px; margin: 0 0 16px; }
.footer p, .footer a { font-size: 12px; color: #d6d8cf; line-height: 1.9; }
.footer a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-trust { max-width: 1320px; margin: 35px auto 0; padding-top: 22px; border-top: 1px solid #788579; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-trust p { margin: 0; color: #c7cec4; }
.trust-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.trust-badge-item { background: rgba(255,255,255,.1); padding: 6px 12px; font-size: 10px; font-weight: 600; letter-spacing: .12em; color: #d6d8cf; }
.footer-bottom { border-top: 1px solid #788579; margin: 25px auto 0; padding-top: 18px; max-width: 1320px; font-size: 10px; letter-spacing: .1em; color: #c7cec4; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Mobile bottom bar (hidden on desktop) */
.mobile-app-bar { display: none; }

@media (max-width: 1280px) { .nav { gap: 16px; } .nav a, .nav-logout button { font-size: 11px; letter-spacing: .05em; } }
@media (max-width: 1120px) { .nav { gap: 11px; } .nav a, .nav-logout button { font-size: 10.5px; letter-spacing: .03em; } .wallet-pill, .nav-new { margin-left: 2px; padding: 1px 5px; } }
@media (max-width: 1000px) {
  .nav { gap: 20px; }
  .product-grid, .product-grid.product-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-cards { padding: 0 14px 14px; }
  .hero-card { min-height: 380px; }
  .spice-feature { grid-template-columns: 1fr; }
  .spice-script { display: none; }
}
@media (max-width: 850px) {
  .product-grid, .product-grid.product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 22px; }
  .filters { border: 0; border-bottom: 1px solid #ddd4c8; padding: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filter-block { margin-bottom: 7px; }
  .hero { min-height: 460px; }
  .product-detail { gap: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .cart-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: block; order: -1; }
  .site-header { height: 70px; padding: 0 14px; gap: 10px; }
  .logo img { width: 130px; height: 48px; }
  .nav {
    position: fixed; top: 0; right: -110%; width: min(290px, 82vw); height: 100vh; background: var(--paper);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 78px 26px 30px;
    box-shadow: -5px 0 24px rgba(0,0,0,.18); transition: right .3s ease; z-index: 41; overflow-y: auto;
  }
  .nav.active { right: 0; }
  .nav a, .nav-logout { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-logout button { width: 100%; text-align: left; }
  /* The header makes its own stacking layer, so it must sit above the dimmed scrim or the menu links can't be tapped. */
  .site-header { z-index: 50; }
  .nav-scrim.active { display: block; position: fixed; inset: 0; background: rgba(30,24,18,.4); z-index: 45; }
  .menu-toggle.open { position: relative; z-index: 42; }
}
@media (max-width: 768px) {
  body { padding-bottom: 76px; }
  .mobile-app-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(248,245,238,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center;
    padding: 8px 6px; z-index: 35; box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  }
  .mobile-app-bar a { color: #55483b; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; padding: 4px 10px; }
  .mobile-app-bar a svg { width: 20px; height: 20px; }
  .mobile-app-bar a:hover { color: var(--accent); }
  .mobile-badge { position: absolute; top: -2px; right: 2px; background: var(--green); color: #fff; font-size: 10px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; }
}
@media (max-width: 640px) {
  .announcement { font-size: 9px; letter-spacing: .1em; height: 36px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 46px 26px; }
  .hero h1 { font-size: 54px; margin: 17px 0; }
  .hero-image { min-height: 280px; max-height: 360px; }
  .hero-cards, .hero-cards.cards-2 { grid-template-columns: 1fr; }
  .hero-card { min-height: 300px; }
  .spice-banner { height: 130px; }
  .page { padding: 36px 20px 70px; }
  .section-heading { margin: 55px 0 20px; }
  .product-grid { gap: 25px 12px; }
  .product-name { font-size: 16px; }
  .product-info { flex-direction: column; gap: 2px; }
  .story-band { grid-template-columns: 1fr; margin-top: 65px; }
  .story-art { min-height: 230px; }
  .story-copy { padding: 32px 25px; }
  .brand-row span { font-size: 19px; }
  .brand-row small { display: none; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-copy { position: static; padding-top: 0; }
  .detail-image { aspect-ratio: 4/4.5; }
  .about-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 78px 1fr; gap: 14px; }
  .cart-row img { width: 78px; height: 102px; }
  .cart-row > strong { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-bottom { flex-direction: column; }
  .page-title { font-size: 42px; }
  .account-card dl { grid-template-columns: 1fr; gap: 2px; }
  .account-card dt { padding-top: 10px; }
}

/* ---- Auth + payment additions ---- */
.wallet-notice { background: #fbeccb; border-left: 3px solid var(--logo-orange); color: #4a3510; font-size: 14px; margin-bottom: 14px; }
.wallet-notice a { color: var(--logo-navy); text-decoration: underline; }
.wallet-notice.good { background: #e2f1e8; border-left-color: #1f7a45; color: #1f4d33; }
.wallet-pill { display: inline-block; background: var(--logo-orange); color: #3a2503; font-size: 10px; font-weight: 700; letter-spacing: .02em; padding: 2px 7px; border-radius: 9px; margin-left: 4px; vertical-align: middle; }
.guest-notice { background: #fbeccb; border-left-color: var(--logo-orange); color: #4a3510; font-size: 13px; }
.guest-notice a { color: var(--logo-navy); text-decoration: underline; }
.notice[hidden] { display: none; }
.google-auth { display: flex; flex-direction: column; align-items: center; margin-bottom: 4px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pay-box .button { margin-top: 0; }
.pay-box .notice { margin-top: 14px; }

/* ---- Cart: quantity, remove, buy-this-product ---- */
.cart-unit { font-size: 13px !important; color: var(--ink) !important; }
.cart-unit s { color: #a0968a; margin-left: 6px; font-size: 12px; }
.cart-controls { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cfc5b7; background: var(--paper); }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--green-dark); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty span { min-width: 34px; text-align: center; font-size: 14px; font-weight: 600; }
.remove-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 4px; border: 0; background: none; color: var(--danger); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.remove-btn svg { width: 17px; height: 17px; }
.cart-line { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-line strong { font-size: 17px; }
.cart-line .button { white-space: nowrap; }
.summary-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 14px 0 0; }

/* ---- Price details (cart, checkout, confirmation) ---- */
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; }
.price-row.save span:last-child { color: #2f7a4d; font-weight: 600; }
.price-row.total { border-top: 1px dashed #bfb4a4; margin-top: 6px; padding-top: 15px; font-weight: 700; font-size: 17px; }
.saving-banner { background: #e2f1e8; color: #1f7a45; font-weight: 600; font-size: 14px; padding: 12px 14px; margin-top: 12px; }

/* ---- Checkout ---- */
.co-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 28px; align-items: start; max-width: 1320px; margin: 0 auto; }
.co-card { background: var(--panel); padding: clamp(18px, 4vw, 28px); margin-bottom: 18px; }
.co-card h3 { font-size: 22px; margin: 0 0 16px; }
.co-card h3 small { font: 400 13px "DM Sans", sans-serif; color: var(--muted); }
.co-card .field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 14px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #766b5e; font-weight: 500; }
.co-card input[type=text], .co-card input[type=email], .co-card input[type=tel], .co-card input:not([type]), .co-card textarea {
  width: 100%; border: 1px solid #d3c9ba; background: var(--paper); padding: 13px 12px; color: #352e27;
  font-size: 16px; letter-spacing: normal; text-transform: none; border-radius: 0; }
.co-card textarea { min-height: 96px; resize: vertical; }
.co-card input:focus, .co-card textarea:focus { outline: 2px solid #657a6d; outline-offset: 0; }
.co-card .hint { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 10px 0 0; }
.co-card .hint a { color: var(--green); font-weight: 700; text-decoration: underline; }
.addr-text { white-space: pre-line; line-height: 1.7; font-size: 14px; margin: 0; }
.addr-list { display: grid; gap: 10px; margin-bottom: 12px; }
.addr-option { position: relative; display: block; cursor: pointer; }
.addr-option input { position: absolute; left: 14px; top: 17px; width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.addr-option span { display: block; padding: 14px 14px 14px 44px; border: 1px solid #d3c9ba; background: var(--paper); font-size: 14px; line-height: 1.55; white-space: pre-line; }
.addr-option input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.addr-new summary { cursor: pointer; color: var(--green); font-weight: 700; font-size: 13px; padding: 10px 0; }
.addr-new textarea { margin-top: 6px; }
.co-card .check, .check-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); text-transform: none; letter-spacing: normal; margin-top: 14px; cursor: pointer; }
.co-card .check input { width: 20px; height: 20px; accent-color: var(--green); }
#sameBilling { position: absolute; opacity: 0; pointer-events: none; }
.check-label { margin: 0 0 14px; padding-left: 32px; position: relative; min-height: 24px; }
.check-label::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border: 1.5px solid #8a7e70; background: var(--paper); }
#sameBilling:checked + .check-label::before { background: var(--green); border-color: var(--green); }
#sameBilling:checked + .check-label::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#sameBilling:focus-visible + .check-label::before { outline: 2px solid #657a6d; outline-offset: 2px; }
#sameBilling:checked ~ .billing-box { display: none; }
.co-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #d9d0c3; font-size: 14px; }
.co-item:last-child { border-bottom: 0; }
.co-item img { width: 52px; height: 64px; object-fit: cover; background: #e5ddcf; flex: none; }
.co-item > div { flex: 1; min-width: 0; }
.co-item strong { display: block; font-weight: 600; }
.co-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.co-item s { color: #a0968a; }
.co-pay { width: 100%; min-height: 54px; font-size: 14px; }
.co-secure { text-align: center; font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.co-side { position: sticky; top: 90px; }

@media (min-width: 641px) { .cart-line .button { min-width: 150px; } }
@media (max-width: 850px) { .co-grid { grid-template-columns: 1fr; gap: 0; } .co-side { position: static; } }
@media (max-width: 640px) {
  .cart-row { align-items: start; }
  .cart-line { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .cart-line .button { flex: 1; max-width: 230px; min-height: 46px; }
}

/* ---- Product gallery ---- */
.gallery { min-width: 0; }
.gallery-stage { background: #e5ddcf; aspect-ratio: 4/5; position: relative; overflow: hidden; }
.gallery-media, .gallery-media img, .gallery-media video { width: 100%; height: 100%; display: block; }
.gallery-media img { object-fit: cover; }
.gallery-media video { object-fit: contain; background: #000; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.thumb { flex: 0 0 72px; height: 88px; padding: 0; border: 2px solid transparent; background: #e5ddcf; cursor: pointer; overflow: hidden; scroll-snap-align: start; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.active { border-color: var(--green); }
.thumb-video { background: #222; color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; }

/* ---- Size / color options ---- */
.opt-group { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.opt-group legend { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #766b5e; margin-bottom: 10px; padding: 0; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; min-width: 46px; padding: 11px 16px; border: 1px solid #c9bfb0; background: var(--paper); font-size: 14px; text-align: center; }
.chip input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #657a6d; outline-offset: 2px; }
.variant { font-size: 12px !important; color: var(--green-dark) !important; font-weight: 600; margin: 2px 0 !important; }
.off-tag { background: #e2f1e8; color: #1f7a45; font-size: 12px; font-weight: 700; padding: 3px 8px; margin-left: 8px; }

/* ---- Ratings & reviews ---- */
.stars { color: #d99a1c; letter-spacing: 1px; }
.rating-line { font-size: 12px; color: var(--muted); margin-top: 4px; }
.rating-line.big { display: inline-block; font-size: 14px; color: var(--ink); margin: 0 0 4px; }
.reviews { max-width: 900px; margin: 60px auto 0; }
.review-hint { color: var(--muted); font-size: 14px; }
.review-hint a { color: var(--green); font-weight: 700; text-decoration: underline; }
.review-form { background: var(--panel); padding: clamp(16px, 4vw, 26px); margin: 18px 0 26px; display: grid; gap: 12px; }
.review-form textarea { width: 100%; border: 1px solid #d3c9ba; background: var(--paper); padding: 12px; font-size: 16px; font-family: inherit; min-height: 100px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; line-height: 1; color: #cfc5b7; cursor: pointer; padding: 2px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #d99a1c; }
.star-input input:focus-visible + label { outline: 2px solid #657a6d; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; }
.review-head time { color: var(--muted); font-size: 12px; margin-left: auto; }
.review .badge { background: #e2f1e8; color: #1f7a45; font-size: 11px; font-weight: 700; padding: 2px 7px; }
.review p { line-height: 1.7; font-size: 14px; margin: 8px 0 0; white-space: pre-line; }
@media (max-width: 640px) { .thumb { flex-basis: 62px; height: 76px; } .review-head time { margin-left: 0; width: 100%; } }

/* ---- Orders: tracking, requests, policy ---- */
.status-pill { display: inline-block; font: 600 11px "DM Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; vertical-align: middle; margin-left: 8px; background: #e5ddcf; color: var(--ink); }
.status-pill.good { background: #e2f1e8; color: #1f7a45; }
.status-pill.info { background: #e3ecf6; color: #24598f; }
.status-pill.warn { background: #f8efd6; color: #8a6410; }
.status-pill.bad { background: #f6e0de; color: var(--danger); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding: 0 0 22px 0; color: #9a8f82; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: #d6ccbc; }
.timeline li:last-child::before { display: none; }
.timeline .dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c9bfb0; background: var(--paper); margin-top: 2px; position: relative; z-index: 1; }
.timeline li.done { color: var(--ink); }
.timeline li.done .dot { background: var(--green); border-color: var(--green); }
.timeline li.done::before { background: var(--green); }
.timeline strong { display: block; font-size: 15px; font-weight: 600; }
.timeline small { color: var(--muted); font-size: 12px; }
.scans { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid #d9d0c3; }
.scans li { padding: 10px 0; border-bottom: 1px solid #e3dbcd; font-size: 14px; }
.scans small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.order-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--panel); padding: 18px 20px; text-decoration: none; color: inherit; }
.order-row:hover { background: #e7dfd1; }
.order-row strong { display: block; }
.order-row span { font-size: 13px; color: var(--muted); }
.order-row-end { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex: none; }
.order-row .status-pill { margin: 0; color: inherit; font-size: 10px; }
.req-state { display: inline-block; font: 700 12px "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; background: #e5ddcf; margin: 0 0 10px; }
.req-state.good { background: #e2f1e8; color: #1f7a45; } .req-state.info { background: #e3ecf6; color: #24598f; } .req-state.bad { background: #f6e0de; color: var(--danger); }
.act summary { cursor: pointer; color: var(--green); font-weight: 700; font-size: 14px; padding: 10px 0; }
.act form { margin-top: 8px; }
.act .field input[type=file] { padding: 10px; background: var(--paper); border: 1px dashed #b9ad9b; width: 100%; font-size: 14px; }
.upi-form { margin-top: 12px; }
.co-card .field input, .co-card .field textarea { width: 100%; }
.detail-note.warranty { border-left: 3px solid var(--green); padding-left: 14px; }
.detail-note a { color: var(--green); font-weight: 700; text-decoration: underline; }
.policy { max-width: 820px; margin: 0 auto; line-height: 1.8; font-size: 15px; }
.policy h2 { font-size: 24px; margin: 34px 0 10px; }
.policy ul, .policy ol { padding-left: 22px; }
.policy li { margin: 6px 0; }
.policy a { color: var(--green); font-weight: 700; text-decoration: underline; }
.policy-note { margin-top: 34px; padding: 16px 18px; background: var(--panel); }
@media (max-width: 640px) { .order-row { padding: 14px; } .status-pill { margin-left: 0; display: table; margin-top: 8px; } }

/* ---- Delivery PIN check ---- */
.pin-check { margin: 22px 0 4px; }
.pin-check label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #766b5e; margin-bottom: 10px; }
.pin-row { display: flex; gap: 10px; max-width: 420px; }
.pin-row input { flex: 1; min-width: 0; border: 1px solid #c9bfb0; background: var(--paper); padding: 12px 14px; font-size: 16px; letter-spacing: .08em; border-radius: 0; }
.pin-row input:focus { outline: 2px solid #657a6d; outline-offset: 0; }
.pin-row .button { min-height: 46px; flex: none; }
.pin-result { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink); max-width: 420px; }
.pin-result.good { color: #1f7a45; font-weight: 600; }
.pin-result.bad { color: var(--danger); font-weight: 600; }

/* ---- Mobile polish: nothing may overflow the screen ---- */
.co-main, .co-side, .cart-wrap > *, .detail-copy, .gallery { min-width: 0; }
.co-card input, .co-card textarea, .co-card select { max-width: 100%; box-sizing: border-box; }
img, video { max-width: 100%; }
@media (max-width: 640px) {
  .page-body, .page { overflow-x: hidden; }
  .co-card { padding: 18px 16px; }
  .co-card h3 { font-size: 20px; }
  .pin-row { max-width: none; }
}

/* ---- Stock ---- */
.stock-tag { position: absolute; left: 12px; bottom: 12px; background: #2c2620; color: #fff; font: 600 11px "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; }
.product-card.sold-out .product-art img { filter: grayscale(.85); opacity: .55; }
.button[disabled], .button:disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.stock-line { margin: 6px 0 0; font-size: 14px; font-weight: 700; }
.stock-line.out { color: var(--danger); }
.stock-line.low { color: #b26a00; }
.stock-warn { color: var(--danger); font-size: 13px; font-weight: 600; margin: 6px 0 !important; line-height: 1.5; }

/* Contact form: captcha + hidden honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin: 14px 0 4px; }
.captcha-label { display: block; font-size: 13px; color: var(--muted, #75695d); margin-bottom: 8px; }
.captcha-box { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.captcha-box img { border: 1px solid var(--line); border-radius: 4px; background: #f3ece0; max-width: 100%; height: auto; }
.captcha-refresh { border: 1px solid var(--line); background: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: var(--green); }
.captcha-refresh:hover { background: var(--green); color: #fff; }
.captcha input { text-transform: uppercase; letter-spacing: .2em; }

/* Account: edit forms */
.profile-form .field, .addr-edit .field { margin-bottom: 12px; }
.profile-form input[disabled] { opacity: .65; cursor: not-allowed; }
.address-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.address-row > span { flex: 1 1 260px; min-width: 0; }
.address-actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.addr-edit { flex: 1 1 100%; }
.addr-edit summary { list-style: none; cursor: pointer; display: inline-block; }
.addr-edit summary::-webkit-details-marker { display: none; }
.addr-edit[open] { width: min(420px, 100%); margin-top: 8px; }
.addr-edit[open] summary { margin-bottom: 10px; }

/* Account forms look like the checkout forms */
.account-card .field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 14px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #766b5e; font-weight: 500; }
.account-card .field input, .account-card .field textarea, .account-card .field select {
  width: 100%; border: 1px solid #d3c9ba; background: var(--paper); padding: 13px 12px; color: #352e27;
  font-size: 16px; letter-spacing: normal; text-transform: none; border-radius: 0; font-family: inherit; }
.account-card .field textarea { min-height: 96px; resize: vertical; }
.account-card .field input:focus, .account-card .field textarea:focus, .account-card .field select:focus { outline: 2px solid #657a6d; outline-offset: 0; }
.account-card .field .hint { text-transform: none; letter-spacing: normal; font-size: 12px; color: var(--muted); font-weight: 400; }
.account-card .field input[disabled] { background: #ece5d8; color: #7a6f62; }
.addr-edit summary.button { margin: 0; }

.page-body > .notice { margin-left: 0; max-width: 670px; }

/* Sell on 1place + seller area */
.sell-hero { padding: 60px clamp(20px, 6vw, 90px) 38px; background: #e7ded0; }
.sell-hero h1 { color: var(--logo-navy); font-size: clamp(36px, 5vw, 62px); margin: 10px 0 14px; }
.sell-hero h1 em { color: var(--logo-orange); }
.sell-lead { font-size: 18px; max-width: 640px; color: #4b4237; }
.sell-hero .button.secondary { margin-left: 8px; }
.sell-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 18px 0 34px; }
.sell-step { display: flex; gap: 14px; background: #fff; border-radius: 6px; padding: 18px; box-shadow: 0 1px 10px rgba(70,50,20,.07); }
.sell-step h3 { margin: 0 0 6px; font-size: 18px; } .sell-step p { margin: 0; font-size: 14px; color: #65594d; }
.sell-step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--logo-orange); color: #3a2503; font-weight: 700; display: grid; place-items: center; }
.sell-need li { margin: 8px 0; line-height: 1.6; }
.seller-form { max-width: 860px; }
.seller-section { border: 1px solid #d9cfbf; background: #f1eadd; padding: 18px 22px 8px; margin: 0 0 20px; border-radius: 4px; }
.seller-section legend { padding: 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: 20px; }
.seller-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 20px; }
.seller-form .field, .seller-login .field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #766b5e; font-weight: 500; }
.seller-form .field input, .seller-form .field textarea, .seller-form .field select,
.seller-login .field input { width: 100%; border: 1px solid #d3c9ba; background: var(--paper); padding: 13px 12px; color: #352e27; font-size: 16px; letter-spacing: normal; text-transform: none; border-radius: 0; font-family: inherit; }
.seller-form .field input:focus, .seller-form .field textarea:focus, .seller-form .field select:focus { outline: 2px solid #657a6d; }
.seller-form .field .hint { text-transform: none; letter-spacing: normal; font-size: 12px; color: var(--muted); font-weight: 400; }
.seller-form .field-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.seller-form [data-digits], .seller-form [data-upper] { letter-spacing: .06em; }
.seller-form [data-upper] { text-transform: uppercase; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; text-transform: none; letter-spacing: normal; color: #352e27; margin: 6px 0; cursor: pointer; }
.check input { width: auto !important; margin-top: 3px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2px 14px; margin-bottom: 10px; }
.declaration { margin: 10px 0 14px; line-height: 1.5; }
.seller-steps { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0 0 18px; }
.seller-steps li { background: #ece5d8; color: #7a6f62; padding: 7px 14px; border-radius: 999px; font-size: 13px; }
.seller-steps li.done { background: #e2f1e8; color: #1f4d33; }
.status-card { border-left: 4px solid #999; background: #fff; padding: 14px 20px; margin: 0 0 22px; border-radius: 3px; }
.status-card h2 { margin: 0 0 6px; font-size: 22px; } .status-card p { margin: 6px 0; }
.status-card.ok { border-color: #1f7a45; background: #e8f4ed; } .status-card.wait { border-color: var(--logo-orange); background: #fbf0d9; } .status-card.bad { border-color: #a8332e; background: #f7e6e4; }
.link-button { background: none; border: 0; padding: 0; color: var(--logo-navy); text-decoration: underline; cursor: pointer; font: inherit; }
.legal h3 { margin: 22px 0 6px; }
[hidden] { display: none !important; }

/* Seller documents */
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid #d9cfbf; }
.doc-row:first-of-type { border-top: 0; }
.doc-row form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.doc-row input[type=file] { font-size: 13px; max-width: 260px; }
.doc-state { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 9px; margin-left: 6px; }
.doc-state.ok { background: #e2f1e8; color: #1f4d33; } .doc-state.need { background: #fbeccb; color: #6b4a08; }

/* ---------- Seller plans, products and orders ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 18px 0; }
.plan-card { position: relative; border: 1px solid #d3c9ba; background: var(--paper, #fbf8f1); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.plan-card h3 { font-size: 20px; margin: 0; }
.plan-card .plan-price { font-size: 30px; margin: 4px 0 0; font-weight: 600; }
.plan-card .plan-price small { font-size: 13px; font-weight: 400; color: #766b5e; }
.plan-card .plan-comm { margin: 0; font-weight: 600; color: #40584b; }
.plan-card ul { margin: 8px 0 14px; padding-left: 18px; font-size: 13px; line-height: 1.7; flex: 1; }
.plan-card form { margin: 0; }
.plan-card .button { width: 100%; }
.plan-popular { border-color: #40584b; box-shadow: 0 0 0 2px #40584b inset; }
.plan-badge { position: absolute; top: -11px; left: 16px; background: #40584b; color: #fff; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; }
.plan-info { margin: 0 0 30px; } .plan-info summary { cursor: pointer; font-size: 14px; text-decoration: underline; }
.seller-table-wrap { overflow-x: auto; }
.seller-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--panel, #fff); }
.seller-table th, .seller-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e6dfd2; vertical-align: top; }
.seller-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #766b5e; }
.seller-product-form { max-width: 760px; }
.seller-product-form input, .seller-product-form select, .seller-product-form textarea { border: 1px solid #d3c9ba; background: var(--paper, #fff); padding: 12px; width: 100%; font-size: 14px; text-transform: none; letter-spacing: normal; border-radius: 0; }

/* ---- Seller policy page ---- */
.seller-policy h3 { font-size: 18px; margin: 20px 0 4px; color: var(--ink); }
.seller-policy .policy-alert { margin: 0 0 22px; padding: 16px 20px; border-left: 4px solid #b3261e; background: #fdf1ef; border-radius: 6px; }
.seller-policy .policy-alert ul { margin: 8px 0 0; }
.seller-policy .policy-toc { margin: 0 0 10px; padding: 14px 20px; background: var(--panel); border-radius: 6px; }
.seller-policy .policy-toc ol { columns: 2; column-gap: 28px; margin: 8px 0 0; }
.seller-policy .policy-toc li { margin: 3px 0; }
.seller-policy .policy-table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 14px; }
.seller-policy .policy-table th, .seller-policy .policy-table td { text-align: left; vertical-align: top; padding: 9px 12px; border: 1px solid #e3dccf; }
.seller-policy .policy-table th { background: var(--panel); }
.seller-policy h2[id] { scroll-margin-top: 90px; }
@media (max-width: 640px) { .seller-policy .policy-toc ol { columns: 1; } .seller-policy .policy-table { display: block; overflow-x: auto; } }

/* ---- Made for Indian sellers (home) + Our story (about) ---- */
.seller-band { margin: 100px 0 30px; background: var(--green-dark); color: #f4f0e8; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden; }
.seller-band:before { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border: 1px solid rgba(236, 160, 48, .35); border-radius: 50%; }
.seller-band .eyebrow { color: #eca030; }
.seller-band h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; margin: 14px 0 18px; color: #fbf8f1; letter-spacing: -.02em; }
.seller-band h2 em { font-style: italic; color: #eca030; }
.seller-band-copy p:not(.eyebrow) { line-height: 1.85; font-size: 14.5px; color: #dfe5db; max-width: 520px; margin: 0 0 24px; }
.seller-band-copy strong { color: #fff; font-weight: 600; }
.seller-band-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button.light { background: #f4f0e8; color: var(--green-dark); }
.button.light:hover { background: #fff; }
.band-link { color: #eca030; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.band-link.dark { color: var(--green); display: inline-block; margin: 16px 0 0 16px; }
.seller-band-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; position: relative; }
.seller-band-facts li { border: 1px solid rgba(244, 240, 232, .22); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, .04); }
.seller-band-facts b { font: 500 36px/1 "Playfair Display", serif; color: #eca030; }
.seller-band-facts span { font-size: 12.5px; line-height: 1.6; color: #dfe5db; }
.story-long { max-width: 1320px; margin: auto; padding: 10px clamp(20px, 5vw, 72px) 70px; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.story-long-text h2 { font-size: clamp(26px, 3vw, 36px); margin: 34px 0 10px; }
.story-long-text h2:first-child { margin-top: 0; }
.story-long-text p { line-height: 1.9; font-size: 15px; color: #655e53; margin: 0 0 12px; }
.story-long-text a { color: var(--accent); border-bottom: 1px solid currentColor; }
.story-long-plans { background: #dce2d9; padding: clamp(24px, 3vw, 36px); position: sticky; top: 90px; }
.plan-strip { list-style: none; margin: 14px 0 0; padding: 0; }
.plan-strip li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 13px 0; border-bottom: 1px solid #b9c1b4; }
.plan-strip b { font: 500 20px "Playfair Display", serif; }
.plan-strip span { text-align: right; font-weight: 600; font-size: 14px; }
.plan-strip em { grid-column: 1 / -1; font-style: normal; font-size: 12.5px; color: var(--green); }
.plan-strip-note { font-size: 13px; line-height: 1.6; color: #4d6255; margin: 14px 0 18px; }
@media (max-width: 900px) { .seller-band, .story-long { grid-template-columns: 1fr; } .story-long-plans { position: static; } .seller-band { margin-top: 65px; } }
@media (max-width: 480px) { .seller-band-facts { grid-template-columns: 1fr; } }

.product-seller { font-size: 12px; color: #766b5e; margin-top: 2px; }
.seller-note span { font-size: 13px; color: #40584b; }

/* Seller "Add product" form: sections, colour chips, live preview */
.sp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 4vw, 44px); align-items: start; max-width: 1100px; }
.sp-wrap .account-card { max-width: none; margin: 0; }
.sp-h { font: 500 22px "Playfair Display", serif; margin: 30px 0 14px !important; padding-top: 18px; border-top: 1px solid #d9cfbf; }
.sp-h:first-child { margin-top: 0 !important; border-top: 0; padding-top: 0; }
.seller-product-form .field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; }
.seller-product-form .field[hidden], .seller-product-form [hidden] { display: none !important; }
.seller-product-form select, .seller-product-form input:not([type=checkbox]):not([type=file]) { border: 1px solid #d3c9ba; background: var(--paper); padding: 12px; width: 100%; font-size: 14px; border-radius: 0; letter-spacing: normal; text-transform: none; }
.seller-product-form .hint { text-transform: none; letter-spacing: normal; font-size: 12px; line-height: 1.5; color: #75695d; }
.sp-row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.sp-row4 { grid-template-columns: repeat(4, 1fr); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip { flex-direction: row !important; align-items: center; gap: 6px !important; border: 1px solid #d3c9ba; background: var(--paper); padding: 7px 11px; font-size: 13px !important; letter-spacing: normal !important; text-transform: none !important; color: var(--ink) !important; cursor: pointer; }
.sp-chip:has(input:checked) { background: var(--green-dark); color: #fff !important; border-color: var(--green-dark); }
.sp-gst { background: #eef1ea; padding: 14px 16px; margin: 0 0 16px; }
.sp-gst .check { display: flex; flex-direction: row; align-items: center; gap: 10px; font-size: 14px; text-transform: none; letter-spacing: normal; color: var(--ink); margin-bottom: 8px; }
.sp-gst .check input { width: 20px; height: 20px; accent-color: var(--green); }
.sp-preview { position: sticky; top: 90px; background: var(--panel); padding: 20px; }
.sp-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #8b7b6d; font-size: 13px; }
.sp-pv-list { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: #655e53; line-height: 1.7; }
.sp-off { font-size: 12px; color: #2f7d4f; margin-left: 6px; }
.sp-thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.sp-thumbs img { width: 44px; height: 44px; object-fit: cover; border: 1px solid #d3c9ba; }
@media (max-width: 900px) { .sp-wrap { grid-template-columns: 1fr; } .sp-preview { position: static; } .sp-row4 { grid-template-columns: 1fr 1fr; } }

/* GST-included notes and product specs */
.gst-note { display: inline-block; font-size: 12px !important; color: #2f6b47 !important; background: #e6f0e8; padding: 2px 8px; margin-top: 4px; }
.gst-line { margin: 4px 0 0; }
.gst-summary { font-size: 12.5px; line-height: 1.6; color: #2f6b47; background: #edf4ee; padding: 10px 12px; margin: 12px 0 0; }
.detail-specs { border-collapse: collapse; margin: 14px 0; font-size: 13.5px; width: 100%; max-width: 420px; }
.detail-specs th, .detail-specs td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e0d7c8; }
.detail-specs th { color: #75695d; font-weight: 500; width: 45%; }

/* seller form: photos picked so far (each can be removed) */
.sp-newphotos { display: flex; flex-wrap: wrap; gap: 10px; margin: -4px 0 14px; }
.sp-newphoto { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: #766b5e; }
.sp-newphoto img { width: 76px; height: 76px; object-fit: cover; border: 1px solid #d3c9ba; }
.sp-rm { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #3b3328; color: #fff; font-size: 15px; line-height: 20px; padding: 0; cursor: pointer; }

/* ---------- Seller dashboard (console) ---------- */
html { scroll-behavior: smooth; }
.sd { max-width: 1180px; margin: 0 auto; padding: 24px 20px 70px; }
.sd-hero { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; background: var(--panel, #fff); border: 1px solid #e0d8c8; padding: 26px 28px; }
.sd-hero h1 { margin: 2px 0 4px; font-size: clamp(26px, 4vw, 38px); } .sd-sub { margin: 0 0 12px; color: #766b5e; }
.sd-badges { display: flex; gap: 8px; flex-wrap: wrap; } .sd-hero-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .sd-hero-actions form { margin: 0; }
.sd-badge, .sd-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: #eee8da; color: #5b5144; }
.sd-badge.ok, .sd-pill.ok { background: #dcebe0; color: #24503a; } .sd-badge.wait, .sd-pill.wait { background: #f8ecd0; color: #7a5200; } .sd-badge.bad, .sd-pill.bad { background: #f7dcd8; color: #8c2118; }
.sd-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; margin-top: 22px; align-items: start; }
.sd-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; background: var(--panel, #fff); border: 1px solid #e0d8c8; padding: 8px; }
.sd-nav a { padding: 10px 12px; font-size: 14px; text-decoration: none; color: inherit; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; } .sd-nav a:hover { background: #f3eee2; }
.sd-dot { font-style: normal; background: #b3261e; color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: inline-grid; place-items: center; padding: 0 5px; }
.sd-main { min-width: 0; } .sd-sec { margin-bottom: 36px; scroll-margin-top: 90px; } .sd-title { font-size: 22px; margin: 0 0 14px; }
.sd-card { background: var(--panel, #fff); border: 1px solid #e0d8c8; padding: 20px 22px; margin-bottom: 18px; }
.sd-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .sd-card-head h2 { margin: 0; font-size: 20px; } .sd-count { font-size: 13px; color: #766b5e; }
.sd-progress { height: 8px; background: #eee8da; border-radius: 99px; margin: 12px 0 14px; overflow: hidden; } .sd-progress i { display: block; height: 100%; background: #40584b; border-radius: 99px; }
.sd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 18px; }
.sd-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; } .sd-steps small { color: #766b5e; display: block; }
.sd-tick { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; border: 2px solid #cfc5b3; display: grid; place-items: center; font-size: 12px; color: #fff; margin-top: 1px; } .sd-steps li.done .sd-tick { background: #40584b; border-color: #40584b; } .sd-steps li.done { color: #766b5e; }
.sd-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.sd-tile { background: var(--panel, #fff); border: 1px solid #e0d8c8; padding: 16px 18px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 2px; } .sd-tile:hover { border-color: #40584b; }
.sd-tile b { font-size: 28px; line-height: 1.2; } .sd-tile-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #766b5e; } .sd-tile small { color: #766b5e; font-size: 12px; } .sd-tile.hot { border-color: #b36b00; background: #fff8ea; }
.sd-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.sd-action { display: flex; flex-direction: column; gap: 4px; background: #40584b; color: #fff; padding: 18px 20px; text-decoration: none; } .sd-action b { font-size: 17px; } .sd-action span { font-size: 13px; opacity: .85; line-height: 1.5; }
.sd-action:nth-child(n+2) { background: var(--panel, #fff); color: inherit; border: 1px solid #d3c9ba; } .sd-action:nth-child(n+2):hover { border-color: #40584b; } .sd-action.off { background: #eee8da !important; color: #766b5e !important; border: 1px dashed #cfc5b3 !important; }
.sd-empty { background: var(--panel, #fff); border: 1px dashed #cfc5b3; padding: 22px; text-align: center; } .sd-empty p { color: #766b5e; margin: 6px 0 14px; }
.sd-money { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 14px; }
.sd-money > div { background: var(--panel, #fff); border: 1px solid #e0d8c8; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; } .sd-money small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #766b5e; } .sd-money b { font-size: 22px; } .sd-money span { font-size: 12px; color: #766b5e; }
.sd-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; } .sd-help a { background: var(--panel, #fff); border: 1px solid #e0d8c8; padding: 16px 18px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 4px; } .sd-help a:hover { border-color: #40584b; } .sd-help span { font-size: 13px; color: #766b5e; }
.sd .account-card, .sd .status-card { max-width: none; }
@media (max-width: 860px) {
  .sd-layout { grid-template-columns: 1fr; }
  .sd-nav { position: sticky; top: 56px; z-index: 5; flex-direction: row; overflow-x: auto; white-space: nowrap; padding: 6px; gap: 4px; } .sd-nav a { flex: 0 0 auto; gap: 8px; }
  .sd-hero { padding: 20px; }
}

/* Profile dropdown (logged-in users) */
.account-menu { position: relative; }
.account-toggle { background: none; border: 0; padding: 0; cursor: pointer; }
.account-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 14px); min-width: 190px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0,0,0,.14);
  padding: 6px 0; z-index: 50;
}
.account-menu.open .account-dropdown { display: block; }
.account-dropdown a, .account-dropdown button {
  display: block; width: 100%; text-align: left; padding: 11px 18px; background: none; border: 0;
  color: var(--ink); font: inherit; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; white-space: nowrap;
}
.account-dropdown a:hover, .account-dropdown button:hover { color: var(--accent); background: rgba(0,0,0,.03); }
.account-dropdown form { margin: 0; border-top: 1px solid var(--line); }
.account-dropdown .wallet-pill { margin-left: 6px; }

/* Customer account dashboard: wallet notes */
.wallet-rules { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.6; }

/* ======================================================================
   1place storefront design - "Atelier"
   Editorial boutique look of our own: warm parchment page, indigo + saffron (the logo colours),
   Playfair headings, arch-shaped (mehrab) picture frames, hairline rules, square buttons and
   gallery-style product tiles. Phones (up to 768px) and desktop (769px and up) share the same
   markup (layout() header + mobile.js on the server, public/mobile.js for behaviour).
   ====================================================================== */
:root {
  --bg: #f7f2ea; --paper: #fffdf9; --ink: #25202d; --muted: #6f665b; --line: #e3dbcc;
  --m-tint: #f7f2ea; --m-navy: #1c1050; --m-navy-2: #2d2080; --m-cta: #1c1050; --m-cta-dark: #2d2080;
  --m-ink: #25202d; --m-price: #1c1050; --m-line: #e3dbcc;
  --saffron: #eca030; --saffron-soft: rgba(236,160,48,.2); --indigo-soft: rgba(28,16,80,.07); --clay: #8e4e36;
  --d-shadow: 0 1px 0 rgba(28,16,80,.04), 0 14px 30px -20px rgba(28,16,80,.4);
  --d-shadow-up: 0 22px 36px -22px rgba(28,16,80,.5);
  --arch: 999px 999px 0 0;
}
body { background-color: var(--bg); }
::selection { background: var(--saffron); color: #1b1200; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--m-navy); outline-offset: 2px; }

/* price pieces used by the product cards */
.price { font-family: "DM Sans", sans-serif; font-weight: 700; color: var(--m-navy); letter-spacing: .01em; }
.price.sale { color: var(--m-navy); }
.mrp { text-decoration: line-through; color: #8a8175; font-size: 13px; margin-left: 0; font-weight: 400; }
.m-off-text { display: inline; color: var(--clay); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* everything phone-only is hidden by default */
.m-only, .m-head, .m-bg, .m-bar, .m-tabbar, .m-sheet, .m-cart-top, .m-sentinel { display: none; }

/* ---------- Buttons: square, small caps, indigo; saffron on hover ---------- */
.button { border-radius: 2px; text-transform: uppercase; letter-spacing: .13em; font-size: 11.5px; font-weight: 700; min-height: 46px; padding: 13px 26px;
  background: var(--m-navy); border: 1.5px solid var(--m-navy); color: #fff; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.button:hover { background: var(--saffron); border-color: var(--saffron); color: #1b1200; transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(236,160,48,.9); }
.button:active { transform: none; box-shadow: none; }
.button-small { min-height: 40px; padding: 9px 18px; font-size: 11px; }
.button.cta { background: var(--m-navy); border-color: var(--m-navy); color: #fff; }
.button.cta:hover, .button.cta:active { background: var(--saffron); border-color: var(--saffron); color: #1b1200; }
.button.secondary { background: transparent; border-color: var(--m-navy); color: var(--m-navy); }
.button.secondary:hover { background: var(--m-navy); border-color: var(--m-navy); color: #fff; box-shadow: none; }
.button-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.button-danger:hover { background: #8a2823; border-color: #8a2823; color: #fff; }
.button[disabled], .button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; background: #d9d2c4; border-color: #d9d2c4; color: #5d554a; }
.text-link { border-bottom: 1px solid var(--saffron); color: var(--m-navy); padding: 0 0 3px; border-radius: 0; margin-left: 0; }
.text-link:hover { color: var(--clay); background: none; }

/* ---------- Headings ---------- */
.page-intro h1, .page-title { font: 500 clamp(30px, 3.4vw, 44px)/1.1 "Playfair Display", Georgia, serif; letter-spacing: -.01em; color: var(--m-navy); }
.section-heading { margin: 52px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--m-line); }
.section-heading h2 { font: 500 clamp(24px, 2.6vw, 34px)/1.15 "Playfair Display", Georgia, serif; letter-spacing: -.005em; color: var(--m-navy); }
.section-heading a { border: 0; border-bottom: 1px solid var(--saffron); border-radius: 0; padding: 0 0 3px; color: var(--m-navy); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.section-heading a:hover { background: none; color: var(--clay); }
.eyebrow { color: var(--clay); }

/* ---------- Search (shared) ---------- */
.m-search { display: flex; align-items: center; height: 44px; background: transparent; border: 0; border-bottom: 1px solid var(--m-ink); border-radius: 0; padding: 0; margin: 0; transition: border-color .2s, box-shadow .2s; }
.m-search:hover { border-bottom-color: var(--m-navy); }
.m-search:focus-within { border-bottom-color: var(--saffron); box-shadow: 0 1px 0 var(--saffron); }
.m-search button { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: none; color: var(--m-navy); padding: 0; cursor: pointer; border-radius: 50%; transition: color .2s, background .2s; }
.m-search button:hover { color: var(--clay); }
.m-search [hidden] { display: none; }
.m-search button svg { width: 20px; height: 20px; }
.m-search input { flex: 1; min-width: 0; border: 0; outline: 0 !important; box-shadow: none !important; background: transparent; font-size: 15px; padding: 0 4px; height: 100%; color: var(--m-ink); border-radius: 0; }
.m-search input::placeholder { color: #7f766a; letter-spacing: .02em; }
.m-search input::-webkit-search-cancel-button { display: none; }
.m-mic.listening { color: var(--clay); animation: m-pulse 1s infinite; }
@keyframes m-pulse { 50% { opacity: .35; } }
.m-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--paper); border: 1px solid var(--m-line); border-radius: 2px; box-shadow: 0 18px 34px -14px rgba(28,16,80,.4); overflow: hidden; z-index: 70; }
.m-suggest[hidden] { display: none; }
.m-suggest a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; font-size: 14.5px; border-bottom: 1px solid #efe8da; transition: background .15s, padding .15s; }
.m-suggest a:hover { background: var(--saffron-soft); padding-left: 22px; }
.m-suggest a:last-child { border-bottom: 0; }
.m-suggest a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-suggest a small { flex: none; color: var(--muted); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Delivery PIN sheet ---------- */
.m-sheet[hidden] { display: none; }
.m-sheet-scrim { position: absolute; inset: 0; background: rgba(20,14,40,.55); }
.m-sheet-panel { background: var(--paper); }
.m-sheet-panel h3 { font: 500 22px "Playfair Display", Georgia, serif; margin: 0 0 4px; color: var(--m-navy); }
.m-sheet-panel p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.m-sheet-form { display: flex; gap: 10px; }
.m-sheet-form input { flex: 1; min-width: 0; height: 48px; border: 1px solid #b9ae9b; border-radius: 2px; padding: 0 14px; font-size: 18px; letter-spacing: .12em; background: #fff; }
.m-sheet-form input::placeholder { letter-spacing: 0; font-size: 15px; color: #8b8378; }
.m-sheet-form input:focus { outline: 2px solid var(--m-navy); outline-offset: 0; border-color: transparent; }
.m-sheet-form .button { flex: none; min-width: 96px; }
.m-sheet .m-sheet-msg { margin: 12px 0 0; font-size: 14px; color: #1f7a45; }
.m-sheet .m-sheet-msg.bad { color: var(--danger); font-weight: 600; }
body.m-noscroll { overflow: hidden; }

/* ---------- Product tiles: gallery style (shop grid + home rows) ---------- */
.product-grid { gap: 30px 20px; }
.product-card { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; transition: transform .25s; }
.product-card:hover { transform: translateY(-4px); }
.product-art { aspect-ratio: 4 / 5; border-radius: 2px; background: #fff; }
.wishlist-btn { right: 10px; top: 10px; width: 34px; height: 34px; background: rgba(255,253,249,.95); color: var(--m-navy); box-shadow: none; border: 1px solid var(--m-line); transition: color .2s, background .2s, transform .2s; }
.wishlist-btn:hover { color: var(--clay); background: #fff; transform: scale(1.08); }
.wishlist-btn.on { color: var(--clay); }
.brand-tag, .product-brand { display: none; }
.stock-tag { left: 0; bottom: 10px; border-radius: 0 2px 2px 0; background: var(--m-ink); }
.product-info { padding-top: 12px; gap: 4px; }
.product-name { font: 500 17px/1.3 "Playfair Display", Georgia, serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--m-ink); transition: color .2s; }
.product-name:hover, .product-card:hover .product-name { color: var(--m-navy); }
.product-seller { font-size: 12px; color: var(--muted); margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.rating-line { font-size: 12px; margin-top: 3px; }
.stars { color: #c68a1e; }
.product-info > div:last-child { align-items: baseline; gap: 2px 8px; }
.product-info .price { font-size: 16px; }
.product-card-actions { margin-top: 12px; }
.product-card-actions .button { min-height: 40px; width: 100%; padding: 9px 12px; background: transparent; color: var(--m-navy); border-color: var(--m-navy); }
.product-card-actions .button:hover { background: var(--m-navy); border-color: var(--m-navy); color: #fff; box-shadow: none; }
.product-card-actions .button[disabled] { background: transparent; border-color: #cfc6b4; color: #8a8175; }
.product-card.sold-out .product-art img { filter: grayscale(.85); opacity: .6; }

/* discount ribbon (replaces the old round red badge) */
.m-badge { position: absolute; left: 0; top: 10px; bottom: auto; background: var(--clay); color: #fffaf0; font: 700 10.5px "DM Sans", sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px 5px 8px; border-radius: 0 2px 2px 0; }

/* ---------- Home ---------- */
.m-intro { text-align: center; padding: 30px 16px 4px; max-width: 760px; margin: 0 auto; }
.m-intro .eyebrow { margin-bottom: 10px; }
.m-intro h1, .m-intro .m-title { font: 500 clamp(32px, 6vw, 56px)/1.05 "Playfair Display", Georgia, serif; letter-spacing: -.02em; color: var(--m-navy); margin: 0; }
.m-intro h1 em, .m-intro .m-title em { font-style: italic; color: var(--clay); }

/* promo arches */
.m-hero-card { position: relative; display: flex; flex-direction: column; color: var(--m-ink); background: none; border-radius: 0; overflow: visible; isolation: auto; box-shadow: none; transition: transform .3s; }
.m-hero-card:hover { transform: translateY(-6px); }
.m-hero-card .m-hero-bg, .m-hero-shade { display: none; }
.m-hero-card img:not(.m-hero-bg):not(.m-hero-illus) { order: 1; position: static; inset: auto; z-index: 0; width: calc(100% - 20px); height: auto; margin: 10px; aspect-ratio: 3 / 4; object-fit: contain; padding: 10% 8% 8%; box-sizing: border-box;
  background: #fff; border-radius: var(--arch); mix-blend-mode: normal; filter: none; transition: transform .5s; box-shadow: 0 0 0 10px #eadfcb; }
.m-hero-card:hover img:not(.m-hero-bg):not(.m-hero-illus) { transform: scale(1.02); }
.m-hero-card:nth-child(4n+2) img:not(.m-hero-bg):not(.m-hero-illus) { box-shadow: 0 0 0 10px #efd6c8; }
.m-hero-card:nth-child(4n+3) img:not(.m-hero-bg):not(.m-hero-illus) { box-shadow: 0 0 0 10px #d6dfd3; }
.m-hero-card:nth-child(4n+4) img:not(.m-hero-bg):not(.m-hero-illus) { box-shadow: 0 0 0 10px #dcd8ec; }
.m-hero-copy { order: 2; position: static; display: flex; flex-direction: column-reverse; align-items: center; gap: 3px; margin-top: 14px; text-align: center; }
.m-hero-copy small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 1; }
.m-hero-copy strong { font: 500 clamp(19px, 1.7vw, 24px)/1.15 "Playfair Display", Georgia, serif; letter-spacing: -.005em; color: var(--m-navy); text-shadow: none; }
.m-hero-cta { order: 3; position: static; align-self: center; display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; background: none; color: var(--m-navy); font: 700 11px "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 0 0 3px; border-radius: 0; border-bottom: 1px solid var(--saffron); transition: gap .2s, color .2s; }
.m-hero-cta svg { width: 14px; height: 14px; }
.m-hero-card:hover .m-hero-cta { background: none; color: var(--clay); gap: 8px; }
.m-hero-card.m-hero-sell { background: none; }
.m-hero-card.m-hero-sell .m-hero-illus { order: 1; position: static; inset: auto; z-index: 0; width: calc(100% - 20px); height: auto; max-height: none; margin: 10px; aspect-ratio: 3 / 4; object-fit: contain; padding: 14% 6% 10%; box-sizing: border-box; background: var(--m-navy); border-radius: var(--arch); box-shadow: 0 0 0 10px #dcd8ec; transition: transform .5s; }
.m-hero-card.m-hero-sell:hover .m-hero-illus { transform: scale(1.02); }
.m-hero-sell .m-hero-copy strong { color: var(--m-navy); }
.m-hero-sell .m-hero-copy small { color: var(--clay); font-weight: 700; }
.m-hero-art { display: none; }

/* quick links: a ruled strip instead of icon tiles */
.m-quick { display: flex; overflow-x: auto; scrollbar-width: none; border-block: 1px solid var(--m-line); }
.m-quick::-webkit-scrollbar { display: none; }
.m-quick a { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m-ink); white-space: nowrap; transition: background .2s, color .2s; }
.m-quick a + a { border-left: 1px solid var(--m-line); }
.m-quick i { display: grid; place-items: center; color: var(--m-navy); }
.m-quick i svg { width: 19px; height: 19px; }
.m-quick a:hover { background: var(--saffron-soft); color: var(--m-navy); }

.m-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 40px 0 14px; margin-bottom: 18px; border-bottom: 1px solid var(--m-line); }
.m-sec h2 { font: 500 clamp(24px, 2.6vw, 34px)/1.15 "Playfair Display", Georgia, serif; letter-spacing: -.005em; margin: 0; color: var(--m-navy); }
.m-sec a { display: inline-flex; align-items: center; gap: 2px; color: var(--m-navy); font-weight: 700; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; padding: 0 0 3px; border-bottom: 1px solid var(--saffron); transition: color .2s; }
.m-sec a svg { width: 14px; height: 14px; }
.m-sec a:hover { color: var(--clay); background: none; }

/* category tiles: gallery frames */
.m-cattile { display: flex; flex-direction: column; gap: 10px; text-align: center; color: var(--m-ink); transition: color .2s; }
.m-cattile-img { position: relative; display: block; aspect-ratio: 1; border-radius: 2px; overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.m-cattile-img::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(236,160,48,.65); border-radius: 1px; pointer-events: none; }
.m-cattile-img img { width: 100%; height: 100%; display: block; transition: transform .5s; }
.m-cattile:hover .m-cattile-img { transform: translateY(-4px); box-shadow: var(--d-shadow-up); }
.m-cattile:hover .m-cattile-img img { transform: scale(1.05); }
.m-cattile-name { font: 700 11.5px/1.3 "DM Sans", sans-serif; letter-spacing: .13em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-cattile:hover .m-cattile-name { color: var(--clay); }

/* featured pick: a dark indigo panel */
.m-feature { display: grid; background: var(--m-navy); color: #fbf8f1; border-radius: 2px; overflow: hidden; box-shadow: none; transition: transform .25s, box-shadow .25s; }
.m-feature:hover { box-shadow: var(--d-shadow-up); }
.m-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; min-width: 0; }
.m-tag { background: none; color: var(--saffron); font: 700 11px "DM Sans", sans-serif; letter-spacing: .18em; text-transform: uppercase; padding: 0 0 4px; border-radius: 0; border-bottom: 1px solid var(--saffron); }
.m-feature-copy strong { font: 500 clamp(22px, 2.6vw, 34px)/1.15 "Playfair Display", Georgia, serif; letter-spacing: -.005em; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.m-feature-rate { font-size: 14px; color: #cfc9e6; } .m-feature-rate .stars { color: var(--saffron); }
.m-feature-price { font-size: 15px; color: #fbf8f1; }
.m-feature-price b { font: 600 clamp(24px, 2.4vw, 32px) "DM Sans", sans-serif; color: var(--saffron); }
.m-feature-price s { color: #b7b0d4; font-size: 14px; margin-left: 6px; }
.m-feature-save { color: #f6d98a; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.m-feature-img { display: block; background: #fff; overflow: hidden; }
.m-feature-img img { width: 100%; height: 100%; display: block; transition: transform .6s; }
.m-feature:hover .m-feature-img img { transform: scale(1.05); }

.m-panel { background: none; border-radius: 0; box-shadow: none; margin-top: 8px; }
.m-tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--m-ink); transition: transform .25s; }
.m-tile:hover { transform: translateY(-4px); background: none; box-shadow: none; }
.m-tile-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 2px; overflow: hidden; background: #fff; }
.m-tile-img img { width: 100%; height: 100%; display: block; transition: transform .5s; }
.m-tile:hover .m-tile-img img { transform: scale(1.05); }
.m-tile-name { font: 500 16px/1.3 "Playfair Display", Georgia, serif; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.m-tile:hover .m-tile-name { color: var(--m-navy); }
.m-tile-rate { font-size: 12.5px; color: var(--muted); } .m-tile-rate i { color: #c68a1e; font-style: normal; }
.m-tile-price { font-size: 14px; } .m-tile-price b { font-size: 16px; font-weight: 700; color: var(--m-navy); }
.m-tile-price b.out { color: var(--danger); font-size: 13px; }
.m-tile-price s { color: #8a8175; font-size: 12.5px; }
.m-tile.sold-out .m-tile-img img { filter: grayscale(.85); opacity: .55; }

/* ---------- Shop filters, product page, cart and cards ---------- */
.filters { background: none; border: 0; border-right: 1px solid var(--m-line); border-radius: 0; padding: 4px 22px 4px 0; box-shadow: none; }
.filter-block h3 { font: 700 11px "DM Sans", sans-serif; letter-spacing: .18em; color: var(--clay); }
.filter-block a { margin: 0; padding: 8px 0 8px 12px; border-left: 2px solid transparent; border-radius: 0; font-size: 14px; color: var(--m-ink); transition: color .15s, border-color .15s, padding .15s; }
.filter-block a:hover { color: var(--m-navy); border-left-color: var(--saffron); padding-left: 16px; background: none; }
.filter-block a.active { background: none; color: var(--m-navy); font-weight: 700; border-left-color: var(--m-navy); }
.filter-block a.active:before { content: ""; }
.shop-toolbar { color: var(--m-ink); font-size: 14px; }
.shop-toolbar select { border: 1px solid #b9ae9b; border-radius: 2px; background: #fff; padding: 9px 14px; font-size: 14px; cursor: pointer; }
.shop-toolbar select:hover { border-color: var(--m-navy); }

.gallery-stage, .detail-image { border-radius: 2px; background: #fff; box-shadow: none; border: 1px solid var(--m-line); }
.gallery-media img { object-fit: contain; }
.thumb { border-radius: 2px; transition: border-color .2s, transform .2s; }
.thumb:hover { border-color: var(--saffron); transform: translateY(-2px); }
.thumb.active { border-color: var(--m-navy); }
.detail-copy { background: transparent; border-radius: 0; box-shadow: none; }
.detail-copy h1 { font: 500 clamp(28px, 3vw, 40px)/1.12 "Playfair Display", Georgia, serif; letter-spacing: -.01em; color: var(--m-navy); margin: 8px 0 12px; }
.detail-price { color: var(--m-navy); font-size: 30px !important; font-weight: 700; margin: 10px 0 !important; }
.chip span { border-radius: 2px; transition: border-color .2s, background .2s, color .2s; }
.chip:hover span { border-color: var(--m-navy); background: var(--indigo-soft); }
.reviews { background: var(--paper); border: 1px solid var(--m-line); border-radius: 2px; box-shadow: none; }
.off-tag { background: var(--saffron-soft); color: #6b4a08; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; border-radius: 2px; }

.cart-row { background: var(--paper); border: 1px solid var(--m-line); border-radius: 2px; box-shadow: none; transition: border-color .2s; }
.cart-row:hover { border-color: #c9bfae; }
.cart-product h3 { font: 500 18px/1.3 "Playfair Display", Georgia, serif; }
.qty { border-radius: 2px; overflow: hidden; border-color: #b9ae9b; background: #fff; }
.qty button { transition: background .15s, color .15s; }
.qty button:hover:not(:disabled) { background: var(--m-navy); color: #fff; }
.remove-btn { transition: color .2s; } .remove-btn:hover { color: var(--clay); }
.summary-box, .cart-summary { background: var(--paper); border: 1px solid var(--m-line); border-radius: 2px; box-shadow: none; }
.co-card, .account-card, .form-card, .panel, .story-card, .empty-state { background: var(--paper); border: 1px solid var(--m-line); border-radius: 2px; box-shadow: none; }
.co-card input:hover, .co-card textarea:hover, .account-card .field input:hover, .account-card .field textarea:hover, .account-card .field select:hover { border-color: var(--m-navy); }
.order-row { border-radius: 2px; }
.cat-tile, .trust-item, .guide-card, .store-cats a { border-radius: 2px; background: var(--paper); }
.trust-item strong { color: var(--m-navy); }
.account-dropdown { background: var(--paper); border: 1px solid var(--m-line); border-radius: 2px; box-shadow: 0 18px 34px -14px rgba(28,16,80,.4); }
.account-dropdown a, .account-dropdown button { border-radius: 0; letter-spacing: 0; text-transform: none; transition: background .15s, color .15s; }
.account-dropdown a:hover, .account-dropdown button:hover { background: var(--saffron-soft); color: var(--m-navy); }
.footer a { transition: color .2s; }
.footer a:hover { color: #f6c25f; }
.trust-badge-item { border-radius: 2px; }

/* ======================= PHONES (up to 768px) ======================= */
@media (max-width: 768px) {
  body { position: relative; padding-bottom: calc(92px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
  main { animation: none; min-height: 50vh; }
  .announcement, .site-header, .mobile-app-bar, .nav-scrim { display: none !important; }
  .d-only { display: none !important; }
  .m-only { display: block; }
  .m-cart-top { display: block; }
  .button { min-height: 48px; }

  /* header: centred logo, underline search, delivery line, text category tabs */
  .m-head { display: contents; }
  .m-sentinel { display: block; height: 1px; margin-bottom: -1px; }
  .m-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: calc(8px + env(safe-area-inset-top)) 12px 2px 16px; min-height: 56px; }
  .m-top::before { content: ""; }
  .m-logo { display: block; }
  .m-logo img { display: block; height: 42px; width: auto; max-width: 150px; mix-blend-mode: multiply; }
  .m-top-icon { position: relative; justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; color: var(--m-navy); }
  .m-top-icon svg { width: 23px; height: 23px; }
  .m-dot { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--saffron); color: #1b1200; font: 800 10px/17px "DM Sans", sans-serif; text-align: center; }
  .m-searchwrap { position: sticky; top: 0; z-index: 60; padding: 4px 16px 8px; background: var(--bg); transition: box-shadow .2s; }
  body.m-scrolled .m-searchwrap { box-shadow: 0 8px 14px -12px rgba(28,16,80,.45); padding-top: calc(6px + env(safe-area-inset-top)); }
  .m-deliver { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 16px 0; min-height: 40px; }
  .m-pin { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0; border: 0; background: none; color: var(--m-ink); font: 500 13.5px "DM Sans", sans-serif; text-align: left; cursor: pointer; }
  .m-pin svg { flex: none; width: 18px; height: 18px; color: var(--clay); }
  .m-pin svg:last-child { width: 14px; height: 14px; color: var(--m-ink); }
  .m-pin-text { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-pill { flex: none; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--m-navy); font: 700 10.5px "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 0 0 3px; border-bottom: 1px solid var(--saffron); }
  .m-cats { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 10px; margin: 6px 0 4px; border-block: 1px solid var(--m-line); }
  .m-cats::-webkit-scrollbar { display: none; }
  .m-cat { flex: none; display: flex; align-items: center; padding: 13px 11px 11px; color: var(--m-ink); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; }
  .m-cat svg { display: none; }
  .m-cat span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  .m-cat.active { color: var(--m-navy); font-weight: 800; border-bottom-color: var(--saffron); }

  /* compact + mini bars (every other page) */
  .m-bar { display: block; position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--m-line); padding-top: env(safe-area-inset-top); }
  .m-bar-row { display: flex; align-items: center; gap: 4px; padding: 7px 12px 7px 4px; }
  .m-bar-row .m-logo { padding: 0 6px 0 12px; }
  .m-searchbox { position: relative; flex: 1; min-width: 0; }
  .m-bar .m-search { height: 40px; background: #fff; border: 1px solid #cdc3b1; border-radius: 2px; padding: 0 4px; }
  .m-bar .m-search:focus-within { border-color: var(--m-navy); box-shadow: none; }
  .m-bar .m-search button { width: 36px; height: 36px; }
  .m-back { flex: none; display: grid; place-items: center; width: 44px; height: 44px; color: var(--m-navy); }
  .m-back svg { width: 22px; height: 22px; }
  .m-bar-mini { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding-left: 4px; padding-right: 4px; }
  .m-bar-mini .m-logo img { height: 30px; }
  .m-bar-gap { width: 44px; }
  .m-suggest { left: 16px; right: 16px; top: calc(100% - 2px); }
  .m-bar .m-suggest { left: 0; right: 0; top: calc(100% + 6px); }

  /* delivery PIN bottom sheet */
  .m-sheet { display: block; position: fixed; inset: 0; z-index: 120; }
  .m-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 14px 14px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); animation: m-up .25s ease-out; }
  @keyframes m-up { from { transform: translateY(40px); opacity: 0; } }
  .m-sheet-grab { width: 42px; height: 4px; border-radius: 3px; background: #d6cfc0; margin: 0 auto 14px; }

  /* floating indigo dock */
  .m-tabbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80; background: var(--m-navy); border-radius: 14px; box-shadow: 0 16px 30px -12px rgba(28,16,80,.65); }
  .m-tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 11px 0 9px; color: rgba(251,248,241,.7); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
  .m-tabbar svg { width: 22px; height: 22px; }
  .m-tabbar a.active { color: #fff; font-weight: 800; }
  .m-tabbar a.active::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 0 0 3px 3px; background: var(--saffron); }
  .m-tab-badge { position: absolute; top: 4px; left: 50%; margin-left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--saffron); color: #1b1200; font: 800 10.5px/18px "DM Sans", sans-serif; text-align: center; letter-spacing: 0; }
  body.m-pdp .m-tabbar, body.m-notabs .m-tabbar { display: none; }
  body.m-notabs, body.m-pdp { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  body.m-pdp { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

  /* home */
  .m-home { overflow-x: hidden; padding-bottom: 8px; }
  .m-intro { padding: 22px 20px 0; }
  .m-hero { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; padding: 22px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-hero::-webkit-scrollbar { display: none; }
  .m-hero-card { flex: 0 0 58%; max-width: 240px; scroll-snap-align: start; }
  .m-quick { margin: 18px 0 0; }
  .m-quick a { padding: 14px 16px; }
  .m-sec { padding: 34px 16px 12px; margin: 0 0 16px; }
  .m-sec { margin-left: 16px; margin-right: 16px; padding-left: 0; padding-right: 0; }
  .m-cattiles { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 6px; }
  .m-cattiles::-webkit-scrollbar { display: none; }
  .m-cattile { flex: 0 0 118px; }
  .m-feature { grid-template-columns: 1.1fr 1fr; margin: 30px 16px 0; min-height: 210px; }
  .m-feature-copy { padding: 18px 14px 18px 18px; gap: 7px; }
  .m-feature-copy strong { font-size: 20px; }
  .m-panel .m-sec { padding-top: 30px; }
  .m-row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 4px; scroll-padding-left: 16px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .m-row::-webkit-scrollbar { display: none; }
  .m-tile { flex: 0 0 148px; scroll-snap-align: start; }
  .m-pad { padding: 20px 14px 0; }
  .m-pad .seller-band { margin: 6px 0 0; padding: 26px 20px; border-radius: 2px; gap: 22px; }
  .m-pad .seller-band h2 { font-size: 32px; }
  .m-pad .empty-state { padding: 40px 18px; }

  /* shop / search results: 2 columns */
  body.m-mode-full .page { padding: 0 0 24px; }
  .shop-intro, .filters, .page .searchbar { display: none; }
  .shop-layout { display: block; margin-top: 0; }
  .shop-toolbar { padding: 8px 16px 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; padding: 0 14px; }
  .product-name { font-size: 15px; }
  .product-info .price { font-size: 15px; }
  .product-card-actions { margin-top: 10px; }
  .product-card-actions .button { min-height: 38px; font-size: 10.5px; padding: 8px 6px; letter-spacing: .1em; }

  /* product page */
  body.m-pdp .page { padding: 0 0 28px; }
  body.m-pdp .page > .text-link:first-child { display: none; }
  body.m-pdp .breadcrumbs { padding: 10px 16px 6px; margin: 0; }
  body.m-pdp .page > .text-link { margin: 4px 16px 12px; }
  .product-detail { margin-top: 0; gap: 0; }
  .gallery-stage { aspect-ratio: 1 / 1; border: 0; border-bottom: 1px solid var(--m-line); }
  .gallery-thumbs { padding: 10px 14px 6px; margin: 0; background: #fff; }
  .detail-copy { padding: 18px 16px 6px; margin-top: 0; }
  .detail-copy .eyebrow { margin-bottom: 2px; letter-spacing: .14em; font-size: 10.5px; line-height: 1.5; }
  .detail-copy h1 { font-size: 27px; margin: 4px 0 8px; }
  .detail-price { font-size: 26px !important; margin: 8px 0 !important; }
  .detail-copy .off-tag { font-size: 11px; }
  .detail-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; margin: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; flex-wrap: nowrap; background: var(--paper); border-top: 1px solid var(--m-line); box-shadow: 0 -10px 20px -14px rgba(28,16,80,.35); }
  .detail-actions > .button, .detail-actions > form { flex: 1 1 0; min-width: 0; }
  .detail-actions .button { width: 100%; padding-left: 10px; padding-right: 10px; }
  .detail-note { margin: 0; padding: 16px 0; }
  .pin-check { margin: 18px 0 4px; }
  body.m-pdp .page > .reviews { margin: 10px 14px 0; padding: 8px 16px 18px; }
  body.m-pdp .page > .section-heading { padding: 0 0 10px; margin: 30px 16px 14px; }
  body.m-pdp .page > .product-grid { margin: 0; }

  /* cart */
  .m-cart-top { background: var(--paper); border-block: 1px solid var(--m-line); padding: 16px; margin-bottom: 12px; }
  .m-cart-top p { margin: 0 0 12px; font-size: 17px; } .m-cart-top p b { font: 600 24px "DM Sans", sans-serif; color: var(--m-navy); }
  .m-cart-top .button { width: 100%; }
  .cart-wrap { padding: 0 14px 24px; gap: 4px; }
  .cart-row { padding: 12px; margin-bottom: 12px; grid-template-columns: 92px 1fr; gap: 12px; }
  .cart-row img { width: 92px; height: 92px; border-radius: 2px; }
  .cart-product h3 { font-size: 16px; }
  .qty button { width: 40px; height: 38px; }
  .cart-line .button { max-width: none; }
  .page-intro { padding: 20px 16px 4px; }
  .page-intro h1 { font-size: 31px; margin: 2px 0 6px; }
  .page-intro .eyebrow { display: none; }
  .page-body { padding-left: 14px; padding-right: 14px; padding-bottom: 40px; }
  .notice, .guest-notice, .page-intro + .notice, .page-intro ~ .notice { margin: 8px 12px; border-radius: 2px; max-width: none; }
  .page-body > .notice { margin-left: 0; margin-right: 0; }

  /* Menu tab */
  .m-menu { padding: 6px 16px 24px; }
  .m-menu h2 { font: 500 24px "Playfair Display", Georgia, serif; color: var(--m-navy); margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--m-line); }
  .m-menu-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .m-menu-cats a { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--m-line); border-radius: 2px; padding: 14px 6px 12px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--m-ink); min-width: 0; }
  .m-menu-cats a span { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .m-menu-cats i, .m-list i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--indigo-soft); color: var(--m-navy); }
  .m-menu-cats i svg { width: 24px; height: 24px; }
  .m-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--m-line); border-radius: 2px; overflow: hidden; }
  .m-list li + li { border-top: 1px solid #efe8da; }
  .m-list a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-size: 15.5px; color: var(--m-ink); }
  .m-list a span { flex: 1; min-width: 0; }
  .m-list i { width: 36px; height: 36px; }
  .m-list i svg { width: 19px; height: 19px; }
  .m-list a > svg { width: 16px; height: 16px; color: #8b8378; flex: none; }
  .m-chip { font-style: normal; background: var(--saffron); color: #3a2503; font-weight: 700; font-size: 11.5px; padding: 2px 9px; border-radius: 2px; }
  .m-muted { color: var(--muted); }
  .m-logout { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; padding: 13px; border: 1px solid var(--m-navy); border-radius: 2px; background: transparent; color: var(--m-navy); font: 700 11.5px "DM Sans", sans-serif; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
  .m-logout svg { width: 19px; height: 19px; }

  /* footer + generic pages */
  .footer { padding: 30px 18px 22px; }
  .footer h3 { font-size: 22px; }
  .page-body, .page { overflow-x: hidden; }
  .form-card, .panel { margin-bottom: 30px; }
  .empty-state { padding: 50px 20px; }
  .empty-state h2 { font-size: 28px; }
}

/* ======================= DESKTOP + TABLET (769px and up) ======================= */
@media (min-width: 769px) {
  body.m-mode-full { background-color: var(--bg); }
  .d-only { display: none !important; }
  .m-home.m-only { display: block; max-width: 1320px; margin: 0 auto; padding: 6px clamp(16px, 3vw, 48px) 56px; }

  /* header: [search + PIN] [centred logo] [actions], then the category line */
  .menu-toggle, .nav, .nav-scrim { display: none !important; }
  .site-header { height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "left logo actions" "row2 row2 row2";
    align-items: center; gap: 4px 28px; padding: 10px clamp(16px, 3vw, 48px) 0; z-index: 60; background-color: rgba(255,253,249,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--m-line); box-shadow: none; }
  .logo { grid-area: logo; justify-self: center; }
  .logo img { width: 122px; height: 54px; }
  .dh-left { grid-area: left; display: flex; align-items: center; gap: 22px; min-width: 0; }
  .dh-search { position: relative; flex: 1 1 auto; min-width: 150px; max-width: 320px; }
  .dh-pin { flex: none; display: flex; align-items: center; gap: 8px; padding: 2px 0 2px 20px; border: 0; border-left: 1px solid var(--m-line); border-radius: 0; background: none; color: var(--m-ink); cursor: pointer; text-align: left; transition: color .2s; }
  .dh-pin:hover { color: var(--clay); }
  .dh-pin svg { width: 20px; height: 20px; flex: none; color: var(--clay); }
  .dh-pin-text { display: flex; flex-direction: column; line-height: 1.25; }
  .dh-pin-text small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .dh-pin-text b { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
  .header-actions { grid-area: actions; justify-self: end; gap: 2px; }
  .dh-row2 { grid-area: row2; display: flex; align-items: center; gap: 16px; border-top: 1px solid #ece4d5; margin-top: 4px; }

  .icon-link, .account-toggle { flex-direction: column; gap: 3px; min-width: 60px; padding: 6px 10px; border-radius: 2px; transition: color .2s, transform .2s; }
  .icon-link { display: flex; align-items: center; justify-content: center; color: var(--m-navy); }
  .icon-link:hover, .account-menu.open .account-toggle { background: none; color: var(--clay); transform: translateY(-1px); }
  .icon-link svg { width: 21px; height: 21px; }
  .dh-lbl { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; font-weight: 700; }
  .count-dot { top: 0; right: 12px; background: var(--saffron); color: #1b1200; }
  .account-toggle { display: flex; align-items: center; color: var(--m-navy); }
  .account-dropdown { top: calc(100% + 8px); min-width: 210px; padding: 6px; }
  .account-dropdown a, .account-dropdown button { padding: 11px 14px; font-size: 14px; }
  .account-dropdown form { border-top: 1px solid #efe8da; margin-top: 6px; padding-top: 6px; }

  .dh-tabs-wrap { position: relative; flex: 1; min-width: 0; }
  .dh-tabs { display: flex; justify-content: safe center; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
  .dh-tabs::-webkit-scrollbar { display: none; }
  .dh-cat { flex: none; display: flex; align-items: center; padding: 14px 16px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--m-ink); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
  .dh-cat svg { display: none; }
  .dh-cat:hover { color: var(--m-navy); border-bottom-color: var(--saffron); }
  .dh-cat.active { color: var(--m-navy); font-weight: 800; border-bottom-color: var(--m-navy); }
  .dh-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--m-line); background: var(--paper); color: var(--m-navy); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; transition: background .2s, color .2s; z-index: 2; }
  .dh-arrow[hidden] { display: none; }
  .dh-arrow:hover { background: var(--m-navy); color: #fff; }
  .dh-arrow-left { left: 0; } .dh-arrow-right { right: 0; }
  .dh-links { flex: none; display: flex; gap: 18px; }
  .dh-links a { font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; padding: 4px 0; border-bottom: 1px solid transparent; color: var(--m-ink); transition: color .2s, border-color .2s; }
  .dh-links a:hover { color: var(--clay); border-bottom-color: var(--saffron); background: none; }

  /* delivery PIN dialog */
  .m-sheet { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
  .m-sheet-panel { position: relative; width: min(440px, 100%); border-radius: 2px; padding: 28px 30px 30px; box-shadow: 0 30px 60px -20px rgba(20,14,40,.6); animation: d-pop .22s ease-out; }
  @keyframes d-pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
  .m-sheet-grab { display: none; }

  /* home */
  .m-intro { padding: 44px 16px 6px; }
  .m-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 250px)); justify-content: center; gap: 30px; padding: 38px 0 14px; }
  .m-quick { margin-top: 38px; }
  .m-cattiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 20px; }
  .m-feature { grid-template-columns: 1.2fr 1fr; margin: 40px 0 0; min-height: 320px; }
  .m-feature-copy { padding: 38px 44px; gap: 12px; }
  .m-feature-img { height: 340px; align-self: end; margin: 28px 40px 0 0; border-radius: var(--arch); }
  .m-feature-img img { height: 100%; }
  .m-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 18px; }
  .m-pad { padding: 26px 0 0; }
  .m-pad .seller-band { margin: 6px 0 0; border-radius: 2px; }

  /* shop */
  .eyebrow.shop-intro, .page .searchbar { display: none; }
  .page-title.shop-intro { margin: 4px 0 4px; }
  .shop-layout { margin-top: 20px; }
  .filters { align-self: start; position: sticky; top: 150px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 34px 22px; }
  .product-card-actions .button { font-size: 11px; }

  /* product page, cart, checkout */
  .product-detail { gap: clamp(28px, 4vw, 64px); margin-top: 18px; }
  .detail-copy { padding: 6px 0 22px; top: 150px; }
  .detail-actions .button { min-width: 190px; }
  .reviews { padding: 6px 28px 26px; margin-top: 30px; }
  .cart-row { padding: 14px 18px; margin-bottom: 12px; }
  .summary-box, .cart-summary { position: sticky; top: 150px; }
  .co-side { top: 150px; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "left logo actions" "row2 row2 row2"; gap: 4px 16px; }
  .dh-pin-text small { display: none; }
  .dh-pin { padding-left: 14px; }
  .dh-links { display: none; }
  .m-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .m-feature { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .m-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-hero { overflow-x: auto; display: flex; scroll-snap-type: x mandatory; }
  .m-hero-card { flex: 0 0 34%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .m-hero-card, .m-tile, .product-card, .m-cattile-img, .m-feature, .button, .cart-row { transition: none; }
  .m-hero-card:hover, .m-tile:hover, .product-card:hover, .m-feature:hover, .button:hover { transform: none; }
}

/* Homepage: shop by category (desktop) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 6px 0 34px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; background: #fff; border: 1px solid #dfd7c9; border-radius: 8px; padding: 10px; transition: box-shadow .15s, transform .15s; }
.cat-tile:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }
.cat-img { display: block; aspect-ratio: 1 / 1; background: #efe8da; border-radius: 6px; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-name { font-weight: 600; font-size: 14px; line-height: 1.3; margin-top: 6px; }
.cat-tile small { color: #75695d; font-size: 12px; }

/* Homepage trust strip + "New" tag on cards without reviews */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; max-width: 1180px; margin: 0 auto; padding: 18px 20px 8px; }
.trust-item { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid #dfd7c9; border-radius: 8px; padding: 12px 14px; }
.trust-item strong { font-size: 14px; color: #40584b; }
.trust-item span { font-size: 12px; color: #75695d; line-height: 1.4; }
.new-tag { display: inline-block; background: #40584b; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 2px 8px; border-radius: 3px; }

/* Category pages: intro, buying tips and FAQ */
.cat-intro { color: var(--muted, #75695d); line-height: 1.8; max-width: 760px; margin: 4px 0 18px; }
.cat-info { margin: 40px 0 10px; max-width: 820px; }
.cat-info h2 { font-size: 20px; margin: 26px 0 10px; }
.cat-info ul { margin: 0 0 8px; padding-left: 20px; line-height: 1.8; }
.cat-info details { border-bottom: 1px solid #dfd7c9; padding: 10px 0; }
.cat-info summary { cursor: pointer; font-weight: 600; }
.cat-info details p { margin: 8px 0 0; line-height: 1.7; color: #4a4036; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.cat-links a { text-decoration: underline; }

/* Seller store pages */
.store-facts { color: #75695d; margin: 6px 0 0; }
.store-about { max-width: 760px; line-height: 1.8; margin: 4px 0 14px; }
.store-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.store-cats a { border: 1px solid #dfd7c9; border-radius: 999px; padding: 4px 12px; font-size: 13px; text-decoration: none; background: #fff; }
.store-h { font-size: 20px; margin: 20px 0 12px; }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #75695d; margin: 4px 0 12px; }
.breadcrumbs a { color: inherit; text-decoration: underline; }
.breadcrumbs .sep { opacity: .6; }
.breadcrumbs [aria-current] { color: #3b332b; }

/* Guides */
.guide { max-width: 780px; }
.guide h2 { font-size: 22px; margin: 28px 0 10px; }
.guide p, .guide li { line-height: 1.8; }
.guide-meta { color: #75695d; font-size: 13px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 10px 0 30px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #dfd7c9; border-radius: 8px; padding: 16px; text-decoration: none; color: inherit; }
.guide-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.guide-card strong { font-size: 17px; line-height: 1.35; }
.guide-card span { color: #75695d; font-size: 14px; line-height: 1.6; }

/* Product page: Add to cart + Buy now (shown only after the PIN code is checked) */
.buy-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-btns[hidden] { display: none; }
.buy-hint { color: #766b5e; font-weight: 500; }
@media (max-width: 768px) {
  .buy-btns { flex: 2 1 0; flex-wrap: nowrap; gap: 10px; min-width: 0; }
  .buy-btns .button { flex: 1 1 0; min-width: 0; width: 100%; padding-left: 10px; padding-right: 10px; }
}


/* Card pictures: show the WHOLE photo (smaller, never cropped), on a clean white tile */
.product-art, .cat-img, .m-cattile-img, .m-tile-img, .m-feature-img { background: #fff; }
.product-art { box-shadow: inset 0 0 0 1px #e8e0d2; }
.m-cattile-img, .m-tile-img, .m-feature-img, .cat-img { box-shadow: inset 0 0 0 1px #ece6da; }
.product-art img, .cat-img img, .m-cattile-img img, .m-tile-img img, .m-feature-img img { object-fit: contain; padding: 7%; box-sizing: border-box; }
.product-card:hover .product-art img { transform: scale(1.03); }
/* cart, checkout and similar small thumbnails */
.cart-row img, .co-item img { object-fit: contain; background: #fff; border: 1px solid #e3dccf; padding: 3px; box-sizing: border-box; }

/* ======================================================================
   Indian touch (very subtle): a faint jaali / lotus pattern behind the white areas of the
   header, footer and the page background, plus a thin toran-style border under the header and
   above the footer. Cards, text and buttons are untouched, so everything stays easy to read.
   ====================================================================== */
:root {
  --in-lotus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23a8782d' stroke-width='.9' stroke-opacity='.12'%3E%3Cpath d='M28 6c5 7 5 15 0 22-5-7-5-15 0-22zM28 50c5-7 5-15 0-22-5 7-5 15 0 22zM6 28c7-5 15-5 22 0-7 5-15 5-22 0zM50 28c-7-5-15-5-22 0 7 5 15 5 22 0z'/%3E%3Ccircle cx='28' cy='28' r='2.2'/%3E%3Ccircle cx='0' cy='0' r='2'/%3E%3Ccircle cx='56' cy='0' r='2'/%3E%3Ccircle cx='0' cy='56' r='2'/%3E%3Ccircle cx='56' cy='56' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --in-lotus-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23f6d98a' stroke-width='.9' stroke-opacity='.13'%3E%3Cpath d='M28 6c5 7 5 15 0 22-5-7-5-15 0-22zM28 50c5-7 5-15 0-22-5 7-5 15 0 22zM6 28c7-5 15-5 22 0-7 5-15 5-22 0zM50 28c-7-5-15-5-22 0 7 5 15 5 22 0z'/%3E%3Ccircle cx='28' cy='28' r='2.2'/%3E%3Ccircle cx='0' cy='0' r='2'/%3E%3Ccircle cx='56' cy='0' r='2'/%3E%3Ccircle cx='0' cy='56' r='2'/%3E%3Ccircle cx='56' cy='56' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --in-toran: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 0h24' stroke='%23b88a3e' stroke-opacity='.55' stroke-width='1'/%3E%3Cpath d='M12 1.5l4 3-4 3-4-3z' fill='%23b88a3e' fill-opacity='.5'/%3E%3Ccircle cx='0' cy='4.5' r='1' fill='%2340584b' fill-opacity='.45'/%3E%3Ccircle cx='24' cy='4.5' r='1' fill='%2340584b' fill-opacity='.45'/%3E%3C/svg%3E");
}

/* desktop / tablet: page background between sections */
@media (min-width: 769px) {
  body { background-image: var(--in-lotus); background-size: 56px 56px; }
}

/* header: pattern on the cream area + a thin toran border under it */
.site-header { background-image: var(--in-lotus); background-size: 56px 56px; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; pointer-events: none;
  background: var(--in-toran) repeat-x left top / 24px 8px;
}

/* footer: soft light pattern on the green + toran line on top */
.footer { background-image: var(--in-lotus-light); background-size: 56px 56px; position: relative; }
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; pointer-events: none;
  background: var(--in-toran) repeat-x left top / 24px 8px; opacity: .8;
}

/* phone: the tinted top area gets the same faint pattern */
@media (max-width: 768px) {
  .m-bg { background-image: var(--in-lotus), linear-gradient(180deg, var(--m-tint) 0, var(--m-tint) 45%, var(--bg) 100%); background-size: 56px 56px, 100% 100%; }
}


/* ======================================================================
   More Indian touches (all very faint, decorative only, never over text areas that matter):
   rangoli corners on every page, a mandala watermark behind headings, a peacock feather in the footer.
   ====================================================================== */
:root {
  --in-rangoli: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' viewBox='0 0 170 170'%3E%3Cg fill='none' stroke='%23a8782d' stroke-width='1' stroke-opacity='.3'%3E%3Cpath d='M36 0A36 36 0 0 1 0 36'/%3E%3Cpath d='M68 0A68 68 0 0 1 0 68'/%3E%3Cpath d='M100 0A100 100 0 0 1 0 100'/%3E%3Cpath d='M132 0A132 132 0 0 1 0 132'/%3E%3Cellipse cx='50.2' cy='13.5' rx='11' ry='4.2' transform='rotate(105 50.2 13.5)'/%3E%3Cellipse cx='36.8' cy='36.8' rx='11' ry='4.2' transform='rotate(135 36.8 36.8)'/%3E%3Cellipse cx='13.5' cy='50.2' rx='11' ry='4.2' transform='rotate(165 13.5 50.2)'/%3E%3Cellipse cx='83.2' cy='11.7' rx='10' ry='3.6' transform='rotate(98 83.2 11.7)'/%3E%3Cellipse cx='72.7' cy='42.0' rx='10' ry='3.6' transform='rotate(120 72.7 42.0)'/%3E%3Cellipse cx='42.0' cy='72.7' rx='10' ry='3.6' transform='rotate(150 42.0 72.7)'/%3E%3Cellipse cx='11.7' cy='83.2' rx='10' ry='3.6' transform='rotate(172 11.7 83.2)'/%3E%3C/g%3E%3Cg fill='%23a8782d' fill-opacity='.28'%3E%3Ccircle cx='116.0' cy='0.0' r='2.2'/%3E%3Ccircle cx='107.2' cy='44.4' r='2.2'/%3E%3Ccircle cx='82.0' cy='82.0' r='2.2'/%3E%3Ccircle cx='44.4' cy='107.2' r='2.2'/%3E%3Ccircle cx='0.0' cy='116.0' r='2.2'/%3E%3Ccircle cx='145.8' cy='25.7' r='1.6'/%3E%3Ccircle cx='134.1' cy='62.5' r='1.6'/%3E%3Ccircle cx='113.4' cy='95.1' r='1.6'/%3E%3Ccircle cx='84.9' cy='121.2' r='1.6'/%3E%3Ccircle cx='50.6' cy='139.1' r='1.6'/%3E%3Ccircle cx='12.9' cy='147.4' r='1.6'/%3E%3Ccircle cx='0' cy='0' r='10'/%3E%3C/g%3E%3C/svg%3E");
  --in-mandala: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23a8782d' stroke-width='.9' stroke-opacity='.22'%3E%3Ccircle cx='80' cy='80' r='74'/%3E%3Ccircle cx='80' cy='80' r='58'/%3E%3Ccircle cx='80' cy='80' r='26'/%3E%3Ccircle cx='80' cy='80' r='8'/%3E%3Cellipse cx='122.0' cy='80.0' rx='15' ry='5' transform='rotate(0.0 122.0 80.0)'/%3E%3Cellipse cx='118.8' cy='96.1' rx='15' ry='5' transform='rotate(22.5 118.8 96.1)'/%3E%3Cellipse cx='109.7' cy='109.7' rx='15' ry='5' transform='rotate(45.0 109.7 109.7)'/%3E%3Cellipse cx='96.1' cy='118.8' rx='15' ry='5' transform='rotate(67.5 96.1 118.8)'/%3E%3Cellipse cx='80.0' cy='122.0' rx='15' ry='5' transform='rotate(90.0 80.0 122.0)'/%3E%3Cellipse cx='63.9' cy='118.8' rx='15' ry='5' transform='rotate(112.5 63.9 118.8)'/%3E%3Cellipse cx='50.3' cy='109.7' rx='15' ry='5' transform='rotate(135.0 50.3 109.7)'/%3E%3Cellipse cx='41.2' cy='96.1' rx='15' ry='5' transform='rotate(157.5 41.2 96.1)'/%3E%3Cellipse cx='38.0' cy='80.0' rx='15' ry='5' transform='rotate(180.0 38.0 80.0)'/%3E%3Cellipse cx='41.2' cy='63.9' rx='15' ry='5' transform='rotate(202.5 41.2 63.9)'/%3E%3Cellipse cx='50.3' cy='50.3' rx='15' ry='5' transform='rotate(225.0 50.3 50.3)'/%3E%3Cellipse cx='63.9' cy='41.2' rx='15' ry='5' transform='rotate(247.5 63.9 41.2)'/%3E%3Cellipse cx='80.0' cy='38.0' rx='15' ry='5' transform='rotate(270.0 80.0 38.0)'/%3E%3Cellipse cx='96.1' cy='41.2' rx='15' ry='5' transform='rotate(292.5 96.1 41.2)'/%3E%3Cellipse cx='109.7' cy='50.3' rx='15' ry='5' transform='rotate(315.0 109.7 50.3)'/%3E%3Cellipse cx='118.8' cy='63.9' rx='15' ry='5' transform='rotate(337.5 118.8 63.9)'/%3E%3Cellipse cx='144.7' cy='92.9' rx='8' ry='3' transform='rotate(11.25 144.7 92.9)'/%3E%3Cellipse cx='134.9' cy='116.7' rx='8' ry='3' transform='rotate(33.75 134.9 116.7)'/%3E%3Cellipse cx='116.7' cy='134.9' rx='8' ry='3' transform='rotate(56.25 116.7 134.9)'/%3E%3Cellipse cx='92.9' cy='144.7' rx='8' ry='3' transform='rotate(78.75 92.9 144.7)'/%3E%3Cellipse cx='67.1' cy='144.7' rx='8' ry='3' transform='rotate(101.25 67.1 144.7)'/%3E%3Cellipse cx='43.3' cy='134.9' rx='8' ry='3' transform='rotate(123.75 43.3 134.9)'/%3E%3Cellipse cx='25.1' cy='116.7' rx='8' ry='3' transform='rotate(146.25 25.1 116.7)'/%3E%3Cellipse cx='15.3' cy='92.9' rx='8' ry='3' transform='rotate(168.75 15.3 92.9)'/%3E%3Cellipse cx='15.3' cy='67.1' rx='8' ry='3' transform='rotate(191.25 15.3 67.1)'/%3E%3Cellipse cx='25.1' cy='43.3' rx='8' ry='3' transform='rotate(213.75 25.1 43.3)'/%3E%3Cellipse cx='43.3' cy='25.1' rx='8' ry='3' transform='rotate(236.25 43.3 25.1)'/%3E%3Cellipse cx='67.1' cy='15.3' rx='8' ry='3' transform='rotate(258.75 67.1 15.3)'/%3E%3Cellipse cx='92.9' cy='15.3' rx='8' ry='3' transform='rotate(281.25 92.9 15.3)'/%3E%3Cellipse cx='116.7' cy='25.1' rx='8' ry='3' transform='rotate(303.75 116.7 25.1)'/%3E%3Cellipse cx='134.9' cy='43.3' rx='8' ry='3' transform='rotate(326.25 134.9 43.3)'/%3E%3Cellipse cx='144.7' cy='67.1' rx='8' ry='3' transform='rotate(348.75 144.7 67.1)'/%3E%3Ccircle cx='97.0' cy='80.0' r='2'/%3E%3Ccircle cx='92.0' cy='92.0' r='2'/%3E%3Ccircle cx='80.0' cy='97.0' r='2'/%3E%3Ccircle cx='68.0' cy='92.0' r='2'/%3E%3Ccircle cx='63.0' cy='80.0' r='2'/%3E%3Ccircle cx='68.0' cy='68.0' r='2'/%3E%3Ccircle cx='80.0' cy='63.0' r='2'/%3E%3Ccircle cx='92.0' cy='68.0' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --in-mor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='220' viewBox='0 0 120 220'%3E%3Cg fill='none' stroke='%23f6d98a' stroke-width='1' stroke-opacity='.3' stroke-linecap='round'%3E%3Cpath d='M60 218C60 170 58 130 60 100'/%3E%3Cpath d='M30.5 78.9L14.7 82.1'/%3E%3Cpath d='M30.1 69.2L14.1 68.0'/%3E%3Cpath d='M31.5 59.6L16.3 54.1'/%3E%3Cpath d='M34.6 50.8L21.0 41.3'/%3E%3Cpath d='M39.2 43.2L28.0 30.3'/%3E%3Cpath d='M45.0 37.4L37.0 21.8'/%3E%3Cpath d='M51.7 33.5L47.3 16.2'/%3E%3Cpath d='M59.0 32.0L58.4 14.0'/%3E%3Cpath d='M66.2 32.9L69.6 15.3'/%3E%3Cpath d='M73.2 36.0L80.2 19.9'/%3E%3Cpath d='M79.3 41.4L89.6 27.6'/%3E%3Cpath d='M84.3 48.5L97.2 37.9'/%3E%3Cpath d='M87.8 57.0L102.7 50.3'/%3E%3Cpath d='M89.7 66.4L105.6 63.9'/%3E%3Cpath d='M89.8 76.2L105.7 78.1'/%3E%3Cellipse cx='60' cy='72' rx='27' ry='36'/%3E%3Cellipse cx='60' cy='72' rx='17' ry='24'/%3E%3Cpath d='M60 150C46 140 40 128 38 118M60 170C74 160 80 148 82 138'/%3E%3C/g%3E%3Cellipse cx='60' cy='72' rx='8' ry='12' fill='%23f6d98a' fill-opacity='.28'/%3E%3C/svg%3E");
}

/* rangoli in the top-left and bottom-right corner of the page content */
main { position: relative; }
main::before, main::after {
  content: ""; position: absolute; width: 170px; height: 170px; z-index: -1; pointer-events: none;
  background: var(--in-rangoli) no-repeat left top / contain;
}
main::before { top: 0; left: 0; }
main::after { bottom: 0; right: 0; transform: rotate(180deg); }

/* mandala watermark behind big headings */
.section-heading h2, .page-title { position: relative; }
.section-heading h2::before, .page-title::before {
  content: ""; position: absolute; left: -44px; top: 50%; width: 130px; height: 130px; margin-top: -68px; z-index: -1; pointer-events: none;
  background: var(--in-mandala) no-repeat center / contain;
}

/* peacock feather in the footer (right side), content stays above it */
.footer > * { position: relative; z-index: 1; }
.footer::after {
  content: ""; position: absolute; right: clamp(10px, 4vw, 60px); top: 14px; width: 90px; height: 165px; pointer-events: none;
  background: var(--in-mor) no-repeat center / contain;
}

/* phone: same decorations, scaled down */
@media (max-width: 768px) {
  main { background-image: var(--in-lotus); background-size: 56px 56px; }
  main::before, main::after { width: 96px; height: 96px; }
  .section-heading h2::before, .page-title::before { width: 84px; height: 84px; margin-top: -44px; left: -26px; }
  .footer::after { width: 60px; height: 110px; top: 10px; }
  .m-tabbar::before {
    content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; pointer-events: none;
    background: var(--in-toran) repeat-x left top / 24px 8px;
  }
  .m-searchwrap::after {
    content: ""; display: block; height: 8px; margin: 6px -14px -8px; pointer-events: none;
    background: var(--in-toran) repeat-x left top / 24px 8px;
  }
}

/* ---- design: keep the Indian-touch toran, but not on the floating dock ---- */
@media (max-width: 768px) { .m-tabbar::before { display: none; } }


/* small outline icons used inline in text (same thin-line style as the other site icons) */
.ic-inline { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; margin-right: .5em; flex: none; }
.plan-box h2 .ic-inline { width: .9em; height: .9em; color: #b88a3e; vertical-align: -0.08em; margin-right: .45em; }
.footer-trust p .ic-inline { width: 1.1em; height: 1.1em; vertical-align: -0.2em; margin-right: .5em; color: #f6d98a; }


/* Dashboard > Payouts: how do you want to get paid */
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 10px; border: 1px solid var(--hd-line, #e3dbcb); border-radius: 12px; background: #fff; cursor: pointer; }
.pay-opt.on { border-color: var(--hd-green, #2f4a3d); box-shadow: 0 0 0 2px rgba(47,74,61,.14); background: #fbfdfb; }
.pay-opt input { margin-top: 4px; accent-color: #2f4a3d; }
.pay-opt small { color: #6f6455; line-height: 1.55; }
.pay-direct { margin: 4px 0 14px; padding: 16px 18px; border: 1px dashed #cfc6b3; border-radius: 12px; background: #fffdf8; }
.pay-direct[hidden] { display: none; }
.pay-steps { margin: 0 0 14px; padding-left: 20px; line-height: 1.7; }
.pay-steps li { margin-bottom: 6px; }
.pay-code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 3px 8px; border-radius: 6px; background: #efe9dc; font-size: 12.5px; user-select: all; }
.pay-notes { margin: 10px 0 0; padding-left: 20px; line-height: 1.6; }
.pay-opt, .pay-opt span { text-transform: none; letter-spacing: normal; font-weight: 400; font-size: 15px; line-height: 1.5; color: #2a241d; }
.pay-opt b { font-weight: 700; }
.pay-opt small { display: block; margin-top: 4px; font-size: 13.5px; text-transform: none; letter-spacing: 0; }
