/* Purplestone Mall storefront */
:root {
  --aubergine: #2B0838;
  --night: #1A0522;
  --brand: #7A129F;
  --brand-dark: #4F0A6B;
  --orchid: #EBDDF3;
  --lilac: #F7F2F9;
  --line: #E4D6EC;
  --line-strong: #DCCBE5;
  --gold: #F2B43C;
  --ink: #1E1024;
  --muted: #5E4F66;
  --error: #A1123A;
  --white: #FFFFFF;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--lilac); color: var(--ink);
  font-family: var(--body); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--aubergine); color: #fff; padding: 12px 18px; border-radius: 999px; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.display { font-family: var(--display); letter-spacing: -0.03em; }
.h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1; font-weight: 800; margin: 16px 0 24px; color: var(--aubergine); }
.h2 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.05; font-weight: 700; margin: 0; color: var(--aubergine); }
.h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.1; font-weight: 700; margin: 0; color: var(--aubergine); }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.small { font-size: 13px; }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; gap: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: scale(.97); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 44px; padding: 0 16px 0 10px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--aubergine); color: #fff; }
.btn-dark:hover { background: var(--brand); color: #fff; }
.btn-gold { background: var(--gold); color: var(--aubergine); }
.btn-gold:hover { background: #F5C15C; color: var(--aubergine); }
.btn-light { background: #fff; color: var(--aubergine); }
.btn-light:hover { color: var(--brand); }
.btn-outline { background: #fff; border-color: var(--line-strong); color: var(--aubergine); }
.btn-outline:hover { border-color: var(--aubergine); color: var(--aubergine); }
.btn-ghost { background: transparent; color: var(--aubergine); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-btn { border: 0; background: none; color: var(--brand); font-weight: 600; font-size: 14px; text-decoration: underline; min-height: 44px; padding: 0 4px; }
.icon-btn { width: 48px; height: 48px; border: 0; background: transparent; border-radius: 999px; color: var(--aubergine); display: inline-flex; align-items: center; justify-content: center; position: relative; }
.icon-btn:hover { background: var(--orchid); color: var(--aubergine); }

/* Announcement + header */
.announce { background: var(--aubergine); color: #EFE3F5; font-size: 14px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 10px 16px; text-align: center; }
.announce a { color: var(--gold); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 242, 249, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(43, 8, 56, .08); }
.header-row { height: 84px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--aubergine); flex-shrink: 0; }
.brand:hover { color: var(--aubergine); }
.brand-word { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; height: 48px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0 5px 0 18px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(122, 18, 159, .12); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 44px; font-size: 15px; color: var(--ink); }
.search-btn { height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--aubergine); color: #fff; font-weight: 600; font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.dot-badge { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cart-btn { height: 48px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; transition: background .2s; }
.cart-btn:hover { background: var(--brand-dark); }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--aubergine); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cart-count.pop { animation: pop .45s ease-out; }
.main-nav { height: 52px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 500; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--aubergine); position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-secondary a { color: var(--muted); }
.nav-secondary a.accent, .accent { color: var(--brand); font-weight: 600; }

.toast { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); max-width: calc(100vw - 32px); background: var(--aubergine); color: #fff; border-radius: 999px; padding: 12px 22px; font-size: 15px; box-shadow: 0 12px 30px rgba(43, 8, 56, .3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: drop .25s ease-out both; }
.toast.is-error { background: var(--error); }

/* Page transitions */
.page { animation: pageIn .5s var(--ease) both; }
body.is-leaving .page { animation: pageOut .18s ease-in both; }

/* Hero carousel */
.hero { padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.reveal-hero .hero-stage { animation: rise .9s var(--ease) both; }
.hero-stage { position: relative; aspect-ratio: 1600 / 476; border-radius: var(--radius-lg); overflow: hidden; background: var(--aubergine); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6.5s linear; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.hero-slide.is-active img { transform: scale(1); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--aubergine); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .25s, transform .25s; }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-stage:hover .hero-arrow, .hero-arrow:focus-visible { opacity: 1; }
.hero-tabs { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; }
.hero-tab { border: 0; background: transparent; padding: 10px 0 0; text-align: left; display: flex; flex-direction: column; gap: 8px; color: #8A7A92; font-size: 13px; font-weight: 600; min-height: 44px; }
.hero-tab.is-active { color: var(--aubergine); }
.hero-tab .bar { height: 4px; border-radius: 4px; background: #E1D0EA; overflow: hidden; }
.hero-tab .bar span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-active .bar span { animation: fill var(--hero-ms, 6000ms) linear both; }
.hero.is-paused .hero-tab.is-active .bar span { animation-play-state: paused; }
.tab-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Sections */
.section { padding-top: clamp(40px, 6vw, 72px); }
.section-tight { padding-top: clamp(28px, 4vw, 44px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.see-all { font-weight: 600; font-size: 15px; white-space: nowrap; }
.section-head-wrap { flex-wrap: wrap; align-items: flex-end; }
.cat-rail { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; text-align: center; }
.cat:hover { color: var(--ink); }
.cat-disc { width: 100%; max-width: 132px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--aubergine); transition: transform .3s var(--ease); }
.cat:hover .cat-disc { transform: translateY(-5px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--aubergine); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.chip:hover { border-color: var(--aubergine); color: var(--aubergine); }
.chip.is-on { background: var(--aubergine); border-color: var(--aubergine); color: #fff; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 18px; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; animation: rise .6s var(--ease) both; animation-delay: calc(min(var(--i, 0), 8) * 60ms); }
.card-media { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; background: #fff; overflow: hidden; }
.card-media > a { display: block; width: 100%; height: 100%; }
.card-img { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.card:hover .card-img { transform: scale(1.06); }
.fit-cover { object-fit: cover; }
.fit-contain { object-fit: contain; padding: 6%; }
.card-body { display: flex; flex-direction: column; gap: 3px; }
.badge-sale { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--aubergine); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.wish-btn { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--brand); box-shadow: 0 4px 12px rgba(43, 8, 56, .15); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.wish-btn:active { transform: scale(.9); }
.wish-btn.lg { width: 56px; height: 56px; top: 16px; right: 16px; }
.wish-btn[aria-pressed="true"] svg { fill: var(--brand); animation: pop .4s ease-out; }
.card-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.card-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.price-row s { font-size: 13px; }
.price { font-size: 19px; font-weight: 700; color: var(--aubergine); }
.card .add-btn { height: 42px; font-size: 14px; }
.add-btn.is-added { background: var(--orchid); color: var(--aubergine); border-color: var(--brand); }
.add-btn.is-loading { pointer-events: none; opacity: .75; }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 48px 16px; color: var(--muted); }
.empty-state p { max-width: 420px; margin: 0; font-size: 17px; }
.empty-state .icon { color: var(--brand); }
.notice { background: var(--orchid); color: var(--aubergine); padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 20px; }
.notice-error { background: #FBE3EA; color: var(--error); }

/* Bands */
.vendor-band { margin-top: clamp(64px, 8vw, 104px); background: var(--orchid); border-radius: 32px; padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; max-width: calc(var(--wrap)); width: calc(100% - 2 * var(--gutter)); }
.vendor-band .btn-row { margin-top: 20px; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-weight: 600; color: var(--aubergine); }
.promises li { display: flex; align-items: center; gap: 10px; }
.promises .icon { color: var(--brand); flex-shrink: 0; }
.promises.compact { background: #fff; border-radius: var(--radius); padding: 22px; margin-top: 8px; font-size: 15px; }
.app-band { margin-top: clamp(48px, 7vw, 96px); background: var(--brand); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); max-width: var(--wrap); width: calc(100% - 2 * var(--gutter)); }
.app-band h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1; font-weight: 800; margin: 0 0 16px; max-width: 640px; }
.app-band p { margin: 0 0 24px; color: #F1E3F8; font-size: 18px; }

/* Product page */
.crumbs { padding-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.crumbs nav a { color: var(--muted); }
.pdp { padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { display: flex; gap: 16px; }
.thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumb { width: 88px; aspect-ratio: 4 / 5; padding: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--brand); }
.thumb:hover { transform: translateY(-2px); }
.gallery-main { flex: 1; position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: #fff; animation: rise .7s var(--ease) both; }
.gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .7s var(--ease); }
.gallery-img.is-active { opacity: 1; transform: scale(1); }
.pdp-info { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 160px; animation: rise .7s .12s var(--ease) both; }
.pdp-title { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.03; font-weight: 800; color: var(--aubergine); }
.pdp-price { font-size: clamp(28px, 3vw, 36px); font-weight: 700; color: var(--brand); }
.pdp-form { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; max-width: 360px; }
.qty-row label { font-weight: 600; }
.pdp-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.pdp-desc { color: var(--ink); line-height: 1.65; max-width: 60ch; }

.stepper { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; }
.stepper button { width: 48px; height: 100%; border: 0; background: transparent; font-size: 22px; color: var(--aubergine); border-radius: 999px; }
.stepper button:hover { background: var(--lilac); }
.stepper input { width: 44px; border: 0; outline: 0; text-align: center; font-weight: 700; font-size: 17px; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; }
.stepper.sm { height: 40px; }
.stepper.sm button { width: 42px; font-size: 18px; }

/* Cart lines (drawer + page) */
.cart-line { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); padding: 14px; animation: rise .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.cart-line-img { flex-shrink: 0; width: 84px; height: 100px; border-radius: var(--radius-sm); overflow: hidden; background: var(--lilac); }
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line.big .cart-line-img { width: 110px; height: 132px; }
.cart-line-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-line-name { color: var(--ink); font-weight: 600; line-height: 1.35; }
.cart-line-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.narrow { max-width: calc(1120px + 2 * var(--gutter)); }

.summary { background: #fff; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(43, 8, 56, .08); }
.summary.sticky { position: sticky; top: 160px; }
.summary .total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 20px; font-weight: 800; }
.summary-line { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.summary-img { position: relative; flex-shrink: 0; }
.summary-img img { width: 60px; height: 70px; border-radius: 12px; object-fit: cover; background: var(--lilac); }
.qty-badge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--aubergine); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.summary-name { flex: 1; line-height: 1.35; }

/* Checkout */
.checkout-form { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 24px; }
.panel { border: 0; margin: 0; background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); min-width: 0; }
.panel legend { float: left; width: 100%; padding: 0; margin-bottom: 20px; }
.panel legend + * { clear: both; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input { height: 52px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #FBF8FC; padding: 0 16px; font-size: 16px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(122, 18, 159, .12); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--error); animation: shake .35s ease; }
.field-err { color: var(--error); font-size: 14px; animation: drop .25s ease-out both; }
.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pay-option { position: relative; display: flex; gap: 14px; align-items: center; min-height: 84px; padding: 16px 20px; border-radius: var(--radius); border: 2px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.pay-option strong { color: var(--aubergine); }
.pay-dot { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--brand); background: #fff; transition: border-width .2s; }
.pay-option:has(input:checked) { border-color: var(--brand); background: #F7EEFB; }
.pay-option input:checked + .pay-dot { border-width: 7px; }
.pay-option input:focus-visible + .pay-dot { outline: 2px solid var(--brand); outline-offset: 3px; }
.place-btn .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--aubergine); border-right-color: transparent; animation: spin .8s linear infinite; }
.place-btn.is-loading .spinner { display: inline-block; }
.place-btn.is-loading { pointer-events: none; }

/* Success */
.success { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding-bottom: 24px; }
.success-check { animation: burst .6s var(--ease) both; }
.success-check path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .7s .35s ease-out forwards; }
.success-title { margin: 0; font-size: clamp(44px, 7vw, 72px); line-height: 1; font-weight: 800; color: var(--aubergine); animation: rise .8s .25s var(--ease) both; }
.lead { margin: 0; font-size: 19px; color: var(--muted); max-width: 560px; animation: rise .8s .35s var(--ease) both; }
.lead strong { color: var(--aubergine); }
.success-meta { background: #fff; border-radius: 24px; padding: 18px 28px; display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; animation: rise .8s .45s var(--ease) both; }
.success .btn-row { justify-content: center; animation: rise .8s .55s var(--ease) both; }

/* Footer */
.site-footer { margin-top: clamp(72px, 9vw, 112px); background: var(--night); color: #D9C8E2; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h3 { margin: 0 0 12px; font-size: 16px; color: #fff; }
.footer-grid a { display: block; color: #D9C8E2; padding: 6px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { line-height: 1.6; max-width: 320px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #3A1848; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Drawers */
.drawer-layer { position: fixed; inset: 0; z-index: 80; }
.scrim { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(26, 5, 34, .5); animation: fade .3s ease-out both; }
.drawer { position: absolute; top: 0; bottom: 0; width: min(460px, 100vw); background: var(--lilac); display: flex; flex-direction: column; box-shadow: 0 0 60px rgba(26, 5, 34, .3); }
.drawer-right > div { display: flex; flex-direction: column; height: 100%; }
.drawer-right { right: 0; animation: slideRight .4s var(--ease) both; }
.drawer-left { left: 0; width: min(320px, 88vw); padding: 12px 24px; animation: slideLeft .35s var(--ease) both; }
.drawer-layer.is-closing .drawer-right { animation: slideRightOut .28s ease-in both; }
.drawer-layer.is-closing .drawer-left { animation: slideLeftOut .28s ease-in both; }
.drawer-layer.is-closing .scrim { animation: fadeOut .28s ease-in both; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-left .drawer-head { padding: 8px 0 16px; }
.drawer-head h2 { margin: 0; font-size: 28px; font-weight: 800; color: var(--aubergine); }
.drawer-lines { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot { padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.drawer-foot .row-between { font-size: 18px; }
.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; color: var(--muted); }
.drawer-empty .icon { color: var(--brand); }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { font-size: 22px; font-weight: 700; color: var(--aubergine); padding: 14px 0; border-bottom: 1px solid var(--line); animation: rise .4s var(--ease) both; }
.menu-links a:nth-child(2) { animation-delay: .04s; } .menu-links a:nth-child(3) { animation-delay: .08s; } .menu-links a:nth-child(4) { animation-delay: .12s; }
.menu-links a:nth-child(5) { animation-delay: .16s; } .menu-links a:nth-child(6) { animation-delay: .2s; } .menu-links a:nth-child(7) { animation-delay: .24s; }
.menu-secondary { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.menu-secondary a { color: var(--muted); }
body.has-drawer { overflow: hidden; }

/* Fly-to-cart */
.fly { position: fixed; z-index: 90; pointer-events: none; border-radius: 20px; object-fit: cover; box-shadow: 0 20px 40px rgba(43, 8, 56, .35); transition: transform .75s cubic-bezier(.5, 0, .3, 1), opacity .75s ease-in; will-change: transform, opacity; }


/* Star ratings */
.stars { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); line-height: 1; }
.stars-track { position: relative; display: inline-flex; gap: 1px; color: #DCCBE5; }
.stars-track svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.stars-fill { position: absolute; top: 0; left: 0; bottom: 0; display: inline-flex; gap: 1px; overflow: hidden; color: var(--gold); white-space: nowrap; }
.stars-md { font-size: 14px; gap: 8px; }
.stars-md .stars-track svg { width: 18px; height: 18px; }

/* Popular strip under the banner */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.rail .card { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: 6px; border-radius: 12px; }
.rail-controls { display: flex; align-items: center; gap: 8px; }
.rail-controls .see-all { margin-right: 8px; }
.rail-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; color: var(--aubergine); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, transform .15s; }
.rail-arrow:hover { border-color: var(--aubergine); }
.rail-arrow:active { transform: scale(.92); }
.rail .card .card-media { transition: box-shadow .4s var(--ease); }
.rail .card.is-arriving .card-media { box-shadow: 0 0 0 2px var(--brand), 0 12px 28px rgba(122, 18, 159, .18); }

/* Mobile-only pieces */
.only-mobile { display: none !important; }
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(68px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 600; }
.bottom-nav a.is-current { color: var(--brand); }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .35s var(--ease); }
.buy-bar.is-visible { transform: none; }
.buy-bar .display { font-size: 22px; font-weight: 700; color: var(--aubergine); }
.buy-bar .btn { flex: 1; max-width: 220px; }

/* Keyframes */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pageOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.field-err { animation-name: dropPlain; }
@keyframes dropPlain { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes slideRight { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slideRightOut { to { transform: translateX(100%); } }
@keyframes slideLeft { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes slideLeftOut { to { transform: translateX(-100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes burst { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Tablet */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-form, .cart-page { grid-template-columns: 1fr; }
  .summary.sticky { position: static; }
  .vendor-band { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .nav-secondary { display: none; }
}

/* Mobile */
@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); font-size: 15px; }
  body.is-product { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.is-product .bottom-nav, body.is-checkout .bottom-nav { display: none !important; }
  body.is-checkout { padding-bottom: 0; }
  .only-mobile { display: flex !important; }
  .bottom-nav.only-mobile { display: grid !important; }
  .hide-mobile { display: none !important; }
  .announce { font-size: 13px; padding: 8px 12px; }
  .header-row { height: auto; flex-wrap: wrap; gap: 4px 8px; padding-top: 8px; padding-bottom: 10px; }
  .brand { flex: 1; justify-content: center; }
  .brand-word { font-size: 22px; }
  .brand svg { width: 26px; height: 26px; }
  .search { order: 5; flex-basis: 100%; height: 46px; }
  .search-btn { display: none; }
  .cart-btn { width: 48px; padding: 0; justify-content: center; background: transparent; color: var(--aubergine); position: relative; }
  .cart-btn:hover { background: var(--orchid); }
  .cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; }
  .hero { padding-top: 16px; gap: 8px; }
  .hero-stage { border-radius: 18px; }
  .hero-arrow { display: none; }
  .hero-tabs { gap: 5px; }
  .hero-tab { padding: 0; min-height: 24px; justify-content: center; }
  .tab-label { display: none; }
  .section-head { margin-bottom: 16px; }
  .cat-rail { display: flex; overflow-x: auto; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .cat-rail::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 80px; font-size: 13px; gap: 8px; }
  .cat-disc { width: 76px; }
  .cat-disc svg { width: 36px; height: 36px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; width: calc(100% + 2 * var(--gutter)); }
  .chip { font-size: 14px; padding: 0 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card { gap: 8px; }
  .card-media { border-radius: 14px; }
  .card-title { font-size: 13px; }
  .card-cat { display: none; }
  .price { font-size: 16px; }
  .price-row s { font-size: 12px; }
  .stars-track svg { width: 12px; height: 12px; }
  .card .btn { height: 40px; font-size: 13px; padding: 0 10px; }
  .wish-btn { width: 36px; height: 36px; top: 6px; right: 6px; }
  .wish-btn svg { width: 18px; height: 18px; }
  .rail { grid-auto-columns: 148px; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .badge-sale { font-size: 11px; top: 10px; left: 10px; padding: 4px 9px; }
  .promises { grid-template-columns: 1fr 1fr; font-size: 14px; }
  .crumbs nav { display: none; }
  .crumbs { padding-top: 16px; }
  .pdp { grid-template-columns: 1fr; padding-top: 16px; }
  .gallery { flex-direction: column-reverse; margin: 0 calc(-1 * var(--gutter)); }
  .gallery-main { border-radius: 0; }
  .thumbs { flex-direction: row; justify-content: center; }
  .thumb { width: 64px; }
  .pdp-info { position: static; }
  .pdp-actions { grid-template-columns: 1fr; }
  .buy-bar.only-mobile { display: flex !important; }
  .form-grid, .pay-options { grid-template-columns: 1fr; }
  .toast { top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); position: fixed; border-radius: 16px; white-space: normal; text-align: center; width: calc(100vw - 32px); }
  .toast { animation-name: toastUp; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding-top: 48px; }
  .success-meta { gap: 16px; padding: 16px 20px; }
  .cart-line.big .cart-line-img { width: 84px; height: 100px; }
}
@keyframes toastUp { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Tracking, forms, content pages ---------- */
.narrow-sm { max-width: calc(760px + 2 * var(--gutter)); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.wrap-row { flex-wrap: wrap; align-items: center; }
.field select, .field textarea { border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #FBF8FC; padding: 12px 16px; font-size: 16px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field select { height: 52px; padding: 0 14px; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(122, 18, 159, .12); background: #fff; }
.field textarea[aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; animation: rise .6s var(--ease) both; }
.intro .h1 { margin: 0; }
.lead-left { margin: 0; font-size: 18px; color: var(--muted); max-width: 46ch; }
.two-col .panel { animation: rise .6s .1s var(--ease) both; }
.sent-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 48px 24px; }
.sent-card .h2 { margin: 0; }
.prose { max-width: calc(760px + 2 * var(--gutter)); }
.prose p { font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.prose .h3 { margin: 32px 0 12px; }

.status-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--orchid); color: var(--aubergine); white-space: nowrap; }
.status-pending_payment { background: #FDF0D5; color: #7A4B00; }
.status-processing { background: #E2E0F8; color: #2E2A7A; }
.status-shipped { background: #DCE9E3; color: #1E5B40; }
.status-completed { background: #D7F2E2; color: #13663B; }
.status-cancelled { background: #FBE3EA; color: var(--error); }

.timeline { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before, .timeline::after { content: ''; position: absolute; top: 11px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 4px; background: var(--line); }
.timeline::after { background: var(--brand); right: auto; width: calc((var(--done) - 1) * 25%); transform-origin: left; animation: growX .9s .2s var(--ease) both; }
.timeline li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.timeline .dot { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: background .3s, border-color .3s; }
.timeline li.is-done { color: var(--aubergine); }
.timeline li.is-done .dot { background: var(--brand); border-color: var(--brand); animation: pop .45s ease-out both; animation-delay: calc(.2s + var(--k) * .22s); }
.timeline li.is-current .dot { box-shadow: 0 0 0 6px rgba(122, 18, 159, .18); }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.summary-lines { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.total { border-top: 1px solid var(--line); padding-top: 14px; font-size: 20px; font-weight: 800; }
.success-check.is-pending path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.success-check.is-pending { animation: burst .6s var(--ease) both, nudge 2.4s 1s ease-in-out infinite; }
@keyframes nudge { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(8deg); } }
.success .notice { max-width: 560px; }

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
  .timeline li { font-size: 12px; }
}

/* ---------- Shopping assistant ---------- */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 70; }
.chat-fab { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--aubergine); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 14px 34px rgba(43, 8, 56, .35); animation: rise .6s .8s var(--ease) both; transition: transform .2s, background .2s; }
.chat-fab:hover { background: var(--brand); transform: translateY(-2px); }
.chat-fab svg { color: var(--gold); }
.chat.is-open .chat-fab { display: none; }
.chat-panel { position: absolute; right: 0; bottom: 0; width: 380px; height: min(600px, calc(100vh - 120px)); background: #fff; border-radius: 24px; box-shadow: 0 30px 70px rgba(26, 5, 34, .3); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: chatIn .35s var(--ease) both; }
@keyframes chatIn { from { opacity: 0; transform: scale(.85) translateY(12px); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 10px 14px 20px; background: var(--aubergine); color: #fff; }
.chat-head strong { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
.chat-head span { font-size: 13px; color: #D9C8E2; }
.chat-head .icon-btn { color: #fff; }
.chat-head .icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--lilac); overscroll-behavior: contain; }
.msg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.is-new { animation: rise .35s var(--ease) both; }
.bubble { padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.5; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.msg.me .bubble { background: var(--brand); color: #fff; border-radius: 18px; border-bottom-right-radius: 6px; }
.typing { display: flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-products { display: flex; gap: 10px; overflow-x: auto; max-width: 100%; margin-right: -16px; padding: 2px 16px 6px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.chat-products::-webkit-scrollbar { display: none; }
.msg.bot:has(.chat-products) { max-width: 100%; }
.chat-product { flex: 0 0 156px; scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(43, 8, 56, .06); animation: rise .4s var(--ease) both; }
.chat-product:nth-child(2) { animation-delay: .06s; } .chat-product:nth-child(3) { animation-delay: .12s; } .chat-product:nth-child(4) { animation-delay: .18s; }
.cp-img-link { position: relative; display: block; overflow: hidden; background: var(--lilac); }
.cp-img-link img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.cp-img-link:hover img { transform: scale(1.05); }
.cp-sale { position: absolute; top: 8px; left: 8px; background: var(--gold); color: var(--aubergine); font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.cp-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.cp-name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.cp-name:hover { color: var(--brand); }
.cp-rating { display: flex; align-items: center; gap: 4px; min-height: 14px; }
.cp-stars { position: relative; display: inline-block; font-size: 12px; letter-spacing: 1px; color: #DCCBE5; line-height: 1; }
.cp-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.cp-reviews { font-size: 11px; color: var(--muted); }
.cp-price { font-size: 14px; font-weight: 800; color: var(--aubergine); }
.cp-price s { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.cp-form { margin-top: auto; padding-top: 6px; }
.cp-add { width: 100%; height: 34px; border: 0; border-radius: 999px; background: var(--aubergine); color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .2s, transform .1s; }
.cp-add:hover { background: var(--brand); }
.cp-add:active { transform: scale(.96); }
.cp-add.is-loading { opacity: .6; pointer-events: none; }
.cp-add.is-added { background: #1E7A4C; }
.cp-out { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 700; color: var(--error); }
.chat-more { align-self: flex-start; margin-top: 2px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-strong); color: var(--aubergine); font-size: 13px; font-weight: 700; }
.chat-more:hover { border-color: var(--brand); color: var(--brand); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; background: var(--lilac); }
.chat-chips button { border: 1.5px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--aubergine); }
.chat-chips button:hover { border-color: var(--brand); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; font-size: 15px; outline: 0; background: #FBF8FC; }
.chat-form input:focus { border-color: var(--brand); background: #fff; }
.chat-form button { width: 46px; height: 46px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--aubergine); color: #fff; display: flex; align-items: center; justify-content: center; }
.chat-note { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--muted); background: #fff; text-align: center; }

/* ---------- Vendor store page + misc ---------- */
.store-hero { display: flex; gap: 24px; align-items: center; margin-bottom: 36px; animation: rise .6s var(--ease) both; }
.store-hero .h1 { margin: 0 0 6px; }
.store-badge { flex-shrink: 0; width: 96px; height: 96px; border-radius: 28px; background: var(--brand); color: #fff; font-size: 44px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.store-about { max-width: 70ch; margin: 10px 0 0; }
.field-note { font-size: 13px; color: var(--muted); }
.rail-sm { grid-auto-columns: 150px; }
.mini-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); scroll-snap-align: start; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.mini-card:hover { color: var(--brand); }
.mini-card img { width: 100%; aspect-ratio: 1; border-radius: 14px; background: #fff; }
.mini-name { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-price { font-size: 14px; font-weight: 700; color: var(--aubergine); }

@media (max-width: 760px) {
  .chat { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); }
  body.is-product .chat { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .chat-fab { width: 56px; padding: 0; justify-content: center; }
  .chat-fab-label { display: none; }
  .chat.is-open { inset: 0; right: 0; bottom: 0; }
  .chat-panel { position: fixed; inset: auto 0 0 0; width: 100%; height: 88vh; border-radius: 24px 24px 0 0; transform-origin: bottom center; }
  .chat-form { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .store-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
  .store-badge { width: 72px; height: 72px; font-size: 32px; border-radius: 22px; }
}
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; line-height: 1.5; }
.steps li::marker { color: var(--brand); font-weight: 800; }

/* ---------- All stores ---------- */
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.store-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; color: var(--ink); box-shadow: 0 1px 2px rgba(43, 8, 56, .05); transition: transform .3s var(--ease), box-shadow .3s; animation: rise .5s var(--ease) both; animation-delay: calc(min(var(--i, 0), 8) * 60ms); }
.store-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43, 8, 56, .12); }
.store-collage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--orchid); }
.store-collage img { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: cover; transition: transform .6s var(--ease); }
.store-collage img:first-child { grid-row: 1 / 3; }
.store-collage.n1 img { grid-column: 1 / 3; }
.store-collage.n2 img:last-child { grid-row: 1 / 3; }
.store-card:hover .store-collage img { transform: scale(1.04); }
.store-card-body { display: flex; align-items: center; gap: 12px; padding: 16px; }
.store-badge.sm { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
.store-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.store-card-text strong { font-size: 16px; }
.store-card-text .muted { font-size: 13px; }
.store-go { width: 36px; height: 36px; border-radius: 50%; background: var(--lilac); color: var(--aubergine); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, transform .2s; }
.store-card:hover .store-go { background: var(--aubergine); color: #fff; transform: translateX(3px); }
@media (max-width: 1100px) { .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .store-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Store strip + store page cover ---------- */
.rail-stores { grid-auto-columns: 300px; gap: 18px; }
.rail-stores .store-card { scroll-snap-align: start; }
.store-cover { display: grid; gap: 4px; height: 240px; border-radius: 28px; overflow: hidden; background: var(--orchid); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.store-cover.n2 { --cols: 2; } .store-cover.n3 { --cols: 3; }
.store-cover img { width: 100%; height: 100%; object-fit: cover; animation: coverIn .7s var(--ease) both; animation-delay: calc(var(--k) * 90ms); }
@keyframes coverIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
.store-hero.on-cover { margin-top: -48px; padding-left: 28px; align-items: flex-start; position: relative; }
.store-hero.on-cover .store-badge { border: 5px solid var(--lilac); box-shadow: 0 10px 24px rgba(43, 8, 56, .2); }
.store-hero.on-cover > div { padding-top: 62px; }
.store-cover img { object-position: center 30%; }
@media (max-width: 760px) {
  .rail-stores { grid-auto-columns: 260px; }
  .store-cover { height: 150px; border-radius: 18px; }
  .store-hero.on-cover { margin-top: -36px; padding-left: 14px; }
  .store-hero.on-cover > div { padding-top: 0; }
}

/* ---------- Collection cards ---------- */
.col-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.col-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--tint); color: #fff; isolation: isolate; animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.col-card:hover { color: #fff; }
.col-photos { position: absolute; inset: 0; display: grid; gap: 3px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; z-index: -2; }
.col-photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .8s var(--ease); }
.col-photos.n1 img { grid-column: 1 / 3; grid-row: 1 / 3; }
.col-photos.n2 img { grid-row: 1 / 3; }
.col-photos.n3 img:first-child { grid-column: 1 / 3; }
.col-card:hover .col-photos img { transform: scale(1.06); }
.col-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, color-mix(in srgb, var(--tint) 70%, transparent) 60%, var(--tint) 100%); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .col-shade { background: linear-gradient(180deg, transparent 25%, rgba(20, 5, 26, .75) 70%, rgba(20, 5, 26, .92) 100%); } }
.col-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.col-text strong { font-size: clamp(20px, 2vw, 26px); line-height: 1.05; letter-spacing: -.03em; }
.col-sub { font-size: 14px; opacity: .88; line-height: 1.35; }
.col-cta { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--tint); font-size: 13px; font-weight: 700; transition: gap .2s, background .2s, color .2s; }
.col-card:hover .col-cta { gap: 10px; background: var(--gold); color: var(--aubergine); }

/* Collection page header */
.col-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: var(--tint); color: #fff; min-height: 300px; animation: rise .6s var(--ease) both; }
.col-hero-text { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.col-hero-text h1 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: .95; letter-spacing: -.04em; }
.col-hero-text p { margin: 0; font-size: 17px; opacity: .9; }
.col-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.col-count { font-size: 14px; opacity: .8; }
.col-hero-photos { display: grid; gap: 3px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; min-height: 0; }
.col-hero-photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; animation: coverIn .7s var(--ease) both; animation-delay: calc(var(--k) * 90ms); }
.col-hero-photos.n1 img { grid-column: 1 / 3; grid-row: 1 / 3; }
.col-hero-photos.n2 img { grid-row: 1 / 3; }
.col-hero-photos.n3 img:first-child { grid-row: 1 / 3; }

@media (max-width: 1000px) { .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .col-grid { gap: 12px; }
  .col-card { border-radius: 18px; }
  .col-text { padding: 14px; }
  .col-sub { display: none; }
  .col-cta { height: 32px; padding: 0 12px; font-size: 12px; }
  .col-hero { grid-template-columns: 1fr; border-radius: 20px; }
  .col-hero-photos { height: 200px; order: -1; }
}

/* ---------- Installable app ---------- */
.install-bar { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; width: min(520px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(26, 5, 34, .28); animation: installIn .45s var(--ease) both; }
.install-bar.is-leaving { animation: installOut .25s ease-in both; }
@keyframes installIn { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes installOut { to { opacity: 0; transform: translate(-50%, 24px); } }
.install-bar img { border-radius: 12px; flex-shrink: 0; }
.install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.install-text strong { font-size: 15px; color: var(--aubergine); }
.install-text span { font-size: 13px; color: var(--muted); }
.install-go { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--aubergine); color: #fff; font-weight: 700; flex-shrink: 0; }
.install-go:hover { background: var(--brand); }
.install-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--lilac); color: var(--aubergine); font-size: 22px; line-height: 1; flex-shrink: 0; }
.menu-install { margin-top: 8px; height: 48px; border: 0; border-radius: 999px; background: var(--gold); color: var(--aubergine); font-weight: 700; font-size: 15px; }
.menu-install[hidden] { display: none; }
@media (max-width: 760px) { .install-bar { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* Inside the installed app: no "download our app" promos, and respect the phone's notch */
.is-app .announce, .is-app .app-band, .is-app .menu-install { display: none !important; }
.is-app .site-header { padding-top: env(safe-area-inset-top); }

/* ---------- Customer accounts ---------- */
.narrow-md { max-width: calc(860px + 2 * var(--gutter)); }
.acct-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; animation: rise .5s var(--ease) both; }
.acct-head .h1 { margin: 0; }
.acct-head p { margin: 2px 0 0; }
.acct-avatar { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; background: var(--brand); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.acct-logout { margin-left: auto; }
.acct-tabs { display: flex; gap: 6px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.acct-tabs a { height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; white-space: nowrap; font-weight: 600; font-size: 14px; color: var(--aubergine); background: #fff; }
.acct-tabs a.is-on { background: var(--aubergine); color: #fff; }
.acct-orders { display: flex; flex-direction: column; gap: 10px; }
.acct-order { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: #fff; color: var(--ink); animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); transition: transform .2s, box-shadow .2s; }
.acct-order:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(43, 8, 56, .08); }
.acct-order-img { width: 60px; height: 60px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--orchid); }
.acct-order-img img { width: 100%; height: 100%; object-fit: cover; }
.acct-order-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-order-main .muted { font-size: 13px; }
.acct-order-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.acct-danger { margin-top: 20px; border: 1.5px solid #F0C4D0; }
.acct-danger .btn { color: var(--error); border-color: #F0C4D0; }
.checkout-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--orchid); font-size: 14px; }
.checkout-account a { font-weight: 700; }
.acct-cta { max-width: 560px; margin: 8px auto 0; padding: 18px 20px; border-radius: 20px; background: #fff; display: flex; align-items: center; gap: 14px; text-align: left; }
.acct-cta p { margin: 0; flex: 1; font-size: 14px; }
.acct-cta strong { display: block; color: var(--aubergine); font-size: 15px; }
@media (max-width: 760px) {
  .acct-head { flex-wrap: wrap; }
  .acct-avatar { width: 52px; height: 52px; font-size: 22px; }
  .acct-order-side { gap: 4px; }
  .acct-cta { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Links inside assistant replies */
.chat .bubble .chat-link { color: var(--brand); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.chat .bubble .chat-link:hover { color: var(--aubergine); }

/* Checkout: delivery fee by state, variation label on lines */
.field select { width: 100%; }
[data-delivery-fee].is-bump { animation: pop .35s ease-out; }
.line-variant { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }

/* Payment logos */
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay-logos-checkout { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pay-logos-lock { color: #1E7A4C; display: inline-flex; }
.pay-logos-note { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.pay-logos img { height: 26px; width: auto; border-radius: 4px; background: #fff; }
.pay-chip { height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-strong); background: #fff; color: var(--aubergine); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.pay-logos-footer .pay-chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #EFE3F5; }
.pay-logos-footer img { height: 22px; }
.field select[aria-invalid="true"] { border-color: var(--error); animation: shake .35s ease; }

/* Product options (update 12) */
.options { display: grid; gap: 16px; margin: 4px 0 18px; }
.option-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.option-set legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.option-chosen { font-weight: 500; color: var(--muted, #5E4F66); }
.option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 52px; justify-content: center; padding: 0 16px; border: 1.5px solid #DCCFE3; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s, transform .1s; }
.option:hover { border-color: var(--aubergine, #2B0838); }
.option:active { transform: scale(.97); }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option:has(input:checked) { border-color: var(--aubergine, #2B0838); background: var(--aubergine, #2B0838); color: #fff; }
.option:has(input:focus-visible) { outline: 3px solid var(--brand, #7A129F); outline-offset: 2px; }
.option .swatch { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.option:has(input:checked) .swatch { box-shadow: 0 0 0 2px #fff; }
.option.is-unavailable .option-text { text-decoration: line-through; opacity: .55; }
.option.is-unavailable:has(input:checked) .option-text { opacity: .8; }
.option-status { margin: 0; min-height: 1.2em; }
.option-status.is-warn { color: var(--error, #B3261E); }
.options.is-shake { animation: opt-shake .4s; }
@keyframes opt-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .options.is-shake { animation: none; } }
.add-btn[aria-disabled="true"], .pdp-actions [aria-disabled="true"] { opacity: .6; }
a.cp-add { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.card-choose a.add-btn { text-decoration: none; }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #FDECEF; color: var(--error); font-weight: 700; font-size: 14px; }
.stock-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: stock-blink 1.6s ease-in-out infinite; }
@keyframes stock-blink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .stock-pill::before { animation: none; } }
.stock-low { display: block; color: var(--error); font-size: 13px; font-weight: 700; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
/* Home links (update 15) */
.nav-links a.nav-home { display: inline-flex; align-items: center; gap: 6px; }
.nav-links a.nav-home.is-current { color: var(--brand); }
.nav-links a.nav-home.is-current::after { transform: scaleX(1); }

/* Equal product cards (update 16): every card in a row is the same height and the buttons line up */
.card-body { flex: 1 1 auto; min-width: 0; }
.card > form.js-add, .card > .card-choose { margin-top: auto; }
.card-cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .price-row { flex-wrap: nowrap; min-width: 0; white-space: nowrap; overflow: hidden; }
.card .price-row s { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card .stock-low { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .stars { min-height: 14px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.rail { align-items: stretch; }

/* Shop by category: one scrolling line of smaller circles (update 16) */
.cat-rail { display: flex; grid-template-columns: none; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 6px; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail .cat { flex: 0 0 112px; gap: 10px; font-size: 14px; scroll-snap-align: start; }
.cat-rail .cat-disc { width: 96px; max-width: none; flex-shrink: 0; }
.cat-rail .cat-disc svg { width: 42px; height: 42px; }
.cat-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
@media (max-width: 760px) {
  .cat-rail { gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; }
  .cat-rail .cat { flex: 0 0 76px; font-size: 12.5px; gap: 7px; }
  .cat-rail .cat-disc { width: 64px; }
  .cat-rail .cat-disc svg { width: 28px; height: 28px; }
}
.verify-card { text-align: left; }
.verify-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--orchid); color: var(--aubergine); display: flex; align-items: center; justify-content: center; }

/* Search: live suggestions + results pages (update 19) */
.search { position: relative; }
.search-icon-btn { border: 0; background: none; padding: 0; color: inherit; display: flex; align-items: center; cursor: pointer; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(43, 8, 56, .16); padding: 6px; max-height: min(70vh, 520px); overflow-y: auto; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--ink); }
.suggest a:hover, .suggest a.is-active { background: var(--lilac); }
.suggest img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--lilac); flex-shrink: 0; }
.sg-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sg-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-meta { font-size: 12px; color: var(--muted); }
.sg-price { font-weight: 700; color: var(--aubergine); font-size: 14px; white-space: nowrap; }
.suggest a.suggest-all { justify-content: center; font-weight: 700; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; padding: 12px; }
.suggest-empty { padding: 14px; color: var(--muted); font-size: 14px; }
.search-note { margin: -6px 0 16px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.pager .btn { gap: 6px; }

/* Top menu: categories scroll sideways so "All stores / Seller login / Sell on Purplestone" always show (update 19) */
.main-nav { gap: 24px; }
.main-nav .nav-cats { flex: 1 1 auto; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 8px 0; margin: -8px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 40px; }
.main-nav .nav-cats::-webkit-scrollbar { display: none; }
.main-nav .nav-cats.at-end { -webkit-mask-image: none; mask-image: none; }
.main-nav .nav-secondary { flex: 0 0 auto; gap: 20px; }
@media (max-width: 1100px) {
  .main-nav .nav-secondary { display: flex; gap: 16px; }
  .main-nav .nav-secondary .nav-stores { display: none; }
}

/* Seller buttons in the top menu and phone menu */
.nav-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; white-space: nowrap; border: 2px solid var(--brand); transition: background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease); }
.nav-secondary a.nav-btn-fill, .nav-btn-fill { background: var(--brand); color: var(--white); }
.nav-secondary a.nav-btn-fill:hover, .nav-btn-fill:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.nav-secondary a.nav-btn-line, .nav-btn-line { background: var(--white); color: var(--brand); }
.nav-secondary a.nav-btn-line:hover, .nav-btn-line:hover { background: var(--orchid); color: var(--brand-dark); }
.nav-btn:active { transform: scale(.97); }
.nav-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.main-nav .nav-secondary { align-items: center; gap: 10px; }
.main-nav .nav-secondary .nav-stores { margin-right: 6px; }
.menu-seller { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 6px; }
.menu-seller .nav-btn { width: 100%; height: 46px; font-size: 15px; }
@media (max-width: 1100px) { .nav-btn { padding: 0 14px; height: 36px; font-size: 13.5px; } }
.menu-secondary .menu-seller a.nav-btn-fill { color: var(--white); }
.menu-secondary .menu-seller a.nav-btn-line { color: var(--brand); }

/* Continue with Google */
.btn-google { width: 100%; gap: 12px; background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); font-weight: 700; }
.btn-google:hover { border-color: var(--brand); color: var(--ink); background: var(--lilac); }
.btn-google-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lilac); color: var(--brand); font-weight: 800; font-size: 15px; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
