:root {
  color-scheme: light;
  --bg: #0b0f14;
  --panel: #111821;
  --panel-2: #f7f8f5;
  --text: #f7fafc;
  --ink: #101418;
  --muted: #97a3b0;
  --soft: #d6dde5;
  --green: #16a34a;
  --yellow: #facc15;
  --red: #ef4444;
  --line: rgba(255, 255, 255, 0.12);
  --dark-line: rgba(16, 20, 24, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  color-scheme: light;
}
body.cart-open, body.modal-open, body.menu-open, body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select {
  color-scheme: light;
  font: inherit;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.skip-link { left: -999px; position: absolute; top: 0; }
.skip-link:focus { background: var(--yellow); color: var(--ink); left: 1rem; padding: 0.7rem 1rem; z-index: 100; }
.container { margin: 0 auto; max-width: 1440px; padding: 0 2rem; }

.site-header {
  background: #0b0f14;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: auto minmax(340px, 1fr) minmax(320px, 540px) 42px;
  grid-template-areas: "brand nav search cart";
  min-height: 74px;
  position: relative;
}
.brand { font-size: 1.75rem; font-weight: 900; grid-area: brand; letter-spacing: 0; white-space: nowrap; }
.brand strong { color: var(--green); }
.site-nav { display: flex; gap: 1.35rem; grid-area: nav; justify-content: center; }
.nav-drawer-head, .drawer-category-list, .drawer-link-group, .drawer-note { display: none; }
.nav-backdrop, .nav-close { display: none; }
.site-nav a { color: var(--soft); font-size: 0.9rem; font-weight: 800; }
.site-nav a:hover { color: var(--yellow); }
.header-search {
  align-items: center;
  background: #141d27;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  grid-area: search;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  position: relative;
}
.header-search::before {
  border: 2px solid #8d99a6;
  border-radius: 999px;
  content: "";
  height: 13px;
  left: 1rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-56%);
  width: 13px;
}
.header-search::after {
  background: #8d99a6;
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 1.78rem;
  pointer-events: none;
  position: absolute;
  top: 58%;
  transform: rotate(45deg);
  width: 8px;
}
.header-search:focus-within { border-color: rgba(250, 204, 21, 0.58); }
.header-search label {
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.header-search input {
  background: transparent;
  border: 0;
  color: var(--text);
  min-height: 42px;
  padding: 0 1rem 0 2.7rem;
}
.header-search input::placeholder { color: #8d99a6; }
.search-panel {
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  display: none;
  gap: 0.7rem;
  grid-template-columns: 1fr;
  left: 0;
  max-height: min(520px, calc(100vh - 110px));
  overflow: hidden;
  padding: 0.8rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 50;
}
.header-search:focus-within .search-panel,
body.search-open .search-panel { display: grid; }
.search-panel-head {
  align-items: end;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}
.search-panel-head strong { font-size: 0.95rem; }
.search-panel-head span {
  color: #687582;
  font-size: 0.76rem;
  font-weight: 850;
  text-align: right;
}
.search-shortcuts {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: none;
}
.search-shortcuts::-webkit-scrollbar { display: none; }
.search-shortcuts button {
  background: #f0f3ee;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 850;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 0.75rem;
}
.search-results {
  display: grid;
  gap: 0.45rem;
  max-height: 410px;
  overflow-y: auto;
  padding-right: 0.15rem;
}
.search-group {
  display: grid;
  gap: 0.45rem;
}
.search-group h3 {
  color: #66727e;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  margin: 0.25rem 0 0;
  text-transform: uppercase;
}
.search-result {
  align-items: center;
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  padding: 0.55rem;
  text-align: left;
}
.search-result:hover {
  border-color: var(--green);
  box-shadow: 0 10px 26px rgba(16, 20, 24, 0.1);
}
.search-result img {
  background: #edf0ec;
  border-radius: 6px;
  height: 54px;
  object-fit: contain;
  padding: 0.25rem;
  width: 54px;
}
.search-result span {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}
.search-result strong {
  font-size: 0.86rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result em {
  color: #687582;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result em span {
  display: inline;
}
.search-result b {
  font-size: 0.82rem;
  white-space: nowrap;
}
.search-empty {
  background: #f5f7f2;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  color: var(--ink);
  padding: 1rem;
}
.search-empty p {
  color: #687582;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
}
.menu-button { display: none; }
.search-toggle { display: none; }
.menu-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}
.menu-icon span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.cart-button, .button, .icon-button, .filter, .category-tab, .category-card, .product-media {
  border: 0;
  cursor: pointer;
  font-weight: 850;
}
.search-toggle {
  align-items: center;
  background: #18212c;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  cursor: pointer;
  font-size: 0;
  font-weight: 900;
  grid-area: search;
  height: 38px;
  justify-content: center;
  min-height: 0;
  width: 38px;
}
.search-toggle span { display: none; }
.search-toggle::before {
  content: "";
  border: 2px solid currentColor;
  border-radius: 999px;
  display: block;
  height: 11px;
  margin: 0 auto;
  position: relative;
  width: 11px;
}
.search-toggle::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  margin: -4px auto 0;
  transform: translate(7px, 5px) rotate(45deg);
  width: 7px;
}
.cart-button {
  align-items: center;
  background: var(--text);
  border-radius: 7px;
  color: var(--ink);
  display: inline-grid;
  grid-area: cart;
  height: 38px;
  justify-content: center;
  min-height: 0;
  padding: 0;
  position: relative;
  width: 42px;
}
.cart-icon {
  border: 2px solid currentColor;
  border-radius: 3px 3px 6px 6px;
  display: block;
  height: 16px;
  position: relative;
  width: 17px;
}
.cart-icon::before {
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  top: -7px;
  transform: translateX(-50%);
  width: 9px;
}
.cart-count {
  align-items: center;
  background: var(--yellow);
  border: 2px solid var(--bg);
  border-radius: 999px;
  color: var(--ink);
  display: flex;
  font-size: 0.66rem;
  font-weight: 950;
  height: 19px;
  justify-content: center;
  min-width: 19px;
  padding: 0 0.25rem;
  position: absolute;
  right: -6px;
  top: -6px;
}
.button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
}
.button.primary { background: var(--green); color: white; }
.button.secondary { background: transparent; border: 1px solid var(--dark-line); color: var(--ink); }
.button.full { width: 100%; }

.shop-hero {
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.18), transparent 38%),
    linear-gradient(180deg, #0d131a 0%, #0b0f14 100%);
  border-bottom: 1px solid var(--line);
  padding: 2.7rem 0 1.6rem;
}
.shop-hero-grid {
  align-items: stretch;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
}
.eyebrow {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.hero-copy h1 {
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1;
  margin-bottom: 0.9rem;
  max-width: 15ch;
}
.hero-copy p:not(.eyebrow) {
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 54rem;
}
.hero-stats {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
  max-width: 760px;
}
.hero-stats span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
}
.hero-stats strong { color: var(--text); font-size: 1.2rem; }
.hero-feature {
  background: var(--panel-2);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  padding: 1rem;
}
.mobile-featured {
  display: none;
}
.hero-image-wrap {
  align-items: center;
  background: #e9ece6;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 230px;
  overflow: hidden;
}
.hero-image-wrap img { height: 220px; object-fit: contain; width: 100%; }
.hero-feature h2 { font-size: 1.35rem; margin: 0.65rem 0; }
.hero-feature strong { display: block; font-size: 1.7rem; margin-bottom: 1rem; }
.pill {
  background: rgba(22, 163, 74, 0.12);
  border-radius: 999px;
  color: #0f7a36;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.65rem;
  text-transform: uppercase;
}

.category-nav-wrap {
  background: #0f151d;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 74px;
  z-index: 35;
}
.category-nav-shell {
  position: relative;
}
.category-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-block: 0.75rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.75rem;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-scroll-button { display: none; }
.category-tab {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  display: inline-flex;
  gap: 0.5rem;
  min-width: max-content;
  padding: 0.65rem 0.9rem;
}
.category-tab span {
  color: var(--yellow);
  font-size: 0.78rem;
}
.category-tab.active, .category-tab:hover {
  background: var(--text);
  color: var(--ink);
}

.catalog-section {
  background: var(--panel-2);
  color: var(--ink);
  padding: 1.4rem 0 4rem;
  scroll-margin-top: 150px;
}
.catalog-layout {
  display: block;
}
.shop-hub {
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  display: none;
  margin-bottom: 1rem;
  padding: 1.2rem;
}
body.home-mode .shop-hub { display: block; }
.shop-hub-head {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.shop-hub-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.shop-hub-head p:not(.eyebrow) {
  color: #5d6873;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
  max-width: 54rem;
}
.category-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.category-card {
  background: #f7f8f5;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 0.55rem;
  min-height: 300px;
  overflow: hidden;
  padding: 0.85rem;
  position: relative;
  text-align: left;
}
.category-code {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--yellow);
  display: flex;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  left: 1rem;
  min-width: 44px;
  padding: 0 0.7rem;
  position: absolute;
  top: 1rem;
  z-index: 2;
}
.category-card img {
  background: #e8ece6;
  border-radius: 6px;
  height: 190px;
  object-fit: contain;
  padding: 0.75rem;
  width: 100%;
}
.category-card strong { font-size: 1.25rem; line-height: 1.1; }
.category-card em { color: #0f7a36; font-size: 0.82rem; font-style: normal; font-weight: 900; }
.category-card.active, .category-card:hover {
  border-color: var(--green);
  box-shadow: 0 16px 36px rgba(16, 20, 24, 0.1);
  transform: translateY(-2px);
}
.category-card {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.catalog-main { min-width: 0; }
.catalog-toolbar {
  align-items: end;
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1fr);
  padding: 1.2rem;
  position: relative;
  z-index: 3;
}
.catalog-toolbar .eyebrow { color: #0f7a36; margin-bottom: 0.45rem; }
.catalog-toolbar h2 { font-size: 1.8rem; margin-bottom: 0.25rem; }
.catalog-toolbar p { color: #5d6873; margin-bottom: 0; }
.toolbar-controls {
  align-items: end;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(220px, 1fr) 150px 170px;
}
.filter-panel-head, .filter-panel-actions, .mobile-filter-toggle, .mobile-sort-toggle, .mobile-catalog-actions, .sort-sheet { display: none; }
.applied-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.7rem;
}
.applied-filters:empty { display: none; }
.applied-filters button {
  align-items: center;
  background: #e8f4eb;
  border: 1px solid #c9e5d0;
  border-radius: 999px;
  color: #0f7a36;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 900;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.35rem 0.65rem;
}
.applied-filters .clear-all {
  background: white;
  border-color: var(--dark-line);
  color: var(--ink);
}
body.home-mode .toolbar-controls {
  grid-template-columns: minmax(220px, 420px);
  justify-content: end;
}
body.home-mode .toolbar-controls .control-field:not(.search-field) { display: none; }
label { color: inherit; display: grid; font-size: 0.78rem; font-weight: 850; gap: 0.4rem; }
.control-field {
  color: inherit;
  display: grid;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.4rem;
  position: relative;
}
.select-trigger {
  align-items: center;
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-weight: 900;
  gap: 0.65rem;
  justify-content: space-between;
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  text-align: left;
  width: 100%;
}
.select-trigger:hover,
.select-trigger[aria-expanded="true"] {
  border-color: rgba(16, 20, 24, 0.34);
  box-shadow: 0 0 0 3px rgba(16, 20, 24, 0.06);
}
.select-chevron {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  height: 8px;
  margin-top: -3px;
  transform: rotate(45deg);
  width: 8px;
}
.select-menu,
.sort-sheet {
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 20, 24, 0.16);
  color: var(--ink);
  display: none;
  gap: 0.25rem;
  min-width: 100%;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 55;
}
.select-menu.open,
.sort-sheet.open { display: grid; }
.select-menu button,
.sort-options button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-weight: 850;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 0.7rem;
  text-align: left;
}
.select-menu button:hover,
.sort-options button:hover {
  background: #f1f3ef;
}
.select-menu button.active,
.sort-options button.active {
  background: var(--ink);
  color: white;
}
.select-menu button.active::after,
.sort-options button.active::after {
  content: "";
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  height: 9px;
  transform: rotate(45deg);
  width: 5px;
}
.sort-sheet {
  min-width: 220px;
  right: 1.2rem;
  top: calc(100% + 0.35rem);
}
.sort-options {
  display: grid;
  gap: 0.25rem;
}
.native-control {
  height: 1px !important;
  opacity: 0;
  padding: 0 !important;
  pointer-events: none;
  position: absolute;
  width: 1px !important;
}
input, textarea, select {
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.85rem 0 1rem;
}
.filter-scroll-shell {
  min-width: 0;
  position: relative;
  width: 100%;
}
.filter-scroll-button {
  display: none;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.filter {
  align-items: center;
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  color: #3c4650;
  display: inline-flex;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
}
.filter.active, .filter:hover {
  background: var(--ink);
  color: white;
}
.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.load-more-button {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 0.75rem;
  min-width: 220px;
}
.product-card {
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  content-visibility: auto;
  contain-intrinsic-size: 430px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.product-card:hover {
  border-color: rgba(22, 163, 74, 0.42);
  box-shadow: 0 18px 42px rgba(16, 20, 24, 0.1);
  transform: translateY(-2px);
}
.product-media {
  align-items: center;
  background: #edf0ec;
  display: flex;
  justify-content: center;
  min-height: 250px;
  padding: 1rem;
  position: relative;
  width: 100%;
}
.product-media img {
  height: 220px;
  object-fit: contain;
  transition: transform 180ms ease;
  width: 100%;
}
.product-media:hover img { transform: scale(1.03); }
.product-badge {
  background: rgba(16, 20, 24, 0.9);
  border-radius: 999px;
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
  left: 0.75rem;
  padding: 0.35rem 0.55rem;
  position: absolute;
  text-transform: uppercase;
  top: 0.75rem;
}
.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.9rem;
}
.product-line {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.product-line span { color: #687582; font-size: 0.76rem; font-weight: 850; text-transform: uppercase; }
.product-line strong { font-size: 1rem; }
.product-card h3 {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  min-height: 2.5rem;
}
.product-card p {
  color: #66727e;
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 0.9rem;
}
.size-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: auto;
}
.size-strip span, .size-pill {
  background: #eef1ed;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #3a4650;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  min-height: 28px;
  padding: 0.28rem 0.48rem;
}
.size-pill.active {
  background: var(--ink);
  color: white;
}
.product-actions {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 0.9rem;
}
.empty-state {
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  grid-column: 1 / -1;
  padding: 3rem;
  text-align: center;
}
.empty-state p { color: #66727e; margin-bottom: 0; }
.product-skeleton {
  pointer-events: none;
}
.product-skeleton:hover {
  box-shadow: none;
  transform: none;
}
.skeleton-block, .skeleton-line {
  background: linear-gradient(90deg, #e3e7e1 0%, #f2f4ef 50%, #e3e7e1 100%);
  background-size: 220% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}
.skeleton-line {
  border-radius: 999px;
  display: block;
  height: 12px;
  margin-bottom: 0.65rem;
  width: 100%;
}
.skeleton-line.short { width: 45%; }
.skeleton-line.title { height: 18px; width: 80%; }
.skeleton-line.tiny { width: 58%; }
@keyframes shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.trust-strip {
  background: #0f151d;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.trust-grid span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
}
.trust-grid strong { color: var(--text); }

.section-block { padding: 4rem 0; }
.section-heading { margin-bottom: 2rem; }
.section-heading.centered { margin-inline: auto; max-width: 760px; text-align: center; }
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.section-heading p:not(.eyebrow), .faq-grid p { color: var(--muted); line-height: 1.6; }
.checkout-form input, .checkout-form textarea, .checkout-form select {
  background: #0b0f14;
  border-color: var(--line);
  color: var(--text);
}
.total-line, .cart-total {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

.process-section { background: #0f151d; border-block: 1px solid var(--line); }
.steps-grid, .faq-grid, .footer-grid {
  display: grid;
  gap: 1rem;
}
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.steps-grid article, .faq-grid details {
  background: #111821;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem;
}
.steps-grid strong { color: var(--yellow); font-size: 1.5rem; }
.steps-grid h3 { margin: 1rem 0 0.5rem; }
.steps-grid p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.faq-grid summary { cursor: pointer; font-weight: 900; }
.faq-grid p { margin: 1rem 0 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0;
}
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
.footer-grid h2 { font-size: 1rem; }
.footer-grid a, .footer-grid p {
  color: var(--muted);
  display: block;
  line-height: 1.7;
  margin: 0 0 0.45rem;
}

.cart-drawer, .product-modal {
  background: rgba(0, 0, 0, 0.62);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 70;
}
.cart-drawer.open, .product-modal.open { opacity: 1; pointer-events: auto; }
.cart-panel {
  background: #0b0f14;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 100%;
  margin-left: auto;
  max-width: 520px;
  overflow-y: auto;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 220ms ease;
  width: 100%;
}
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-header { align-items: center; display: flex; justify-content: space-between; }
.icon-button {
  background: #18212c;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  height: 42px;
  width: 42px;
}
.cart-items { display: grid; gap: 1rem; margin: 1.5rem 0; }
.cart-line {
  background: #111821;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 74px 1fr auto;
  padding: 0.8rem;
}
.cart-line img { background: #e9ece6; border-radius: 6px; height: 74px; object-fit: contain; padding: 0.35rem; width: 74px; }
.cart-line h3 { font-size: 0.94rem; margin-bottom: 0.25rem; }
.cart-line p { color: var(--muted); font-size: 0.82rem; line-height: 1.45; margin: 0; }
.remove-button { background: transparent; border: 0; color: #fca5a5; cursor: pointer; font-weight: 850; }
.empty-cart {
  background: #111821;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  display: grid;
  gap: 0.4rem;
  line-height: 1.5;
  padding: 1rem;
}
.empty-cart p { color: var(--muted); margin: 0; }
.checkout-form {
  background: #101720;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}
.checkout-note {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.24);
  border-radius: 8px;
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  padding: 0.9rem;
}
.email-fallback { color: var(--yellow); font-size: 0.9rem; font-weight: 850; text-align: center; }

.modal-panel {
  background: var(--panel-2);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) 390px;
  left: 50%;
  max-height: min(760px, calc(100vh - 2rem));
  max-width: min(1080px, calc(100vw - 2rem));
  overflow-y: auto;
  padding: 1rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.modal-close { position: absolute; right: 1rem; top: 1rem; z-index: 2; }
.detail-gallery {
  display: grid;
  gap: 0.75rem;
}
.detail-media {
  align-items: center;
  background: #e9ece6;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
}
.detail-zoom-button {
  align-items: center;
  background: transparent;
  border: 0;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 0;
  width: 100%;
}
.detail-media img, .detail-media video {
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 1rem;
  width: 100%;
}
.image-zoom {
  align-items: center;
  background: rgba(5, 8, 12, 0.86);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 95;
}
.image-zoom.open { display: flex; }
.image-zoom img {
  background: #e9ece6;
  border-radius: 8px;
  max-height: 88vh;
  max-width: 92vw;
  object-fit: contain;
  padding: 0.75rem;
}
.image-zoom-close {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 96;
}
.detail-thumbs {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.detail-thumbs button {
  align-items: center;
  background: #e9ece6;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  padding: 0.25rem;
}
.detail-thumbs button.active { border-color: var(--green); }
.detail-thumbs img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.detail-thumbs span {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
}
.detail-info { display: grid; align-content: start; gap: 1rem; padding: 1rem; }
.detail-info h2 { font-size: 2rem; line-height: 1.08; margin-bottom: 0; }
.detail-info p { color: #5d6873; line-height: 1.55; margin-bottom: 0; }
.detail-price { font-size: 2rem; font-weight: 950; }
.detail-row {
  align-items: center;
  border-top: 1px solid var(--dark-line);
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
}
.detail-row span { color: #687582; }
.detail-sizes { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.size-option {
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  min-height: 36px;
  min-width: 42px;
  padding: 0 0.7rem;
}

@media (min-width: 961px) {
  .detail-gallery {
    align-self: start;
    position: sticky;
    top: 1rem;
  }
  .detail-media {
    aspect-ratio: 4 / 3;
    max-height: 500px;
  }
}
.size-option.active {
  background: var(--ink);
  color: white;
}
.detail-actions { display: grid; gap: 0.6rem; }
.detail-purchase-bar {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr);
}
.detail-purchase-bar span {
  font-size: 1.15rem;
  font-weight: 950;
}
.detail-customizer {
  background: #f5f7f2;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  display: none;
  gap: 0.7rem;
  padding: 0.8rem;
}
.detail-customizer.open { display: grid; }
.detail-customizer-head {
  display: grid;
  gap: 0.35rem;
}
.detail-customizer-head strong {
  font-size: 1rem;
}
.detail-customizer-head p {
  font-size: 0.86rem;
}
.detail-mockup {
  background: #e8ece6;
  border-radius: 8px;
  display: none;
  gap: 0.5rem;
  grid-template-columns: 1fr;
  padding: 0.55rem;
}
.detail-mockup.open { display: grid; }
.mockup-frame {
  align-items: center;
  background: #e8ece6;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}
.mockup-frame img {
  height: 210px;
  object-fit: contain;
  width: 100%;
}
.mockup-frame::after {
  background: linear-gradient(180deg, rgba(232, 236, 230, 0), rgba(232, 236, 230, 0.92));
  bottom: 0;
  content: "";
  height: 45%;
  left: 0;
  position: absolute;
  right: 0;
}
.mockup-frame.generic-jersey {
  background:
    linear-gradient(135deg, rgba(16, 20, 24, 0.05), transparent 44%),
    #eef1ed;
}
.generic-back-shirt {
  background: #f9faf7;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 22px 22px 14px 14px;
  box-shadow: inset 0 -18px 34px rgba(16, 20, 24, 0.05);
  height: 172px;
  position: relative;
  width: 138px;
}
.generic-back-shirt::before,
.generic-back-shirt::after {
  background: #f9faf7;
  border: 1px solid rgba(16, 20, 24, 0.12);
  content: "";
  height: 66px;
  position: absolute;
  top: 14px;
  width: 44px;
}
.generic-back-shirt::before {
  border-radius: 18px 9px 14px 18px;
  left: -36px;
  transform: rotate(18deg);
}
.generic-back-shirt::after {
  border-radius: 9px 18px 18px 14px;
  right: -36px;
  transform: rotate(-18deg);
}
.generic-back-shirt span {
  border: 2px solid rgba(16, 20, 24, 0.16);
  border-bottom: 0;
  border-radius: 0 0 36px 36px;
  height: 22px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 58px;
}
.detail-mockup-print {
  color: #111820;
  display: grid;
  font-weight: 950;
  gap: 0.2rem;
  left: 50%;
  letter-spacing: 0.06em;
  place-items: center;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7);
  top: 37%;
  transform: translate(-50%, -50%);
  width: min(68%, 260px);
  z-index: 2;
}
.generic-jersey .detail-mockup-print {
  top: 44%;
}
.detail-mockup-print span {
  font-size: 1.05rem;
  line-height: 1;
  overflow-wrap: anywhere;
}
.detail-mockup-print strong {
  font-size: 3.35rem;
  line-height: 0.9;
}
.preview-disclaimer {
  background: white;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  color: #5d6873 !important;
  font-size: 0.78rem;
  padding: 0.5rem;
}
.custom-fields {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) 88px;
}
.custom-note {
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.34);
  border-radius: 6px;
  color: #5d4c05 !important;
  font-size: 0.82rem;
  padding: 0.65rem;
}

.toast {
  background: var(--text);
  border-radius: 999px;
  bottom: 1.2rem;
  color: var(--ink);
  font-weight: 850;
  left: 50%;
  opacity: 0;
  padding: 0.8rem 1.2rem;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 1rem);
  transition: 180ms ease;
  z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.back-to-top {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  bottom: 1.2rem;
  box-shadow: var(--shadow);
  color: white;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 44px;
  opacity: 0;
  padding: 0 1rem;
  pointer-events: none;
  position: fixed;
  right: 1.2rem;
  transform: translateY(0.75rem);
  transition: 180ms ease;
  z-index: 65;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .toolbar-controls { grid-template-columns: 1fr 150px 170px; }
  .header-inner {
    gap: 0.9rem;
    grid-template-columns: auto minmax(280px, 1fr) minmax(260px, 380px) 42px;
    grid-template-areas: "brand nav search cart";
  }
  .site-nav { gap: 0.8rem; }
}

@media (max-width: 980px) {
  .header-inner {
    gap: 0.55rem;
    grid-template-columns: 40px minmax(0, 1fr) 38px 42px;
    grid-template-areas:
      "menu brand search cart"
      "searchbar searchbar searchbar searchbar";
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
  }
  .menu-button {
    background: #18212c;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    display: inline-flex;
    grid-area: menu;
    justify-content: center;
    min-height: 42px;
    padding: 0;
    width: 40px;
  }
  .menu-label { display: none; }
  .brand {
    grid-area: brand;
    justify-self: center;
  }
  .search-toggle {
    display: grid;
    grid-area: search;
    place-content: center;
  }
  .site-nav {
    background: #0d141d;
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.85rem;
    height: 100dvh;
    justify-content: stretch;
    max-width: 360px;
    padding: 1rem;
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    width: min(88vw, 360px);
    z-index: 80;
  }
  .site-nav.open {
    transform: translateX(0);
  }
  .nav-backdrop {
    background: rgba(5, 8, 12, 0.58);
    border: 0;
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 180ms ease;
    z-index: 70;
  }
  body.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-drawer-head {
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    display: flex;
    gap: 0.25rem;
    justify-content: space-between;
    margin-bottom: 0;
    padding-bottom: 1rem;
  }
  .nav-drawer-head div {
    display: grid;
    gap: 0.25rem;
  }
  .nav-drawer-head strong { font-size: 1.15rem; }
  .nav-drawer-head span { color: var(--muted); font-size: 0.86rem; }
  .nav-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 950;
    height: 38px;
    justify-content: center;
    width: 38px;
  }
  .site-nav::before {
    color: var(--yellow);
    content: "Shop by edition";
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0.25rem 0 -0.4rem;
    text-transform: uppercase;
  }
  .site-nav > a {
    display: none;
  }
  .drawer-category-list {
    display: grid;
    gap: 0.55rem;
  }
  .drawer-category-link {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    display: grid;
    gap: 0.2rem 0.75rem;
    grid-template-columns: 44px 1fr;
    min-height: 66px;
    padding: 0.65rem;
  }
  .drawer-category-link span {
    align-items: center;
    background: rgba(250, 204, 21, 0.13);
    border-radius: 6px;
    color: var(--yellow);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 950;
    height: 42px;
    justify-content: center;
    grid-row: span 2;
  }
  .drawer-category-link strong {
    color: var(--text);
    font-size: 0.95rem;
  }
  .drawer-category-link em {
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
  }
  .drawer-category-link.active {
    background: var(--text);
  }
  .drawer-category-link.active strong {
    color: var(--ink);
  }
  .drawer-link-group {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.2rem;
    padding-top: 0.75rem;
  }
  .drawer-link-group span {
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
  }
  .site-nav.open .drawer-link-group a {
    align-items: center;
    border-radius: 6px;
    color: var(--text);
    display: flex;
    min-height: 44px;
    padding: 0.75rem 0.85rem;
  }
  .site-nav.open .drawer-link-group a:hover,
  .drawer-category-link:hover { background: rgba(255, 255, 255, 0.08); }
  .drawer-note {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.26);
    border-radius: 8px;
    color: var(--soft);
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: auto;
    padding: 0.75rem;
  }
  .header-search {
    display: none;
    grid-area: searchbar;
    margin-top: 0.1rem;
  }
  body.search-open .header-search { display: grid; }
  .search-panel {
    border-radius: 10px;
    left: 50%;
    max-height: min(620px, calc(100vh - 135px));
    right: auto;
    transform: translateX(-50%);
    width: min(680px, calc(100vw - 2rem));
  }
  .search-results {
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 460px;
  }
  .search-result {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .search-result b {
    grid-column: 2;
  }
  .category-nav-wrap { top: 72px; }
  body.search-open .category-nav-wrap { top: 126px; }
  .category-nav-shell {
    margin-inline: -1.5rem;
    padding-inline: 3rem;
  }
  .category-nav-shell::before,
  .category-nav-shell::after {
    bottom: 0;
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 2.35rem;
    z-index: 2;
  }
  .category-nav-shell::before {
    background: linear-gradient(90deg, #0f151d 0%, rgba(15, 21, 29, 0));
    left: 0;
  }
  .category-nav-shell::after {
    background: linear-gradient(270deg, #0f151d 0%, rgba(15, 21, 29, 0));
    right: 0;
  }
  .category-nav {
    gap: 0.55rem;
    overscroll-behavior-inline: contain;
    padding-block: 0.58rem;
    scroll-snap-type: x proximity;
  }
  .category-tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    scroll-snap-align: center;
  }
  .category-scroll-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 950;
    height: 36px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    z-index: 3;
  }
  .category-scroll-button.previous { left: 0.7rem; }
  .category-scroll-button.next { right: 0.7rem; }
  .category-scroll-button:disabled {
    opacity: 0.35;
  }
  .menu-button[aria-expanded="true"] {
    opacity: 0;
    pointer-events: none;
  }
  .cart-button {
    grid-area: cart;
    justify-self: end;
  }
  .shop-hero-grid, .catalog-layout, .modal-panel { grid-template-columns: 1fr; }
  .shop-hero { padding: 2rem 0 1.2rem; }
  .hero-feature { display: none; }
  .mobile-featured {
    align-items: center;
    background: #f8faf7;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    color: var(--ink);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    margin: 1rem 1.5rem 0;
    padding: 0.65rem;
  }
  .mobile-featured img {
    background: #e9ece6;
    border-radius: 6px;
    height: 72px;
    object-fit: contain;
    padding: 0.25rem;
    width: 76px;
  }
  .mobile-featured div {
    min-width: 0;
  }
  .mobile-featured strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-featured em {
    color: var(--ink);
    display: block;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 950;
    margin-top: 0.2rem;
  }
  .mobile-featured .pill {
    font-size: 0.58rem;
    margin-bottom: 0.3rem;
    max-width: 100%;
    overflow: hidden;
    padding: 0.28rem 0.42rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-featured .button {
    min-height: 40px;
    padding: 0 0.75rem;
  }
  .hero-feature {
    align-items: center;
    grid-template-columns: 160px 1fr;
  }
  .hero-image-wrap { min-height: 160px; }
  .hero-image-wrap img { height: 150px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-toolbar {
    align-items: start;
    grid-template-columns: 1fr;
  }
  .toolbar-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbar-controls .search-field {
    grid-column: 1 / -1;
  }
  .sort-sheet {
    right: 1.5rem;
    top: calc(100% + 0.45rem);
  }
  .detail-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .modal-panel {
    max-height: calc(100vh - 1.5rem);
    max-width: calc(100vw - 1.5rem);
  }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 1rem; }
  .header-inner {
    min-height: 0;
    padding-bottom: 0.55rem;
    padding-top: 0.55rem;
  }
  .brand { font-size: 1.45rem; }
  .menu-button, .search-toggle { min-height: 40px; width: 40px; }
  .search-toggle {
    height: 40px;
  }
  .cart-button {
    height: 40px;
    width: 42px;
  }
  .menu-button {
    align-items: center;
    gap: 0;
  }
  .category-nav-wrap { top: 58px; }
  body.search-open .category-nav-wrap { top: 112px; }
  .category-nav-shell {
    margin-inline: -1rem;
    padding-inline: 2.65rem;
  }
  .category-scroll-button.previous { left: 0.5rem; }
  .category-scroll-button.next { right: 0.5rem; }
  .header-search {
    border-radius: 999px;
    grid-template-columns: minmax(0, 1fr);
    z-index: 130;
  }
  .header-search input { min-height: 44px; }
  .search-suggestions {
    grid-template-columns: 1fr 1fr;
    top: calc(100% + 0.35rem);
  }
  .search-panel {
    border-radius: 12px;
    bottom: 0.85rem;
    left: 1rem;
    max-height: none;
    overflow: hidden;
    padding: 0.7rem;
    position: fixed;
    right: 1rem;
    top: 8.2rem;
    transform: none;
    width: auto;
    z-index: 120;
  }
  .search-results {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
  }
  .search-result {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    min-height: 66px;
  }
  .search-result b { grid-column: auto; }
  .search-panel-head {
    align-items: start;
    display: grid;
    gap: 0.15rem;
  }
  .search-panel-head span { text-align: left; }
  body.search-open .category-nav-wrap,
  body.search-open .catalog-section {
    visibility: hidden;
  }
  .shop-hero { padding: 1rem 0 0.8rem; }
  .shop-hero-grid { gap: 1rem; }
  .hero-copy h1 {
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 0.65rem;
    max-width: 15ch;
  }
  .hero-copy p:not(.eyebrow) { font-size: 0.95rem; }
  .hero-stats, .trust-grid, .category-grid, .steps-grid, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .hero-feature { grid-template-columns: 112px 1fr; padding: 0.75rem; }
  .hero-image-wrap { min-height: 126px; }
  .hero-image-wrap img { height: 120px; }
  .hero-feature h2 { font-size: 1rem; line-height: 1.2; }
  .hero-feature strong { font-size: 1.25rem; margin-bottom: 0.65rem; }
  .mobile-featured {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    margin: 0.8rem 1rem 0;
  }
  .mobile-featured img {
    height: 62px;
    width: 64px;
  }
  .mobile-featured strong {
    font-size: 0.84rem;
  }
  .mobile-featured .button {
    min-height: 38px;
    padding: 0 0.6rem;
  }
  .catalog-section { padding-top: 0.8rem; }
  .shop-hub { padding: 0.9rem; }
  .shop-hub-head {
    align-items: start;
    display: grid;
  }
  .shop-hub-head h2 { font-size: 1.6rem; }
  .shop-hub-head .button { width: 100%; }
  .category-grid {
    display: flex;
    gap: 0.55rem;
    margin: 0 -0.9rem;
    overflow-x: auto;
    padding: 0 0.9rem 0.15rem;
    scrollbar-width: none;
  }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-card {
    flex: 0 0 min(82vw, 320px);
    min-height: 280px;
  }
  .category-card img { height: 168px; }
  .catalog-toolbar {
    border-radius: 8px 8px 0 0;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    overflow: hidden;
    padding: 0.9rem;
    position: relative;
    top: auto;
    z-index: 1;
  }
  body.filter-open .catalog-toolbar,
  body.sort-open .catalog-toolbar {
    overflow: visible;
    z-index: 36;
  }
  .mobile-catalog-actions {
    align-self: stretch;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    width: 100%;
  }
  .mobile-filter-toggle,
  .mobile-sort-toggle {
    align-items: center;
    background: #f7f8f4;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    color: var(--ink);
    display: inline-flex;
    flex-direction: row;
    font-size: 0.84rem;
    font-weight: 950;
    gap: 0.45rem;
    justify-content: center;
    min-height: 44px;
    min-width: 0;
    padding: 0 0.75rem;
  }
  .mobile-sort-toggle {
    background: #f7f8f4;
    border-color: var(--dark-line);
    color: var(--ink);
  }
  body.filter-open .mobile-filter-toggle,
  body.sort-open .mobile-sort-toggle {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
  }
  .control-icon {
    border: 2px solid currentColor;
    border-radius: 999px;
    height: 12px;
    position: relative;
    width: 12px;
  }
  .control-icon::before,
  .control-icon::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 2px;
    position: absolute;
    width: 14px;
  }
  .control-icon::before {
    left: -8px;
    top: 2px;
  }
  .control-icon::after {
    bottom: 2px;
    right: -8px;
  }
  .sort-icon {
    height: 14px;
    position: relative;
    width: 14px;
  }
  .sort-icon::before,
  .sort-icon::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    content: "";
    left: 2px;
    position: absolute;
  }
  .sort-icon::before {
    border-bottom: 6px solid currentColor;
    top: 0;
  }
  .sort-icon::after {
    border-top: 6px solid currentColor;
    bottom: 0;
  }
  .catalog-toolbar h2 { font-size: 1.35rem; }
  .filter-panel-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
  .filter-panel-head strong {
    font-size: 1.1rem;
  }
  .filter-panel-actions {
    display: none;
  }
  .filter-panel-head {
    margin-bottom: -0.15rem;
  }
  .toolbar-controls {
    background: white;
    border: 1px solid rgba(16, 20, 24, 0.1);
    border-radius: 10px;
    box-shadow: none;
    display: none;
    gap: 0.85rem;
    max-height: none;
    min-width: 0;
    opacity: 1;
    overflow: visible;
    padding: 0.85rem;
    pointer-events: auto;
    position: static;
    transform: none;
    transition: none;
    z-index: auto;
    grid-template-columns: 1fr;
  }
  .toolbar-controls .sort-field {
    display: none;
  }
  .toolbar-controls .search-field,
  .toolbar-controls .size-control {
    grid-column: auto;
  }
  body.filter-open .toolbar-controls {
    display: grid;
  }
  .size-control .select-menu {
    min-width: 0;
    width: 100%;
  }
  .size-control .select-menu.open {
    display: grid;
    margin-top: -0.35rem;
    position: static;
  }
  .sort-sheet {
    display: none;
    min-width: 0;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
    transition: none;
    z-index: auto;
  }
  .sort-sheet.open {
    display: grid;
  }
  .sort-sheet {
    background: white;
    border: 1px solid rgba(16, 20, 24, 0.1);
    border-radius: 10px;
    box-shadow: none;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .sort-options { gap: 0.45rem; }
  .sort-options button { min-height: 46px; }
  .filter-group {
    background: var(--panel-2);
    border-bottom: 1px solid var(--dark-line);
    margin: 0 -1rem 0.8rem;
    overflow: hidden;
    padding: 0.75rem 1rem;
    position: relative;
    scrollbar-width: none;
    top: auto;
    z-index: 27;
  }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-scroll-shell {
    margin-inline: -1rem;
    padding-inline: 2.65rem;
  }
  .filter-scroll-shell::before,
  .filter-scroll-shell::after {
    bottom: 0;
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 2.1rem;
    z-index: 2;
  }
  .filter-scroll-shell::before {
    background: linear-gradient(90deg, var(--panel-2) 0%, rgba(246, 247, 243, 0));
    left: 0;
  }
  .filter-scroll-shell::after {
    background: linear-gradient(270deg, var(--panel-2) 0%, rgba(246, 247, 243, 0));
    right: 0;
  }
  .filter-row {
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 0.75rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-scroll-button {
    align-items: center;
    background: white;
    border: 1px solid var(--dark-line);
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 950;
    height: 36px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    z-index: 3;
  }
  .filter-scroll-button.previous { left: 0.5rem; }
  .filter-scroll-button.next { right: 0.5rem; }
  .filter-scroll-button:disabled {
    opacity: 0.35;
  }
  .filter {
    flex: 0 0 auto;
    min-height: 42px;
    scroll-snap-align: center;
    white-space: nowrap;
  }
  .product-grid {
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-media { min-height: 168px; padding: 0.55rem; }
  .product-media img { height: 148px; }
  .product-badge {
    font-size: 0.58rem;
    left: 0.45rem;
    max-width: calc(100% - 0.9rem);
    overflow: hidden;
    padding: 0.28rem 0.42rem;
    text-overflow: ellipsis;
    top: 0.45rem;
    white-space: nowrap;
  }
  .product-info { padding: 0.7rem; }
  .product-line { align-items: start; gap: 0.35rem; margin-bottom: 0.45rem; }
  .product-line span { font-size: 0.62rem; line-height: 1.25; }
  .product-line strong { font-size: 0.88rem; }
  .product-card h3 {
    font-size: 0.86rem;
    line-height: 1.28;
    min-height: 2.2rem;
  }
  .product-card p { display: none; }
  .size-strip { gap: 0.24rem; }
  .size-strip span, .size-pill {
    font-size: 0.66rem;
    min-height: 26px;
    padding: 0.22rem 0.38rem;
  }
  .product-actions {
    gap: 0.4rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 0.65rem;
  }
  .product-actions .button {
    min-height: 38px;
    padding: 0 0.65rem;
  }
  .cart-panel {
    max-width: none;
    padding: 1rem 1rem 0;
  }
  .checkout-form { padding-bottom: 0.75rem; }
  .cart-submit-bar {
    background: #0b0f14;
    border-top: 1px solid var(--line);
    bottom: 0;
    margin: 0 -1rem;
    padding: 0.75rem 1rem 1rem;
    position: sticky;
    z-index: 2;
  }
  .cart-submit-bar .cart-total { margin-top: 0; }
  .cart-line {
    grid-template-columns: 64px 1fr;
    position: relative;
  }
  .cart-line img { height: 64px; width: 64px; }
  .remove-button {
    grid-column: 2;
    justify-self: start;
  }
  .modal-panel {
    border-radius: 14px 14px 0 0;
    bottom: 0;
    left: 0;
    max-height: 96vh;
    max-width: none;
    padding: 0.75rem;
    top: auto;
    transform: none;
    width: 100%;
  }
  .modal-close { right: 0.75rem; top: 0.75rem; }
  .detail-media { aspect-ratio: 1 / 1; }
  .detail-media img, .detail-media video { max-height: 100%; }
  .detail-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-thumbs button { min-height: 0; }
  .detail-thumbs img { height: 100%; }
  .detail-info { padding: 0.5rem; }
  .detail-info h2 { font-size: 1.45rem; }
  .detail-price { font-size: 1.55rem; }
  .detail-sizes { gap: 0.35rem; }
  .size-option {
    min-height: 42px;
    min-width: 48px;
  }
  .detail-purchase-bar {
    background: var(--panel-2);
    border-top: 1px solid var(--dark-line);
    bottom: 0;
    margin: 0 -0.5rem -0.5rem;
    padding: 0.75rem 0.5rem;
    position: sticky;
  }
  .detail-customizer { padding: 0.65rem; }
  .mockup-frame { min-height: 190px; }
  .mockup-frame img { height: 180px; }
  .generic-back-shirt {
    height: 150px;
    width: 120px;
  }
  .generic-back-shirt::before,
  .generic-back-shirt::after {
    height: 56px;
    width: 36px;
  }
  .generic-back-shirt::before { left: -30px; }
  .generic-back-shirt::after { right: -30px; }
  .detail-mockup-print span { font-size: 0.92rem; }
  .detail-mockup-print strong { font-size: 2.7rem; }
  .custom-fields { grid-template-columns: 1fr; }
  .toast {
    bottom: 0.8rem;
    max-width: calc(100vw - 2rem);
    text-align: center;
  }
  .back-to-top {
    bottom: 0.85rem;
    right: 0.85rem;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .container {
    padding: 0 1.5rem;
  }
  .header-inner {
    gap: 0.75rem;
    grid-template-columns: 44px auto minmax(0, 1fr) 44px 48px;
    grid-template-areas: "menu brand spacer search cart";
    min-height: 72px;
    padding-bottom: 0.7rem;
    padding-top: 0.7rem;
  }
  .menu-button {
    align-items: center;
    background: #18212c;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--text);
    display: inline-flex;
    grid-area: menu;
    justify-content: center;
    min-height: 44px;
    padding: 0;
    width: 44px;
  }
  .menu-label { display: none; }
  .brand {
    font-size: 1.6rem;
    grid-area: brand;
    justify-self: start;
  }
  .site-nav {
    background: #0d141d;
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.75rem;
    height: 100dvh;
    justify-content: stretch;
    max-width: 400px;
    padding: 1rem;
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    width: min(46vw, 400px);
    z-index: 80;
  }
  .site-nav.open {
    transform: translateX(0);
  }
  .site-nav > a {
    display: none;
  }
  .nav-backdrop {
    background: rgba(5, 8, 12, 0.58);
    border: 0;
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 180ms ease;
    z-index: 70;
  }
  body.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-drawer-head {
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    display: flex;
    gap: 0.25rem;
    justify-content: space-between;
    margin-bottom: 0;
    padding-bottom: 0.9rem;
  }
  .nav-drawer-head div {
    display: grid;
    gap: 0.25rem;
  }
  .nav-drawer-head strong { font-size: 1.05rem; }
  .nav-drawer-head span { color: var(--muted); font-size: 0.82rem; }
  .nav-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--text);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 950;
    height: 38px;
    justify-content: center;
    width: 38px;
  }
  .site-nav::before {
    color: var(--yellow);
    content: "Shop by edition";
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0.2rem 0 -0.35rem;
    text-transform: uppercase;
  }
  .drawer-category-list {
    display: grid;
    gap: 0.5rem;
  }
  .drawer-category-link {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    display: grid;
    gap: 0.15rem 0.7rem;
    grid-template-columns: 42px 1fr;
    min-height: 62px;
    padding: 0.6rem;
  }
  .drawer-category-link span {
    align-items: center;
    background: rgba(250, 204, 21, 0.13);
    border-radius: 6px;
    color: var(--yellow);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 950;
    height: 40px;
    justify-content: center;
    grid-row: span 2;
  }
  .drawer-category-link strong {
    color: var(--text);
    font-size: 0.9rem;
  }
  .drawer-category-link em {
    color: var(--muted);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 800;
  }
  .drawer-category-link.active {
    background: var(--text);
  }
  .drawer-category-link.active strong {
    color: var(--ink);
  }
  .drawer-link-group {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.1rem;
    padding-top: 0.65rem;
  }
  .drawer-link-group span {
    color: var(--yellow);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
  }
  .site-nav.open .drawer-link-group a {
    align-items: center;
    border-radius: 6px;
    color: var(--text);
    display: flex;
    min-height: 40px;
    padding: 0.65rem 0.75rem;
  }
  .drawer-note {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.26);
    border-radius: 8px;
    color: var(--soft);
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: auto;
    padding: 0.7rem;
  }
  .search-toggle {
    display: grid;
    grid-area: search;
    height: 44px;
    place-content: center;
    width: 44px;
  }
  .header-search {
    display: none;
    grid-area: searchbar;
  }
  body.search-open .header-search {
    display: grid;
    grid-column: 1 / -1;
  }
  .cart-button {
    grid-area: cart;
    height: 44px;
    justify-self: end;
    width: 48px;
  }
  .menu-button[aria-expanded="true"] {
    opacity: 0;
    pointer-events: none;
  }
  .shop-hero {
    padding: 1.35rem 0 1rem;
  }
  .shop-hero-grid {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
  .hero-feature { display: none; }
  .hero-copy h1 {
    font-size: clamp(2.45rem, 5.1vw, 3.15rem);
    line-height: 1.03;
    margin-bottom: 0.85rem;
    max-width: 14ch;
  }
  .hero-copy p:not(.eyebrow) {
    max-width: 42rem;
  }
  .hero-stats {
    gap: 0.65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
  }
  .hero-stats span {
    min-height: 72px;
    padding: 0.75rem;
  }
  .mobile-featured {
    align-items: center;
    background: #f8faf7;
    border: 1px solid var(--dark-line);
    border-radius: 8px;
    color: var(--ink);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    margin: 0.85rem 1.5rem 0;
    padding: 0.65rem;
  }
  .mobile-featured img {
    background: #e9ece6;
    border-radius: 6px;
    height: 72px;
    object-fit: contain;
    padding: 0.25rem;
    width: 76px;
  }
  .mobile-featured div { min-width: 0; }
  .mobile-featured strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-featured em {
    color: var(--ink);
    display: block;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 950;
    margin-top: 0.2rem;
  }
  .mobile-featured .pill {
    font-size: 0.58rem;
    margin-bottom: 0.3rem;
    max-width: 100%;
    overflow: hidden;
    padding: 0.28rem 0.42rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-featured .button {
    min-height: 40px;
    padding: 0 0.75rem;
  }
  .category-nav-wrap {
    top: 72px;
  }
  .category-nav-shell {
    margin-inline: -1.5rem;
    padding-inline: 3rem;
  }
  .category-nav {
    gap: 0.55rem;
    overscroll-behavior-inline: contain;
    padding-block: 0.58rem;
    scroll-snap-type: x proximity;
  }
  .category-tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    scroll-snap-align: center;
  }
  .category-scroll-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 950;
    height: 36px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    z-index: 3;
  }
  .category-scroll-button.previous { left: 0.7rem; }
  .category-scroll-button.next { right: 0.7rem; }
  .catalog-section {
    padding-top: 1rem;
  }
  .catalog-toolbar {
    gap: 0.95rem;
    padding: 1rem;
  }
  .catalog-toolbar h2 {
    font-size: 1.65rem;
  }
  .toolbar-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbar-controls .search-field {
    grid-column: 1 / -1;
  }
  .filter-group {
    padding-bottom: 0.85rem;
  }
  .product-grid {
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-media {
    min-height: 240px;
  }
  .product-media img {
    height: 220px;
  }
}

@media (max-width: 380px) {
  .product-grid { gap: 0.55rem; }
  .product-media { min-height: 148px; }
  .product-media img { height: 130px; }
  .product-card h3 { font-size: 0.8rem; }
  .product-line { flex-direction: column; }
}
