/*
 * Nola Kids storefront — implementation of the Claude Design file "Nola Kids v2".
 * Apple-style scale: type 12/14/17/21/28/40/56, weights 400/600, 44px targets, 18px radius, no shadows.
 * Loaded after store.css and features.css; new layouts use the nk- prefix.
 */
@font-face {
  font-family: Marcellus;
  src: url("../fonts/marcellus-400-latin.dc6fd559e41d.woff2") format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  color-scheme: light;
  --bg: #faf7f1;
  --surface: #fffefb;
  --soft: #f3ecdf;
  --desk: #eee8df;
  --ink: #251e14;
  --muted: #6f6352;
  --line: #d3c3a5;
  --accent: #a8781a;
  --accent-dark: #7f5a0d;
  --on-accent: #fffdf8;
  --btn: #1f6f73;
  --btn-hover: #175a5d;
  --on-btn: #fffdf8;
  --btn-tint: color-mix(in oklab, var(--btn) 10%, var(--surface));
  --green: #4d7747;
  --red: #b3432f;
  --tint: color-mix(in oklab, var(--accent) 12%, var(--surface));
  --tint-strong: color-mix(in oklab, var(--accent) 24%, var(--bg));
  --dim: rgba(43, 35, 24, .45);
  --r: 18px;
  --radius: var(--r);
  --font: Vazirmatn, Tahoma, sans-serif;
  --lat: Marcellus, Georgia, serif;
  --gutter: 48px;
  --header-height: 88px;
}

body { font: 400 17px/1.8 var(--font); background: var(--bg); color: var(--ink); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: normal; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
.icon { stroke-width: 2; }
::selection { background: var(--accent-dark); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.nk-mobile-only { display: none !important; }

/* Buttons, chips and links */
.nk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 1px solid var(--btn); border-radius: 999px;
  background: var(--btn); color: var(--on-btn); font: 600 17px/1.2 var(--font);
  cursor: pointer; transition: transform .12s ease-out, background-color .15s ease-out;
}
.nk-btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--on-btn); }
.nk-btn:active { transform: scale(.97); }
.nk-btn-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.nk-btn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--ink); }
.nk-btn-outline { background: var(--soft); border-color: var(--soft); color: var(--ink); }
.nk-btn-outline:hover { background: var(--tint); border-color: var(--tint); color: var(--ink); }
.nk-btn-lg { min-height: 56px; padding: 0 34px; }
.nk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nk-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid transparent;
  border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 14px; font-weight: 600;
  transition: background-color .15s ease-out;
}
.nk-chip:hover { background: var(--tint); }
.nk-chip.is-active, .nk-chip[aria-current] { border-color: var(--btn); background: var(--btn); color: var(--on-btn); }
.nk-more { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.nk-link-button { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.nk-badge {
  position: absolute; top: -4px; left: -4px; display: flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--accent-dark);
  color: var(--on-accent); font-size: 12px; font-weight: 600; line-height: 1;
}

/* Header */
.nk-announcement {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 4px 16px;
  background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; text-align: center;
}
.nk-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 0; }
.nk-header .nk-header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  height: 87px; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
}
.nk-brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); }
.nk-monogram {
  display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px;
  border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent-dark); font: 400 21px/1 var(--lat);
}
.nk-brand-text { display: flex; flex-direction: column; gap: 3px; }
.nk-brand strong { font: 400 21px/1 var(--lat); letter-spacing: .22em; white-space: nowrap; }
.nk-brand small { font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.4; }
.nk-brand-small { gap: 10px; }
.nk-brand-small .nk-monogram { width: 44px; height: 44px; font-size: 17px; }
.nk-brand-small strong { font-size: 17px; letter-spacing: .2em; }
.nk-nav { display: flex; align-items: center; gap: 24px; font-size: 17px; font-weight: 600; white-space: nowrap; }
.nk-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); transition: color .15s ease-out; }
.nk-nav a:hover, .nk-nav a[aria-current] { color: var(--accent-dark); }
.nk-nav .nk-nav-sale, .nk-mobile-menu .nk-nav-sale { color: var(--red); }
.nk-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nk-search {
  position: relative; display: flex; align-items: center; gap: 10px; width: 280px; height: 44px; padding: 0 16px;
  border: 0; border-radius: 999px; background: var(--soft); color: var(--muted);
}
.nk-search:focus-within { outline: 0; background: var(--surface); color: var(--ink); }
.nk-search .icon { width: 16px; height: 16px; flex: none; }
.nk-search input {
  width: 100%; min-width: 0; height: 42px; min-height: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--ink); font-size: 14px; outline: 0;
}
.nk-search input::placeholder { color: var(--muted); opacity: 1; }
.nk-header .nk-icon-btn {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); position: relative;
}
.nk-header .nk-icon-btn:hover { background: var(--tint); color: var(--ink); }
.nk-header .nk-icon-btn .icon { width: 19px; height: 19px; }
.nk-menu-btn, .nk-search-toggle { display: none !important; }
.nk-mobile-search { padding: 8px 16px 14px; }
.nk-mobile-search-field {
  position: relative; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--soft); color: var(--muted);
}
.nk-mobile-search-field:focus-within { outline: 0; background: var(--surface); color: var(--ink); }
.nk-mobile-search-field .icon { width: 17px; height: 17px; flex: none; }
.nk-mobile-search-field input {
  width: 100%; min-width: 0; min-height: 0; height: 44px; padding: 0; border: 0; background: transparent;
  color: var(--ink); font-size: 17px; font-weight: 600; outline: 0;
}
.nk-mobile-search .search-suggestions { inset-inline: 0; top: calc(100% + 6px); width: auto; max-width: none; }
.nk-mobile-menu { display: grid; padding: 8px 16px 16px; background: var(--bg); }
.nk-mobile-menu a { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 600; }

/* Live search suggestions, styled as the design's result rows */
.nk-search .search-suggestions { top: calc(100% + 8px); inset-inline-start: auto; inset-inline-end: 0; width: 420px; border-radius: calc(var(--r) + 6px); padding: 8px 0; box-shadow: none; }
.search-suggestions a { gap: 14px; min-height: 52px; padding: 8px 20px; border-radius: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
.search-suggestions img { width: 44px; height: 52px; border-radius: 10px; background: var(--soft); object-fit: cover; }
.search-suggestions .search-note { padding: 10px 20px; font-size: 14px; font-weight: 600; }

/* Bottom tab bar (mobile) */
.mobile-bottom-nav.nk-tabbar { display: none; }

/* Footer: the brand and newsletter on the start side, three short link columns, one legal line */
.nk-footer { margin-top: 96px; padding: 56px var(--gutter) 24px; background: var(--soft); color: var(--ink); }
.nk-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px 40px; max-width: 1440px; margin: 0 auto; }
.nk-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.nk-footer-brand .nk-brand { min-height: 44px; }
.nk-footer-line { max-width: 30ch; margin: 0; font-size: 17px; line-height: 1.8; }
.nk-footer-newsletter-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 0; border-radius: 999px; background: var(--surface); color: var(--accent-dark); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .2s ease-out;
}
.nk-footer-newsletter-button .icon { width: 18px; height: 18px; }
.nk-footer-newsletter-button:hover, .nk-footer-newsletter-button:focus-visible { background: var(--tint); }
.nk-footer-group { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.nk-footer-group h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.nk-footer-group > a, .nk-footer-group > span { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.nk-footer-group > a:hover { color: var(--accent-dark); }
.nk-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px;
  max-width: 1440px; margin: 36px auto 0; font-size: 14px; color: var(--muted);
}
.nk-footer-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.nk-footer-legal a, .nk-footer-legal button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-footer-legal a:hover, .nk-footer-legal button:hover { color: var(--accent-dark); }
.nk-footer-copyright { margin: 0; font-size: 14px; line-height: 1.8; }

/* Product card */
.nk-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.nk-card .nk-card-media {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--soft);
}
.nk-card .nk-card-media > a { display: block; height: 100%; }
.nk-card .nk-card-media img { width: 100%; height: 100%; object-fit: cover; transition: none; }
.nk-card-tag {
  position: absolute; top: 12px; right: 12px; padding: 5px 11px; border-radius: 999px; background: var(--surface);
  color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; pointer-events: none;
}
.nk-card-tag.is-sale { background: var(--red); color: #fff; }
.nk-card-fav { position: absolute; top: 10px; left: 10px; margin: 0; }
.nk-card .favorite {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.nk-card .favorite .icon { width: 16px; height: 16px; }
.nk-card .favorite.is-saved { color: var(--red); }
.nk-card .favorite.is-saved .icon { color: inherit; fill: currentColor; }
.nk-card-body { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }
.nk-card h3 { min-height: 0; margin: 0; font-size: 17px; font-weight: 600; line-height: 1.6; letter-spacing: normal; }
.nk-card h3 a { color: var(--ink); }
.nk-card h3 a:hover { color: var(--accent-dark); }
.nk-card-size { font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.nk-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.nk-price b { font-size: 17px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nk-price b span { font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-price s { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.nk-swatches { display: flex; gap: 5px; flex: none; }
.nk-swatches > span { width: 14px; height: 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--swatch); }
.nk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* Home */
.nk-hero { position: relative; height: 660px; overflow: hidden; background: var(--soft); isolation: isolate; }
.nk-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.nk-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to left, rgba(37, 30, 20, .86), rgba(37, 30, 20, .66) 36%, rgba(37, 30, 20, .22) 66%, transparent);
}
.nk-hero-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px;
  width: 680px; max-width: 100%; height: 100%; padding: 0 var(--gutter);
  margin-inline-start: max(0px, calc((100% - 1440px) / 2));
}
.nk-hero h1 { max-width: 12ch; font-size: 56px; line-height: 1.25; color: #fff; }
.nk-hero p { max-width: 480px; font-size: 17px; line-height: 1.9; color: rgba(255, 255, 255, .94); }
.nk-assurance {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; max-width: 1440px; margin: 0 auto;
  padding: 20px var(--gutter) 0; font-size: 14px; font-weight: 600; line-height: 1.8; color: var(--muted); text-align: center;
}
.nk-assurance a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); }
.nk-assurance a:hover { color: var(--accent-dark); }
.nk-gates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1440px; margin: 0 auto; padding: 32px var(--gutter) 10px; }
.nk-gate { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ink); text-align: center; }
.nk-gate-arch { display: block; width: 100%; height: 340px; overflow: hidden; border-radius: 999px 999px 20px 20px; background: var(--soft); }
.nk-gate-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease-out; }
.nk-gate-editorial img { object-position: center 20%; }
.nk-gate:hover .nk-gate-arch img { transform: scale(1.035); }
.nk-gate b { font-size: 21px; font-weight: 600; line-height: 1.4; }
.nk-gate-sub { margin-top: -8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-section { display: flex; flex-direction: column; gap: 24px; max-width: 1440px; margin: 0 auto; padding: 80px var(--gutter) 0; }
.nk-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.nk-section-head h2 { font-size: 28px; line-height: 1.4; }
.nk-section-caption { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--muted); }
/* Picks of the week: one large product and two beside it */
.nk-grid-feature { grid-template-columns: 2fr 1fr; align-items: start; }
.nk-grid-feature > .nk-card:first-child { grid-row: span 2; height: auto; }
.nk-grid-feature > .nk-card:first-child h3 { font-size: 21px; }
.nk-grid-feature > .nk-card:first-child .nk-price b { font-size: 21px; }
.nk-promo { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; max-width: 1440px; margin: 0 auto; padding: 80px var(--gutter) 0; }
.nk-promo-media { position: relative; display: block; min-height: 360px; overflow: hidden; border-radius: var(--r); background: var(--soft); isolation: isolate; }
.nk-promo-media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.nk-promo-media .nk-promo-editorial { object-position: center 35%; }
.nk-promo-media::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(37, 30, 20, .82), rgba(37, 30, 20, .35) 45%, transparent 70%); }
.nk-promo-caption { position: absolute; right: 26px; bottom: 26px; left: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.nk-promo-caption b { font-size: 21px; font-weight: 600; color: #fff; line-height: 1.5; }
.nk-promo-note { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 36px; border-radius: var(--r); background: var(--ink); color: var(--bg); }
.nk-promo-figure { font-size: 40px; font-weight: 600; line-height: 1.2; color: var(--accent); }
.nk-promo-note h2 { font-size: 28px; line-height: 1.35; color: var(--bg); }
.nk-promo-note p { font-size: 17px; line-height: 1.9; color: rgba(250, 247, 241, .88); }
.nk-empty-text { grid-column: 1 / -1; color: var(--muted); }

/* Intermediate desktop widths */
@media (max-width: 1360px) {
  :root { --gutter: 40px; }
  .nk-header .nk-header-row { gap: 20px; }
  .nk-nav { gap: 18px; font-size: 15px; }
  .nk-search { width: 200px; }
}
@media (max-width: 1200px) {
  .nk-brand small { display: none; }
  .nk-search { width: 44px; padding: 0; justify-content: center; }
  .nk-search input, .nk-search:not(:focus-within) .search-suggestions { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .nk-search:focus-within { width: 240px; padding: 0 16px; justify-content: flex-start; }
  .nk-search:focus-within input { position: static; width: 100%; height: 42px; opacity: 1; pointer-events: auto; }
  .nk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nk-grid-feature { grid-template-columns: 2fr 1fr; }
  .nk-footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
}

/* Tablet and phone: the design's mobile header */
@media (max-width: 1080px) {
  :root { --gutter: 24px; }
  .nk-nav, .nk-search { display: none; }
  .nk-menu-btn, .nk-search-toggle { display: flex !important; }
  .nk-header .nk-header-row { height: auto; padding: 8px var(--gutter) 12px; gap: 12px; }
  .nk-header .nk-header-row > .nk-brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .nk-header .nk-header-row { position: relative; }
  .nk-header-actions { gap: 8px; margin-inline-start: auto; }
  .nk-header .nk-brand { gap: 9px; min-height: 44px; }
  .nk-header .nk-brand .nk-monogram { width: 34px; height: 34px; font-size: 17px; }
  .nk-header .nk-brand strong { font-size: 17px; letter-spacing: .2em; }
  .nk-header .nk-icon-btn .icon { width: 18px; height: 18px; }
  .nk-promo { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  :root { --gutter: 16px; }
  .nk-announcement { display: none; }
  .nk-desktop-only { display: none !important; }
  .mobile-bottom-nav.nk-tabbar {
    position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr);
    align-items: center; min-height: 72px; padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: var(--surface);
  }
  .nk-tabbar > a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 56px;
    padding: 0; border-radius: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.3;
  }
  .nk-tabbar > a[aria-current] { background: none; color: var(--accent-dark); }
  .nk-tab-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 26px; border-radius: 999px; }
  .nk-tabbar > a[aria-current] .nk-tab-icon { background: var(--tint); }
  .nk-tab-icon .icon { width: 19px; height: 19px; }
  .nk-tab-icon .nk-badge { top: -6px; left: 2px; }
  .nk-footer { margin-top: 48px; padding: 36px var(--gutter) 72px; }
  .nk-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .nk-footer-brand { grid-column: 1 / -1; gap: 12px; }
  .nk-footer-line { font-size: 14px; }
  .nk-footer-group h3 { font-size: 14px; }
  .nk-footer-bottom { flex-direction: column; align-items: flex-start; gap: 0; margin-top: 20px; }
}
@media (max-width: 640px) {
  .nk-mobile-only { display: inline-flex !important; }
  .nk-hero { height: 430px; }
  .nk-hero::after { background: linear-gradient(to top, rgba(37, 30, 20, .9), rgba(37, 30, 20, .78) 40%, rgba(37, 30, 20, .6) 72%, rgba(37, 30, 20, .15)); }
  .nk-hero-copy { position: absolute; right: 18px; bottom: 44px; left: 18px; width: auto; height: auto; padding: 0; gap: 12px; }
  .nk-hero h1 { font-size: 40px; }
  .nk-hero p { font-size: 17px; line-height: 1.8; }
  .nk-assurance { justify-content: flex-start; gap: 2px 10px; padding-top: 14px; text-align: start; }
  .nk-hero .nk-btn-lg { min-height: 44px; padding: 0 22px; }
  .nk-gates { gap: 10px; padding: 16px var(--gutter) 0; }
  .nk-gate { gap: 8px; }
  .nk-gate-arch { height: 132px; border-radius: 999px 999px 12px 12px; }
  .nk-gate b { font-size: 14px; }
  .nk-gate-sub { display: none; }
  .nk-section { gap: 14px; padding-top: 16px; }
  .nk-section-head h2 { font-size: 17px; }
  #age-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nk-section-head .nk-chips { flex-wrap: nowrap; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .nk-section-head .nk-chips::-webkit-scrollbar { display: none; }
  .nk-chip { flex: none; min-height: 44px; padding: 0 15px; }
  .nk-section + .nk-section { padding-top: 22px; }
  .nk-grid { grid-auto-rows: 1fr; gap: 10px; }
  .nk-card-row { flex-wrap: wrap; }
  .nk-grid-feature { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .nk-grid-feature > .nk-card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .nk-grid-feature > .nk-card:first-child h3, .nk-grid-feature > .nk-card:first-child .nk-price b { font-size: 17px; }
  .nk-promo { padding-top: 32px; gap: 10px; }
  .nk-promo-media { min-height: 260px; }
  .nk-promo-note { padding: 24px; }
  .nk-promo-note h2 { font-size: 21px; }
}
@media (max-width: 360px) {
  .nk-header .nk-brand .nk-monogram { display: none; }
  .nk-header .nk-brand strong { font-size: 15px; letter-spacing: .12em; }
  .nk-header .nk-header-actions { gap: 6px; }
}

/* Product purchase controls (visible size/color choices and sticky mobile purchase) */
.variant-picker { display: grid; gap: 18px; margin-bottom: 6px; }
.variant-picker[hidden] { display: none; }
.product-information:has([data-variant-picker]:not([hidden])) .detail-colors { display: none; }
.variant-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.variant-group legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.variant-group legend [data-color-name] { font-weight: 400; color: var(--muted); }
.swatch-options, .size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-option, .size-option { position: relative; cursor: pointer; }
.swatch-option input, .size-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.swatch-option { display: grid; place-items: center; width: 44px; height: 44px; }
.swatch-option .swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s ease-out; }
.swatch-option input:checked + .swatch { outline-color: var(--accent); }
.swatch-option input:focus-visible + .swatch { outline: 2px dashed var(--accent-dark); }
.swatch-option input:disabled + .swatch { opacity: .35; }
.size-option span { display: flex; align-items: center; justify-content: center; min-width: 72px; min-height: 44px; padding-inline: 14px; border: 1px solid transparent; border-radius: 11px; background: var(--soft); color: var(--ink); font-size: 14px; font-weight: 600; transition: background-color .15s ease-out, border-color .15s ease-out; }
.size-option input:checked + span { border-color: var(--btn); background: var(--btn); color: var(--on-btn); }
.size-option input:focus-visible + span { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.size-option input:disabled + span { border-style: dashed; color: var(--muted); text-decoration: line-through; background: transparent; }
.size-option:has(input:disabled), .swatch-option:has(input:disabled) { cursor: not-allowed; }
.sticky-purchase { display: none; }
@media (max-width: 800px) {
  .sticky-purchase:not([hidden]) {
    position: fixed; z-index: 49; inset-inline: 0; bottom: var(--sticky-offset, 0px);
    display: flex; gap: 10px; align-items: center; padding: 14px 18px; background: var(--surface); border-top: 1px solid var(--line);
    animation: sticky-purchase-in .2s ease-out;
  }
  .sticky-purchase .button { flex: 1; min-height: 52px; border-radius: 999px; font-size: 17px; }
  body.has-sticky-purchase .site-footer { padding-bottom: 150px; }
  body:has([data-cookie-panel]:not([hidden])) .sticky-purchase { display: none; }
}
@media (min-width: 801px) {
  .sticky-purchase:not([hidden]) {
    position: fixed; z-index: 49; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 16px;
    padding: 12px max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
    background: var(--surface); border-top: 1px solid var(--line); animation: sticky-purchase-in .2s ease-out;
  }
  .nk-sticky-thumb { flex: none; width: 44px; height: 52px; border-radius: 10px; background: var(--soft); object-fit: cover; }
  .nk-sticky-selection { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; min-width: 0; }
  .nk-sticky-name { font-size: 17px; font-weight: 600; }
  .sticky-purchase .nk-btn { min-width: 280px; }
  body:has([data-cookie-panel]:not([hidden])) .sticky-purchase { display: none; }
  body.has-sticky-purchase .site-footer { padding-bottom: 96px; }
}
@keyframes sticky-purchase-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .sticky-purchase:not([hidden]) { animation: none; } }

/* Cookie choice: one line along the bottom edge, the two answers inline */
.cookie-choice {
  position: fixed; z-index: 65; inset-inline: 0; bottom: 0; max-width: none; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px;
  padding: 10px max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
  border: 0; border-radius: 0; background: var(--ink); color: var(--bg); box-shadow: none; font-size: 14px;
}
.cookie-choice[hidden] { display: none; }
/* While the line is up, the page ends above it rather than under it. */
body:has([data-cookie-panel]:not([hidden])) .nk-footer { padding-bottom: 96px; }
.cookie-choice > p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.7; }
.cookie-choice > p a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.cookie-choice > .button-row { flex: none; flex-wrap: nowrap; gap: 8px; margin: 0; }
.cookie-choice .nk-btn { min-height: 40px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.cookie-choice .nk-btn-outline { background: rgba(250, 247, 241, .14); border-color: transparent; color: var(--bg); }
.cookie-choice .nk-btn-outline:hover { background: rgba(250, 247, 241, .24); border-color: transparent; color: var(--bg); }
@media (max-width: 800px) {
  .cookie-choice { bottom: var(--tabbar-height, 0px); justify-content: space-between; gap: 6px 12px; padding: 8px var(--gutter); }
  .cookie-choice > p { flex: 1 1 100%; font-size: 13px; line-height: 1.6; }
  .cookie-choice > .button-row { flex: 1; }
  .cookie-choice .nk-btn { flex: 1; padding: 0 10px; }
}

/* Touch targets and minimum text size carried over from the parity pass */
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs { margin-bottom: 12px; font-size: 14px; }
.purchase-assurance a { min-height: 44px; }
.section-heading .text-link, a.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.faq-list summary { align-items: center; min-height: 44px; cursor: pointer; }
.filter-form .radio-row { min-height: 44px; }

/* Mobile page bar: back, title and one action (catalog, product, checkout) */
.nk-page-bar { display: none; }
@media (max-width: 800px) {
  body:has(.nk-page-bar) .nk-header .nk-header-row,
  body:has(.nk-page-bar) .nk-header .nk-mobile-search { display: none; }
  body:has(.nk-page-bar) .nk-header { border-bottom: 0; }
  .nk-page-bar {
    position: sticky; top: 0; z-index: 41; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 6px 16px 12px; background: var(--bg);
  }
  .nk-page-bar .nk-icon-btn {
    position: relative; display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px;
    border: 0; border-radius: 999px; background: var(--soft); color: var(--ink);
  }
  .nk-page-bar .nk-icon-btn .icon { width: 17px; height: 17px; }
  .nk-page-bar-title { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
  .nk-page-bar-title b { max-width: 100%; overflow: hidden; font-size: 17px; font-weight: 600; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
  .nk-page-bar-title small { font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.4; }
}

/* Catalog */
.nk-catalog { max-width: 1440px; margin: 0 auto; }
.nk-catalog-head { display: flex; flex-direction: column; gap: 6px; padding: 32px var(--gutter) 12px; }
.nk-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.nk-breadcrumb a[aria-current] { color: var(--accent-dark); }
.nk-catalog-title { display: flex; align-items: baseline; gap: 12px; }
.nk-catalog-title h1 { font-size: clamp(40px, 5.2vw, 80px); line-height: 1.2; }
.nk-catalog-title span { font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-catalog-lead { max-width: 60ch; margin: 4px 0 0; font-size: 17px; line-height: 1.8; color: var(--muted); }
.nk-catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding: 10px var(--gutter) 56px; }
.nk-filters { position: sticky; top: 100px; }
.nk-filter-form { display: flex; flex-direction: column; gap: 24px; padding: 22px; border-radius: var(--r); background: var(--soft); }
.nk-filter-head { display: flex; align-items: center; justify-content: space-between; }
.nk-filter-head h2 { font-size: 17px; line-height: 1.5; }
.nk-filter-head a, .nk-sheet-head a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.nk-filter-error { font-size: 14px; font-weight: 600; color: var(--red); }
.nk-filter-group { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.nk-filter-group legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.nk-pill-options { display: flex; flex-wrap: wrap; gap: 7px; }
.nk-pill-option { position: relative; cursor: pointer; }
.nk-pill-option input, .nk-check-option input, .nk-swatch-option input, .nk-switch-row input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit;
}
.nk-pill-option > span:not(.sr-only), .nk-pill-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 13px; border: 1px solid transparent;
  border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 14px/1.2 var(--font); cursor: pointer;
  transition: background-color .15s ease-out, color .15s ease-out;
}
.nk-pill-option:hover > span:not(.sr-only), .nk-pill-button:hover { background: var(--tint); color: var(--ink); }
.nk-pill-option input:checked + span, .nk-pill-button[aria-pressed="true"] { border-color: var(--btn); background: var(--btn); color: var(--on-btn); }
.nk-pill-option input:focus-visible + span, .nk-check-option input:focus-visible + .nk-checkbox,
.nk-swatch-option input:focus-visible + .nk-swatch, .nk-switch-row input:focus-visible + .nk-switch { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.nk-check-options { display: flex; flex-direction: column; }
.nk-check-option { position: relative; display: flex; align-items: center; gap: 9px; min-height: 36px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.nk-checkbox { display: flex; align-items: center; justify-content: center; flex: none; width: 19px; height: 19px; border: 0; border-radius: 6px; background: var(--surface); color: transparent; }
.nk-checkbox .icon { width: 13px; height: 13px; stroke-width: 3; }
.nk-check-option:has(input:checked) { color: var(--ink); }
.nk-check-option input:checked + .nk-checkbox { border-color: var(--btn); background: var(--btn); color: var(--on-btn); }
.nk-swatch-options { display: flex; flex-wrap: wrap; gap: 2px; margin-inline: -8px; }
.nk-swatch-option { position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; cursor: pointer; }
.nk-swatch { width: 26px; height: 26px; border-radius: 999px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s ease-out; }
.nk-swatch-option input:checked + .nk-swatch { outline-color: var(--accent); }
.nk-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nk-price-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-price-fields input { min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: var(--surface); font-size: 17px; }
.is-enhanced .nk-price-fields { display: none; }
.nk-range, .nk-price-presets { display: none; }
.nk-filters .is-enhanced .nk-range { display: flex; flex-direction: column; gap: 12px; }
.nk-sheet .is-enhanced .nk-price-presets { display: flex; }
.nk-range-track { position: relative; height: 24px; margin: 0 8px; }
.nk-range-track::before { content: ''; position: absolute; top: 50%; right: 0; left: 0; height: 5px; border-radius: 999px; background: var(--soft); transform: translateY(-50%); }
.nk-range-fill { position: absolute; top: 50%; height: 5px; border-radius: 999px; background: var(--accent); transform: translateY(-50%); }
.nk-range input { position: absolute; inset: 0; width: 100%; height: 24px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; }
.nk-range input::-webkit-slider-thumb { width: 18px; height: 18px; border: 2.5px solid var(--accent); border-radius: 999px; background: var(--surface); pointer-events: auto; cursor: grab; -webkit-appearance: none; }
.nk-range input::-moz-range-thumb { width: 14px; height: 14px; border: 2.5px solid var(--accent); border-radius: 999px; background: var(--surface); pointer-events: auto; cursor: grab; }
.nk-range input::-moz-range-track { background: none; }
.nk-range input:focus-visible { outline: none; }
.nk-range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.nk-range-labels { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-switch-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding-top: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.nk-switch-row input { inset: 8px 0 0; height: calc(100% - 8px); }
.nk-switch { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line); transition: background-color .15s ease-out; }
.nk-switch::after { content: ''; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 999px; background: var(--surface); transition: transform .15s ease-out; }
.nk-switch-row input:checked + .nk-switch { border-color: var(--btn); background: var(--btn); }
.nk-switch-row input:checked + .nk-switch::after { transform: translateX(-18px); }
.nk-filter-submit { width: 100%; min-height: 52px; }
.nk-filters .is-enhanced .nk-filter-submit { display: none; }
.nk-catalog-results { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.nk-catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.nk-toolbar-button, .nk-sort-select { display: none; }
.nk-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nk-active-filters a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.nk-active-filters b { opacity: .7; font-weight: 600; }
.nk-active-filters a:hover { background: var(--tint-strong); }
.nk-segmented { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; padding: 5px; border-radius: 999px; background: var(--soft); }
.nk-segmented a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nk-segmented a:hover { color: var(--ink); }
.nk-segmented a[aria-current] { background: var(--btn); color: var(--on-btn); }
.nk-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 44px 28px 40px; text-align: center; }
.nk-empty-icon { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.nk-empty-icon .icon { width: 38px; height: 38px; }
.nk-empty h2 { font-size: 17px; }
.nk-empty p { max-width: 420px; font-size: 14px; line-height: 2; color: var(--muted); }
.nk-pagination.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; padding: 0; }
.nk-pagination .nk-page, .nk-pagination .nk-page-step {
  display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0; border: 1px solid transparent;
  border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 17px; font-weight: 600;
}
.nk-pagination .nk-page-step { padding: 0 18px; font-size: 14px; }
.nk-pagination .nk-page[aria-current] { border-color: var(--btn); background: var(--btn); color: var(--on-btn); }
.nk-pagination .nk-page-gap { border-color: transparent; background: none; color: var(--muted); }
.nk-pagination a:hover { background: var(--tint); }

/* Bottom sheet */
.nk-sheet.filter-sheet {
  position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; margin: 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  border: 0; border-radius: 26px 26px 0 0; background: var(--surface); overscroll-behavior: contain;
}
.nk-sheet::backdrop { background: var(--dim); }
.nk-sheet-handle { display: block; width: 44px; height: 5px; margin: 0 auto 12px; border-radius: 999px; background: var(--line); }
.nk-sheet-head { position: sticky; top: -12px; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 0 -20px 8px; padding: 4px 20px 8px; background: var(--surface); }
.nk-sheet .nk-filter-group:has(.size-filter) { order: 1; }
.nk-sheet .nk-filter-group:has(.nk-swatch-options) { order: 2; }
.nk-sheet .nk-filter-group[data-price-filter] { order: 3; }
.nk-sheet .nk-filter-group:has(.nk-check-options) { order: 4; }
.nk-sheet .nk-filter-group:has(input[name=category]) { order: 5; }
.nk-sheet .nk-switch-row { order: 6; }
.nk-sheet .nk-filter-error { order: 0; }
.nk-sheet .nk-filter-submit { order: 7; }
.nk-sheet-head h2 { margin-inline-end: auto; font-size: 17px; }
.nk-sheet-head .nk-icon-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); }
.nk-sheet-head .nk-icon-btn .icon { width: 16px; height: 16px; }
.nk-sheet .nk-filter-form { gap: 24px; padding: 0; border: 0; background: none; }
.nk-sheet .nk-filter-head { display: none; }
.nk-sheet .nk-pill-option > span:not(.sr-only), .nk-sheet .nk-pill-button { min-height: 44px; padding: 0 14px; background: var(--soft); }
.nk-sheet .nk-pill-option input:checked + span { background: var(--btn); }
.nk-sheet .nk-checkbox, .nk-sheet .nk-price-fields input { background: var(--soft); }
.nk-sheet .nk-swatch { width: 30px; height: 30px; }
.nk-sheet .nk-swatch-option { width: 44px; height: 44px; }
.nk-sheet .nk-switch-row { padding-top: 12px; }
.nk-sheet .nk-switch-row input { inset: 12px 0 0; }
.nk-sheet .nk-filter-submit { position: sticky; bottom: 0; }

@media (max-width: 1200px) {
  .nk-catalog-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
  .nk-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nk-catalog-layout { display: block; padding-top: 0; }
  .nk-toolbar-button, .nk-sort-select {
    position: relative; display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px;
    border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); font: 600 14px/1.2 var(--font); cursor: pointer;
  }
  .nk-sort-select select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 14px/1.2 var(--font); text-align: center; text-align-last: center; appearance: none; cursor: pointer; }
  .nk-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--accent-dark); color: var(--on-accent); font-size: 12px; }
  .nk-segmented { display: none; }
  .nk-active-filters { order: 3; width: 100%; }
  .nk-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .nk-catalog-head, .nk-active-filters { display: none; }
  .nk-catalog-results { gap: 12px; padding-top: 12px; }
  .nk-catalog-toolbar { gap: 8px; }
  .nk-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; }
  .nk-catalog-layout { padding-bottom: 24px; }
}

/* Product */
.nk-product { max-width: 1440px; margin: 0 auto; }
.nk-product-crumbs { padding: 32px var(--gutter) 8px; }
.nk-product-main { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 44px; align-items: start; padding: 10px var(--gutter) 40px; }
.nk-gallery { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; }
.nk-gallery-main { position: relative; aspect-ratio: 3/3.6; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.nk-gallery-main > img { width: 100%; height: 100%; object-fit: cover; }
.nk-sale-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.nk-gallery-badge { position: absolute; top: 16px; right: 16px; padding: 6px 12px; pointer-events: none; }
.nk-gallery-action { display: none; }
.nk-gallery-zoom {
  position: absolute; bottom: 14px; left: 14px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); cursor: zoom-in;
}
.nk-gallery-zoom .icon { width: 18px; height: 18px; }
.nk-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nk-thumbs button { aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; border-radius: calc(var(--r) * .7); background: var(--soft); cursor: pointer; }
.nk-thumbs button.is-active { outline: 2.5px solid var(--accent); outline-offset: -2.5px; }
.nk-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.nk-buy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.nk-buy-head { display: flex; flex-direction: column; gap: 8px; }
.nk-tint-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); font-size: 14px; font-weight: 600; line-height: 1.5; }
.nk-buy h1 { font-size: 40px; line-height: 1.3; }
.nk-buy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-buy-meta a { display: inline-flex; align-items: center; min-height: 32px; }
.nk-collection-link { color: var(--accent-dark); }
.nk-rating { color: var(--accent-dark); }
.nk-stock { color: var(--green); }
.nk-stock.is-out { color: var(--red); }
.nk-price-box { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.nk-price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.nk-price-line strong { font-size: 28px; font-weight: 600; line-height: 1.3; }
.nk-price-line strong span { font-size: 17px; color: var(--muted); }
.nk-price-line s { font-size: 17px; color: var(--muted); }
.nk-installment { font-size: 14px; font-weight: 600; line-height: 1.8; color: var(--accent-dark); }
.nk-color-summary { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-purchase { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; border: 0; background: none; }
.nk-purchase .variant-field { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.nk-purchase .variant-field > label { font-size: 17px; font-weight: 600; }
.nk-purchase .variant-field select { min-height: 48px; border-radius: 12px; }
.nk-purchase .variant-picker { gap: 24px; margin: 0; }
.nk-purchase .variant-group legend, .variant-group-head legend { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.nk-purchase .variant-group legend [data-color-name] { font-weight: 600; color: var(--muted); }
.variant-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.variant-group-head legend { float: right; }
.nk-guide-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 10px; color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.variant-picker[hidden] ~ .nk-guide-link { display: none; }
.nk-purchase .swatch-options { gap: 10px; }
.nk-purchase .swatch-option { width: 48px; height: 48px; }
.nk-purchase .swatch-option .swatch { width: 38px; height: 38px; outline-width: 2.5px; outline-offset: 3px; }
.nk-purchase .size-options { gap: 9px; }
.nk-purchase .size-option span { min-width: 0; min-height: 44px; padding: 0 22px; border-radius: 12px; }
.nk-variant-status { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--muted); }
/* The same line answers four different ways, so each answer gets its own colour and mark. */
.nk-variant-status.is-ok { color: var(--green); }
.nk-variant-status.is-warn { color: var(--accent-dark); }
.nk-variant-status.is-error { color: var(--red); }
.nk-variant-status:is(.is-ok, .is-warn, .is-error)::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}
/* Not disabled — a blocked submit is what explains the rule — but no longer quoting a price. */
.nk-btn.is-pending { background: var(--surface); border-color: var(--btn); color: var(--btn); }
.nk-btn.is-pending:hover { background: var(--btn-tint); border-color: var(--btn-hover); color: var(--btn-hover); }
.nk-size-box {
  display: flex; flex-direction: column; gap: 12px; padding: 18px 20px;
  border-radius: var(--r); background: var(--tint); scroll-margin-top: 110px;
}
.nk-size-box h2 { font-size: 14px; font-weight: 600; line-height: 1.6; }
.nk-size-box p { font-size: 14px; font-weight: 600; line-height: 1.9; color: var(--muted); }
.nk-size-box .nk-more { align-self: flex-start; }
.nk-size-table-wrap { overflow-x: auto; border-radius: 10px; }
.nk-size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nk-size-table th, .nk-size-table td { padding: 9px 12px; font-weight: 600; text-align: right; white-space: nowrap; }
.nk-size-table thead th { background: var(--surface); color: var(--ink); }
.nk-size-table tbody tr { background: var(--bg); color: var(--muted); }
.nk-size-table tbody tr:nth-child(even) { background: var(--surface); }
.nk-size-table tbody tr.is-selected { background: var(--surface); color: var(--ink); }
.nk-size-table tbody tr.is-selected th { color: var(--accent-dark); }
.nk-size-table tbody tr.is-selected th::after { content: ' ✓'; }
.nk-buy-row { display: flex; align-items: center; gap: 12px; }
.nk-qty.quantity-control {
  display: inline-flex; align-items: center; gap: 4px; max-width: none; height: 52px; padding: 0 6px; overflow: visible;
  border: 0; border-radius: 999px; background: var(--soft);
}
.nk-qty button { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--accent-dark); font: 600 17px/1 var(--font); cursor: pointer; }
.nk-qty button:first-of-type { color: var(--muted); }
.nk-qty button:disabled { opacity: .4; cursor: not-allowed; }
.nk-qty input { width: 32px; min-height: 0; height: 40px; padding: 0; border: 0; background: none; font: 600 17px/1 var(--font); text-align: center; -moz-appearance: textfield; }
.nk-qty input::-webkit-inner-spin-button, .nk-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nk-buy-cta { flex: 1; min-height: 52px; }
.nk-round-btn { display: flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); cursor: pointer; }
.nk-round-btn .icon { width: 20px; height: 20px; }
.favorite.is-saved { color: var(--red); }
.favorite.is-saved .icon { color: inherit; fill: currentColor; }
.nk-notice { padding: 16px 20px; border-radius: var(--r); background: var(--soft); font-size: 17px; font-weight: 600; }
.nk-restock { border-radius: var(--r); background: var(--soft); }
.nk-restock summary { display: flex; align-items: center; min-height: 52px; padding: 0 20px; font-size: 14px; font-weight: 600; cursor: pointer; }
.nk-restock-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px; }
.nk-restock-options form { margin: 0; }
.nk-accordion.product-accordions { display: flex; flex-direction: column; gap: 8px; margin: 0; border: 0; background: none; }
.nk-accordion.product-accordions details { padding: 0; border: 0; border-radius: var(--r); background: var(--soft); }
.nk-accordion details > a { margin-top: 0; }
.nk-text-short { display: none; }
.nk-accordion summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; font-size: 17px; font-weight: 600; list-style: none; cursor: pointer; }
.nk-accordion summary::-webkit-details-marker { display: none; }
.nk-accordion summary span { color: var(--muted); transition: transform .15s ease-out; }
.nk-accordion details[open] summary span { transform: rotate(180deg); }
.nk-accordion details p { padding: 0 20px 14px; font-size: 17px; line-height: 1.8; color: var(--ink); }
.nk-accordion details p.nk-sku { font-size: 14px; color: var(--muted); }
.nk-accordion details .nk-more { margin: 0 20px 8px; }
.nk-reviews { padding-top: 24px; }
.nk-reviews-links { display: flex; align-items: center; gap: 12px; }
.nk-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nk-review { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r); background: var(--soft); }
.nk-review-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.nk-review p { font-size: 17px; line-height: 1.8; }
.nk-review small { font-size: 14px; font-weight: 600; color: var(--muted); }
.nk-related { padding-bottom: 56px; }

@media (max-width: 1080px) {
  .nk-product-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .nk-buy h1 { font-size: 28px; }
  .nk-review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  body.nk-immersive .nk-header .nk-header-row, body.nk-immersive .nk-header .nk-mobile-search { display: none; }
  body.nk-immersive .nk-header { border-bottom: 0; }
  body.nk-immersive .mobile-bottom-nav.nk-tabbar { display: none; }
  body.nk-immersive .nk-footer { padding-bottom: 92px; }
  .nk-product-crumbs { display: none; }
  .nk-product-main { display: block; padding: 0; }
  .nk-gallery { position: static; gap: 0; }
  .nk-gallery-main { aspect-ratio: auto; height: 430px; border-radius: 0; }
  .nk-gallery-action {
    position: absolute; top: 14px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    padding: 0; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .nk-gallery-back { right: 14px; }
  .nk-gallery-fav { left: 14px; }
  .nk-gallery-action .icon { width: 18px; height: 18px; }
  .nk-gallery-badge { top: auto; right: 14px; bottom: 14px; padding: 3px 8px; font-size: 14px; }
  .nk-thumbs { display: flex; gap: 8px; padding: 10px 18px 0; overflow-x: auto; }
  .nk-thumbs button { flex: none; width: 64px; }
  .nk-buy { gap: 14px; padding: 18px 18px 14px; }
  .nk-buy-head { gap: 6px; }
  .nk-buy-meta { gap: 2px 12px; }
  .nk-text-full { display: none; }
  .nk-text-short { display: inline; }
  .nk-buy h1 { font-size: 28px; line-height: 1.35; }
  .nk-price-box { padding: 0; border: 0; background: none; }
  .nk-price-line strong { font-size: 21px; }
  .nk-price-line strong span, .nk-price-line s { font-size: 14px; }
  .nk-price-line .nk-sale-pill { padding: 3px 8px; font-size: 14px; }
  .nk-purchase { gap: 14px; }
  .nk-purchase .variant-picker { gap: 14px; }
  .nk-purchase .variant-group:first-child { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
  .nk-purchase .variant-group:first-child legend { float: right; margin: 0 0 0 4px; font-size: 14px; }
  .nk-purchase .variant-group:first-child [data-color-name] { display: none; }
  .nk-purchase .swatch-options { gap: 4px; }
  .nk-purchase .swatch-option { width: 44px; height: 44px; }
  .nk-purchase .swatch-option .swatch { width: 30px; height: 30px; outline-width: 2px; outline-offset: 2px; }
  .variant-group-head legend { font-size: 14px; }
  .nk-guide-link { margin-bottom: 8px; }
  .nk-purchase .size-options { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 7px; }
  .nk-purchase .size-option span { width: 100%; padding: 0 6px; border-radius: 11px; }
  .nk-buy-row { display: none; }
  .nk-accordion.product-accordions { margin-top: 4px; }
  .nk-reviews, .nk-related { padding-inline: var(--gutter); }
  .sticky-purchase:not([hidden]) { padding: 14px 18px calc(22px + env(safe-area-inset-bottom)); }
}

/* Back-in-stock card (design screen 45) */
.nk-restock-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: calc(var(--r) + 4px); background: var(--soft); }
.nk-restock-card.is-enhanced[hidden] { display: none; }
.nk-restock-card h2 { order: 1; font-size: 17px; line-height: 1.5; }
.nk-restock-card > p { order: 2; font-size: 14px; font-weight: 600; line-height: 1.9; color: var(--muted); }
.nk-restock-option { display: contents; }
.nk-restock-card.is-enhanced .nk-restock-option:not(.is-current) { display: none; }
.nk-restock-card:not(.is-enhanced) .nk-restock-option { display: flex; flex-direction: column; gap: 12px; order: 3; padding-top: 14px; }
.nk-restock-item { order: 0; display: flex; align-items: center; gap: 13px; }
.nk-restock-item img { flex: none; width: 56px; height: 66px; border-radius: 10px; background: var(--soft); object-fit: cover; }
.nk-restock-item > span { display: flex; flex-direction: column; gap: 3px; }
.nk-restock-item b { font-size: 17px; font-weight: 600; line-height: 1.5; }
.nk-restock-item > span > span { font-size: 14px; font-weight: 600; color: var(--red); }
.nk-restock-row { order: 3; display: flex; gap: 9px; }
.nk-restock-phone { display: flex; flex: 1; align-items: center; min-height: 48px; padding: 0 15px; border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 600; text-align: right; }
.nk-restock-row .nk-btn { min-height: 48px; border-radius: 12px; font-size: 14px; }
.nk-restock-card:not(.is-enhanced) .nk-restock-row .nk-btn { flex: none; }
.size-option.is-sold-out span { border-style: dashed; color: var(--muted); text-decoration: line-through; background: transparent; }
.size-option.is-sold-out input:checked + span { border-style: solid; border-color: var(--red); background: var(--surface); color: var(--red); }
.swatch-option.is-sold-out .swatch { opacity: .45; }

/* Notification permission sheet (design screen 50) */
.nk-sheet.nk-permission-sheet {
  position: fixed; inset: auto 0 0; width: 100%; max-width: 520px; margin: 0 auto; padding: 14px 22px calc(30px + env(safe-area-inset-bottom));
  border: 0; border-radius: 28px 28px 0 0; background: var(--surface); text-align: center;
}
.nk-permission-sheet[open] { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nk-permission-sheet .nk-sheet-handle { width: 40px; margin: 0; }
.nk-permission-icon { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; margin-top: 8px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); }
.nk-permission-icon .icon { width: 34px; height: 34px; }
.nk-permission-sheet h2 { font-size: 17px; line-height: 1.6; }
.nk-permission-sheet p { font-size: 14px; line-height: 2; color: var(--muted); }
.nk-permission-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 6px; }
.nk-permission-actions .nk-btn { width: 100%; }
.nk-permission-actions .nk-link-button { color: var(--muted); font-size: 14px; font-weight: 600; }
