:root {
  --color-bg: #fff8ee;
  --color-text: #b34429;       /* was #c75a3a — darkened to 4.86:1 on cream (WCAG AA) */
  --color-muted: #6b4040;      /* was #b07060 — darkened to 7.28:1 on cream (WCAG AA) */
  --color-border: #f0d9c8;
  --color-accent: #c75a3a;     /* kept for button bg (white text = 5.3:1 ✓) */
  --color-accent-text: #ffffff;
  --color-error: #b3261e;
  --color-topbar: #c75a3a;     /* white text = 5.3:1 ✓ */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 6px;
  --header-height: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ── Accessibility utilities ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--color-topbar);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  transition: top 0.1s;
}
.skip-link:focus { top: 0; }

/* Focus indicators — visible ring on all interactive elements */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Override for form inputs: show focus via border + shadow instead of outline */
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(199, 90, 58, 0.25);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Top bar ── */
.top-bar {
  background: var(--color-topbar);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 0;
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.top-bar-social {
  display: flex;
  gap: 12px;
}
.top-bar-social a {
  color: #ffffff;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.top-bar-social a:hover { opacity: 1; }
.top-bar-announcement { text-align: center; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 2px 5px;
  font-family: var(--font-body);
  transition: color 0.15s;
  line-height: 1;
}
.lang-btn:hover { color: rgba(255,255,255,0.85); }
.lang-btn.active { color: #ffffff; }
.lang-divider { color: rgba(255,255,255,0.3); font-size: 11px; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  transition: opacity 0.15s;
}
.main-nav a:hover { opacity: 0.55; }

.cart-toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 4px;
  display: flex;
  align-items: center;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-size: 10px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Mobile nav ── */
.mobile-nav {
  position: fixed;
  top: calc(var(--header-height) + 41px);
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 20px;
}
.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Hero ── */
.hero {
  min-height: 560px;
  background: #1a1a1a url('images/erica-saffron-tokyo-godzilla.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  color: #ffffff;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 14px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 32px;
}

/* ── Countdown ── */
.countdown {
  margin-bottom: 28px;
}
.countdown-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}
.countdown-units {
  display: flex;
  gap: 16px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}
.countdown-value {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}
.countdown-caption {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-accent-text);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.btn-primary:hover {
  background: #333333;
  border-color: #333333;
}
.hero .btn-primary {
  background: #fff8ee;
  color: #c75a3a;
  border-color: #fff8ee;
}
.hero .btn-primary:hover {
  background: rgba(255,248,238,0.88);
}
.btn-primary.full-width { width: 100%; margin-top: 8px; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.15s;
  width: 100%;
  text-align: center;
}
.btn-secondary:hover { border-color: var(--color-text); }

/* ── Sections ── */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
}
.view-all {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 1px;
  transition: opacity 0.15s;
}
.view-all:hover { opacity: 0.55; }

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.product-skeleton {
  border-radius: var(--radius);
  background: #f0d9c8;
  aspect-ratio: 3/4;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #efefef;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.04);
}
.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card-body h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}
.product-card-price {
  font-size: 13px;
  color: var(--color-text);
}

/* ── Split section ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.split-image {
  overflow: hidden;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-content {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px;
  text-align: center;
}
.split-content h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-text);
}

/* ── Instagram section ── */
.section-instagram { padding-top: 48px; padding-bottom: 48px; }
.view-all-outline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--color-text);
  border-radius: var(--radius);
  padding: 7px 14px;
  color: var(--color-text);
  transition: background 0.15s, color 0.15s;
}
.view-all-outline:hover {
  background: var(--color-text);
  color: var(--color-accent-text);
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

/* ── About section ── */
.section-about {
  background: #fceedd;
  max-width: 100%;
  padding: 80px 24px;
}
.about-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.about-inner h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}
.about-inner p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Overlays & panels ── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  justify-content: flex-end;
  z-index: 200;
}
.panel {
  background: var(--color-bg);
  width: min(440px, 100%);
  height: 100%;
  padding: 32px 28px;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.panel h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
}
.panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  color: var(--color-text);
  opacity: 0.5;
  transition: opacity 0.15s;
}
.panel-close:hover { opacity: 1; }

/* ── Variant picker ── */
.variant-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
  gap: 12px;
}
.variant-option span { font-size: 13px; }
.variant-add-btn {
  background: var(--color-accent);
  color: var(--color-accent-text);
  border: none;
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.variant-add-btn:hover { background: #333; }

/* ── Cart ── */
.cart-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #f0d9c8;
  flex-shrink: 0;
}
.cart-line-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-line-name { font-size: 13px; font-weight: 500; }
.cart-line-variant { font-size: 12px; color: var(--color-muted); }
.cart-line-qty {
  width: 48px;
  padding: 4px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 13px;
  margin-top: 4px;
}
.cart-line-price { font-size: 13px; font-weight: 500; white-space: nowrap; }
.cart-line-remove {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--color-muted);
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
  flex-shrink: 0;
}
.cart-line-remove:hover { color: var(--color-text); }

.subtotal {
  margin: 20px 0 4px;
  font-weight: 600;
  font-size: 15px;
}

/* ── Checkout form ── */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.checkout-form h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.checkout-form input {
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.checkout-form input:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(199, 90, 58, 0.25);
}

.shipping-estimate {
  font-size: 13px;
  color: var(--color-muted);
  min-height: 18px;
}

/* ── States ── */
.empty-state {
  color: var(--color-muted);
  font-size: 14px;
  padding: 8px 0;
}
.error {
  color: var(--color-error);
  font-size: 13px;
  margin-top: 8px;
}
.loading { color: var(--color-muted); }

/* ── Footer ── */
.site-footer {
  background: var(--color-topbar);
  color: #ffffff;
  margin-top: 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.footer-newsletter h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.footer-newsletter p {
  font-size: 13px;
  opacity: 0.65;
  margin-bottom: 20px;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.newsletter-form .btn-primary {
  background: #fff8ee;
  color: #c75a3a;
  border-color: #fff8ee;
  white-space: nowrap;
}
.newsletter-form .btn-primary:hover { background: rgba(255,248,238,0.88); }

.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  opacity: 0.45;
}

/* ── Currency selector ── */
.currency-select-wrapper {
  display: flex;
  align-items: center;
}
.currency-select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-family: var(--font-body);
  padding: 4px 8px;
  border-radius: var(--radius);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.currency-select:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.currency-select:hover { border-color: rgba(255,255,255,0.5); }
.currency-select option { background: var(--color-topbar); color: #ffffff; }

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-topbar);
  color: #ffffff;
  z-index: 500;
  padding: 16px 24px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
}
.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.88;
  min-width: 240px;
}
.cookie-text a { color: #ffffff; text-decoration: underline; }
.cookie-accept { white-space: nowrap; margin-top: 0; }

/* ── Success page ── */
.success-page {
  max-width: 480px;
  margin: 100px auto;
  text-align: center;
  padding: 0 24px;
}
.success-page h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}
.success-page p {
  color: var(--color-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .top-bar-announcement { font-size: 11px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .logo { margin-right: 0; flex: 1; text-align: center; }

  .hero { min-height: 420px; }

  .split-section { grid-template-columns: 1fr; }
  .split-image { min-height: 300px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .newsletter-form { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
