/* Arctic Power: shared styles. Mobile-first; larger screens are layered on with min-width queries. */

:root {
  --bg: #070a10;
  --ink: #eef3fa;
  --muted: #8fa0b8;
  --blue: #2fa8ff;
  --pink: #ff2e88;
  --line: #1b2a40;
  --panel: #0a0f19;
  --field: #0c131f;
  --soft: #c7d6ea;
  --gutter: 16px;
  --max: 1280px;
  --max-wide: 1760px;
  --gutter-wide: clamp(16px, 2.6vw, 56px);
  --wide: 'Syncopate', 'Arial Black', sans-serif;
  --body: 'Chakra Petch', system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #02101f; }

.wide { font-family: var(--wide); letter-spacing: .18em; text-transform: uppercase; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 50;
  background: var(--blue); color: #02101f; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 10, 16, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px;
  min-height: 64px;
}
.site-header { transition: background-color .25s, border-color .25s; }
/* Logo: bold squared wordmark with ®, then the filled magenta hex and its small companion. */
.brand {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--body); font-weight: 700; letter-spacing: .16em;
  font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap; color: #fff;
}
.brand sup { font-size: .62em; font-weight: 500; letter-spacing: 0; vertical-align: top; position: relative; top: -.3em; margin-left: .08em; }
.brand .mark { height: 1.6em; width: auto; aspect-ratio: 64 / 52; margin-left: -.15em; }
.mark { flex: none; }
.icon { width: 22px; height: 22px; }
.nav-toggle, .bag-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); min-height: 44px; padding: 8px 12px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.nav-toggle:hover, .bag-button:hover { border-color: var(--blue); }
.icon-action, .bag-button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid transparent; background: none; line-height: 0;
}
.icon-action:hover, .bag-button:hover { border-color: transparent; color: #4fd8ff; }
.icon-action .icon, .bag-button .icon { width: 26px; height: 26px; }
.bag-button .bag-count { position: absolute; top: 1px; right: -2px; min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; border-radius: 9px; }
.site-search { border-top: 1px solid var(--line); background: rgba(7, 10, 16, .96); padding: 14px 0; }
.site-search .container { display: flex; gap: 10px; }
.site-search input {
  flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; background: var(--field); border: 1px solid var(--line); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.site-search input:focus-visible { border-color: var(--blue); }
.site-search[hidden] { display: none; }
.bag-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center;
  background: var(--blue); color: #02101f; font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.header-actions { display: flex; gap: 6px; align-items: center; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px 0; text-decoration: none;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-header.nav-open .site-nav { display: block; order: 3; flex-basis: 100%; padding: 4px 0 16px; border-top: 1px solid var(--line); }

@media (min-width: 860px) {
  .brand { font-size: 22px; }
  .nav-toggle { display: none; }
  .site-header .bar { flex-wrap: nowrap; }
  .site-nav, .site-header.nav-open .site-nav { display: block; order: 0; flex-basis: auto; padding: 0; border: 0; }
  .site-nav ul { display: flex; gap: 32px; }
  .site-nav a { padding: 8px 0; }
  .site-header .bar { min-height: 76px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  background: none; border: 1px solid var(--blue); text-decoration: none;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  transition: background-color .2s;
}
.btn:hover { background: rgba(47, 168, 255, .14); }
.btn-solid { background: var(--blue); color: #02101f; font-weight: 600; }
.btn-solid:hover { background: #5cbcff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
/* Phones: cropped photo on top, headline as text below.
   Desktop (860px+): the full banner, whose headline is part of the image; the real <h1>
   stays in the page for screen readers and search engines, and the button sits under the tagline. */
.hero { position: relative; background: #050912; overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 850 / 682; object-fit: cover; object-position: 50% 30%; max-height: 70vh; }
.hero-copy { position: relative; z-index: 2; padding-top: 28px; padding-bottom: 56px; }
.hero h1 {
  margin: 0 0 18px; font-family: var(--wide); font-weight: 700;
  font-size: clamp(28px, 8.4vw, 84px); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase;
}
.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #2fa8ff, #8fd3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { color: var(--soft); letter-spacing: .14em; margin: 0 0 30px; }
.hero-cta { background: rgba(5, 9, 18, .55); }
@media (min-width: 860px) {
  .hero-media img { aspect-ratio: 2048 / 682; max-height: none; }
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, var(--bg), transparent);
  }
  .hero-copy { position: absolute; inset: 0; max-width: none; padding: 0; }
  .hero h1, .hero .tagline {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  /* Lines up with the banner's text column: left edge 7%, just under the tagline. */
  .hero-cta { position: absolute; left: 7%; top: 60%; min-height: 0; padding: clamp(10px, 1vw, 16px) clamp(16px, 1.6vw, 28px); font-size: clamp(11px, .9vw, 14px); }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
#drop { padding-top: 28px; }
.section-title {
  display: flex; align-items: center; justify-content: center; gap: 22px; letter-spacing: .4em;
  margin: 0 0 32px; font-family: var(--wide); font-size: 13px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; text-align: center;
}
.section-title::before, .section-title::after { content: ""; flex: 1; max-width: 520px; height: 1px; }
.section-title::before { background: linear-gradient(90deg, transparent, #4fd8ff); }
.section-title::after { background: linear-gradient(90deg, #4fd8ff, transparent); }
@media (max-width: 379px) { .brand { font-size: 13px; letter-spacing: .08em; } .header-actions { gap: 0; } .icon-action, .bag-button { width: 38px; min-width: 38px; } .icon-action .icon, .bag-button .icon { width: 23px; height: 23px; } }
@media (max-width: 359px) { .nav-toggle { padding: 8px 10px; } }


.filter-note { text-align: center; margin: -16px 0 28px; color: var(--muted); }
.filter-note a { color: var(--blue); }

/* ---------- Product grid (square ice tiles, name + price + arrow underneath) ---------- */
/* Home page, header and footer use the full width of the screen (with proportional side margins). */
#drop .container, .site-header .container, .site-footer .container, .promo .container {
  max-width: var(--max-wide); padding-left: var(--gutter-wide); padding-right: var(--gutter-wide);
}
.grid { display: grid; grid-template-columns: 1fr; gap: 22px 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(6, 1fr); gap: 28px 20px; }
  .grid > .card { grid-column: span 2; }
  /* Leftover cards in the last row are centred instead of hugging the left edge. */
  .grid > .card:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
  .grid > .card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0a1426;
  border: 1px solid rgba(111, 184, 255, .3); transition: border-color .2s, box-shadow .2s;
}
/* The photo fills the whole tile, so its own ice background runs edge to edge. */
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media { border-color: rgba(79, 216, 255, .8); box-shadow: 0 0 24px rgba(47, 168, 255, .3); }
.card:hover .card-img { transform: scale(1.04); }
.card-meta { display: flex; align-items: center; gap: 14px; padding: 12px 6px 0; }
.card-name { margin: 0; flex: 1; font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.card-name a { text-decoration: none; }
/* Whole card is clickable via the title link */
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-name a:focus-visible { outline: none; }
.card:has(.card-name a:focus-visible) { outline: 2px solid var(--blue); outline-offset: 4px; }
.price { color: var(--muted); white-space: nowrap; font-size: 14px; }
.card-arrow { font-size: 22px; line-height: 1; color: var(--ink); transition: transform .2s; }
@media (max-width: 639px) { .card-name { font-size: 13px; letter-spacing: .14em; } }
@media (max-width: 379px) { .card-name { font-size: 12px; letter-spacing: .08em; } .card-meta { gap: 10px; } }
.card:hover .card-arrow { transform: translateX(5px); color: #4fd8ff; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--pink); color: #12000a; font-size: 11px; font-weight: 600; letter-spacing: .14em;
  padding: 4px 8px; text-transform: uppercase;
}

/* ---------- "Power. Packaged." band ---------- */
.promo { margin: 8px 0 0; background: #050912; border-top: 1px solid rgba(111, 184, 255, .18); border-bottom: 1px solid rgba(111, 184, 255, .18); }
.promo-media img { width: 100%; height: auto; }
.promo-copy { padding-top: 22px; padding-bottom: 36px; }
.promo-title { margin: 0 0 8px; font-family: var(--wide); font-weight: 700; font-size: clamp(26px, 7vw, 40px); line-height: 1.05; text-transform: uppercase; }
.promo-title span { display: block; background: linear-gradient(90deg, #2fd8ff, #8fe9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-copy p { margin: 0; color: var(--soft); }
@media (min-width: 860px) {
  .promo-copy {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* ---------- Product page ---------- */
.breadcrumbs { padding: 20px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--blue); }
.product { display: grid; gap: 28px; padding: 20px 0 64px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; } }

.gallery { display: grid; gap: 12px; }
.gallery-main { aspect-ratio: 1 / 1; background: #0a1426; overflow: hidden; margin: 0; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; overflow-x: auto; }
.thumbs button {
  display: block; width: 76px; aspect-ratio: 1 / 1; padding: 0; background: #0a1426;
  border: 1px solid var(--line); opacity: .6; transition: opacity .2s, border-color .2s;
}
.thumbs button[aria-current="true"], .thumbs button:hover { opacity: 1; border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .gallery.has-thumbs { grid-template-columns: 96px 1fr; }
  .gallery.has-thumbs .thumbs { grid-column: 1; grid-row: 1; flex-direction: column; }
  .gallery.has-thumbs .gallery-main { grid-column: 2; }
  .thumbs button { width: 96px; }
}

.product-info h1 { margin: 0 0 10px; font-family: var(--wide); font-size: clamp(20px, 3vw, 30px); font-weight: 400; letter-spacing: .2em; line-height: 1.25; text-transform: uppercase; }
.product-price { font-size: 22px; margin: 0 0 10px; }
.product-lede { color: var(--soft); margin: 0 0 24px; }
.product-form { display: grid; gap: 14px; margin: 0 0 28px; }
.sizes { border: 0; margin: 0; padding: 0; min-width: 0; }
.sizes legend { padding: 0; margin-bottom: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.size-current { color: var(--blue); }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-option { position: relative; }
.size-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size-option span {
  display: grid; place-items: center; min-width: 56px; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line); font-size: 14px; letter-spacing: .08em; transition: border-color .15s, color .15s;
}
.size-option input:hover + span { border-color: var(--muted); }
.size-option input:checked + span { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset, 0 0 12px rgba(47, 168, 255, .35); }
.size-option input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.size-option input:disabled { cursor: not-allowed; }
.size-option input:disabled + span { color: #4d5d75; text-decoration: line-through; border-style: dashed; }
.stock-note { margin: 0; font-size: 14px; color: var(--muted); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; list-style: none;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; color: var(--muted); }
.accordion details[open] summary::after { content: "−"; }
.accordion summary:hover { color: var(--blue); }
.accordion .prose { padding: 0 0 18px; }
.prose p { margin: 0 0 12px; color: var(--soft); }
.prose ul { margin: 0; padding-left: 18px; color: var(--soft); }
.prose li { margin-bottom: 4px; }
.prose a { color: var(--blue); }

/* ---------- Zoom ---------- */
.zoom-trigger { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; background: rgba(5, 9, 18, .7); border: 1px solid rgba(111, 184, 255, .35);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
}
.zoom-hint .icon { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .zoom-hint { font-size: 0; gap: 0; padding: 8px; } }
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(3, 6, 12, .97); color: var(--ink); overflow: hidden;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; }
.lightbox.is-zoomed .lb-stage { cursor: zoom-out; }
.lb-img { max-width: 100%; max-height: 100%; transform-origin: center; will-change: transform; -webkit-user-drag: none; }
.lb-img.is-animated { transition: transform .25s ease-out; }
.lb-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: rgba(5, 9, 18, .75); border: 1px solid rgba(111, 184, 255, .35); color: var(--ink); font-size: 26px; line-height: 1;
}
.lb-btn:hover { border-color: #4fd8ff; color: #4fd8ff; }
.lb-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 2; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }
.lb-tools { position: absolute; left: 50%; bottom: calc(46px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 10px; }
.lb-count { min-width: 48px; text-align: center; font-size: 14px; letter-spacing: .1em; }
.lb-hint { position: absolute; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); margin: 0; text-align: center; font-size: 12px; letter-spacing: .12em; color: var(--muted); pointer-events: none; }

/* ---------- Content pages ---------- */
.page { padding: 48px 0 72px; }
.page .container { max-width: 760px; }
.page h1 { font-family: var(--wide); font-size: clamp(22px, 5vw, 36px); font-weight: 700; letter-spacing: .14em; line-height: 1.25; margin: 0 0 24px; }
.page h2 { font-family: var(--wide); font-size: 14px; font-weight: 700; letter-spacing: .16em; margin: 40px 0 12px; text-transform: uppercase; }
.page h3 { font-size: 17px; margin: 24px 0 8px; }
.page p, .page li { color: var(--soft); }
.page a { color: var(--blue); }
.page ul, .page ol { padding-left: 20px; }
.lede { font-size: 19px; color: var(--ink) !important; }
.updated { color: var(--muted) !important; font-size: 14px; }
.todo {
  background: rgba(255, 46, 136, .12); color: #ffd1e5; border: 1px dashed var(--pink);
  padding: 0 6px; font-style: normal;
}
.callout { border: 1px solid var(--line); border-left: 3px solid var(--blue); padding: 16px 18px; margin: 24px 0; background: var(--panel); }
.callout p:last-child { margin-bottom: 0; }
.status-page { text-align: center; padding: 96px 0; }
.status-page .container { max-width: 620px; }
.status-page .mark { width: 74px; height: 60px; margin: 0 auto 28px; }
.status-page p { color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--soft); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 13px; }
.footer-grid { display: grid; gap: 28px; }
.footer-strap {
  display: flex; align-items: center; justify-content: center; gap: 20px; margin: -12px 0 36px; padding: 0 var(--gutter);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.footer-strap::before, .footer-strap::after { content: ""; flex: 1; max-width: 420px; height: 1px; }
.footer-strap::before { background: linear-gradient(90deg, transparent, #4fd8ff); }
.footer-strap::after { background: linear-gradient(90deg, #4fd8ff, transparent); }
.footer-brand .brand { font-size: 16px; color: #fff; }
.footer-brand p { margin: 10px 0 0; letter-spacing: .22em; text-transform: uppercase; font-size: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a.brand { display: inline-flex; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer h2 { font-family: var(--wide); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0 0 8px; }
.copyright { margin: 32px 0 0; font-size: 12px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Bag drawer (native <dialog>) ---------- */
.bag {
  margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--line);
  width: min(420px, 100%); max-width: 100%; height: 100%; max-height: 100%;
  background: var(--panel); color: var(--ink);
}
.bag::backdrop { background: rgba(0, 0, 0, .65); }
.bag[open] { animation: slide-in .28s ease-out; }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
.bag-inner {
  display: flex; flex-direction: column; height: 100%;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
}
.bag-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bag-head h2 { margin: 0; font-size: 13px; font-weight: 400; }
.icon-button { background: none; border: 1px solid transparent; width: 44px; height: 44px; font-size: 24px; line-height: 1; }
.icon-button:hover { border-color: var(--line); }
.bag-lines { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 0; }
.bag-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag-line img { grid-row: span 2; width: 64px; aspect-ratio: 4 / 5; object-fit: cover; background: #0a1426; }
.bag-line-name { margin: 0; font-size: 15px; }
.bag-line-name a { text-decoration: none; }
.bag-line-name a:hover { color: var(--blue); }
.bag-line small { color: var(--muted); display: block; }
.bag-line-total { text-align: right; }
.qty { display: flex; align-items: center; gap: 2px; grid-column: 2 / 4; }
.qty button { width: 36px; height: 36px; background: none; border: 1px solid var(--line); }
.qty button:hover { border-color: var(--blue); }
.qty output { min-width: 32px; text-align: center; }
.qty .remove { width: auto; padding: 0 10px; margin-left: auto; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; }
.qty .remove:hover { color: var(--ink); }
.bag-empty { color: var(--muted); padding: 32px 0; }
.bag-foot { padding-top: 16px; }
.bag-total { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 4px; }
.bag-note { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.bag-error { color: #ff8ab8; font-size: 14px; margin: 0 0 12px; }
.bag-error:empty { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #0f1a2b; border: 1px solid var(--blue); padding: 14px 20px;
  width: max-content; max-width: calc(100vw - 2 * var(--gutter));
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.noscript { background: var(--pink); color: #12000a; padding: 12px var(--gutter); text-align: center; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
.status-page h1 { font-size: clamp(22px, 5vw, 36px); font-weight: 700; line-height: 1.25; margin: 0 0 20px; }
.site-header .brand, .header-actions { min-height: 64px; }

/* Home page, desktop: the header floats over the banner like in the mockup and turns solid once you scroll. */
@media (min-width: 860px) {
  body[data-page="home"] .site-header {
    position: fixed; left: 0; right: 0;
    background: linear-gradient(180deg, rgba(5, 9, 18, .7), rgba(5, 9, 18, 0));
    border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  body[data-page="home"] .site-header.is-solid {
    background: rgba(7, 10, 16, .9); border-bottom-color: var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  body[data-page="home"] .bag-button { background: rgba(5, 9, 18, .35); }
}
