:root {
  --bg: #0b0972;
  --card: #1a0dca;
  --surface: #0a088f;
  --text: #f8f1ef;
  --muted: #fffffffd;
  --accent: #09b88c;
  --accent-dark: #09771b;
  --success: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, rgba(11, 94, 215, 0.12), transparent 40%),
    linear-gradient(180deg, #043383 0%, #020617 100%);
  color: var(--text);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2rem 1rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.brand h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.brand p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.cart-button {
  border: none;
  background: var(--accent);
  color: #020617;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-button:hover {
  background: var(--accent-dark);
}

.hero {
  padding: 1rem 2rem 2rem;
  max-width: 850px;
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.hero p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 42rem;
}

.info-section {
  padding: 2rem 2rem 1rem;
  max-width: 850px;
  margin: 0 auto;
  color: var(--text);
}

.info-section h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.info-section p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card img {
  width: 100%;
  border-radius: 1.2rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.product-header h3,
.product-header span {
  margin: 0;
}

.product-category {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
}

.add-to-cart {
  border: none;
  background: var(--text);
  color: #020617;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.add-to-cart:hover {
  transform: translateY(-1px);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 100%);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.98));
  border-left: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: -22px 0 60px rgba(2, 6, 23, 0.6);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 20;
}

.cart-panel.visible {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.cart-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.close-cart {
  border: none;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.cart-items {
  margin-top: 1.5rem;
  flex: 1;
  display: grid;
  gap: 1rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.cart-item {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.cart-item h4,
.cart-item span {
  margin: 0;
}

.cart-item h4 {
  font-size: 1rem;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
}

.item-meta button {
  border: none;
  color: var(--accent);
  background: transparent;
  cursor: pointer;
}

.item-controls {
  align-items: center;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
}

.quantity-control button {
  width: 1.8rem;
  height: 1.8rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.quantity-control span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.remove-item {
  color: #fca5a5 !important;
  font-weight: 600;
}

.checkout-overview {
  margin-top: 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(17, 24, 39, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.28);
}

.checkout-overview h4 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.order-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.order-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.totals-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 0.75rem;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.total-row.grand-total {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.confirm-button {
  width: 100%;
  margin-top: 1rem;
  border: none;
  background: linear-gradient(135deg, var(--accent), #34d399);
  color: #020617;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.35);
}

.cart-summary {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.checkout-button {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #020617;
  padding: 1rem;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.3);
}

.hidden {
  display: none !important;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-0.25rem);
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.65);
  z-index: 30;
}

.auth-modal__dialog {
  width: min(560px, 100%);
  background: rgba(10, 8, 143, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  position: relative;
}

.auth-modal__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-modal__tab {
  flex: 1;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.auth-modal__tab.active {
  background: var(--accent);
  color: #020617;
}

.auth-modal__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form.hidden {
  display: none;
}

.auth-form h3 {
  margin: 0 0 0.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.95rem;
  color: var(--muted);
}

.form-field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  outline: none;
}

.form-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(9, 184, 140, 0.18);
}

.auth-submit {
  border: none;
  background: var(--accent);
  color: #020617;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.close-auth {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.auth-modal.hidden {
  display: none;
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .product-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.product-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0,0,0,0.55);
  z-index: 40;
}

.product-modal__dialog {
  width: min(820px, 100%);
  background: rgba(10, 8, 143, 0.98);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
  position: relative;
}

.product-detail {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.product-detail__image {
  width: 44%;
  border-radius: 0.75rem;
  object-fit: cover;
  background: rgba(255,255,255,0.03);
}

.product-detail__info {
  width: 56%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
}

.size-select label {
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}

.close-product {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
}

.product-modal.hidden {
  display: none;
}

@media (max-width: 640px) {
  .product-detail {
    flex-direction: column;
  }

  .product-detail__image,
  .product-detail__info {
    width: 100%;
  }
}

/* GoAthlete storefront refresh */
:root {
  --bg: #ffffff;
  --card: #f3f4f0;
  --surface: #ffffff;
  --text: #171916;
  --muted: #666b64;
  --accent: #c9f253;
  --accent-dark: #a5d52b;
  --success: #327b42;
  --line: #e4e6e0;
  --ink: #171916;
  --soft: #f3f4f0;
  --font-display: 'Arial Narrow', 'Roboto Condensed', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #5b8112;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: block;
  padding: 0 5.5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.header-main,
.header-search-row {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 50%;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 2.1vw, 34px);
}

.main-nav a,
.account-link {
  padding: 10px 0;
  color: #42463f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:hover,
.account-link:hover {
  color: #658e13;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.user-actions,
.authenticated-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.register-link,
.logout-link {
  color: var(--text);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.register-link {
  padding: 10px 12px;
  border-radius: 3px;
  background: var(--accent);
}

.register-link:hover {
  background: #d8ff73;
}

.welcome-user {
  max-width: 125px;
  overflow: hidden;
  color: #484d45;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.authenticated-actions .account-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.authenticated-actions .admin-panel-link {
  color: #5f8616;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-auth-item {
  display: none;
}

.cart-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.cart-stock-warning {
  color: #a34f3f;
  font-size: 10px;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cart-button:hover {
  border-color: var(--ink);
  background: var(--accent);
  transform: translateY(-1px);
}

.cart-icon {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.cart-count {
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 11px;
  transition: transform 180ms ease;
}

.cart-button.is-bumping .cart-count {
  transform: scale(1.25);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.header-search-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f1ed;
}

.search-form {
  width: min(360px, 55vw);
  height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 3px;
  background: #f4f5f2;
}

.search-icon {
  color: #464b43;
  font-size: 22px;
  line-height: 1;
  transform: rotate(-18deg);
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.search-form input::placeholder {
  color: #777c74;
}

.search-form button {
  border: 0;
  background: transparent;
  color: #50554d;
  font-size: 19px;
  cursor: pointer;
}

.header-note {
  margin: 0;
  color: #777c74;
  font-size: 11px;
}

.hero {
  width: min(1440px, calc(100% - 11vw));
  max-width: none;
  height: clamp(540px, 43vw, 620px);
  min-height: 0;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  margin: 28px auto 0;
  padding: 0;
  overflow: hidden;
  background: #eff0eb;
}

.hero-copy {
  align-self: center;
  padding: clamp(36px, 5vw, 72px);
  animation: rise-in 700ms both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #62685d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #a5d52b;
}

.hero h1 {
  max-width: 570px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 4.1vw, 59px);
  font-weight: 900;
  line-height: 0.91;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 em {
  color: #799c23;
  font-style: normal;
}

.hero-description {
  max-width: 370px;
  margin: 23px 0 0;
  color: #5f645d;
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 28px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 20px;
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: #32362e;
}

.button-light {
  background: var(--accent);
  color: var(--ink);
}

.button-light:hover {
  background: #d8ff73;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span,
.button span {
  font-size: 16px;
  transition: transform 180ms ease;
}

.text-link:hover span,
.button:hover span {
  transform: translate(2px, -2px);
}

.hero-proof {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 47px;
  color: #787d75;
  font-size: 10px;
}

.hero-proof strong {
  color: #343832;
  font-size: 11px;
}

.hero-visual {
  min-height: 400px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 5%;
  background: #e1e2dc;
  animation: image-in 850ms both;
}

.hero-image-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero:hover .hero-image-wrap img {
  transform: scale(1.035);
}

.hero-stamp {
  position: absolute;
  right: 7%;
  top: 8%;
  width: 82px;
  height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  text-align: center;
}

.hero-stamp span:first-child {
  font-size: 12px;
  font-weight: 900;
}

.hero-stamp span:last-child {
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-image-caption {
  position: absolute;
  bottom: 17px;
  left: 20px;
  margin: 0;
  color: #51564e;
  font-size: 9px;
  font-weight: 800;
}

.hero-image-caption span {
  padding: 0 4px;
  color: #799c23;
}

.section-shell {
  width: min(1320px, calc(100% - 11vw));
  margin-right: auto;
  margin-left: auto;
}

.category-section {
  padding-top: 94px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

.section-heading .eyebrow {
  margin-bottom: 9px;
}

.section-heading h2,
.new-arrivals h2,
.promo-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.category-tile {
  min-height: 255px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 19px;
  overflow: hidden;
  background: #e9ebe5;
  color: var(--ink);
  text-decoration: none;
  isolation: isolate;
}

.category-tile::after {
  position: absolute;
  z-index: -1;
  inset: 40% 0 0;
  content: '';
  background: linear-gradient(0deg, rgba(12, 14, 11, 0.76), transparent);
}

.category-tile img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 480ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-index {
  margin-bottom: 7px;
  color: #e4e7df;
  font-size: 9px;
  font-weight: 700;
}

.category-name {
  color: #fff;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 850;
}

.category-arrow {
  position: absolute;
  right: 17px;
  bottom: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 16px;
  transition: transform 180ms ease;
}

.category-tile:hover .category-arrow {
  transform: rotate(45deg);
}

.promo-band {
  min-height: 188px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 35px;
  margin: 96px 0 0;
  padding: 36px max(5.5vw, calc((100vw - 1320px) / 2));
  background: var(--ink);
  color: #fff;
}

.promo-mark,
.brand-note-mark {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
}

.promo-mark {
  color: var(--accent);
}

.promo-band .eyebrow {
  margin-bottom: 10px;
  color: #c1c6bc;
}

.promo-band h2 {
  max-width: 670px;
  font-size: clamp(26px, 3vw, 38px);
}

.new-arrivals {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding-top: 100px;
  padding-bottom: 100px;
}

.new-arrivals-image {
  aspect-ratio: 1.28;
  position: relative;
  overflow: hidden;
  background: #e8e9e4;
}

.new-arrivals-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 600ms ease;
}

.new-arrivals-image:hover img {
  transform: scale(1.04);
}

.image-index {
  position: absolute;
  bottom: 16px;
  left: 17px;
  padding: 7px 9px;
  background: var(--accent);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
}

.new-arrivals-copy .eyebrow {
  margin-bottom: 18px;
}

.new-arrivals h2 {
  font-size: clamp(42px, 5.6vw, 70px);
  line-height: 0.97;
}

.new-arrivals-copy > p:not(.eyebrow) {
  max-width: 410px;
  margin: 21px 0 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.catalog-section {
  padding-top: 22px;
  padding-bottom: 100px;
  scroll-margin-top: 125px;
}

.catalog-heading {
  margin-bottom: 28px;
}

.results-count {
  margin: 0 0 4px;
  color: #777c74;
  font-size: 12px;
}

.catalog-tools {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-control {
  min-width: 125px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filter-control label {
  color: #777c74;
  font-size: 10px;
  font-weight: 700;
}

.filter-control select,
.price-input-wrap {
  min-height: 38px;
  border: 1px solid #dfe2db;
  border-radius: 3px;
  background: #fff;
  color: var(--text);
  font-size: 11px;
}

.filter-control select {
  width: 100%;
  padding: 0 30px 0 10px;
  cursor: pointer;
}

.price-input-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
}

.price-input-wrap span {
  color: #73786f;
  font-size: 11px;
}

.price-input-wrap input {
  width: 100%;
  min-width: 80px;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 11px;
}

.price-input-wrap input::placeholder {
  color: #83877f;
}

.sort-control {
  min-width: 175px;
  margin-left: auto;
}

.reset-filters {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #62675f;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 37px 16px;
  padding: 26px 0 0;
}

.product-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  animation: rise-in 450ms both;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  background: #f1f2ee;
}

.product-card img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover img {
  transform: scale(1.055);
}

.product-card__brand {
  margin: 14px 0 4px;
  color: #777c74;
  font-size: 10px;
  font-weight: 700;
}

.favorite-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 19px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.favorite-button:hover {
  transform: scale(1.08);
}

.favorite-button[aria-pressed="true"] {
  background: var(--accent);
  color: #3d5312;
}

.product-header {
  min-height: 52px;
  align-items: flex-start;
  gap: 10px;
}

.product-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.product-header .product-category {
  margin: 0 0 5px;
  color: #777c74;
  font-size: 9px;
  letter-spacing: 0;
}

.product-header .product-price {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
}

.product-card > p:not(.product-category):not(.product-header p) {
  min-height: 38px;
  margin: 4px 0 12px;
  overflow: hidden;
  color: #73786f;
  font-size: 11px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-actions {
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  opacity: 0.8;
  transition: opacity 180ms ease;
}

.product-card:hover .product-actions,
.product-card:focus-within .product-actions {
  opacity: 1;
}

.view-details,
.add-to-cart {
  min-height: 39px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.view-details {
  flex: 0 0 auto;
  padding: 0 11px;
  background: #fff;
  color: var(--ink);
}

.view-details:hover {
  background: #f0f1ed;
}

.product-actions .add-to-cart {
  flex: 1;
  padding: 0 10px;
  background: var(--ink);
  color: #fff;
}

.product-actions .add-to-cart:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.empty-results {
  grid-column: 1 / -1;
  padding: 70px 20px;
  color: #6b7068;
  text-align: center;
}

.empty-results strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
}

.brand-note {
  min-height: 155px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 27px 9vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-note-mark {
  color: #7c9f26;
}

.brand-note p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.8vw, 34px);
  line-height: 1.15;
}

.brand-note p strong {
  color: #718e25;
}

.brand-note > a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  transition: background 160ms ease;
}

.brand-note > a:hover {
  background: var(--accent);
}

.site-footer {
  padding: 55px 5.5vw 19px;
  background: #f4f5f1;
}

.footer-main,
.footer-bottom {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
}

.brand-footer .brand-logo {
  width: 30px;
  height: 30px;
}

.footer-brand > p {
  margin: 14px 0 0;
  color: #72776f;
  font-size: 12px;
  line-height: 1.6;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h2 {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 800;
}

.footer-column a {
  color: #696e66;
  font-size: 11px;
  text-decoration: none;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #658e13;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 15px;
  border-top: 1px solid #dfe2db;
  color: #7a7f77;
  font-size: 10px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.cart-panel {
  z-index: 50;
  border-left: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: -20px 0 60px rgba(20, 24, 18, 0.15);
}

.cart-header,
.cart-summary {
  border-color: var(--line);
}

.cart-header h3 {
  font-family: var(--font-display);
}

.close-cart,
.close-auth,
.close-product {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f4f5f1;
  color: var(--text);
  font-size: 20px;
}

.cart-item,
.checkout-overview {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f7f8f5;
  box-shadow: none;
}

.cart-item h4 {
  color: var(--text);
}

.item-meta,
.order-summary-list li,
.total-row {
  color: #676d64;
}

.item-meta button {
  color: #547d08;
}

.quantity-control {
  border-color: var(--line);
  background: #fff;
}

.quantity-control button {
  background: #f0f1ed;
  color: var(--text);
}

.confirm-button,
.checkout-button {
  border-radius: 3px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: none;
}

.auth-modal,
.product-modal,
.account-modal {
  z-index: 60;
  background: rgba(20, 23, 19, 0.62);
  backdrop-filter: blur(5px);
}

.account-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 70;
}

.auth-modal__dialog,
.product-modal__dialog {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border: 1px solid rgba(23, 25, 22, 0.08);
  border-radius: 5px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 25px 80px rgba(16, 18, 15, 0.22);
}

.account-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(23, 25, 22, 0.08);
  border-radius: 5px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 25px 80px rgba(16, 18, 15, 0.22);
}

.account-dialog > .eyebrow {
  margin: 0 0 7px;
}

.account-dialog > h2,
.account-panel h3 {
  margin: 0;
  font-family: var(--font-display);
}

.account-dialog > h2 {
  font-size: 32px;
}

.close-account {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f4f5f1;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.account-tabs {
  display: flex;
  gap: 7px;
  margin: 22px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.account-tab {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #f4f5f1;
  color: #575c54;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.account-tab.active {
  background: var(--ink);
  color: #fff;
}

.account-panel h3 {
  margin-bottom: 17px;
  font-size: 19px;
}

.profile-form {
  display: grid;
  gap: 14px;
  max-width: 460px;
}

.profile-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.account-message {
  min-height: 18px;
  margin: 0;
  color: #557c14;
  font-size: 12px;
}

.account-logout {
  display: inline-block;
  margin-top: 18px;
  color: #6b7068;
  font-size: 12px;
  text-decoration: underline;
}

.account-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  color: #686e65;
  font-size: 13px;
  line-height: 1.6;
}

.account-orders,
.account-favorites {
  display: grid;
  gap: 12px;
}

.account-order {
  padding: 16px;
  border: 1px solid var(--line);
  background: #f8f9f6;
}

.account-order > header,
.account-order > footer,
.account-order li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-order > header > div {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.account-order time,
.account-order li,
.account-order > footer {
  color: #686e65;
  font-size: 11px;
}

.order-status {
  color: #668e18;
  font-size: 11px;
}

.account-order ul {
  display: grid;
  gap: 8px;
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.account-order > footer {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.account-order > footer strong {
  color: var(--text);
}

.account-favorite {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border: 1px solid var(--line);
}

.account-favorite > img {
  width: 90px;
  height: 76px;
  object-fit: cover;
  background: #f0f1ed;
}

.account-favorite h4 {
  margin: 3px 0 7px;
  font-size: 14px;
}

.account-favorite > div > strong {
  font-size: 12px;
}

.account-favorite__actions {
  display: grid;
  gap: 7px;
}

.account-favorite__actions button {
  min-height: 33px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.account-favorite__actions .view-details {
  width: auto;
}

.points-card {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 18px;
  background: #f3f5ed;
}

.points-card__label {
  color: #686e65;
  font-size: 11px;
}

.points-card > strong {
  font-family: var(--font-display);
  font-size: 34px;
}

.points-card > span:last-child,
.benefit-list span {
  color: #686e65;
  font-size: 11px;
  line-height: 1.6;
}

.benefit-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.benefit-list strong {
  font-size: 12px;
}

.auth-modal__tab {
  border-radius: 3px;
  background: #f0f1ed;
  color: #575c54;
}

.auth-modal__tab.active {
  background: var(--accent);
  color: var(--ink);
}

.auth-form h3,
.product-detail__info h3 {
  font-family: var(--font-display);
  font-size: 28px;
}

.form-field label,
.size-select label {
  color: #565b53;
}

.form-field input {
  border: 1px solid #dfe2db;
  border-radius: 3px;
  background: #fff;
  color: var(--text);
}

.form-field input:focus {
  border-color: #88a934;
  box-shadow: 0 0 0 3px rgba(165, 213, 43, 0.2);
}

.auth-submit {
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.product-detail {
  gap: 30px;
}

.product-detail__image {
  min-height: 360px;
  border-radius: 0;
  background: #f1f2ee;
  mix-blend-mode: multiply;
}

.product-detail__info {
  justify-content: center;
  gap: 12px;
}

.product-detail__info > p:not(.product-category):not(.product-price) {
  color: #646960;
  line-height: 1.7;
}

.product-detail__info .product-price {
  margin: 4px 0;
  font-size: 22px;
}

.size-dropdown {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dfe2db;
  border-radius: 3px;
  background: #fff;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.size-dropdown:focus-visible {
  outline: 2px solid #88a934;
  outline-offset: 2px;
}

.size-dropdown:disabled {
  color: #70756c;
  cursor: not-allowed;
}

.quantity-select {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quantity-select label {
  color: #565b53;
  font-size: 12px;
}

.quantity-select input {
  width: 72px;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid #dfe2db;
  border-radius: 3px;
  background: #fff;
  color: var(--text);
}

.product-detail .add-to-cart {
  min-height: 47px;
  width: 100%;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
}

.product-detail .add-to-cart:disabled {
  background: #dfe2db;
  color: #70756c;
  cursor: not-allowed;
}

.toast {
  z-index: 80;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes image-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1000px) {
  .site-header { padding-right: 4vw; padding-left: 4vw; }
  .header-main { grid-template-columns: auto 1fr auto; gap: 18px; }
  .main-nav { gap: 15px; }
  .main-nav a, .account-link { font-size: 11px; }
  .header-actions { gap: 13px; }
  .user-actions, .authenticated-actions { gap: 9px; }
  .register-link, .logout-link { font-size: 10px; }
  .hero, .section-shell { width: calc(100% - 8vw); }
  .hero { min-height: 480px; }
  .hero-copy { padding: 40px; }
  .hero-visual { min-height: 350px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tile { min-height: 240px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-tools { gap: 10px; }
  .filter-control { min-width: 115px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 75px; }
  .site-header { padding: 0 18px; }
  .header-main { min-height: 64px; grid-template-columns: 1fr auto; }
  .brand-logo { width: 30px; height: 30px; }
  .brand-name { font-size: 16px; }
  .header-actions { gap: 12px; }
  .user-actions, .authenticated-actions { display: none; }
  .cart-button { min-height: 37px; gap: 6px; padding: 0 9px; }
  .cart-icon { display: none; }
  .cart-label { font-size: 11px; }
  .menu-toggle { display: inline-block; padding: 8px 0 8px 3px; }
  .main-nav {
    position: absolute;
    top: 63px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 10px 18px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .main-nav.is-open { display: flex; flex-direction: column; gap: 0; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid #f0f1ed; font-size: 13px; }
  .main-nav .mobile-auth-item:not(.hidden) { display: block; padding: 12px 0; border-bottom: 1px solid #f0f1ed; color: #42463f; font-size: 13px; font-weight: 600; text-align: left; text-decoration: none; }
  .main-nav .mobile-account-button { width: 100%; border: 0; background: transparent; cursor: pointer; }
  .header-search-row { min-height: 45px; }
  .search-form { width: 100%; }
  .header-note { display: none; }
  .hero, .section-shell { width: calc(100% - 32px); }
  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  .hero-copy { padding: 29px 21px 20px; }
  .hero h1 { font-size: clamp(38px, 11.2vw, 44px); }
  .hero-description { max-width: 340px; margin-top: 18px; font-size: 13px; }
  .hero-actions { flex-direction: row; gap: 10px; margin-top: 18px; }
  .hero-actions .button { gap: 10px; padding: 0 12px; font-size: 10px; }
  .hero-actions .text-link { gap: 5px; font-size: 10px; }
  .button { min-height: 43px; padding: 0 15px; font-size: 11px; }
  .hero-proof { margin-top: 17px; }
  .hero-visual { height: 240px; min-height: 0; padding: 5px; }
  .hero-stamp { top: 12px; right: 12px; width: 67px; height: 67px; }
  .hero-image-caption { bottom: 10px; left: 11px; font-size: 8px; }
  .category-section { padding-top: 62px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 34px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-tile { min-height: 190px; padding: 12px; }
  .category-name { font-size: 22px; }
  .category-arrow { right: 9px; bottom: 12px; width: 28px; height: 28px; }
  .category-index { font-size: 8px; }
  .promo-band { min-height: 0; grid-template-columns: auto 1fr; gap: 14px; margin-top: 62px; padding: 28px 20px; }
  .promo-mark { font-size: 26px; }
  .promo-band h2 { font-size: 26px; line-height: 1.05; }
  .promo-band .button { grid-column: 2; justify-self: start; }
  .new-arrivals { grid-template-columns: 1fr; gap: 24px; padding-top: 62px; padding-bottom: 62px; }
  .new-arrivals-image { aspect-ratio: 1.25; }
  .new-arrivals h2 { font-size: 53px; }
  .catalog-section { padding-top: 10px; padding-bottom: 64px; }
  .catalog-heading { align-items: flex-start; }
  .catalog-heading h2 { font-size: 32px; }
  .catalog-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px; }
  .filter-control { min-width: 0; }
  .sort-control { min-width: 0; margin: 0; }
  .reset-filters { justify-self: start; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 10px; padding-top: 18px; }
  .product-image-wrap { aspect-ratio: 1 / 0.9; }
  .product-header { min-height: 62px; flex-direction: column; gap: 4px; }
  .product-header h3 { font-size: 12px; }
  .product-header .product-price { font-size: 12px; }
  .product-card__brand { margin-top: 10px; font-size: 9px; }
  .product-card > p:not(.product-category):not(.product-header p) { min-height: 34px; margin: 3px 0 9px; font-size: 10px; }
  .product-actions { align-items: stretch; flex-direction: column; opacity: 1; gap: 6px; }
  .view-details, .add-to-cart { min-height: 36px; font-size: 10px; }
  .view-details { width: 100%; }
  .brand-note { min-height: 120px; grid-template-columns: auto 1fr; gap: 17px; padding: 22px 18px; }
  .brand-note-mark { font-size: 27px; }
  .brand-note p { font-size: 22px; }
  .brand-note > a { grid-column: 2; justify-self: end; margin-top: -7px; }
  .site-footer { padding: 38px 20px 16px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; padding-bottom: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; font-size: 9px; }
  .product-modal { padding: 12px; }
  .product-modal__dialog { max-height: calc(100dvh - 24px); overflow-y: auto; padding: 34px 16px 17px; }
  .product-detail { gap: 16px; }
  .product-detail__image { min-height: 0; max-height: 38vh; aspect-ratio: 1.2; }
  .product-detail__info { gap: 8px; }
  .product-detail__info h3 { margin: 0; font-size: 25px; }
  .auth-modal { padding: 12px; }
  .auth-modal__dialog { padding: 18px; }
  .account-modal { padding: 12px; }
  .account-dialog { max-height: calc(100dvh - 24px); padding: 22px 16px; }
  .account-dialog > h2 { font-size: 27px; }
  .account-tabs { overflow-x: auto; }
  .account-tab { flex: 0 0 auto; padding: 0 10px; font-size: 11px; }
  .account-favorite { grid-template-columns: 64px 1fr; gap: 10px; }
  .account-favorite > img { width: 64px; height: 64px; }
  .account-favorite__actions { grid-column: 2; display: flex; }
}

@media (max-width: 380px) {
  .site-header { padding: 0 12px; }
  .header-main { gap: 8px; }
  .header-actions { gap: 8px; }
  .cart-label { display: none; }
  .hero, .section-shell { width: calc(100% - 24px); }
  .hero-copy { padding-right: 17px; padding-left: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .category-tile { min-height: 165px; }
  .product-grid { column-gap: 8px; }
}
