/* Alpha Ecom storefront. Brand colors, font and button corners come from Admin > Theme (CSS variables in <head>). */
:root {
  --ink: var(--c-text, #1D2430);
  --muted: #5B6271;
  --faint: #8B92A0;
  --line: #E4E7EC;
  --soft: #F3F4F6;
  --sale: #17784A;
  --danger: #B42318;
  --wrap: 1320px;
  --gap: clamp(12px, 2vw, 24px);
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--c-bg, #fff); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
h2 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--c-primary); color: var(--c-on-primary); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 1px solid transparent;
  border-radius: var(--radius-btn); font-weight: 600; text-decoration: none; cursor: pointer; transition: filter .15s, background .15s; white-space: nowrap; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--c-primary); color: var(--c-on-primary); }
.btn-accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn-primary:not(:disabled):hover, .btn-accent:not(:disabled):hover { filter: brightness(1.08); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #C9CED6; }
.btn-block { width: 100%; }
.linkish { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink); font-weight: 600; }
.linkish svg { width: 18px; height: 18px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 8px; position: relative; color: inherit; text-decoration: none; }
.icon-btn:hover { background: var(--soft); }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-accent); color: var(--c-on-accent); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* ---------- Header ---------- */
.announce { background: var(--c-primary); color: var(--c-on-primary); text-align: center; font-size: 13px; padding: 7px 12px; }
.announce p { margin: 0; }
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo-img { max-height: 40px; width: auto; }
.logo-text { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--c-primary); }
.menu-toggle { display: none; }
.search { flex: 1; max-width: 640px; margin: 0 auto; position: relative; display: flex; }
.search input { width: 100%; height: 44px; padding: 0 48px 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.search input:focus { background: #fff; border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.search button { position: absolute; right: 2px; top: 2px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.suggest { position: absolute; top: 48px; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 40px rgba(20, 23, 31, .12); padding: 6px; z-index: 50; max-height: 70vh; overflow-y: auto; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; text-decoration: none; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--soft); }
.suggest img, .suggest .ph { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; background: var(--soft); flex: none; }
.suggest .s-title { flex: 1; min-width: 0; }
.suggest .s-price { font-weight: 600; }
.suggest .s-group { font-size: 12px; color: var(--muted); padding: 6px 10px 2px; }
.header-icons { display: flex; gap: 2px; flex: none; }
.main-nav { border-top: 1px solid var(--line); }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0 auto; height: 44px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.nav-list > li { position: relative; display: flex; }
.nav-list > li > a { display: flex; align-items: center; gap: 4px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-list > li > a svg { width: 14px; height: 14px; opacity: .6; }
.nav-list > li:hover > a, .nav-list > li:focus-within > a { border-bottom-color: var(--c-accent); }
.nav-list .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 40px rgba(20, 23, 31, .1); list-style: none; margin: 0; padding: 8px; z-index: 45; }
.nav-list > li:hover > .sub, .nav-list > li:focus-within > .sub { display: block; }
.sub a { display: block; padding: 7px 10px; border-radius: 6px; text-decoration: none; }
.sub a:hover { background: var(--soft); }
.sub .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 10px; min-width: 0; }
.mbadge { font-size: 10px; font-weight: 700; text-transform: capitalize; padding: 1px 6px; border-radius: 4px; margin-left: 6px; background: var(--c-accent); color: var(--c-on-accent); }
.mbadge-sale { background: var(--danger); color: #fff; }

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(15, 18, 26, .5); }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(340px, 88vw); background: #fff; overflow-y: auto; padding-bottom: 24px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.drawer-list, .drawer-list ul { list-style: none; margin: 0; padding: 0; }
.drawer-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer-list .sub a { font-weight: 400; padding-left: 32px; }
.drawer-list .sub .sub a { padding-left: 46px; }
.drawer-list svg { width: 16px; }
.drawer-more { margin-top: 12px; border-top: 6px solid var(--soft); }
.drawer-more a { font-weight: 500; }
.drawer-segs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px; }
.drawer-segs a { padding: 8px 14px; border-radius: 20px; background: color-mix(in srgb, var(--seg) 12%, #fff); color: var(--seg); font-weight: 600; text-decoration: none; }

@media (max-width: 899px) {
  .menu-toggle { display: inline-grid; margin-left: -8px; }
  .main-nav { display: none; }
  .header-row { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 10px; gap: 4px 8px; }
  .logo { flex: 1; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .logo-text { font-size: 20px; }
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; background: #F7F8FA; border-top: 1px solid var(--line); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-top: 40px; padding-bottom: 32px; }
.footer-brand { flex: 1 1 300px; }
.footer-col { flex: 0 1 180px; }
.footer-brand p { color: var(--muted); max-width: 42ch; margin-top: 10px; }
.site-footer h2 { font-size: 14px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.contact li { color: var(--muted); }
.footer-base { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 24px; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 699px) { .footer-brand { flex-basis: 100%; } .footer-col { flex: 1 1 40%; } }

/* ---------- Prices and product cards ---------- */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-now { font-weight: 700; font-variant-numeric: tabular-nums; }
.price-now .from { font-weight: 400; color: var(--muted); font-size: .9em; }
.price-mrp { color: var(--faint); font-size: .88em; font-variant-numeric: tabular-nums; }
.price-off { color: var(--sale); font-weight: 700; font-size: .88em; }
.price.lg .price-now { font-size: 28px; letter-spacing: -0.02em; }
.price.lg .price-mrp, .price.lg .price-off { font-size: 16px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px var(--gap); }
@media (max-width: 699px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }
.card { position: relative; min-width: 0; }
.card-link { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--soft); border-radius: 6px; overflow: hidden; }
.card-media img, .card-media .img-empty { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-link:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 10px 2px 0; }
.card-brand { font-size: 12px; color: var(--muted); font-weight: 600; }
.card-title { font-size: 14px; font-weight: 400; line-height: 1.4; margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-link:hover .card-title { text-decoration: underline; text-underline-offset: 2px; }
.tag { position: absolute; top: 8px; left: 8px; background: var(--c-accent); color: var(--c-on-accent); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.oos { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .88); text-align: center; font-size: 12px; font-weight: 600; padding: 6px; }
.is-oos .card-media img { opacity: .6; }
.wish { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.wish svg { width: 18px; height: 18px; }
.wish[aria-pressed="true"] svg, [data-wish][aria-pressed="true"] svg { fill: var(--danger); stroke: var(--danger); }
.img-empty { background: var(--soft) linear-gradient(135deg, transparent 48%, var(--line) 49%, var(--line) 51%, transparent 52%); aspect-ratio: 4 / 5; }

/* ---------- Home and CMS sections ---------- */
.sec { margin-top: clamp(32px, 5vw, 56px); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head .more { font-weight: 600; font-size: 14px; color: var(--c-primary); }
.sec[style] { padding-top: 32px; padding-bottom: 32px; }

.hero { position: relative; overflow: hidden; background: var(--soft); }
.hero-track { display: flex; transition: transform .5s ease; }
.slide { flex: 0 0 100%; position: relative; }
.slide-link { display: block; position: relative; text-decoration: none; color: #fff; }
.slide img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; }
.slide-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 max(var(--gap), calc((100vw - var(--wrap)) / 2 + var(--gap))); max-width: 100%; }
.slide-copy h2 { font-size: clamp(22px, 4vw, 48px); max-width: 16ch; letter-spacing: -0.02em; }
.slide-copy p { font-size: clamp(14px, 1.6vw, 19px); max-width: 36ch; margin: 0; }
.slide-copy .btn { align-self: flex-start; }
.pos-center { align-items: center; text-align: center; }
.pos-center .btn { align-self: center; }
.pos-right { align-items: flex-end; text-align: right; }
.pos-right .btn { align-self: flex-end; }
.hero-nav { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 10px; }
.hero-nav > button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; cursor: pointer; }
.hero-nav svg { width: 16px; }
.dots { display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .2s; }
.dots button[aria-current="true"] { width: 22px; background: #fff; }
@media (max-width: 699px) {
  .slide img { aspect-ratio: 1 / 1; }
  .slide-copy { justify-content: flex-end; padding-bottom: 56px; }
}

.seg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.seg-tile { position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: 8px; overflow: hidden; text-decoration: none; background: var(--seg); color: #fff; isolation: isolate; }
.seg-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.seg-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--seg) 88%, #000) 100%); }
.seg-name { padding: 18px 20px; font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.seg-tile:hover .seg-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 699px) { .seg-tiles { grid-template-columns: 1fr 1fr; } .seg-tile { min-height: 150px; } .seg-name { font-size: 20px; padding: 12px; } }

.cat-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--gap); }
.cat-grid.compact { margin: 8px 0 24px; }
.cat-tile { text-decoration: none; text-align: center; font-weight: 600; font-size: 14px; }
.cat-tile .cat-img, .cat-tile .img-empty { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--soft); margin-bottom: 8px; }
.cat-tile:hover span { text-decoration: underline; }
@media (max-width: 899px) { .cat-grid { grid-template-columns: repeat(min(var(--cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 499px) { .cat-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * var(--gap)) / 5); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1099px) { .rail { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3.2); } }
@media (max-width: 699px) { .rail { grid-auto-columns: 44%; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.split-img, .split .img-empty { width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.split.img-right .split-img { order: 2; }
.split-copy h2 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 12px; }
.split-copy p { color: var(--muted); font-size: 16px; max-width: 52ch; }
@media (max-width: 799px) { .split { grid-template-columns: 1fr; } .split.img-right .split-img { order: 0; } }
.single-banner img { width: 100%; border-radius: 8px; }
.countdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 28px; border-radius: 8px; background: var(--c-primary); color: var(--c-on-primary); }
.countdown p { margin: 4px 0 0; opacity: .85; }
.timer { font-size: clamp(22px, 3vw, 32px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.timer span { display: inline-block; min-width: 1.4em; text-align: right; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.narrow { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 32px 16px 0; cursor: pointer; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); padding-bottom: 16px; margin: 0; }
.newsletter { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 8px; }
.newsletter p { color: var(--muted); margin: 6px 0 0; }
.nl-form { display: flex; flex-wrap: wrap; gap: 8px; }
.nl-form input[type=email] { flex: 1; min-width: 200px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; }
.form-msg { flex-basis: 100%; margin: 0; font-size: 14px; min-height: 1em; }
.form-msg.ok { color: var(--sale); }
.form-msg.err { color: var(--danger); }
@media (max-width: 699px) { .newsletter { grid-template-columns: 1fr; padding: 20px; } }

.prose { max-width: 75ch; }
.prose h2 { margin: 1.4em 0 .5em; }
.prose h3 { margin: 1.2em 0 .4em; font-size: 17px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--c-primary); }
.page-title { margin-top: 28px; }
.empty-state { text-align: center; padding: 56px 16px; }
.empty-state p { color: var(--muted); }
.empty-state .btn { margin-top: 8px; }
.big-search { display: flex; gap: 8px; max-width: 520px; margin: 20px auto; }
.big-search input { flex: 1; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gap) 0; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: var(--faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Listing ---------- */
.cat-banner img { width: 100%; max-height: 420px; object-fit: cover; }
.listing { padding-top: 18px; }
.listing-title { margin-bottom: 6px; }
.intro { color: var(--muted); margin-bottom: 12px; }
.outro { margin-top: 48px; color: var(--muted); font-size: 14px; }
.subcats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 16px; scrollbar-width: none; }
.empty-state .subcats { justify-content: center; flex-wrap: wrap; }
.subcats a { flex: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; font-weight: 600; font-size: 14px; background: #fff; }
.subcats a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.subcats a.is-on { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.listing-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .count { position: static; min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; line-height: inherit; text-align: left; font-weight: 400; margin: 0 auto 0 0; color: var(--muted); font-size: 14px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.filter-toggle { display: none; min-height: 40px; padding: 6px 14px; }
.filter-toggle svg { width: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: var(--soft); text-decoration: none; font-size: 13px; font-weight: 600; }
.chip:hover { background: var(--line); }
.chip span { font-size: 16px; color: var(--muted); }
.filters-wrap { position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow-y: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.filters-head h2 { font-size: 17px; }
.filters-head .icon-btn { display: none; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { padding: 12px 0; font-weight: 600; cursor: pointer; font-size: 14px; }
.fbody { padding-bottom: 12px; }
.fvals { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }
.fvals.swatches { grid-template-columns: 1fr; }
.fval { display: flex; align-items: center; gap: 8px; padding: 5px 2px; cursor: pointer; font-size: 14px; }
.fval input { width: 17px; height: 17px; accent-color: var(--c-primary); flex: none; }
.fval .n { margin-left: auto; color: var(--faint); font-size: 12px; }
.fval .sw, .ov .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.stock-only { padding: 12px 2px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range label { font-size: 12px; color: var(--muted); }
.price-range input { width: 100%; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; }
.filters-actions { display: flex; gap: 8px; margin-top: 14px; }
.filters-actions .btn { flex: 1; min-height: 40px; padding: 8px 12px; }
.js .filters-actions .btn-primary { display: none; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pg { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; }
.pg.is-on { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }
.gap { padding: 8px 4px; color: var(--muted); }
@media (max-width: 899px) {
  .listing-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-toggle { display: inline-flex; }
  .filters-wrap { position: fixed; inset: 0; top: 0; max-height: none; z-index: 95; background: #fff; padding: 12px 18px 90px; display: none; }
  .filters-wrap.open { display: block; }
  .filters-head .icon-btn { display: inline-grid; }
  .filters-actions { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .js .filters-actions .btn-primary { display: inline-flex; }
  .sort label { display: none; }
}

.seg-hero { position: relative; background: var(--seg); color: #fff; min-height: 200px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.seg-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.seg-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--seg) 92%, #000) 0%, transparent 75%); }
.seg-hero-copy { padding-top: 48px; padding-bottom: 32px; width: 100%; }
.seg-hero h1 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.04em; line-height: 1; }
.seg-hero p { max-width: 48ch; margin: 12px 0 0; font-size: 16px; opacity: .92; }

/* ---------- Product page ---------- */
.pdp-cats { padding: 12px 0 0; }
.size-guide h2 { font-size: 20px; margin: 0 0 6px; }
.size-guide .specs { margin: 12px 0; }
.size-guide .specs th { width: auto; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-top: 18px; align-items: start; }
.pdp > * { min-width: 0; }
.gallery { position: sticky; top: 130px; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; min-width: 0; }
.gallery-main { grid-column: 2; grid-row: 1; background: var(--soft); border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 5; min-width: 0; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
/* Thumbnail column is exactly as tall as the main photo and scrolls inside itself (arrows appear when there are more) */
.thumbs-col { grid-column: 1; grid-row: 1; position: relative; min-height: 0; }
.thumbs { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs-nav { position: absolute; left: 0; right: 0; z-index: 2; height: 34px; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.thumbs-nav svg { width: 20px; height: 20px; }
.thumbs-up { top: 0; background: linear-gradient(#fff 55%, rgba(255, 255, 255, 0)); }
.thumbs-down { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff 45%); }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--soft); cursor: pointer; aspect-ratio: 4 / 5; flex: none; width: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--c-primary); }
.thumb[hidden] { display: none; }
.brand { color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.pdp-title { font-size: clamp(22px, 2.6vw, 30px); }
.subtitle { color: var(--muted); margin: 6px 0 0; }
.buybox [data-price] { margin-top: 16px; }
.tax-note { font-size: 13px; color: var(--sale); margin: 2px 0 0; font-weight: 600; }
.stock-note { color: var(--danger); font-weight: 600; font-size: 14px; margin: 6px 0 0; min-height: 1.2em; }
.short { color: var(--muted); margin-top: 10px; }
/* fieldset defaults to its content's width; let long rows (color tiles) scroll inside instead of widening the page */
.opt { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; max-width: 100%; }
.buybox { min-width: 0; }
.opt legend { font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; width: 100%; }
.size-chart-btn { margin-left: auto; font-size: 14px; color: var(--c-primary); }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.ov { position: relative; cursor: pointer; }
.ov input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ov > span:not(.sr-only) { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; background: #fff; }
.ov input:checked + span { border-color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); background: color-mix(in srgb, var(--c-primary) 6%, #fff); }
.ov input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.ov.is-na > span:not(.sr-only) { color: var(--faint); background: repeating-linear-gradient(135deg, #fff 0 6px, var(--soft) 6px 7px); }
.ov-swatch .sw { width: 36px; height: 36px; border-radius: 50%; display: block; border: 1px solid rgba(0, 0, 0, .15); }
.ov-swatch input:checked + .sw { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c-primary); }
.ov-swatch.is-na .sw { opacity: .35; }
.opt.is-missing legend { color: var(--danger); }
.opt.is-missing .ov > span:not(.sr-only), .opt.is-missing select { border-color: var(--danger); }
/* Color picker as photo tiles in one scrolling row ("Available colors") */
.opt-values.tiles { flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ov-tile { flex: none; width: 92px; scroll-snap-align: start; }
.ov.ov-tile > .tile { display: flex; flex-direction: column; height: auto; min-width: 0; padding: 0; place-items: stretch; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; font-weight: 600; }
.ov.ov-tile.is-na > .tile { background: #fff; }
.ov-tile .tile img, .ov-tile .tile-sw { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); }
.ov-tile .tile-name { font-size: 12px; font-weight: 600; text-align: center; padding: 5px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-tile input:checked + .tile { border-color: var(--c-primary); box-shadow: 0 0 0 1px var(--c-primary); }
.ov-tile input:focus-visible + .tile { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.ov-tile.is-na .tile { opacity: .45; }
.opt select { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; min-width: 200px; background: #fff; }
.buy-row { display: flex; gap: 10px; margin-top: 24px; }
.qty { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex: none; }
.qty button { width: 40px; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.qty input { width: 44px; border: 0; text-align: center; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-btn { flex: 1; }
.buy-now { width: 100%; margin-top: 10px; }
.buy-form .form-msg { margin-top: 8px; color: var(--danger); }
.notify { margin-top: 18px; padding: 16px; border: 1px dashed var(--line); border-radius: 8px; }
.notify p { margin: 0 0 8px; font-size: 14px; }
.notify-row { display: flex; gap: 8px; }
.notify-row input[type=email] { flex: 1; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.pdp-actions { display: flex; gap: 24px; margin-top: 16px; }
.policies { list-style: none; padding: 16px 0; margin: 20px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; }
.policies li { display: flex; align-items: center; gap: 10px; }
.policies svg { color: var(--c-primary); flex: none; }
.highlights { margin: 18px 0 0; padding-left: 1.2em; }
.highlights li { margin-bottom: 6px; }
.pdp-details { margin-top: 40px; max-width: 980px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc > summary { list-style: none; cursor: pointer; padding: 18px 0; position: relative; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary h2 { font-size: 18px; }
.acc > summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--muted); }
.acc[open] > summary::after { content: '−'; }
.acc > .prose, .acc > .specs, .acc > .video, .acc > .faq { margin-bottom: 24px; }
.specs { border-collapse: collapse; width: 100%; max-width: 720px; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 600; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.sticky-buy .btn { flex: 1; max-width: 240px; }
.dialog { border: 0; border-radius: 10px; padding: 16px; max-width: min(900px, 94vw); }
.dialog::backdrop { background: rgba(15, 18, 26, .55); }
.dialog-close { float: right; }
@media (max-width: 899px) {
  .pdp { grid-template-columns: 1fr; padding-top: 10px; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; display: block; margin: 0 calc(var(--gap) * -1); }
  .gallery-main { border-radius: 0; }
  .gallery-main img { max-width: 100%; }
  .thumbs-col { position: static; }
  .thumbs { position: static; flex-direction: row; overflow-x: auto; padding: 8px var(--gap) 0; scroll-snap-type: x proximity; }
  .thumbs-col { position: relative; }
  /* Phones: left / right arrows over the ends of the thumbnail row */
  .thumbs-nav { top: 8px; bottom: 0; left: auto; right: auto; width: 36px; height: auto; }
  .thumbs-nav svg { transform: rotate(-90deg); }
  .thumbs-up { left: 0; background: linear-gradient(90deg, #fff 55%, rgba(255, 255, 255, 0)); }
  .thumbs-down { right: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 45%); }
  .thumb { width: 60px; scroll-snap-align: start; }
  .sticky-buy:not([hidden]) { display: flex; }
  .page-product .site-footer { padding-bottom: 72px; }
  .policies { grid-template-columns: 1fr; }
}

/* ---------- Cart ---------- */
.cart-page { padding-top: 24px; }
.cart-page h1 { margin-bottom: 20px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line img, .cart-line .ph { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--soft); }
.cart-line h2 { font-size: 15px; font-weight: 600; }
.cart-line h2 a { text-decoration: none; }
.cart-line .opts { color: var(--muted); font-size: 13px; margin: 2px 0 8px; }
.cart-line .line-qty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.cart-line .line-total { text-align: right; font-weight: 700; }
.cart-line .warn { color: var(--danger); font-size: 13px; font-weight: 600; }
.cart-summary { position: sticky; top: 130px; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.cart-summary h2 { font-size: 16px; margin-bottom: 12px; }
.cart-summary dl { margin: 0 0 12px; }
.cart-summary dl div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.cart-summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-summary .save { color: var(--sale); }
.cart-summary .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 17px; }
.cart-summary .warn { color: var(--danger); font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.save-line { color: var(--sale); font-weight: 600; font-size: 14px; }
.cart-summary .linkish { margin-top: 12px; }
.share-offer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 18px; border-radius: 8px; background: color-mix(in srgb, var(--c-accent) 16%, #fff); margin-bottom: 20px; }
.share-offer p { margin: 0; font-weight: 600; }
@media (max-width: 899px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } .cart-summary { position: static; } .cart-line { grid-template-columns: 76px minmax(0, 1fr); } .cart-line img, .cart-line .ph { width: 76px; } .cart-line .line-total { grid-column: 2; text-align: left; } }

.only-mobile { display: none; }
@media (max-width: 699px) { .only-desktop { display: none; } .only-mobile { display: block; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); display: flex; gap: 16px; align-items: center; font-size: 14px; max-width: calc(100vw - 32px); }
.toast a { color: #fff; font-weight: 700; }
.page-product .toast { bottom: 88px; }

/* ---------- Checkout ---------- */
.co { padding-top: 24px; }
.co h1 { margin-bottom: 20px; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.co-step { border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.co-step h2 { font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.co-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); font-size: 13px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 12px; }
.co-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.co-field.full { grid-column: 1 / -1; }
.co-main, .co-side, .co-field { min-width: 0; }
.co-field input, .co-field select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; font-size: 15px; background: #fff; }
.co-field input:focus, .co-field select:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 16%, transparent); }
.co-field [aria-invalid="true"] { border-color: var(--danger); }
.co-err { color: var(--danger); font-weight: 400; min-height: 0; }
.co-more { margin: 4px 0 12px; font-size: 14px; }
.co-more summary { cursor: pointer; color: var(--c-primary); font-weight: 600; margin-bottom: 8px; }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--c-primary); }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.pay-opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-primary); }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); }
.pay-opt:has(input:checked) { border-color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.pay-opt.is-off { opacity: .6; cursor: not-allowed; }
.co-side { position: sticky; top: 130px; }
.co-summary { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.co-summary h2 { font-size: 17px; margin-bottom: 12px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-line small { display: block; color: var(--muted); }
.co-coupon { margin: 14px 0 6px; }
.co-coupon-row { display: flex; gap: 8px; }
.co-coupon-row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px dashed var(--line); border-radius: 8px; text-transform: uppercase; }
.co-coupon-row .btn { min-height: 44px; }
.offers { display: grid; gap: 6px; margin-top: 8px; }
.offer { text-align: left; border: 1px solid color-mix(in srgb, var(--sale) 35%, #fff); background: color-mix(in srgb, var(--sale) 6%, #fff); border-radius: 6px; padding: 8px 10px; cursor: pointer; font-size: 13px; }
.offer strong { margin-right: 6px; color: var(--sale); }
.co-msg { font-size: 13px; margin: 6px 0 0; }
.co-msg.ok { color: var(--sale); font-weight: 600; }
.co-msg.err, .co-msg[data-co-error] { color: var(--danger); }
.co-totals { margin: 14px 0 8px; }
.co-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.co-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.co-totals .save, .co-totals .free { color: var(--sale); }
.co-totals .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 18px; }
.co-totals .gst { color: var(--muted); font-size: 12px; }
.co-nudge { color: var(--sale); font-weight: 600; font-size: 13px; }
.co-secure { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; }
.co-secure svg { width: 18px; flex: none; color: var(--sale); }
.co-empty { text-align: center; padding: 48px 0; }
@media (max-width: 899px) {
  .co-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .co-side { position: static; }
  .co-grid { grid-template-columns: minmax(0, 1fr); }
  .co-step, .co-summary { padding: 16px; }
}

/* ---------- Order page ---------- */
.order-page { padding-top: 28px; max-width: 980px; }
.order-head { padding: 24px; border-radius: 8px; background: color-mix(in srgb, var(--sale) 8%, #fff); margin-bottom: 24px; }
.order-head.status-pending_payment, .order-head.status-needs_review { background: color-mix(in srgb, var(--c-accent) 14%, #fff); }
.order-head.status-expired, .order-head.status-cancelled { background: var(--soft); }
.order-no { font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.order-head h1 { margin-bottom: 6px; }
.order-head .btn { margin-top: 8px; }
.order-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-bottom: 24px; }
.order-grid h2 { font-size: 16px; margin: 0 0 10px; }
.order-grid h2 + p, .order-grid address { margin-bottom: 18px; font-style: normal; color: var(--muted); }
.order-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.order-line img, .order-line .ph { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; background: var(--soft); }
@media (max-width: 799px) { .order-grid { grid-template-columns: 1fr; } }

/* ---------- Tracking, returns, delivery check ---------- */
.track-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 0; margin: 0 0 24px; counter-reset: step; }
.track-steps li { position: relative; padding-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }
.track-steps li::before { content: ''; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--line); z-index: 1; }
.track-steps li::after { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.track-steps li:first-child::after { display: none; }
.track-steps li.done { color: var(--ink); font-weight: 600; }
.track-steps li.done::before, .track-steps li.done::after { background: var(--sale); }
.track-steps li.now::before { box-shadow: 0 0 0 4px color-mix(in srgb, var(--sale) 22%, transparent); }
.track-box { border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin-bottom: 20px; }
.track-box h2 { font-size: 16px; margin-bottom: 8px; }
.track-box p { margin: 0 0 6px; }
.scans { list-style: none; padding: 0; margin: 10px 0 0; border-left: 2px solid var(--line); }
.scans li { padding: 0 0 12px 14px; position: relative; font-size: 14px; }
.scans li::before { content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.scans li:first-child::before { background: var(--sale); }
.scans span { display: block; color: var(--muted); font-size: 12px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.return-form { margin-top: 12px; display: grid; gap: 12px; }
.ret-type { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.ret-type legend { font-weight: 600; margin-bottom: 6px; }
.ret-item { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.ret-item small { display: block; }
.ret-opts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 14px; }
.ret-opts select, .return-form .co-field select { height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; background: #fff; }
.delivery-check { margin-top: 18px; }
.delivery-check label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
.dc-row { display: flex; gap: 8px; max-width: 360px; }
.dc-row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; }
.dc-row .btn { min-height: 44px; }
.dc-msg { font-size: 14px; margin: 6px 0 0; min-height: 1em; }
.dc-msg.ok { color: var(--sale); } .dc-msg.err { color: var(--danger); }
.track-page { padding-top: 32px; }
.track-form { display: grid; gap: 14px; max-width: 420px; margin-top: 16px; }
.track-form label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.track-form input { height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; }
@media (max-width: 599px) { .track-steps li { font-size: 11px; } }

/* ---------- Country, account ---------- */
.country select { height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 8px; font-size: 13px; font-weight: 600; max-width: 120px; }
@media (max-width: 899px) { .country { order: 2; } .country select { max-width: 96px; } }
.login-page, .account-page { padding-top: 32px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.acc-head h1 { margin-bottom: 4px; }
.acc-order { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; font-size: 14px; }
.acc-order:hover strong { text-decoration: underline; }
.acc-addr { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.acc-addr p { margin: 0 0 4px; }
.co-saved { display: grid; gap: 6px; margin-bottom: 12px; }
.cod-otp { margin-top: 14px; padding: 14px; border: 1px solid var(--c-accent); border-radius: 8px; background: color-mix(in srgb, var(--c-accent) 8%, #fff); }
.cod-otp p { margin: 0 0 8px; font-size: 14px; }
@media (max-width: 599px) { .acc-order { grid-template-columns: 1fr 1fr; } }

/* ---------- "Get the app" bar ---------- */
.app-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.app-bar img { border-radius: 10px; }
.app-bar span { flex: 1; display: flex; flex-direction: column; }
.app-bar small { color: var(--muted); }
.app-bar .btn { min-height: 34px; padding: 6px 14px; }
.app-bar button { border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; padding: 4px 6px; }

.logo-text { white-space: nowrap; }
.drawer-country { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; }
@media (max-width: 599px) { .header-row > .country { display: none; } }

/* ---------- Get the app (installable web app) ---------- */
.app-btn { width: auto; padding: 0 10px; gap: 6px; grid-auto-flow: column; font-weight: 600; font-size: 14px; }
.app-btn-label { line-height: 1; }
@media (max-width: 480px) { .app-btn { padding: 0 6px; } .app-btn-label { display: none; } }
.drawer-app { display: flex; align-items: center; gap: 12px; margin: 12px 16px; padding: 12px 14px; border-radius: 12px; background: var(--c-primary); color: var(--c-on-primary); text-decoration: none; }
.drawer-app span { display: grid; gap: 2px; }
.drawer-app small { opacity: .85; font-size: 12px; }
html.is-app [data-app-link] { display: none !important; }
.install-page { max-width: 560px; margin: 0 auto; padding: 32px 16px 56px; text-align: center; }
.install-page .app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.install-page h1 { font-size: 26px; margin: 16px 0 6px; }
.install-page .lead { color: #5A6270; margin: 0 0 20px; }
.install-page .btn-lg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; font-size: 17px; width: 100%; max-width: 360px; }
.install-steps { text-align: left; background: #F7F5F6; border-radius: 14px; padding: 18px 18px 18px 38px; margin: 18px 0; line-height: 1.6; }
.install-steps li + li { margin-top: 8px; }
.install-note { font-size: 14px; color: #5A6270; }
.install-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 8px; font-size: 13px; }
.install-feat div { background: #fff; border: 1px solid #ECE7EA; border-radius: 12px; padding: 12px 8px; }
.install-feat b { display: block; font-size: 20px; margin-bottom: 4px; }
[data-show] { display: none; }
