/* ==========================================================================
   LOOMODE LUXURY BRAND DESIGN SYSTEM
   Strict Zero-Pixel Constraint: 100% Relative Units (rem, em, %, vw, vh, clamp)
   Derived from ui-ux-pro-max: Liquid Glass & Feature-Rich Showcase
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  /* Core Palette (Stone & Warm Amber Luxury) */
  --color-background: #fafaf9;
  --color-foreground: #0c0a09;
  --color-primary: #1c1917;
  --color-on-primary: #ffffff;
  --color-secondary: #44403c;
  --color-on-secondary: #ffffff;
  --color-accent: #a16207;
  --color-accent-hover: #854d0e;
  --color-on-accent: #ffffff;
  --color-surface: #ffffff;
  --color-surface-glass: hsla(0, 0%, 100%, 0.82);
  --color-surface-glass-dark: hsla(24, 10%, 10%, 0.92);
  --color-surface-subtle: #f5f5f4;
  --color-muted: #e7e5e4;
  --color-muted-foreground: #57534e;
  --color-border: #d6d3d1;
  --color-border-subtle: hsla(24, 6%, 83%, 0.45);
  --color-ring: #1c1917;

  /* Marketplace Channels */
  --color-amazon: #f59e0b;
  --color-amazon-hover: #d97706;
  --color-ebay: #0284c7;
  --color-ebay-hover: #0369a1;
  --color-stripe: #6366f1;
  --color-stripe-hover: #4f46e5;
  --color-success: #15803d;

  /* Typography Scales (Luxury Editorial Modular Scale - 16px Base, Minor Third 1.2 / Augmented Fourth Display) */
  --font-serif: 'Cormorant', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;

  --text-3xs: 0.75rem; /* 12px: Micro badges, uppercase tracking, zero sub-12px text */
  --text-2xs: clamp(0.78125rem, 0.76rem + 0.1vw, 0.8125rem); /* ~13px: Metadata, subtle labels */
  --text-xs: clamp(0.84375rem, 0.82rem + 0.12vw, 0.875rem); /* ~14px: Controls, nav, captions */
  --text-sm: clamp(0.90625rem, 0.88rem + 0.14vw, 0.9375rem); /* ~15px: Secondary body, subtitles */
  --text-base: 1rem; /* 16px: Standard Body (WCAG AA Compliant, optimal luxury legibility) */
  --text-md: clamp(1.0625rem, 1.02rem + 0.22vw, 1.125rem); /* ~18px: Subheadings, card titles */
  --text-lg: clamp(1.1875rem, 1.12rem + 0.35vw, 1.28rem); /* ~20px: Prominent titles, prices */
  --text-xl: clamp(1.4rem, 1.3rem + 0.5vw, 1.65rem); /* ~24-26px: Section headings */
  --text-2xl: clamp(1.75rem, 1.55rem + 0.85vw, 2.15rem); /* ~30-34px: Major headers */
  --text-hero: clamp(2.1rem, 1.65rem + 1.8vw, 2.85rem); /* ~34-45px: Refined luxury hero */

  /* Fluid Spacing Scale (Refined Density) */
  --space-4xs: 0.125rem;
  --space-3xs: 0.25rem;
  --space-2xs: 0.4rem;
  --space-xs: 0.65rem;
  --space-sm: 0.9rem;
  --space-md: 1.25rem;
  --space-lg: 1.65rem;
  --space-xl: 2.35rem;
  --space-2xl: 3.35rem;
  --space-3xl: 4.75rem;

  /* Layout Widths & Radii */
  --container-max: min(92%, 66rem);
  --container-narrow: min(90%, 48rem);
  --radius-sm: 0.35rem;
  --radius-md: 0.65rem;
  --radius-lg: 1rem;
  --radius-full: 9999rem;

  /* Shadows (Subtle, Crisp Elevation) */
  --shadow-sm: 0 0.0625rem 0.25rem hsla(24, 10%, 10%, 0.04);
  --shadow-md: 0 0.25rem 0.85rem hsla(24, 10%, 10%, 0.06);
  --shadow-lg: 0 0.5rem 1.5rem hsla(24, 10%, 10%, 0.08);
  --shadow-glass: 0 0.25rem 1.25rem hsla(24, 10%, 10%, 0.04);

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 260ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%; /* Respects browser settings: 1rem = 16px */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--color-foreground);
  background-color: var(--color-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   LIQUID GLASS NAVIGATION BAR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface-glass);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  border-bottom: 0.0625rem solid var(--color-border-subtle);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.nav-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-block: var(--space-2xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.brand-logo-img {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 0.0625rem solid var(--color-border);
}

.brand-wordmark {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: var(--text-3xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  font-weight: 500;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-surface-subtle);
}

.perk-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4xs);
  padding: 0.18rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: hsla(38, 92%, 50%, 0.1);
  color: var(--color-accent);
  border: 0.0625rem solid hsla(38, 92%, 50%, 0.22);
  border-radius: var(--radius-full);
}

/* Language Switcher — segmented EN/DE control with sliding thumb */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  padding: 0.2rem 0.2rem 0.2rem 0.55rem;
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.lang-switcher:hover,
.lang-switcher:focus-within {
  border-color: hsla(38, 92%, 35%, 0.45);
  box-shadow: 0 0.15rem 0.6rem hsla(38, 92%, 40%, 0.12);
}

.lang-globe {
  color: var(--color-muted-foreground);
  font-size: var(--text-xs);
  flex-shrink: 0;
}

.lang-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 2.25rem);
}

.lang-thumb {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  box-shadow: 0 0.125rem 0.4rem hsla(24, 10%, 10%, 0.22);
  transition: transform var(--transition-smooth);
}

.lang-switcher[data-current="de"] .lang-thumb {
  transform: translateX(100%);
}

.lang-option {
  position: relative;
  z-index: 1;
  padding: 0.3rem 0;
  border: 0;
  background: transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-3xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-muted-foreground);
  cursor: pointer;
  transition: color var(--transition-base);
}

.lang-option:hover {
  color: var(--color-primary);
}

.lang-option.is-active {
  color: var(--color-on-primary);
  cursor: default;
}

.lang-option:focus-visible {
  outline: 0.125rem solid var(--color-accent);
  outline-offset: 0.125rem;
}

/* Keep the header tidy on small screens */
@media (max-width: 40em) {
  .nav-link,
  .perk-pill-text {
    display: none;
  }

  .perk-pill {
    padding: 0.4rem;
  }
}

/* ==========================================================================
   HERO SHOWCASE SECTION (Refined Sleek Scale)
   ========================================================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 4.25rem);
  min-height: calc(100dvh - 4.25rem);
  display: flex;
  align-items: center;
  padding-block: var(--space-xl);
  background-color: var(--color-background);
}

.hero-grid {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 58em) {
  .hero-section {
    min-height: calc(100vh - 4.25rem);
    min-height: calc(100dvh - 4.25rem);
    padding-block: var(--space-2xl);
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-2xl);
  }
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
  background: hsla(38, 92%, 50%, 0.1);
  color: var(--color-accent);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  border: 0.0625rem solid hsla(38, 92%, 50%, 0.2);
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: var(--space-xs);
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.hero-description {
  font-size: var(--text-base);
  color: var(--color-muted-foreground);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-product-img {
  width: 100%;
  height: auto;
  max-height: clamp(26rem, 70vh, 44rem);
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  mix-blend-mode: multiply;
  transition: transform var(--transition-smooth);
}

.hero-image-link:hover .hero-product-img {
  transform: translateY(-0.35rem) scale(1.025);
  box-shadow: none;
}

/* ==========================================================================
   BUTTONS & CHANNEL ACTIONS (Refined Sleek Scale)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xs);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-secondary);
  transform: translateY(-0.0625rem);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-0.0625rem);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 0.0625rem solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-subtle);
  border-color: var(--color-secondary);
}

/* ==========================================================================
   PRODUCT CATALOG & BENTO GRID
   ========================================================================== */

.section-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-block: var(--space-xl);
}

.section-header {
  text-align: center;
  max-width: var(--container-narrow);
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.section-eyebrow {
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3xs);
}

.section-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3xs);
  line-height: 1.25;
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* Product Cards Grid */
/* Product Cards Grid (Sleek, Compact, Centered) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--space-lg);
  max-width: 52rem;
  margin-inline: auto;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 0.0625rem solid var(--color-border);
  box-shadow: 0 0.125rem 0.5rem hsla(24, 10%, 10%, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.product-card-media {
  position: relative;
  background: #ffffff;
  height: 13.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  border-bottom: 0.0625rem solid var(--color-border-subtle);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card-media img {
  max-height: 11.5rem;
  max-width: 85%;
  width: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0.25rem 0.5rem hsla(24, 10%, 10%, 0.05));
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-badge-stack {
  position: absolute;
  top: var(--space-xs);
  left: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
  z-index: 2;
}

.product-card-badge {
  position: absolute;
  top: var(--space-xs);
  left: var(--space-xs);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0.0625rem 0.25rem hsla(0, 0%, 0%, 0.15);
}

.product-badge-stack .product-card-badge {
  position: static;
}

.oeko-badge-pill {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.1rem 0.32rem;
  border-radius: var(--radius-full);
  border: 0.0625rem solid #007953;
  box-shadow: 0 0.0625rem 0.3rem hsla(0, 0%, 0%, 0.12);
  line-height: 1;
}

.oeko-logo-img {
  height: 1.35rem;
  width: auto;
  display: block;
}

.discount-badge {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0.0625rem 0.25rem hsla(0, 0%, 0%, 0.15);
}

.product-card-body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: var(--text-md);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.product-card-title a:hover {
  color: var(--color-accent);
}

.product-card-subtitle {
  font-size: var(--text-xs);
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-xs);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xs);
}

.price-current {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
}

.price-original {
  font-size: var(--text-xs);
  color: var(--color-muted-foreground);
  text-decoration: line-through;
}

/* Sleek Single-Row Action Bar */
.card-actions-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-top: auto;
  padding-top: var(--space-xs);
  position: relative;
  z-index: 2;
}

.btn-direct-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xs);
  height: 2.6rem;
  padding: 0 var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-direct-buy:hover {
  background: #000000;
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.25rem 0.75rem hsla(24, 10%, 10%, 0.18);
}

.marketplace-icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 0.0625rem solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  box-shadow: 0 0.0625rem 0.25rem hsla(24, 10%, 10%, 0.04);
}

.marketplace-icon-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-subtle);
  transform: translateY(-0.0625rem);
  box-shadow: var(--shadow-sm);
}

.marketplace-icon-btn img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

/* Detail page marketplace pill buttons */
.detail-marketplaces {
  margin-block: var(--space-sm);
}

.marketplace-avail-label {
  display: block;
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-3xs);
}

.detail-marketplace-pills {
  display: flex;
  gap: var(--space-2xs);
  align-items: center;
  flex-wrap: wrap;
}

.marketplace-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 0.0625rem solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 0.0625rem 0.25rem hsla(24, 10%, 10%, 0.04);
}

.marketplace-pill-btn:hover {
  border-color: var(--color-primary);
  transform: translateY(-0.0625rem);
  box-shadow: var(--shadow-sm);
}

.pill-logo {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */

.detail-grid {
  max-width: min(92%, 58rem);
  margin-inline: auto;
  padding-block: var(--space-lg) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 54em) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Gallery component */
.gallery-wrapper {
  position: sticky;
  top: 4.5rem;
}

.gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 0.0625rem solid var(--color-border);
  aspect-ratio: 1 / 1;
  max-height: 22rem;
  margin-bottom: var(--space-xs);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  max-height: 20rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0.25rem 0.75rem hsla(24, 10%, 10%, 0.04));
  transition: opacity var(--transition-base);
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-2xs);
  overflow-x: auto;
  padding-bottom: var(--space-3xs);
}

.thumb-item {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 0.0625rem solid var(--color-border-subtle);
  cursor: pointer;
  flex-shrink: 0;
  background: #ffffff;
  padding: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.thumb-item.active {
  border-color: var(--color-accent);
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.15rem 0.5rem hsla(38, 92%, 50%, 0.2);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product Info Panel */
.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-badge-row {
  display: flex;
  gap: var(--space-2xs);
  margin-bottom: var(--space-2xs);
  flex-wrap: wrap;
  align-items: center;
}

.detail-badge-row .product-card-badge,
.detail-badge-row .discount-badge {
  position: static;
  display: inline-flex;
  align-items: center;
}

.detail-title {
  font-size: var(--text-xl);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.detail-subtitle {
  font-size: var(--text-sm);
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-xs);
  line-height: 1.5;
}

.detail-description {
  font-size: var(--text-base);
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
  white-space: pre-line;
  line-height: 1.65;
}

/* Verified Quality & Materials — structured specification card */
.specs-card {
  margin-block: var(--space-sm);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.specs-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.65rem var(--space-md);
  background:
    radial-gradient(circle at 100% 0%, hsla(38, 92%, 50%, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, hsla(38, 60%, 97%, 1) 0%, var(--color-surface-subtle) 100%);
  border-bottom: 0.0625rem solid var(--color-border-subtle);
}

.specs-seal {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-accent);
  border: 0.0625rem solid hsla(38, 92%, 40%, 0.25);
  box-shadow: 0 0 0 0.2rem hsla(38, 92%, 50%, 0.08);
}

.specs-heading {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.specs-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.specs-title {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

.specs-list {
  margin: 0;
  padding: 0;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem var(--space-md);
  border-bottom: 0.0625rem solid var(--color-border-subtle);
  transition: background-color var(--transition-fast);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row:hover {
  background: hsla(38, 40%, 98%, 0.65);
}

.spec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
  line-height: 1.3;
}

.spec-label-dot {
  width: 0.35rem;
  height: 0.35rem;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  opacity: 0.85;
}

.spec-value {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-primary);
}

.spec-main {
  font-weight: 500;
  color: var(--color-primary);
}

.spec-note {
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
  line-height: 1.4;
}

/* Micro-Pills / Chips: Sleek, compact, perfectly proportioned */
.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-secondary);
  background: var(--color-surface-subtle);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-full);
  line-height: 1.3;
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.spec-chip svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.spec-chip:hover {
  border-color: hsla(38, 92%, 40%, 0.5);
  background: #ffffff;
  color: var(--color-primary);
}

.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-success);
  margin-bottom: var(--space-xs);
}

.stock-indicator::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: var(--radius-full);
  background: var(--color-success);
}

/* Direct Checkout Order Form */
.checkout-box {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 0.0625rem solid var(--color-border);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-xs);
}

.checkout-box h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-3xs);
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.checkout-box p, .checkout-subtext {
  font-size: var(--text-xs);
  color: var(--color-muted-foreground);
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xs);
  margin-block: var(--space-xs);
}

@media (min-width: 32em) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xs);
}

.form-label {
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
}

.form-input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-foreground);
  font-size: var(--text-xs);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.125rem hsla(24, 10%, 10%, 0.12);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344403C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.95rem;
  padding-right: 2.25rem;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.125rem hsla(24, 10%, 10%, 0.12);
}

.form-select option {
  background: #ffffff;
  color: var(--color-foreground);
  padding: 0.45rem;
}

/* ==========================================================================
   FEATURE CARDS & BRAND STORY
   ========================================================================== */

.features-banner {
  background: var(--color-surface);
  border-block: 0.0625rem solid var(--color-border);
  padding-block: var(--space-md);
}

.features-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 48em) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-2xs);
}

.feature-icon-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface-subtle);
  border: 0.0625rem solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.feature-icon-box svg {
  width: 1.15rem;
  height: 1.15rem;
}

.feature-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.feature-desc {
  font-size: var(--text-xs);
  color: var(--color-muted-foreground);
  line-height: 1.55;
}

/* ==========================================================================
   100% QUALITY & OEKO-TEX® GUARANTEE SECTION
   ========================================================================== */

.guarantee-section {
  padding-block: var(--space-xl) var(--space-2xl);
  border-top: 0.0625rem solid var(--color-border);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

@media (min-width: 52em) {
  .guarantee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guarantee-card {
  background: var(--color-surface);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0.125rem 0.5rem hsla(24, 10%, 10%, 0.04);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.guarantee-card:hover {
  transform: translateY(-0.15rem);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.guarantee-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: hsla(38, 92%, 50%, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
  border: 0.0625rem solid hsla(38, 92%, 50%, 0.25);
}

.guarantee-badge {
  font-size: var(--text-3xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-4xs);
}

.guarantee-card-title {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-3xs);
  color: var(--color-primary);
  line-height: 1.3;
}

.guarantee-card-desc {
  font-size: var(--text-xs);
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* ==========================================================================
   CONFIRMATION & STATUS PAGES
   ========================================================================== */

.status-card {
  max-width: var(--container-narrow);
  margin-inline: auto;
  margin-block: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 0.0625rem solid var(--color-border);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.status-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  margin-inline: auto;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon.success {
  background: hsla(142, 70%, 45%, 0.12);
  color: var(--color-success);
}

.status-icon.cancel {
  background: hsla(38, 92%, 50%, 0.12);
  color: var(--color-accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  margin-top: auto;
  background: var(--color-primary);
  color: var(--color-muted);
  padding-block: var(--space-lg) var(--space-sm);
  border-top: 0.0625rem solid var(--color-border);
}

.footer-container {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 48em) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  color: #ffffff;
  margin-bottom: var(--space-3xs);
  letter-spacing: 0.12em;
}

.footer-brand p {
  font-size: var(--text-xs);
  color: #a8a29e;
  max-width: 44ch;
  line-height: 1.6;
}

.footer-links h5 {
  font-family: var(--font-sans);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-2xs);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.footer-links a {
  font-size: var(--text-xs);
  color: #a8a29e;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: var(--container-max);
  margin-inline: auto;
  margin-top: var(--space-md);
  padding-top: var(--space-xs);
  border-top: 0.0625rem solid hsla(0, 0%, 100%, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-3xs);
  color: #78716c;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 0.125rem solid var(--color-accent);
  outline-offset: 0.125rem;
}

@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;
  }
}
