/* ============================================================
   Station 27 Designs — Master Stylesheet
   Brand: Ocean-Inspired Clothing
   Theme: Dark-first, cinematic, surf culture
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Core palette — Station 27 storefront (shares --bg/--text/--cta/--aurora
     with S27 POD Listing Pad brand system; --muted is slate-blue here to
     match body copy on product/story pages, not the S27 pod-tool value) */
  --bg:           #06080d;
  --bg-elevated:  #0c0f16;
  --text:         #e2e8f0;
  --heading:      #f8fafc;
  --muted:        #8a9bb5;
  --cta:          #d68d0f;
  --cta-hover:    #b87a0d;
  --aurora:       #00b4ff;

  /* Error (contact form + order lookup) */
  --error:        #fca5a5;

  /* Menu overlay resting link color (hover goes to --aurora) */
  --menu-idle:    rgba(255, 255, 255, 0.6);

  /* Glass */
  --glass-bg:     rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur:   blur(12px);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --container:    1160px;
  --gap:          20px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 180, 255, 0.3);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: var(--font-body);
  outline: none;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.1;
}

h1 { font-weight: 300; }
h2 { font-weight: 400; }
h3 { font-weight: 600; }

.section-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--aurora);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
/* Free Shipping Banner */
.shipping-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 201;
  background: #00b4ff;
  color: #06080d;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  font-family: var(--font-body, system-ui, sans-serif);
}

.header {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 28px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header.scrolled {
  padding: 8px 24px;
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo img {
  height: 76px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--heading);
  letter-spacing: 0.02em;
}

/* Hamburger */
.hamburger {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  backdrop-filter: blur(12px);
  transition: background 0.3s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hamburger__line {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s;
}

.hamburger.open .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translateY(5.5px);
}

.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translateY(-5.5px);
}

/* ============================================================
   FULLSCREEN MENU OVERLAY
   ============================================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(214, 141, 15, 0.19) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 180, 255, 0.24) 0%, transparent 50%),
    rgba(6, 8, 13, 0.96);
  backdrop-filter: blur(40px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.menu-overlay nav {
  text-align: center;
}

.menu-overlay__link {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 300;
  color: var(--menu-idle);
  margin-bottom: 32px;
  transition: color 0.3s, letter-spacing 0.3s;
  cursor: pointer;
}

.menu-overlay__link:hover {
  color: var(--aurora);
  letter-spacing: 0.08em;
}

.menu-overlay__social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.menu-overlay__social a {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.3s;
}

.menu-overlay__social a:hover {
  border-color: rgba(0, 180, 255, 0.3);
  color: var(--aurora);
}

/* ============================================================
   HERO — Full Screen with Photo + Dark Overlay
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* The dark gradient overlay on top of your photos */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 8, 13, 0.5) 0%,
    rgba(6, 8, 13, 0.15) 35%,
    rgba(6, 8, 13, 0.2) 60%,
    rgba(6, 8, 13, 0.8) 100%
  );
}

/* Extra top gradient for header readability */
.hero__overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(6, 8, 13, 0.55), transparent);
}

/* Vignette edges */
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(6, 8, 13, 0.4) 100%);
}

/* Film grain */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero content */
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0 24px;
  text-align: center;
}

.hero__subtitle {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__title {
  font-size: clamp(48px, 10vw, 90px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 32px;
  line-height: 0.95;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.hero__cta {
  padding: 16px 44px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.4s;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 40px rgba(0, 180, 255, 0.15);
}

.hero__cta:hover {
  background: rgba(214, 141, 15, 0.2);
  border-color: rgba(214, 141, 15, 0.4);
  box-shadow: 0 4px 24px rgba(214, 141, 15, 0.25), 0 0 40px rgba(0, 180, 255, 0.15);
}

/* Hero text fade animation */
.hero__text-wrap {
  max-width: 720px;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__text-wrap.fade-out {
  animation: fadeOut 0.5s ease both;
}

/* Slide indicators */
.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.hero__dot.active {
  width: 36px;
  background: var(--cta);
  box-shadow: 0 0 16px rgba(214, 141, 15, 0.4);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  animation: float 3s ease infinite;
}

.hero__scroll span {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent);
  margin: 0 auto;
}

/* ============================================================
   GLASSMORPHISM CARD
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  border-color: rgba(0, 180, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--cta);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(214, 141, 15, 0.25);
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(214, 141, 15, 0.35);
}

.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.3s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ============================================================
   ACCORDION (Product Detail expandable sections)
   ============================================================ */
.accordion {
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  background: var(--glass-bg);
  transition: background 0.3s;
  text-align: left;
}

.accordion__trigger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.accordion__icon {
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.3s;
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: rgba(255, 255, 255, 0.02);
}

.accordion__item.open .accordion__panel {
  max-height: 600px;
}

.accordion__content {
  padding: 16px 22px 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   BRAND STATEMENT (homepage)
   ============================================================ */
.brand-statement {
  padding: 40px 0 60px;
}
.brand-statement__inner {
  text-align: center;
  max-width: 640px;
}
.brand-statement__headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 16px;
}
.brand-statement__body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.footer__powered-by {
  color: var(--aurora);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 0 32px;
  margin-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 12px;
}

.footer__link {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--aurora);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .header {
    padding: 10px 16px;
  }

  .hero__title {
    font-size: clamp(36px, 9vw, 56px);
  }

  .hero__cta {
    padding: 14px 32px;
    font-size: 13px;
  }

  .menu-overlay__link {
    font-size: 24px;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__subtitle {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .hamburger {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   PHASE 2 — Sections, Category Cards, Product Cards, Panel
   ============================================================ */

.section {
  padding: 80px 0 60px;
}
.section__header {
  text-align: center;
  margin-bottom: 40px;
}
.section--featured {
  padding-top: 20px;
}

/* ----------- CATEGORY GRID (real images) ----------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,255,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 24px rgba(0,180,255,0.08);
}
.category-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0d14;
}
.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.category-card:hover .category-card__image img {
  transform: scale(1.05);
}
.category-card__body {
  padding: 18px 20px 22px;
  text-align: center;
}
.category-card__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--heading);
}
.category-card__sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ----------- PRODUCT GRID ----------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,255,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 24px rgba(0,180,255,0.08);
}
.product-card__image-link {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0d14;
}
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card__image {
  transform: scale(1.04);
}
.product-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.product-card__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  color: var(--heading);
  line-height: 1.3;
}
.product-card__subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-card__rating {
  color: #d68d0f;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.product-card__price {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
  margin: 4px 0 8px;
}
.product-card__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.btn {
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 20px rgba(214, 141, 15, 0.25);
  transition: background 0.3s, box-shadow 0.3s;
}
.btn--primary:hover:not(:disabled) {
  background: var(--cta-hover);
  box-shadow: 0 8px 28px rgba(214, 141, 15, 0.35);
}
.btn--secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: var(--heading);
}
.btn--secondary:hover:not(:disabled) {
  border-color: rgba(0,180,255,0.5);
  color: #00b4ff;
}
.product-card__view-btn {
  margin-top: auto;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  color: var(--heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}
.product-card__view-btn:hover {
  border-color: rgba(0,180,255,0.5);
  background: rgba(0,180,255,0.05);
  color: #00b4ff;
}
.product-card__view-btn .chevron {
  font-size: 18px;
  line-height: 1;
}
.product-card__title a {
  color: inherit;
  text-decoration: none;
}
.product-card__title a:hover {
  color: #00b4ff;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   /station27/product.html?id=...
   ============================================================ */
.page-product {
  background: var(--bg, #06080d);
}

/* Subpage header matches the homepage at rest — faint bg + blur so photos
   or content show through. The .scrolled class (added by menu.js after 80px
   scroll) takes over with the opaque homepage-scrolled look. */
.header--solid {
  background: rgba(6, 8, 13, 0.20);
  backdrop-filter: blur(12px);
}

.product-page {
  padding: 130px 0 80px;
  min-height: calc(100vh - 200px);
}
.product-page__back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.product-page__back:hover {
  color: #00b4ff;
}
.product-page__not-found {
  text-align: center;
  padding: 80px 20px;
}
.product-page__not-found h1 {
  font-family: var(--font-display, Georgia, serif);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 16px;
}
.product-page__not-found a {
  color: #00b4ff;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

/* LEFT: Photo + Colors + Accordion */
.product-detail__left {
  /* No longer sticky — has its own scrollable accordion content */
}
.product-detail__image-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #0a0d14;
  aspect-ratio: 1 / 1;
}
.product-detail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}
.product-detail__colors {
  margin-top: 24px;
}
.product-detail__colors-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-detail__selected-color {
  color: var(--heading);
  font-weight: 600;
}
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.color-swatch {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  width: 40px;
}
.color-swatch__fill {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.color-swatch:hover .color-swatch__fill {
  border-color: rgba(0,180,255,0.6);
  transform: translateY(-2px);
}
.color-swatch--selected .color-swatch__fill {
  border-color: #00b4ff;
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(0,180,255,0.3), 0 4px 12px rgba(0,180,255,0.2);
}
.color-swatch__name {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
}
.color-swatch:hover .color-swatch__name {
  color: var(--heading);
}

/* RIGHT: Title, stars, buy, story, accordion */
.product-detail__right {
  padding-top: 8px;
}
.product-detail__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--heading);
}
.product-detail__subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 12px;
}
.product-detail__rating {
  color: #d68d0f;
  font-size: 18px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.product-detail__price {
  font-size: 32px;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 24px;
}

.size-surcharge-note {
  font-size: 14px;
  font-weight: 400;
  color: #94a3b8;
}
.product-detail__buy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.btn--lg {
  padding: 16px 24px;
  font-size: 14px;
}
.product-detail__etsy-link {
  display: inline-block;
  margin-bottom: 32px;
  padding: 10px 18px;
  border: 1px solid rgba(0,180,255,0.4);
  border-radius: 6px;
  color: #00b4ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.product-detail__etsy-link:hover {
  background: rgba(0,180,255,0.1);
}
.product-detail__section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.product-detail__section-title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 14px;
  color: var(--heading);
}
.product-detail__section p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.product-detail__glance {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-detail__glance li {
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.product-detail__glance li:last-child {
  border-bottom: none;
}
.product-detail__glance li strong {
  color: var(--heading);
  font-weight: 600;
}
.product-detail__coming-soon {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* Size Chart + Product Details trigger links */
.product-detail__size-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
}

.product-detail__size-row .product-detail__size-label {
  margin: 0;
}

.size-chart-link {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s;
}

.size-chart-link:hover {
  color: #00b4ff;
}

.size-links-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.size-links-separator {
  color: #475569;
  margin: 0 8px;
  font-size: 11px;
}

.size-finder-link {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}

.size-finder-link:hover {
  color: #00b4ff;
}

/* What's My Size — panel content */
.size-finder-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.size-finder-intro {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.size-finder-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.size-finder-label {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.size-finder-height-inputs {
  display: flex;
  gap: 8px;
}

.size-finder-select,
.size-finder-input {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
}

.size-finder-select {
  width: 80px;
}

.size-finder-weight-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.size-finder-input {
  width: 100px;
}

.size-finder-unit {
  font-size: 14px;
  color: #94a3b8;
}

.size-finder-btn {
  padding: 14px 24px;
  background: #00b4ff;
  color: #06080d;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  margin-top: 8px;
}

.size-finder-btn:hover {
  background: #33c4ff;
}

/* Result */
.size-finder-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 20px 0;
}

.size-finder-result-label {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.size-finder-result-size {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 72px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

.size-finder-result-product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.size-finder-result-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.size-finder-result-title {
  font-size: 14px;
  color: #e2e8f0;
}

.size-finder-confidence {
  font-size: 13px;
  color: #00b4ff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.size-finder-confidence::before {
  content: '✓';
  font-weight: 700;
}

.size-finder-edit {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: underline;
  cursor: pointer;
}

.size-finder-edit:hover {
  color: #00b4ff;
}

.size-finder-continue {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s;
}

.size-finder-continue:hover {
  border-color: #00b4ff;
  color: #00b4ff;
}

.view-details-link {
  display: block;
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 24px;
}

.view-details-link:hover {
  border-color: #00b4ff;
  color: #00b4ff;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .section { padding: 50px 0 40px; }
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-page { padding: 110px 0 60px; }
  .color-swatch { width: 32px; }
  .color-swatch__fill { width: 28px; height: 28px; border-radius: 4px; }
  .color-swatch__name { display: none; }
  .product-detail__buy-row { grid-template-columns: 1fr; }
}

/* ============================================================
   SUBPAGES — About, Contact, Shop
   ============================================================ */
.page-subpage {
  background: var(--bg, #06080d);
}
.subpage {
  padding: 150px 0 80px;
  min-height: calc(100vh - 200px);
}
.container--narrow {
  max-width: 720px;
}
.subpage__header {
  text-align: center;
  margin-bottom: 60px;
}
.subpage__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin: 8px 0 20px;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.subpage__lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 60px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form__field {
  margin-bottom: 20px;
}
.contact-form__field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--heading);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(0,180,255,0.5);
  background: rgba(0,180,255,0.04);
}
.contact-form__field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
}
.contact-form__field select {
  cursor: pointer;
  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 fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-form__field select option {
  background: #0a0d14;
  color: var(--heading);
}
/* Honeypot — hidden from humans */
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__submit {
  width: 100%;
  margin-top: 8px;
}
.contact-form__status {
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  transition: all 0.3s ease;
}
.contact-form__status--success {
  padding: 14px;
  background: rgba(0, 180, 255, 0.08);
  border: 1px solid rgba(0, 180, 255, 0.3);
  border-radius: 8px;
  color: #00b4ff;
}
.contact-form__status--error {
  padding: 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: var(--error);
}

/* Alternate contact methods */
.contact-alt {
  margin-top: 60px;
}
.contact-alt__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 28px;
  font-weight: 300;
  margin: 0 0 24px;
  text-align: center;
  color: var(--heading);
}
.contact-alt__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.contact-alt__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px 20px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: all 0.3s ease;
}
.contact-alt__card:hover {
  border-color: rgba(0,180,255,0.3);
  background: rgba(0,180,255,0.03);
  transform: translateY(-3px);
}
.contact-alt__icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.contact-alt__card h3 {
  font-family: var(--font-display, Georgia, serif);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--heading);
}
.contact-alt__card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 10px;
}
.contact-alt__link {
  font-size: 12px;
  color: #00b4ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-content {
  color: var(--muted);
  line-height: 1.8;
}
.about-section {
  margin-bottom: 48px;
}
.about-section p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 16px;
}
.about-section__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--heading);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.about-highlight {
  font-size: 17px !important;
  color: var(--heading);
  font-style: italic;
  padding: 18px 24px;
  border-left: 3px solid #00b4ff;
  background: rgba(0,180,255,0.04);
  border-radius: 0 8px 8px 0;
  margin: 20px 0 0 !important;
}
.about-section strong {
  color: var(--heading);
}
.about-section--cta {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
}
.about-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   SHOP PAGE — Collection Cards + Category Filter
   ============================================================ */

/* Shop-page hero — two modes:
   1) "all collections"  → .shop-hero-strip (4 small tiled hero images)
   2) "category filter"  → .shop-hero-backdrop (single faint full-width photo
      sitting behind the subpage header + filters)
   shop.js toggles [hidden] on each + adds/removes .has-hero-backdrop on body. */

.page-subpage--shop {
  position: relative;
}

/* --- Strip (all-collections view) --- */
.shop-hero-strip {
  position: relative;
  height: 220px;
  overflow: hidden;
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #06080d;
}
.shop-hero-strip__tile {
  position: relative;
  overflow: hidden;
  background: #0a0d14;
}
.shop-hero-strip__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.shop-hero-strip__tile:hover img {
  transform: scale(1.04);
}
.shop-hero-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 8, 13, 0) 40%, rgba(6, 8, 13, 0.85) 100%);
  pointer-events: none;
}
.shop-hero-strip[hidden] { display: none; }

/* --- Backdrop (category-filter view) ---
   Absolute-positioned behind the subpage content so title/lead/filters
   AND the faint subpage header all sit on top of the full-width photo.
   Starts below the cyan shipping banner (top: 30px). */
.shop-hero-backdrop {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 720px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.shop-hero-backdrop__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.60;
}
.shop-hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(6, 8, 13, 0.20) 0%,
    rgba(6, 8, 13, 0.40) 55%,
    rgba(6, 8, 13, 0.95) 90%,
    rgba(6, 8, 13, 1) 100%);
}
.shop-hero-backdrop[hidden] { display: none; }

/* When backdrop is active, lift subpage above it and collapse default top pad */
.page-subpage--shop .subpage {
  position: relative;
  z-index: 1;
  padding-top: 40px;
}
body.has-hero-backdrop .subpage {
  padding-top: 180px;
}

@media (max-width: 700px) {
  .shop-hero-strip {
    height: 140px;
    margin-top: 96px;
  }
  .shop-hero-backdrop {
    top: 30px;
    height: 540px;
  }
  body.has-hero-backdrop .subpage {
    padding-top: 140px;
  }
}


/* Back to collections link */
.shop-back-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.shop-back-link:hover {
  color: #00b4ff;
}

/* Collection cards (shown when no category selected) */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.collection-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.collection-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,180,255,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 32px rgba(0,180,255,0.08);
}
.collection-card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0d14;
}
.collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.collection-card:hover .collection-card__image img {
  transform: scale(1.05);
}
.collection-card__body {
  padding: 24px 24px 28px;
  text-align: center;
}
.collection-card__tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 8px;
}
.collection-card__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--heading);
  line-height: 1.2;
}
.collection-card__type {
  font-size: 14px;
  color: #00b4ff;
  margin: 0 0 14px;
  letter-spacing: 0.03em;
}
.collection-card__cta {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  transition: color 0.2s ease;
}
.collection-card:hover .collection-card__cta {
  color: var(--heading);
}

/* Category filter tabs */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  padding: 0 16px;
}
.shop-filter {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 10px 20px;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.shop-filter:hover {
  border-color: rgba(0,180,255,0.4);
  color: var(--heading);
}
.shop-filter.active {
  background: #d68d0f;
  border-color: #d68d0f;
  color: #fff;
}
.shop-empty {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  padding: 40px 20px;
  font-style: italic;
}

/* Mobile adjustments for subpages */
@media (max-width: 700px) {
  .subpage { padding: 120px 0 60px; }
  .subpage__header { margin-bottom: 40px; }
  .contact-form { padding: 28px 20px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .about-section--cta { padding: 28px 20px; }
  .about-cta-buttons .btn { width: 100%; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .collection-card__body { padding: 20px; }
  .collection-card__title { font-size: 24px; }
}
@media (max-width: 480px) {
  .collections-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ORDER STATUS / TRACKING PAGE
   ============================================================ */
.order-lookup-form { max-width: 440px; margin: 0 auto; }
.order-lookup-field { margin-bottom: 16px; }
.order-lookup-field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.order-lookup-field input { width: 100%; padding: 12px 16px; font-size: 15px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; background: rgba(255,255,255,0.04); color: var(--text); font-family: inherit; box-sizing: border-box; }
.order-lookup-field input:focus { outline: none; border-color: var(--aurora); }
.btn-track-order { width: 100%; padding: 14px; background: var(--cta); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 8px; transition: background 0.3s, box-shadow 0.3s; box-shadow: 0 4px 20px rgba(214, 141, 15, 0.25); }
.btn-track-order:hover { background: var(--cta-hover); box-shadow: 0 8px 28px rgba(214, 141, 15, 0.35); }
.btn-track-order:disabled { opacity: 0.5; cursor: not-allowed; }
.order-lookup-error { color: var(--error); text-align: center; margin-top: 16px; font-size: 14px; }

.order-status-card { max-width: 600px; margin: 0 auto; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; }
.order-status-header { padding: 24px 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.order-status-header h2 { font-family: var(--font-display, Georgia, serif); font-size: 24px; font-weight: 400; margin: 0; }
.order-date { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

.order-progress { padding: 32px 28px; position: relative; }
.order-progress__steps { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.order-progress__track { position: absolute; top: 50px; left: 48px; right: 48px; height: 2px; background: rgba(255,255,255,0.1); }
.order-progress__step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.order-progress__dot { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); transition: all 0.3s; }
.order-progress__step--done .order-progress__dot { background: #d68d0f; border-color: #d68d0f; }
.order-progress__step--current .order-progress__dot { background: var(--aurora); border-color: var(--aurora); box-shadow: 0 0 12px rgba(0,180,255,0.4); }
.order-progress__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.order-progress__step--done .order-progress__label,
.order-progress__step--current .order-progress__label { color: var(--text); }

.order-items-section { padding: 20px 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.order-items-section h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 12px; }
.order-item-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.order-item-name { font-size: 14px; }
.order-item-detail { font-size: 13px; color: var(--muted); }
.order-info-grid { padding: 20px 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.order-info-row { padding: 6px 0; font-size: 14px; }
.order-info-row strong { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Admin order table */
.order-row { cursor: pointer; }
.order-row:hover { background: rgba(0,180,255,0.04); }
.order-status-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.order-detail-panel { padding: 20px; background: rgba(255,255,255,0.02); border-radius: 8px; }
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.order-detail-section h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 8px; }
.order-items-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.order-items-table th { text-align: left; font-size: 11px; text-transform: uppercase; color: var(--muted); padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.order-items-table td { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.order-status-controls { display: flex; align-items: flex-end; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.order-control-field { flex: 1; }
.order-control-field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.order-control-field select,
.order-control-field input { width: 100%; padding: 8px 12px; font-size: 14px; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; background: rgba(255,255,255,0.04); color: var(--text); font-family: inherit; box-sizing: border-box; }

@media (max-width: 700px) {
  .order-detail-grid { grid-template-columns: 1fr; }
  .order-status-controls { flex-direction: column; align-items: stretch; }
  .order-progress__track { left: 28px; right: 28px; }
}

/* ============================================================
   ORDER SUCCESS PAGE
   ============================================================ */
.order-success {
  text-align: center;
  padding: 40px 0 60px;
}

.order-success__loading {
  text-align: center;
  color: #94a3b8;
  padding: 80px 0;
  font-size: 14px;
}

.order-success__error {
  text-align: center;
  padding: 80px 0;
}

.order-success__error a {
  color: #00b4ff;
}

.order-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d68d0f;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 40px rgba(214, 141, 15, 0.25);
}

.order-success__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px;
}

.order-success__order-id {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 32px;
  letter-spacing: 0.04em;
}

.order-success__items {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 16px;
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.order-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.order-item__title {
  color: #e2e8f0;
  font-weight: 500;
}

.order-item__variant {
  color: #94a3b8;
  font-size: 12px;
}

.order-item__qty {
  color: #94a3b8;
  font-size: 13px;
  min-width: 30px;
  text-align: center;
}

.order-item__price {
  color: #e2e8f0;
  font-weight: 500;
  min-width: 60px;
  text-align: right;
}

.order-success__total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.order-success__shipping {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 8px;
}

.order-success__delivery {
  font-size: 14px;
  color: #00b4ff;
  margin: 0 0 32px;
}

.order-success__cta {
  display: inline-block;
  padding: 14px 32px;
  background: #d68d0f;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(214, 141, 15, 0.25);
  transition: background 0.3s;
}

.order-success__cta:hover {
  background: #b87a0d;
}

/* ============================================================
   Station 27 — Globe Language Switcher (Phase 5.5)
   ============================================================ */

.s27-globe-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.s27-globe-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text, #e2e8f0);
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
  margin-right: 8px;
}

.s27-globe-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.s27-globe-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  display: block;
}

.s27-globe-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: rgba(10, 14, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 6px;
  z-index: 9999;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.s27-globe-dropdown--open {
  display: block;
}

.s27-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--text, #e2e8f0);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.s27-lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.s27-lang-option--active {
  background: rgba(var(--aurora-rgb, 0, 180, 255), 0.12);
  color: var(--aurora, #00b4ff);
  font-weight: 600;
}

.s27-lang-flag {
  font-size: 18px;
  line-height: 1;
}

.s27-lang-label {
  flex: 1;
}
