:root {
  color-scheme: light;
  --ink: #282538;
  --muted: #77758b;
  --line: #e8e5ed;
  --purple: #271146;
  --purple-dark: #1b0b30;
  --purple-pale: #f3eef8;
  --green: #36956d;
  --green-pale: #e8f7f0;
  --quick: #8f1d2c;
  --quick-pale: #f8e9ec;
  --surface: #fff;
  --page: #fff;
  --shadow: 0 8px 28px rgba(38, 29, 54, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: var(--page); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
body.quick-theme { --purple: var(--quick); --purple-dark: #64131f; --purple-pale: var(--quick-pale); }
.site-header { position: sticky; z-index: 20; top: 0; background: #f7f7fd; border-bottom: 1px solid var(--line); }
.header-main { display: flex; max-width: 1320px; min-height: 72px; align-items: center; gap: 20px; padding: 12px 26px; margin: auto; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--purple-dark); font-size: 25px; font-weight: 850; letter-spacing: -1.2px; }
.brand-logo { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 9px; object-fit: cover; }
.search-form { position: relative; display: flex; flex: 1 1 500px; max-width: 620px; align-items: center; }
.search-form svg { position: absolute; left: 13px; width: 20px; color: #9692a4; pointer-events: none; }
.search-form input { width: 100%; height: 44px; padding: 0 48px 0 42px; border: 1px solid #c9c4d4; border-radius: 8px; outline: none; }
.search-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px color-mix(in srgb, var(--purple) 12%, transparent); }
.search-form button { position: absolute; right: 4px; width: 37px; height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--purple); font-size: 19px; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions a { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 7px; color: #454254; font-size: 14px; font-weight: 700; }
.header-actions a:hover { background: var(--purple-pale); color: var(--purple); }
.action-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.cart-count { display: inline-grid; min-width: 19px; height: 19px; place-items: center; border-radius: 20px; background: var(--purple); color: white; font-size: 11px; }
.mobile-icon { display: none; }
.desktop-nav { display: flex; max-width: 1320px; height: 42px; align-items: center; gap: 22px; overflow-x: auto; padding: 0 26px; margin: auto; border-top: 1px solid #f2f0f5; white-space: nowrap; scrollbar-width: none; }
.desktop-nav::-webkit-scrollbar { display: none; }
.desktop-nav a { color: #565365; font-size: 13px; font-weight: 650; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--purple); }
.desktop-nav .store-switch { padding: 6px 11px; border: 1px solid var(--line); border-radius: 20px; }
.header-store-switch { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 11px 17px; border: 1px solid #c9c4d4; border-radius: 9px; background: #f3eef8; color: var(--purple); font-size: 14px; font-weight: 750; white-space: nowrap; }
.header-switch-icon { font-size: 16px; line-height: 1; }
.header-store-switch:hover { border-color: var(--purple); background: #fff; }
.mobile-store-switch { display: none; }
.desktop-nav { border-top-color: #e7e6ee; }
.page-content { max-width: 1320px; min-height: 62vh; padding: 28px; margin: auto; }
.store-info-page { max-width: 900px; }
.store-info-card { color: #555163; line-height: 1.7; }
.store-info-card p:last-of-type { margin-bottom: 20px; }
.store-info-block { padding-top: 2px; }
.store-info-block h2 { margin: 21px 0 8px; color: var(--ink); font-size: 17px; }
.store-info-block p { margin-bottom: 10px; }
.store-info-card > .button { margin-top: 8px; }
.store-info-links { display: grid; gap: 10px; }
.store-info-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px; font-weight: 750; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 6px 0 23px; }
.eyebrow { color: var(--purple); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 8px 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.8px; }
h2 { margin: 0 0 15px; font-size: 22px; letter-spacing: -.4px; }
h3 { font-size: 16px; }
.subheading { color: var(--muted); font-size: 14px; line-height: 1.55; }
.section { margin: 34px 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title h2 { margin: 0; }
.text-link { color: var(--purple); font-size: 14px; font-weight: 750; }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid var(--purple); border-radius: 8px; background: var(--purple); color: #fff; font-size: 14px; font-weight: 750; }
.button:hover { border-color: var(--purple-dark); background: var(--purple-dark); }
.button.secondary { background: #fff; color: var(--purple); }
.button.full { width: 100%; }
.category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 13px; }
.category-card { min-height: 135px; padding: 15px 10px; border: 1px solid var(--line); border-radius: 11px; background: white; text-align: center; }
.category-card:hover, .product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.category-image { display: grid; width: 65px; height: 65px; place-items: center; overflow: hidden; margin: 0 auto 10px; border-radius: 17px; background: var(--purple-pale); color: var(--purple); font-size: 30px; }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-card strong { font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 15px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: white; transition: .18s; }
.product-picture { position: relative; display: grid; aspect-ratio: 1/.95; place-items: center; overflow: hidden; background: #f8f7fa; }
.product-picture img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { font-size: 42px; }
.discount-badge, .fast-badge { position: absolute; top: 8px; padding: 5px 7px; border-radius: 5px; background: var(--green-pale); color: var(--green); font-size: 10px; font-weight: 800; }
.discount-badge { left: 8px; }
.fast-badge { right: 8px; background: var(--quick-pale); color: var(--quick); }
.product-info { padding: 11px; }
.product-name { display: -webkit-box; min-height: 37px; overflow: hidden; margin-bottom: 6px; color: #585568; font-size: 13px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin-bottom: 8px; font-size: 18px; font-weight: 850; }
.old-price { color: #9995a7; font-size: 12px; text-decoration: line-through; }
.rating { margin-bottom: 9px; color: var(--green); font-size: 12px; font-weight: 800; }
.add-button { width: 100%; min-height: 35px; border: 1px solid var(--purple); border-radius: 6px; background: white; color: var(--purple); font-size: 13px; font-weight: 800; }
.add-button:hover { background: var(--purple-pale); }
.content-card { padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.stack { display: grid; gap: 14px; }
.split-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(270px,.8fr); gap: 20px; align-items: start; }
#page-content:has(.detail-layout) { max-width: 1160px; padding: 26px 30px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.95fr); gap: clamp(22px,3vw,36px); align-items: stretch; }
.detail-gallery { display: grid; gap: 10px; min-width: 0; }
.detail-picture { position: relative; display: grid; width: 100%; min-width: 0; aspect-ratio: 1.12 / 1; min-height: 0; max-height: 410px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #faf9fb; }
.detail-picture img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.detail-thumbnails { display: flex; gap: 9px; overflow-x: auto; padding: 2px 1px 5px; }
.detail-thumbnail { display: grid; width: 68px; height: 68px; flex: 0 0 auto; place-items: center; overflow: hidden; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.detail-thumbnail.active { border: 2px solid var(--purple); }
.detail-thumbnail img { width: 100%; height: 100%; border-radius: 5px; background: #faf9fb; object-fit: contain; }
.detail-copy { min-width: 0; }
.detail-copy h1 { margin: 7px 0 10px; font-size: clamp(23px,2.5vw,32px); line-height: 1.25; }
.detail-copy .product-price { margin: 13px 0 18px; font-size: 25px; }
.detail-copy { display: flex; min-width: 0; flex-direction: column; padding: 24px; }
.product-options { display: grid; gap: 8px; margin: 18px 0; }
.product-options h2 { margin: 0; font-size: 14px; }
.product-option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.product-purchase-info { display: grid; gap: 9px; padding: 13px; border: 1px solid #e8e2ef; border-radius: 9px; background: #faf8fc; }
.product-purchase-info > strong { color: #625d6b; font-size: 12px; }
.product-purchase-info > div { display: flex; flex-wrap: wrap; gap: 8px; }
.product-purchase-info span { padding: 6px 9px; border: 1px solid #e8e2ef; border-radius: 6px; background: #fff; color: #514e5d; font-size: 11px; font-weight: 650; }
.product-option { min-width: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; text-align: center; }
button.product-option { cursor: pointer; }
.product-option.selected { border-color: var(--purple); background: var(--purple-pale); color: var(--purple); }
.required-mark { color: #a33; font-size: 11px; font-weight: 650; }
.product-option-error { margin: 0; color: #b42318; font-size: 12px; }
.product-option-error[hidden] { display: none; }
.product-description-section, .similar-products-section { margin-block: 30px; }
.product-description { white-space: pre-line; color: #514e5d; line-height: 1.7; }
.product-description-section[hidden], .similar-products-section[hidden] { display: none; }
.similar-products-section .product-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.similar-products-section .product-picture { aspect-ratio: 1 / 1; max-height: 190px; }
.similar-products-section .product-info { padding: 10px; }
.similar-products-section .product-name { min-height: 35px; font-size: 12px; }
.similar-products-section .product-price { font-size: 16px; }
.similar-products-section .button { min-height: 34px; padding-block: 7px; font-size: 12px; }
.detail-actions { display: grid; max-width: 440px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: auto 0 14px; padding-top: 20px; }
.detail-actions .button { width: 100%; min-height: 50px; padding-inline: 16px; }
.detail-actions [data-add] { border-color: var(--purple); background: #fff; color: var(--purple); }
.detail-actions [data-add]:hover { background: var(--purple-pale); }
.detail-actions [data-buy] { border-color: var(--purple); background: var(--purple); color: #fff; }
.detail-actions [data-buy]:hover { border-color: var(--purple-dark); background: var(--purple-dark); }
.review-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: 0; }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 18px; }
.category-tab { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; background: white; color: var(--muted); font-size: 13px; font-weight: 700; }
.category-tab.active { border-color: var(--purple); background: var(--purple-pale); color: var(--purple); }
.category-browser.page-content { max-width: 1440px; padding: 4px 0 18px; }
.category-browse-layout { display: grid; min-height: 0; grid-template-columns: 132px minmax(0,1fr); align-items: stretch; gap: 0; }
.category-sidebar { position: sticky; top: 92px; align-self: start; height: min(620px,calc(100vh - 150px)); min-height: 320px; overflow-y: auto; padding: 4px 0; border-right: 1px solid var(--line); background: #fafbfc; }
.category-main-list { display: grid; }
.category-main-list button { display: grid; width: 100%; min-height: 76px; align-content: center; justify-items: center; gap: 4px; padding: 5px 4px; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid #eceef1; background: transparent; color: #555c66; font-size: 12px; font-weight: 650; text-align: center; }
.category-main-list button:hover, .category-main-list button.active { border-left-color: var(--purple); background: var(--purple-pale); color: var(--purple); font-weight: 800; }
.category-main-image { display: grid; width: 46px; height: 46px; place-items: center; overflow: hidden; border-radius: 13px; background: #eceef2; font-size: 20px; }
.category-main-image img { width: 100%; height: 100%; object-fit: cover; }
.category-main-name { max-width: 100%; overflow-wrap: anywhere; }
.category-results { min-width: 0; background: #f8f9fb; }
.category-selected-heading { display: flex; min-height: 56px; flex-direction: column; justify-content: center; gap: 2px; padding: 7px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.category-selected-heading h2 { margin: 0; color: var(--ink); font-size: 17px; }
.category-selected-heading span { color: var(--muted); font-size: 11px; }
.category-sub-list { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px 8px; padding: 12px 10px 18px; }
.category-sub-list[hidden] { display: none; }
.category-sub-button { display: grid; align-content: start; justify-items: center; gap: 4px; min-width: 0; padding: 0 3px; border: 0; border-radius: 10px; background: transparent; color: #404650; font-size: 12px; font-weight: 650; text-align: center; }
.category-sub-button:hover .category-image { box-shadow: 0 0 0 3px color-mix(in srgb, var(--purple) 18%, transparent); }
.category-sub-button .category-image { width: 58px; height: 58px; margin: 0; border-radius: 15px; background: #e9ebef; }
.category-sub-button .category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-sub-name { max-width: 150px; line-height: 1.3; }
.category-selection-prompt { padding: 24px; color: var(--muted); }
.category-selection-prompt[hidden] { display: none; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { color: #464355; font-size: 13px; font-weight: 750; }
.payment-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #d9d5e1; border-radius: 8px; background: #fff; cursor: pointer; }
.payment-option input { width: auto; min-height: 0; margin: 3px 0 0; accent-color: var(--purple); }
.payment-option span { display: grid; gap: 3px; }
.payment-option strong { color: var(--ink); font-size: 14px; }
.payment-option small { color: #6b6875; font-size: 12px; }
.field input, .field textarea, .field select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #d9d5e1; border-radius: 7px; outline: none; background: #fff; color: var(--ink); }
.field .payment-option input { width: 18px; min-height: 18px; padding: 0; border: 0; }
.field textarea { min-height: 85px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; }
.form-error { color: #b42318; font-size: 13px; }
.notice { padding: 12px; border-radius: 7px; background: var(--green-pale); color: #2c7959; font-size: 13px; }
.line-item { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0edf3; }
.line-item:last-child { border-bottom: 0; }
.line-item img, .line-placeholder { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 8px; background: #f7f5f8; object-fit: cover; }
.line-item h3 { margin: 0 0 4px; font-size: 14px; }
.line-meta { color: var(--muted); font-size: 12px; }
.qty-control { display: inline-flex; align-items: center; gap: 9px; }
.qty-control button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--purple); }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; color: #676476; font-size: 14px; }
.summary-row.total { margin-top: 6px; border-top: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 850; }
.empty-state { grid-column: 1/-1; padding: 45px 18px; border: 1px dashed #d9d5e1; border-radius: 11px; color: var(--muted); text-align: center; }
.empty-state h2, .empty-state h3 { color: var(--ink); }
.progress { display: flex; max-width: 420px; gap: 30px; margin: 0 auto 22px; color: var(--muted); font-size: 13px; }
.step-dot { display: inline-grid; width: 25px; height: 25px; place-items: center; margin-right: 7px; border-radius: 50%; background: var(--green-pale); color: var(--green); }
.success-panel { max-width: 700px; padding: 38px 24px; margin: 25px auto; border: 1px solid #e2f2e9; border-radius: 15px; background: #f8fffb; text-align: center; }
.success-check { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--green); color: white; font-size: 38px; }
.success-number { display: inline-block; padding: 10px 14px; margin: 8px 0 20px; border: 1px dashed #a9d5ba; border-radius: 8px; color: #286e4a; font-weight: 850; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px max(20px,calc((100% - 1268px)/2)); border-top: 1px solid var(--line); background: #fcfbfd; color: var(--muted); font-size: 13px; }
.mobile-nav { display: none; }
.toast { position: fixed; z-index: 50; right: 18px; bottom: 18px; max-width: min(360px,calc(100vw - 36px)); padding: 12px 16px; border-radius: 8px; background: #262333; color: white; opacity: 0; pointer-events: none; transform: translateY(6px); transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.loading { grid-column: 1/-1; padding: 40px; color: var(--muted); text-align: center; }
@media(max-width:1000px) {
  .header-main { gap: 15px; padding-inline: 18px; }
  .desktop-nav { padding-inline: 18px; }
  .page-content { padding: 23px 18px; }
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .header-main { display: grid; min-height: 0; grid-template-columns: 1fr auto; gap: 9px; padding: 9px 13px; }
  .brand { font-size: 22px; }
  .brand-logo { width: 36px; height: 36px; }
  .header-actions { gap: 3px; }
  .header-actions a { position: relative; min-width: 38px; min-height: 37px; justify-content: center; padding: 5px; }
  .desktop-label { display: none; }
  .mobile-icon { display: inline; font-size: 20px; }
  .cart-count { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; font-size: 10px; }
  .search-form { grid-column: 1/-1; max-width: none; }
  .search-form input { height: 41px; }
  .desktop-nav { height: 39px; gap: 17px; padding-inline: 13px; }
  .desktop-nav a { font-size: 12px; }
  .page-content { min-height: 65vh; padding: 18px 13px 88px; }
  .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .category-card { min-height: 117px; padding: 11px 5px; }
  .category-image { width: 52px; height: 52px; margin-bottom: 7px; font-size: 24px; }
  .category-card strong { font-size: 11px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .product-info { padding: 9px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 16px; }
  .category-layout, .split-layout { grid-template-columns: 1fr; gap: 15px; }
  .detail-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .detail-picture { min-height: 0; max-height: 390px; }
  .detail-picture img { max-height: 390px; }
  .form-grid { grid-template-columns: 1fr; }
  .line-item { grid-template-columns: 50px minmax(0,1fr); }
  .line-item img, .line-placeholder { width: 50px; height: 50px; }
  .line-item > :last-child { grid-column: 2; justify-self: start; }
  .site-footer { flex-direction: column; padding: 19px 15px 82px; }
  .mobile-nav { position: fixed; z-index: 25; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4,1fr); padding: 6px 5px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
  .mobile-nav a { display: grid; min-height: 43px; place-items: center; gap: 1px; color: #777386; font-size: 10px; font-weight: 700; }
  .mobile-nav a[aria-current="page"] { color: var(--purple); }
  .mobile-nav a span { font-size: 20px; line-height: 1; }
  .mobile-nav a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .toast { right: 10px; bottom: 70px; }
}
@media(max-width:380px) { .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.site-header { box-shadow: 0 2px 12px rgba(38,29,54,.035); }
.header-main { gap: clamp(14px,2.2vw,32px); }
.brand { font-size: 27px; }
.header-actions a { min-width: 76px; min-height: 48px; justify-content: center; border-left: 1px solid var(--line); border-radius: 0; }
.desktop-nav { gap: clamp(14px,2vw,27px); }
.page-content { width: 100%; }
.page-heading { margin-top: 12px; }
.section { margin-block: 40px; }
.section-title { margin-bottom: 18px; }
.section-title h2 { font-size: clamp(20px,2.2vw,26px); }
.home-promo { margin: 22px 0 34px; }
.home-products-loader { min-height: 42px; padding: 14px 8px; color: var(--muted); font-size: 13px; text-align: center; }
.home-products-loader[hidden] { display: none; }
.promo-card { position: relative; display: grid; min-height: 260px; grid-template-columns: minmax(0,1.15fr) minmax(240px,.85fr); align-items: center; overflow: hidden; border: 1px solid #f0dcec; border-radius: 16px; background: linear-gradient(110deg,#fff5e7,#f9e5f5); }
.promo-card > img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.promo-copy { display: grid; grid-column: 1; grid-row: 1; justify-items: start; gap: 13px; padding: clamp(24px,4vw,52px); }
.promo-copy strong { max-width: 520px; color: var(--purple-dark); font-size: clamp(26px,4vw,44px); line-height: 1.08; letter-spacing: -.04em; }
.promo-copy > span:not(.eyebrow):not(.promo-action) { max-width: 440px; color: #6c5e70; font-size: 15px; line-height: 1.6; }
.promo-action { display: inline-flex; min-height: 42px; align-items: center; gap: 14px; padding: 0 18px; border-radius: 7px; background: var(--purple); color: white; font-size: 14px; font-weight: 750; }
.promo-action b { font-size: 20px; }
.promo-fallback { padding: clamp(28px,5vw,56px); border-radius: 16px; background: linear-gradient(120deg,#fff0d2,#f4d8ef 68%,var(--purple)); }
.promo-fallback h2 { margin: 10px 0; color: var(--purple-dark); font-size: clamp(28px,4vw,42px); }
.promo-fallback p { color: #625269; }
.home-category-grid { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.home-category-grid .category-card { flex: 0 0 158px; min-height: 190px; padding: 0 0 12px; overflow: hidden; scroll-snap-align: start; }
.home-category-grid .category-image { width: 100%; height: 146px; margin: 0 0 10px; border-radius: 0; background: #f8f4fb; }
.home-category-grid .category-image img { object-fit: cover; }
.home-category-grid .category-card strong { display: block; padding: 0 8px; font-size: 13px; }
.benefits { color: #5e5262; }
.benefits b { color: var(--purple); margin-right: 5px; }
.category-card, .product-card, .content-card { border-color: #ebe7ef; box-shadow: 0 2px 10px rgba(38,29,54,.025); }
.product-card { border-radius: 12px; }
.product-picture { aspect-ratio: 1 / 1.04; background: #faf9fb; }
.product-picture img { object-fit: contain; mix-blend-mode: multiply; }
.product-info { padding: 13px; }
.product-name { min-height: 38px; color: #555163; font-size: 13px; font-weight: 550; }
.product-price { gap: 8px; font-size: 19px; }
.old-price { color: #918c9c; }
.discount-badge { border-radius: 4px; }
.add-button { min-height: 38px; border-radius: 7px; }
.detail-picture { background: white; }
.detail-copy h1 { font-size: clamp(26px,3vw,34px); line-height: 1.2; }
.detail-copy .product-price { font-size: 28px; }
.detail-copy .rating { display: inline-flex; padding: 6px 9px; border-radius: 6px; background: var(--green-pale); }
.content-card { border-radius: 12px; }
.search-page-form { display: flex; align-items: end; gap: 14px; }
.search-page-form .field { flex: 1; margin: 0; }
.order-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; padding: 18px 20px; }
[data-page="orders"] .page-heading { margin-bottom: 18px; }
[data-page="orders"] [data-orders] { gap: 12px; }
.order-card-main { min-width: 0; }
.order-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-card-heading h2 { margin: 1px 0 0; color: var(--ink); font-size: 16px; }
.order-card-label { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.order-card-date { margin: 6px 0 9px; color: var(--muted); font-size: 12px; }
.order-card-items { display: -webkit-box; overflow: hidden; margin: 0; color: #555163; font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.order-card-items span, .order-card-items i { color: var(--muted); font-style: normal; }
.order-more-items { color: var(--purple) !important; font-weight: 700; }
.order-card-footer { display: grid; min-width: 138px; justify-items: end; align-content: space-between; gap: 12px; }
.order-card-total { display: block; margin-top: 2px; color: var(--ink); font-size: 17px; }
.order-details-link { min-height: 37px; padding-inline: 12px; white-space: nowrap; font-size: 12px; }
.order-list-status { flex: 0 0 auto; }
.order-status-pending, .order-status-accepted, .order-status-processing { background: #fff5df; color: #946300; }
.order-status-cancelled, .order-status-refunded, .order-status-returned { background: #fff0f0; color: #a33; }
.order-status-delivered { background: var(--green-pale); color: var(--green); }
.order-status-out_for_delivery, .order-status-shipped { background: #eef4ff; color: #315d9b; }
.order-top, .order-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status-pill { display: inline-flex; padding: 5px 9px; border-radius: 99px; background: var(--green-pale); color: var(--green); font-size: 11px; font-weight: 800; text-transform: capitalize; }
.order-detail-page { display: grid; gap: 18px; }
.order-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.order-detail-header h1 { margin: 3px 0; font-size: 25px; }
.order-detail-header .eyebrow { color: var(--muted); }
.order-status-pill { padding: 7px 12px; font-size: 12px; }
.order-progress-card, .order-items-card, .order-detail-sidebar > .content-card { padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.order-progress-card h2, .order-detail-sidebar h2 { margin: 0 0 14px; font-size: 16px; }
.order-timeline { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); padding: 0; margin: 0; list-style: none; }
.order-timeline-step { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--muted); text-align: center; }
.order-timeline-step::before { position: absolute; top: 14px; right: 50%; left: -50%; height: 2px; background: var(--line); content: ""; }
.order-timeline-step:first-child::before { display: none; }
.order-timeline-step.complete::before, .order-timeline-step.current::before { background: var(--purple); }
.order-timeline-marker { z-index: 1; display: grid; width: 29px; height: 29px; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 11px; font-weight: 800; }
.order-timeline-step.complete .order-timeline-marker, .order-timeline-step.current .order-timeline-marker { border-color: var(--purple); background: var(--purple); color: #fff; }
.order-timeline-step.current { color: var(--purple); font-weight: 800; }
.order-timeline-label { max-width: 95px; font-size: 11px; line-height: 1.25; }
.order-terminal-state { padding: 14px 16px; border: 1px solid #f0d7d7; border-radius: 9px; background: #fff8f8; color: #8e3333; font-weight: 700; }
.order-detail-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(270px,.8fr); gap: 18px; align-items: start; }
.order-items-card .section-title { margin-bottom: 4px; }
.order-items-card .section-title h2 { font-size: 17px; }
.order-items-card .section-title h2 span { color: var(--muted); font-size: 13px; font-weight: 600; }
.order-detail-item { grid-template-columns: 64px minmax(0,1fr) auto; }
.order-detail-item > strong { color: var(--ink); font-size: 13px; }
.order-detail-sidebar { display: grid; gap: 12px; }
.order-address-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.order-detail-actions { display: grid; gap: 9px; }
.account-card { width: min(100%, 520px); margin-inline: auto; }
.account-links { display: grid; gap: 10px; margin-top: 20px; }
.address-card { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.address-actions { display: flex; flex: 0 0 auto; gap: 12px; }
.address-actions button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--purple); font-size: 12px; font-weight: 700; }
button:disabled { cursor: not-allowed; opacity: .6; }

@media(max-width:1000px) {
  .header-main { gap: 12px; padding-inline: 18px; }
  .header-store-switch { padding: 9px 12px; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .detail-layout { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 18px; }
  .detail-picture { max-height: 370px; }
  .detail-copy { padding: 22px; }
  .home-category-grid .category-card { flex-basis: 145px; }
}
@media(max-width:700px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .site-header { position: sticky; top: 0; }
  .header-main { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 6px; row-gap: 8px; padding: 9px 8px 10px 13px; }
  .header-main > .brand { grid-column: 1; grid-row: 1; }
  .header-main > .header-actions { grid-column: 2; grid-row: 1; }
  .header-main > .search-form { grid-column: 1; grid-row: 2; min-width: 0; align-self: center; }
  .header-main > .header-store-switch { display: none; }
  .header-main > .mobile-store-switch { display: flex; grid-column: 2; grid-row: 2; align-items: center; gap: 7px; }
  .mobile-store-switch a { min-width: 0; padding: 0 11px; height: 41px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c9c4d4; border-radius: 9px; background: #f3eef8; color: var(--purple); font-size: 11px; font-weight: 750; text-align: center; white-space: nowrap; }
  .mobile-store-switch a[aria-current="page"] { border-color: var(--purple); background: var(--purple-pale); }
  .brand { font-size: 21px; letter-spacing: -.8px; }
  .brand-logo { width: 35px; height: 35px; }
  .header-actions { gap: 3px; }
  .header-actions a { min-width: 40px; min-height: 38px; border: 0; padding: 4px; }
  .mobile-icon { font-size: 21px; }
  .search-form input { border-color: #e4dfe9; border-radius: 9px; background: #faf9fb; }
  .desktop-nav { display: none; }
  .page-content { padding: 16px 13px 94px; }
  .page-heading { margin: 4px 0 18px; }
  .page-heading h1 { font-size: 25px; }
  .section { margin: 27px 0; }
  .section-title { margin-bottom: 13px; }
  .section-title h2 { font-size: 19px; }
  .home-promo { margin: 17px 0 27px; }
  .promo-card { min-height: 210px; grid-template-columns: 1fr .78fr; border-radius: 12px; }
  .promo-card > img { min-height: 210px; }
  .promo-copy { gap: 9px; padding: 17px 12px; }
  .promo-copy .eyebrow { font-size: 9px; letter-spacing: .07em; }
  .promo-copy strong { font-size: clamp(20px,6vw,27px); }
  .promo-copy > span:not(.eyebrow):not(.promo-action) { font-size: 11px; line-height: 1.4; }
  .promo-action { min-height: 35px; gap: 7px; padding: 0 10px; font-size: 11px; }
  .site-header.is-scrolled .header-main { grid-template-columns: minmax(0,1fr); gap: 0; padding-block: 6px; }
  .site-header.is-scrolled .header-main > .brand,
  .site-header.is-scrolled .header-main > .header-actions,
  .site-header.is-scrolled .header-main > .mobile-store-switch { display: none; }
  .site-header.is-scrolled .header-main > .search-form { grid-column: 1; grid-row: 1; }
  .home-category-grid { gap: 10px; margin-inline: -3px; }
  .home-category-grid .category-card { flex-basis: 125px; min-height: 154px; border-radius: 10px; }
  .home-category-grid .category-image { height: 116px; }
  .home-category-grid .category-card strong { font-size: 11px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .product-card { border-radius: 9px; }
  .product-picture { aspect-ratio: 1 / 1; }
  .product-info { padding: 9px; }
  .product-name { min-height: 34px; font-size: 12px; }
  .product-price { gap: 5px; font-size: 16px; }
  .old-price { font-size: 10px; }
  .rating { font-size: 10px; }
  .add-button { min-height: 35px; font-size: 12px; }
  .category-browse-layout { display: block; }
  .search-page-form { align-items: stretch; flex-direction: column; gap: 10px; padding: 14px; }
  .search-page-form .button { width: 100%; }
  .progress { justify-content: center; }
  .content-card { padding: 16px; }
  .line-item { gap: 9px; }
  .line-item h3 { font-size: 13px; }
  .summary-row { font-size: 13px; }
  .success-panel { padding: 28px 16px; }
  .success-panel .button { margin: 4px; }
  .address-card { flex-direction: column; }
  .address-actions { width: 100%; }
  .address-actions button { flex: 1; min-height: 40px; }
  #page-content:has(.detail-layout) { padding: 12px 13px 12px; }
  .detail-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .detail-picture { border: 0; border-radius: 0; background: #fff; }
  .detail-picture img { max-height: 100%; }
  .detail-thumbnail { width: 58px; height: 58px; }
  .detail-copy { padding: 17px; }
  .detail-copy h1 { font-size: 23px; }
  .detail-copy .product-price { font-size: 22px; }
  .product-description-section, .similar-products-section { margin-block: 23px; }
  #page-content:has(.detail-layout) > .similar-products-section { margin-bottom: 0; }
  .similar-products-section .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .similar-products-section .product-picture { max-height: none; }
  .detail-actions { position: fixed; z-index: 24; right: 0; bottom: calc(56px + env(safe-area-inset-bottom)); left: 0; justify-content: center; padding: 9px 13px; margin: 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -5px 18px rgba(38,29,54,.08); backdrop-filter: blur(12px); }
  .detail-actions .button { flex: 1; max-width: 240px; }
  .order-detail-page { gap: 12px; }
  .order-detail-header { align-items: flex-start; }
  .order-detail-header h1 { font-size: 21px; }
  .order-progress-card, .order-items-card, .order-detail-sidebar > .content-card { padding: 14px; border-radius: 10px; }
  .order-progress-card h2, .order-detail-sidebar h2 { margin-bottom: 12px; font-size: 15px; }
  .order-progress-card { overflow-x: auto; }
  .order-progress-card h2 { margin-bottom: 14px; }
  .order-timeline { min-width: 320px; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 0; }
  .order-timeline-step { min-height: 0; grid-template-columns: minmax(0,1fr); justify-items: center; align-items: start; gap: 7px; text-align: center; }
  .order-timeline-step::before { top: 13px; right: 50%; left: -50%; width: auto; height: 2px; }
  .order-timeline-marker { width: 27px; height: 27px; }
  .order-timeline-label { max-width: 65px; font-size: 10px; }
  .order-timeline-step:first-child::before { display: none; }
  .order-detail-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .order-detail-item { grid-template-columns: 52px minmax(0,1fr) auto; gap: 9px; }
  .order-detail-item img { width: 52px; height: 52px; }
  .order-detail-item > strong { grid-column: auto; justify-self: end; }
  .order-detail-sidebar { gap: 10px; }
  .order-detail-actions .button { min-height: 42px; }
  .order-card { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 14px; }
  .order-card-heading h2 { font-size: 15px; }
  .order-card-date { margin: 5px 0 8px; font-size: 11px; }
  .order-card-items { font-size: 12px; }
  .order-card-footer { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px solid var(--line); }
  .order-card-total { font-size: 16px; }
  .order-details-link { min-height: 38px; }
  [data-page="orders"] .category-tabs { gap: 7px; margin-bottom: 14px; }
  [data-page="orders"] .category-tab { padding: 7px 11px; font-size: 12px; }
  .site-footer { padding: 18px 15px 88px; }
  .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media(max-width:360px) {
  .promo-card { grid-template-columns: 1fr .65fr; }
  .promo-copy { padding-inline: 10px; }
  .promo-copy strong { font-size: 19px; }
  .product-info { padding: 8px; }
}

.auth-page { display: grid; min-height: 590px; grid-template-columns: minmax(0,1fr) minmax(360px,460px); align-items: center; gap: clamp(35px,8vw,120px); max-width: 1050px; padding: 45px 28px; margin: 0 auto; }
.auth-intro { max-width: 510px; padding: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: linear-gradient(145deg,#271146,#412064); color: white; box-shadow: 0 22px 60px rgba(39,17,70,.18); }
.auth-intro .eyebrow { color: #d9c7f2; }
.auth-intro h1 { max-width: 480px; margin: 14px 0; color: var(--purple-dark); font-size: clamp(34px,4.4vw,54px); line-height: 1.08; letter-spacing: -1.7px; }
.auth-intro h1 { color: white; }
.auth-intro > p { max-width: 440px; margin-bottom: 0; color: #e0d6ec; font-size: 16px; line-height: 1.65; }
.auth-benefits { display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; color: #504c5e; font-size: 14px; font-weight: 650; }
.auth-intro .auth-benefits { color: #f5effa; }
.auth-benefits li { display: flex; align-items: center; gap: 11px; }
.auth-benefits li span { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--green-pale); color: var(--green); font-size: 13px; }
.auth-intro .auth-benefits li span { background: rgba(255,255,255,.14); color: #fff; }
.account-card { width: 100%; padding: 27px; border-color: #eee8f0; border-radius: 16px; box-shadow: 0 16px 50px rgba(51,31,55,.09); }
.auth-primary-card { padding: 34px; }
.auth-primary-card > .back-home { display: none; }
.auth-card-heading h2 { margin-bottom: 6px; font-size: 25px; }
.auth-card-heading p { margin-bottom: 20px; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; margin-bottom: 22px; border-radius: 9px; background: #f5f2f6; }
.auth-switch button { min-height: 42px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 750; }
.auth-switch button.active { background: white; color: var(--purple); box-shadow: 0 2px 7px rgba(38,29,54,.1); }
.account-card .field { gap: 8px; margin-bottom: 17px; }
.account-card .field label { font-size: 13px; }
.account-card .field input, .auth-modal-panel .field input { min-height: 48px; padding-inline: 13px; border-color: #ddd7e2; border-radius: 8px; font-size: 16px; }
.account-card .field input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px color-mix(in srgb, var(--purple) 12%, transparent); }
.auth-terms { margin: 16px 0 0; color: #898494; font-size: 11px; line-height: 1.55; text-align: center; }
.account-card .button { min-height: 47px; }
.auth-google-primary { margin-bottom: 18px; }
.auth-google-primary .google-button-container { min-height: 48px; }
.auth-google-primary iframe { max-width: 100%; }
.auth-google-primary .auth-divider { margin: 18px 0 0; }
.secondary-auth { margin-top: 2px; }
.secondary-auth summary { width: fit-content; margin: 0 auto; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; text-align: center; }
.secondary-auth[open] summary { margin-bottom: 20px; }
.secondary-auth .button { margin-top: 2px; }
.auth-primary-card > .auth-card-heading { margin-top: 22px; }
.auth-primary-card .auth-switch { margin-bottom: 18px; }
.account-links { display: grid; gap: 10px; margin-top: 20px; }
.account-card > h2 { margin-bottom: 6px; }

.site-footer { display: block; padding: 0; border: 0; background: #f7f7fd; color: #666477; }
.footer-inner { display: grid; max-width: 1320px; grid-template-columns: minmax(210px,1.3fr) minmax(125px,.7fr) minmax(160px,.9fr) minmax(145px,.85fr) minmax(165px,.9fr) minmax(200px,1.05fr); gap: clamp(20px,2.5vw,38px); padding: 50px 28px 40px; margin: 0 auto; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand h2 { max-width: 350px; margin: 0 0 12px; font-size: 25px; font-weight: 550; letter-spacing: -.6px; }
.footer-brand p, .footer-contact p { max-width: 330px; margin: 0 0 7px; color: #6f6b80; font-size: 14px; line-height: 1.65; }
.footer-promises { display: grid; gap: 4px; margin-top: 15px; color: #666477; font-size: 14px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-column h2 { margin: 0 0 2px; color: #302d3c; font-size: 16px; font-weight: 850; }
.footer-column a { color: #666477; font-size: 13px; line-height: 1.4; }
.footer-column a:hover { color: var(--purple); text-decoration: underline; }
.footer-contact a { font-weight: 700; }
.footer-app p { margin: 0; color: #6f6b80; font-size: 13px; line-height: 1.55; }
.footer-play-store { display: inline-flex; min-height: 48px; align-items: center; gap: 9px; padding: 6px 13px; border: 1px solid #36343b; border-radius: 7px; background: #17171a; color: #fff !important; text-decoration: none !important; }
.footer-play-store svg { width: 22px; height: 22px; fill: #fff; }
.footer-play-store span { display: flex; flex-direction: column; gap: 2px; }
.footer-play-store small { color: #dedde2; font-size: 8px; letter-spacing: .7px; line-height: 1; }
.footer-play-store strong { color: #fff; font-size: 14px; line-height: 1.1; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.footer-social span { padding: 6px 8px; border: 1px solid #e4e2eb; border-radius: 6px; color: #777386; font-size: 10px; font-weight: 700; }
.footer-bottom { display: flex; max-width: 1264px; justify-content: space-between; gap: 15px; padding: 15px 0; margin: 0 auto; border-top: 1px solid #e7e6ee; color: #817d8f; font-size: 11px; }

@media(max-width:900px) {
  .footer-inner { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
  .footer-bottom { margin-inline: 24px; }
  .auth-page { gap: 36px; grid-template-columns: minmax(0,1fr) minmax(330px,420px); padding-inline: 20px; }
}
@media(max-width:700px) {
  .auth-page { width: 100%; min-height: 100vh; min-height: 100dvh; grid-template-columns: 1fr; align-content: center; gap: 0; padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom)); }
  .auth-intro { display: none; }
  .auth-primary-card { display: flex; width: 100%; min-height: calc(100vh - 40px); min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 40px); flex-direction: column; justify-content: center; padding: 20px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .auth-primary-card > .back-home { display: inline-flex; margin-bottom: 22px; }
  .auth-primary-card > .auth-card-heading { margin-top: 0; }
  .auth-primary-card .auth-card-heading h2 { font-size: 23px; }
  .auth-primary-card .auth-switch { margin-bottom: 17px; }
  .auth-google-primary { margin-bottom: 15px; }
  .auth-google-primary .auth-divider { margin-top: 15px; }
  .auth-primary-card .auth-terms { margin-top: 13px; }
  .mobile-auth-help { margin: 18px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
  .mobile-auth-help a { color: var(--purple); font-weight: 750; }
  .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 16px; padding: 24px 14px 18px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand .brand { margin-bottom: 9px; }
  .footer-brand h2 { font-size: 21px; }
  .footer-brand p, .footer-contact p { font-size: 13px; }
  .footer-column { gap: 7px; }
  .footer-column h2 { font-size: 14px; }
  .footer-column a { font-size: 12px; }
  .footer-column[aria-label="Information"] { display: grid; grid-column: 1/-1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 14px; }
  .footer-column[aria-label="Information"] h2 { grid-column: 1/-1; }
  .footer-app, .footer-contact { align-self: start; }
  .footer-bottom { flex-direction: column; gap: 5px; padding: 13px 0; margin-inline: 18px; font-size: 10px; }
}

.account-desktop-landing { max-width: 730px; padding: 70px 20px; margin: 0 auto; text-align: center; }
.account-desktop-landing h1 { margin: 12px 0; font-size: clamp(32px,4vw,46px); }
.account-desktop-landing .subheading { margin: 0 auto 22px; }
.account-desktop-trigger { display: inline-flex; min-width: 76px; min-height: 48px; align-items: center; justify-content: center; gap: 7px; padding: 7px 10px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; color: #454254; font-size: 14px; font-weight: 700; }
.account-desktop-trigger:hover { background: var(--purple-pale); color: var(--purple); }
.account-mobile-link { display: none !important; }
.mobile-auth-page { display: none; }
.auth-modal[hidden] { display: none; }
.auth-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.auth-modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(28,22,35,.58); backdrop-filter: blur(3px); }
.auth-modal-panel { position: relative; z-index: 1; width: min(100%,440px); max-height: min(92vh,760px); overflow-y: auto; padding: 34px; border: 1px solid #eee8f0; border-radius: 18px; background: white; box-shadow: 0 25px 90px rgba(23,15,29,.3); }
.auth-modal-close { position: absolute; top: 10px; right: 12px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; background: #f5f2f6; color: #514b5a; font-size: 25px; line-height: 1; }
.auth-modal-brand { margin-bottom: 25px; font-size: 22px; }
.auth-modal .auth-card-heading h2 { font-size: 24px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #898494; font-size: 11px; text-align: center; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.google-button-container { display: flex; min-height: 40px; justify-content: center; overflow: hidden; }
.google-unavailable { margin: 0; color: var(--muted); font-size: 12px; }
.form-error { padding: 10px 12px; border-radius: 7px; background: #fff0f0; color: #a42d34; font-size: 13px; line-height: 1.45; }
.google-phone-step { margin-bottom: 10px; }
.google-phone-step h3 { margin: 0 0 6px; }
.google-phone-step p { margin-bottom: 15px; color: var(--muted); font-size: 13px; }
.account-dashboard { display: grid; max-width: 1040px; gap: 18px; margin: 0 auto; }
.account-welcome { display: flex; align-items: center; gap: 17px; padding: 24px; border-color: #e8e0ef; background: linear-gradient(120deg,#f5eef9,#fff 75%); }
.account-welcome-avatar { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font-size: 24px; font-weight: 800; }
.account-welcome-copy { min-width: 0; }
.account-welcome h2 { margin: 6px 0 4px; font-size: 23px; }
.account-welcome .subheading { margin: 0; }
.account-section-title { margin: 3px 0 -7px; font-size: 20px; }
.account-dashboard-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.account-dashboard-card { position: relative; display: grid; min-height: 150px; align-content: start; gap: 9px; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: white; transition: .18s; }
.account-dashboard-card:hover { border-color: #d9b9d7; box-shadow: var(--shadow); transform: translateY(-2px); }
.account-dashboard-card strong { font-size: 15px; }
.account-dashboard-card > span:not(.dashboard-icon) { color: var(--muted); font-size: 12px; line-height: 1.45; }
.account-dashboard-card b { position: absolute; right: 17px; bottom: 15px; color: var(--purple); }
.dashboard-icon { color: var(--purple); font-size: 24px; }
.account-signout { justify-self: start; min-height: 43px; padding-inline: 20px; }
.account-mobile-link { display: none; }
body.auth-modal-open { overflow: hidden; }

@media(max-width:700px) {
  .account-desktop-trigger, .account-desktop-landing { display: none; }
  .header-actions .account-mobile-link { display: none !important; }
  .header-actions a { min-width: 40px; min-height: 38px; border: 0; padding: 4px; }
  .mobile-auth-page { display: block; max-width: 480px; min-height: calc(100dvh - 32px); padding: 17px 0 28px; margin: 0 auto; }
  body:has([data-page="account"]) .site-header,
  body:has([data-page="account"]) .site-footer,
  body:has([data-page="account"]) .mobile-nav { display: none; }
  body:has([data-page="account"]) .page-content { min-height: 100dvh; padding: 0 18px; background: #fbf8fc; }
  .back-home { display: inline-flex; align-items: center; gap: 8px; color: #625d6b; font-size: 13px; font-weight: 700; }
  .mobile-auth-heading { display: grid; justify-items: center; gap: 8px; padding: 34px 12px 22px; text-align: center; }
  .mobile-auth-heading h1 { margin: 0; font-size: 28px; }
  .mobile-auth-heading p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
  .mobile-auth-page .account-card { padding: 21px 19px; border: 1px solid #eee8f0; border-radius: 16px; box-shadow: 0 12px 35px rgba(51,31,55,.08); }
  .mobile-auth-help { margin: 20px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
  .mobile-auth-help a { color: var(--purple); font-weight: 750; }
  .auth-modal { align-items: end; padding: 0; }
  .auth-modal-panel { width: 100%; max-height: 94dvh; padding: 28px 22px calc(22px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
  .account-dashboard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .account-dashboard { gap: 13px; }
  .account-welcome { gap: 12px; padding: 17px; border-radius: 13px; }
  .account-welcome-avatar { width: 47px; height: 47px; font-size: 20px; }
  .account-welcome h2 { margin: 4px 0 3px; font-size: 19px; }
  .account-welcome .eyebrow { font-size: 10px; }
  .account-welcome .subheading { overflow-wrap: anywhere; font-size: 12px; }
  .account-section-title { margin: 4px 0 -3px; font-size: 17px; }
  .account-dashboard-card { min-height: 126px; gap: 7px; padding: 13px; border-radius: 11px; }
  .account-dashboard-card strong { font-size: 13px; }
  .account-dashboard-card > span:not(.dashboard-icon) { font-size: 11px; }
  .account-dashboard-card .dashboard-icon { font-size: 21px; }
  .account-dashboard-card:last-child { min-height: 72px; grid-column: 1/-1; grid-template-columns: 30px minmax(0,1fr) auto; align-content: center; align-items: center; gap: 10px; }
  .account-dashboard-card:last-child > span:not(.dashboard-icon) { grid-column: 2; }
  .account-dashboard-card:last-child b { position: static; grid-column: 3; grid-row: 1 / span 2; }
  .account-dashboard-card:last-child .dashboard-icon { grid-column: 1; grid-row: 1 / span 2; }
  .account-signout { width: 100%; }
  .category-browser.page-content { padding-top: 0; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .category-browse-layout { display: flex; min-height: calc(100dvh - 128px); }
  .category-sidebar { flex: 0 0 clamp(70px,20vw,82px); width: clamp(70px,20vw,82px); top: 0; height: calc(100dvh - 176px); min-height: 320px; padding-block: 3px; }
  .category-main-list button { min-height: 70px; gap: 3px; padding: 5px 2px; border-left-width: 3px; font-size: 10px; }
  .category-main-image { width: clamp(36px,10vw,44px); height: clamp(36px,10vw,44px); border-radius: 12px; }
  .category-results { flex: 1 1 0; width: 0; }
  .category-selected-heading { min-height: 54px; padding: 6px 8px; }
  .category-selected-heading h2 { font-size: 15px; }
  .category-selected-heading span { font-size: 10px; }
  .category-sub-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 3px; padding: 10px 3px 20px; }
  .category-sub-button { gap: 4px; padding-inline: 1px; font-size: 10px; }
  .category-sub-button .category-image { width: clamp(46px,13vw,56px); height: clamp(46px,13vw,56px); border-radius: 13px; }
  .category-sub-name { max-width: 100%; }
  .category-selection-prompt { padding: 16px 12px; font-size: 13px; }
}
