/* ── Fonts ────────────────────────────────────────────────────── */
@import url('https://use.typekit.net/oxo0xej.css');

/* ── Reset / Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0A0A0A;
  --white:       #FFFFFF;
  --off-white:   #F7F7F7;
  --gray-100:    #F0F0F0;
  --gray-200:    #E5E5E5;
  --gray-300:    #D4D4D4;
  --gray-500:    #888888;
  --gray-600:    #666666;
  --gray-700:    #444444;
  --cobalt:      #2B6CB0;
  --glacier:     #5FA8C9;
  --deep-teal:   #1C4E5C;
  --font-sans:   'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif:  'sole-serif-variable', Georgia, serif;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --t:           0.25s var(--ease);
  --radius:      4px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Scroll reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Typography ───────────────────────────────────────────────── */
.serif-accent {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.display-xl {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ── Layout ───────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ── Announce bar ─────────────────────────────────────────────── */
.announce-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: 64px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo img { height: 22px; display: block; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s;
  letter-spacing: 0;
}
.nav__link:hover { color: var(--black); }
.nav__link--active { color: var(--black); font-weight: 600; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.15s;
}
.nav__cart-btn:hover { color: var(--black); }
.nav__cart-count {
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
}
.nav__cart-count.visible { display: inline-flex; }

/* ── Page wrapper ─────────────────────────────────────────────── */
.page { /* no padding-top — nav is sticky, not fixed */ }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.btn--primary:hover { background: #222; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.btn--primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn--white {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn--white:hover { background: var(--off-white); }

.btn--secondary {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn--secondary:hover { background: var(--black); color: var(--white); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn--cobalt { background: var(--cobalt); color: var(--white); }
.btn--cobalt:hover { background: var(--deep-teal); }

.btn--ghost {
  background: transparent;
  color: var(--gray-500);
  padding: 8px 0;
  font-size: 12px;
  border-radius: 0;
}
.btn--ghost:hover { color: var(--black); }
.btn--full { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 12px; }

/* ── Section header (Hyperice pattern) ───────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-header__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}
.section-header__link:hover { opacity: 0.6; }
.arrow-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  color: var(--black);
}
.arrow-btn:hover { border-color: var(--black); background: var(--black); color: var(--white); }

/* ── Forms ────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.form-input {
  height: 48px;
  padding: 14px 14px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-size: 14px;
  color: var(--black);
  outline: none;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,0.06); }
.form-input--error { border-color: #c0392b; }
.form-select {
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-size: 14px;
  color: var(--black);
  outline: none;
  border-radius: var(--radius);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-select:focus { border-color: var(--black); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { font-size: 12px; color: #c0392b; }
.form-hint { font-size: 12px; color: var(--gray-500); }

/* ── Divider ──────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-100); margin: 40px 0; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 64px);
  position: relative;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: flex-end;
}
.hero__image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
}
.hero__image-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
/* gradient overlay so bottom text is readable */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 40px 56px;
  max-width: 640px;
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
}
.hero__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  max-width: 400px;
  line-height: 1.5;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Carousel dots */
.hero__dots {
  position: absolute;
  bottom: 24px; right: 40px;
  display: flex; gap: 6px;
  z-index: 2;
}
.hero__dot {
  width: 24px; height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.hero__dot.active { background: var(--white); width: 36px; }

/* ── Marquee ──────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 13px 0;
  white-space: nowrap;
  background: var(--white);
}
.marquee__track {
  display: inline-flex;
  gap: 64px;
  animation: marquee 28s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__item {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee__item::after { content: '·'; color: var(--gray-300); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section ──────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--sm { padding: 56px 0; }
.section--lg { padding: 120px 0; }
.section--bg { background: var(--off-white); }
.section--dark { background: #111; color: var(--white); }
.section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section__body {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 560px;
}

/* ── Product card (Hyperice style) ───────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.product-card__image {
  aspect-ratio: 1/1;
  background: var(--off-white);
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  border-radius: var(--radius);
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
  padding: 16px;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__tag {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-700);
  background: var(--white);
  padding: 3px 8px;
  border-radius: 2px;
}
.product-card__add {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 32px; height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.product-card:hover .product-card__add { opacity: 1; transform: scale(1); }
.product-card__name { font-size: 15px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.product-card__desc { font-size: 13px; color: var(--gray-600); line-height: 1.5; margin-bottom: 8px; flex: 1; }
.product-card__price { font-size: 15px; font-weight: 700; }
.product-card__price-original { font-size: 13px; color: var(--gray-500); font-weight: 400; text-decoration: line-through; margin-right: 4px; }

/* ── Editorial panels (Hyperice 2-up banners) ─────────────────── */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.editorial-panel {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: flex-end;
}
.editorial-panel img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 0.6s var(--ease), opacity 0.4s;
}
.editorial-panel:hover img { transform: scale(1.03); opacity: 0.65; }
.editorial-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
}
.editorial-panel__content {
  position: relative;
  z-index: 2;
  padding: 32px;
}
.editorial-panel__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.editorial-panel__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 340px;
}

/* ── Feature grid ("Why buy direct") ─────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-item {
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-item__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
}
.feature-item__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.feature-item__body {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── Product detail ───────────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 48px 0 100px;
}
.product-detail__gallery { position: sticky; top: 80px; }
.product-detail__main-image {
  aspect-ratio: 1/1;
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
}
.product-detail__main-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.5s var(--ease);
}
.product-detail__main-image:hover img { transform: scale(1.03); }
.product-detail__thumbs { display: flex; gap: 8px; }
.product-detail__thumb {
  width: 72px; height: 72px;
  background: var(--gray-100);
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color 0.2s;
}
.product-detail__thumb:hover { border-color: var(--gray-400); }
.product-detail__thumb.active { border-color: var(--black); }
.product-detail__info { padding-top: 16px; }
.product-detail__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 12px;
}
.product-detail__name {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.product-detail__price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.product-detail__shipping {
  font-size: 13px;
  color: var(--cobalt);
  font-weight: 500;
  margin-bottom: 32px;
}
.product-detail__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 32px;
}
.product-detail__size-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--gray-700);
}
.size-grid { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.size-btn {
  min-width: 60px; height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.size-btn:hover { border-color: var(--black); }
.size-btn.selected { background: var(--black); color: var(--white); border-color: var(--black); }
.product-detail__features {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

/* ── Cart ─────────────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  padding: 48px 0 100px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}
.cart-item__image {
  width: 88px; height: 88px;
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 600; letter-spacing: 0.1em; color: var(--gray-300);
}
.cart-item__info { display: flex; flex-direction: column; gap: 4px; }
.cart-item__name { font-size: 15px; font-weight: 600; }
.cart-item__size { font-size: 13px; color: var(--gray-500); display: flex; flex-direction: column; gap: 2px; }
.cart-item__price { font-size: 15px; font-weight: 700; white-space: nowrap; }
.cart-item__remove {
  font-size: 11px; font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 10px; cursor: pointer;
  transition: color 0.15s;
  background: none; border: none; font-family: inherit; padding: 0;
}
.cart-item__remove:hover { color: var(--black); }
.cart-summary {
  position: sticky; top: 80px;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.cart-summary__title { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.cart-summary__row--total { font-weight: 700; font-size: 16px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--gray-300); margin-bottom: 0; }
.cart-summary__shipping { font-size: 13px; color: var(--cobalt); font-weight: 500; text-align: center; margin: 14px 0; }
.cart-empty { text-align: center; padding: 100px 0; }
.cart-empty__title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.cart-empty__body { font-size: 15px; color: var(--gray-500); margin-bottom: 28px; }

/* ── Checkout ─────────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  padding: 48px 0 100px;
  align-items: start;
}
.checkout-form { display: flex; flex-direction: column; gap: 28px; }
.checkout-section-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.checkout-summary { position: sticky; top: 80px; }
.checkout-summary__title {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px; color: var(--gray-700);
}
.order-line {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}
.order-line__image {
  width: 60px; height: 60px;
  background: var(--gray-100);
  flex-shrink: 0;
  border-radius: var(--radius);
}
.order-line__info { flex: 1; }
.order-line__name { font-size: 14px; font-weight: 500; }
.order-line__size { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.order-line__price { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* Stripe Elements */
#stripe-payment-element { margin-bottom: 0; }
#payment-element-container {
  padding: 18px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
#payment-element-container:focus-within { border-color: var(--black); }

/* ── Auth ─────────────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
  background: var(--off-white);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--white);
  padding: 48px 40px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.auth-card__title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.auth-card__subtitle { font-size: 15px; color: var(--gray-500); margin-bottom: 36px; }
.auth-card__form { display: flex; flex-direction: column; gap: 16px; }
.auth-card__switch { font-size: 13px; color: var(--gray-500); text-align: center; margin-top: 24px; }
.auth-card__switch a { color: var(--black); font-weight: 600; text-decoration: underline; }

/* ── Account ──────────────────────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 48px 0 100px;
  align-items: start;
}
.account-nav { position: sticky; top: 80px; }
.account-nav__link {
  display: block;
  padding: 11px 0;
  font-size: 14px; font-weight: 500;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.15s, padding-left 0.2s;
}
.account-nav__link:hover, .account-nav__link.active { color: var(--black); padding-left: 4px; }
.account-section__title { font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.order-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}
.order-row:hover { background: var(--off-white); margin: 0 -12px; padding: 18px 12px; }
.order-row__id { font-size: 13px; font-weight: 600; font-family: monospace; color: var(--gray-700); }
.order-row__date { font-size: 13px; color: var(--gray-500); }
.order-row__items { font-size: 13px; color: var(--gray-700); }
.order-row__total { font-size: 14px; font-weight: 700; }
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 100px;
}
.status-badge--pending    { background: #FFF3E0; color: #E65100; }
.status-badge--processing { background: #E8F0FF; color: var(--cobalt); }
.status-badge--shipped    { background: #E6F9EE; color: #1B7A3E; }
.status-badge--delivered  { background: #F0F0F0; color: var(--gray-700); }
.status-badge--cancelled  { background: #FDECEA; color: #C62828; }

/* ── Admin ────────────────────────────────────────────────────── */
.admin-layout { padding: 48px 0 100px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.admin-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.stat-card {
  background: var(--off-white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}
.stat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.stat-card__label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.stat-card__value { font-size: 2rem; font-weight: 700; line-height: 1; }
.admin-filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 16px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid var(--gray-300);
  background: var(--white); color: var(--gray-700);
  cursor: pointer; border-radius: 100px;
  transition: all 0.15s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--black); color: var(--black); }
.filter-btn.active { border-color: var(--black); background: var(--black); color: var(--white); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-500); text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--off-white);
}
.admin-table td {
  padding: 14px 16px; font-size: 13px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--off-white); }
.admin-table .mono { font-family: monospace; font-size: 12px; }

/* Order drawer */
.order-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 460px; height: 100%;
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  z-index: 200;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  padding: 40px 32px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.08);
}
.order-drawer.open { transform: translateX(0); }
.order-drawer__overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 199; display: none;
}
.order-drawer__overlay.visible { display: block; }
.order-drawer__close {
  position: absolute; top: 20px; right: 20px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px; color: var(--gray-500);
  background: none; border: none; font-family: inherit;
  transition: color 0.15s, transform 0.2s;
}
.order-drawer__close:hover { color: var(--black); transform: rotate(90deg); }
.order-drawer__id { font-size: 11px; font-family: monospace; color: var(--gray-500); margin-bottom: 4px; }
.order-drawer__title { font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.drawer-section { margin-bottom: 28px; }
.drawer-section__label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 12px; }
.drawer-row { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.drawer-row:last-child { border-bottom: none; }
.tracking-form { display: flex; flex-direction: column; gap: 12px; }

/* ── Footer (Hyperice style) ──────────────────────────────────── */
.footer { background: #0f0f0f; color: rgba(255,255,255,0.55); }
.footer__top { padding: 52px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__questions { display: flex; flex-direction: column; gap: 12px; }
.footer__questions > p {
  font-size: 22px; font-weight: 700;
  color: var(--white); letter-spacing: -0.01em; margin: 0;
}
.footer__questions-link {
  font-size: 14px; color: rgba(255,255,255,0.5);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.15s; cursor: default;
}
.footer__quick-nav { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.footer__quick-nav a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer__quick-nav a:hover { color: var(--white); }
.footer__social { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.footer__social-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 50%;
  color: rgba(255,255,255,0.5); transition: border-color 0.15s, color 0.15s;
}
.footer__social-icon:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.footer__social-icon svg { width: 15px; height: 15px; fill: currentColor; }
.footer__mid { padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; }
.footer__col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px;
}
.footer__link {
  font-size: 14px; color: rgba(255,255,255,0.55);
  padding: 4px 0; display: block; transition: color 0.15s;
}
a.footer__link:hover { color: var(--white); }
.footer__link--dim { color: rgba(255,255,255,0.25); cursor: default; }
.footer__legal { padding: 22px 0; }
.footer__legal-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer__logo img { height: 18px; filter: invert(1); opacity: 0.45; transition: opacity 0.15s; }
.footer__logo:hover img { opacity: 0.9; }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer__legal-links { display: flex; gap: 20px; }
.footer__legal-link { font-size: 12px; color: rgba(255,255,255,0.2); transition: color 0.15s; }
.footer__legal-link:hover { color: rgba(255,255,255,0.6); }

/* ── Editable page (about, privacy, terms) ────────────────────── */
.page-content {
  max-width: 720px; margin: 0 auto;
  padding: 80px 24px;
  font-size: 16px; line-height: 1.75; color: var(--gray-700);
}
.page-content h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; color: var(--black); margin-bottom: 40px; }
.page-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--black); margin: 36px 0 12px; }
.page-content h3 { font-size: 1rem; font-weight: 700; color: var(--black); margin: 28px 0 8px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--cobalt); text-decoration: underline; }

/* ── Toast ────────────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 14px 20px;
  background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 500;
  min-width: 240px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: toastIn 0.25s var(--ease);
}
.toast--error { background: #c0392b; }
.toast--success { background: var(--deep-teal); }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Utility ──────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.loading { opacity: 0.5; pointer-events: none; }
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--gray-300);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Split ────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split__image { order: -1; }
.split__image {
  aspect-ratio: 4/5;
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.split__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.split__image-placeholder::after {
  content: 'IMAGE';
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; color: var(--gray-300);
}
.split__content { padding: 40px 0; }

/* ── Admin config table ───────────────────────────────────────── */
.product-config-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.product-config-row:hover { background: var(--off-white); margin: 0 -8px; padding: 14px 8px; }
.product-config-name { font-size: 14px; font-weight: 600; }
.product-config-price { font-size: 12px; color: var(--gray-500); }
.config-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }
.order-btns { display: flex; flex-direction: column; gap: 2px; }
.order-btn {
  width: 26px; height: 22px; font-size: 10px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  cursor: pointer; font-family: inherit;
  border-radius: 2px;
  transition: background 0.15s;
}
.order-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .product-detail__gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; gap: 0; overflow-x: auto; }
  .account-nav__link { white-space: nowrap; border-bottom: none; border-right: 1px solid var(--gray-100); padding: 12px 20px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__image { order: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .order-drawer { width: 100%; border-left: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-grid { grid-template-columns: 1fr; }
  .footer__top-inner { flex-direction: column; }
  .footer__cols { gap: 40px; }
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 72px 0 80px;
  align-items: start;
}

/* ── FAQ Accordion ────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  font-family: inherit;
}
.faq-question__icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-500);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item.open .faq-question__icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
  transition: max-height 0.32s ease, padding-bottom 0.32s ease;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 20px; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .hero { min-height: 85vh; }
  .hero__content { padding: 0 24px 48px; }
  .hero__title { font-size: clamp(2rem, 10vw, 3rem); }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item__price { display: none; }
  .order-row { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 10px 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer__legal-inner { flex-direction: column; gap: 12px; }
  .support-layout { grid-template-columns: 1fr; gap: 48px; }
}
