/* ============================================
   YOKOOL — Light theme design system
   Brand: #DC143B (crimson red)
   Inspired by sharge.com layout, adapted for light theme
   ============================================ */

:root {
  /* Background layers */
  --bg-base: #FFFFFF;
  --bg-surface: #FAFAFA;
  --bg-elevated: #F4F4F4;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Borders */
  --border-subtle: #EEEEEE;
  --border-medium: #DDDDDD;
  --border-strong: #BBBBBB;

  /* Text */
  --text-primary: #0A0A0A;
  --text-secondary: #555555;
  --text-tertiary: #888888;
  --text-faint: #BBBBBB;

  /* Brand accent */
  --brand: #DC143B;
  --brand-hover: #B30E2F;
  --brand-soft: rgba(220, 20, 59, 0.08);
  --brand-glow: rgba(220, 20, 59, 0.25);
  --brand-line: rgba(220, 20, 59, 0.2);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --container-width: 1280px;
  --container-padding: 24px;
  --section-padding: clamp(72px, 10vw, 128px);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ============ RESET ============ */
*, *::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);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

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

input, select, textarea, button {
  font-family: inherit;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* ============ TYPOGRAPHY PATTERNS ============ */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-title em {
  font-style: normal;
  color: var(--brand);
}

.section-description {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
  text-align: center;
}

.section-header .section-description {
  margin: 0 auto;
}

/* ============ BUTTONS ============ */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid var(--brand);
  border-radius: 0;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.cta-button:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-glow);
}

.cta-button--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.cta-button--ghost:hover {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: none;
}

.cta-button--dark {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.cta-button--dark:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.cta-button--small {
  padding: 10px 18px;
  font-size: 13px;
}

.cta-button--full {
  width: 100%;
  justify-content: center;
  padding: 18px 28px;
}

.cta-button--large {
  padding: 20px 36px;
  font-size: 16px;
}

.cta-arrow {
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s var(--ease);
  border-bottom: 1px solid transparent;
  background: var(--bg-base);
}

.site-header.is-scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.2s var(--ease);
}

.logo:hover {
  opacity: 0.75;
}

.logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.footer-brand .logo-img {
  height: 36px;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  align-items: center;
}

/* Top-level nav items: link or dropdown trigger */
.nav-link,
.nav-dropdown-btn {
  position: relative;
  padding: 6px 0;
  font: inherit;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown:focus-within .nav-dropdown-btn {
  color: var(--text-primary);
}

.nav-link::after,
.nav-dropdown-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-dropdown:hover .nav-dropdown-btn::after,
.nav-dropdown:focus-within .nav-dropdown-btn::after {
  width: 100%;
}

.nav-chevron {
  transition: transform 0.25s var(--ease);
  display: inline-block;
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-chevron,
  .nav-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
  }
}

/* Dropdown panel (level 1) */
.nav-dropdown,
.nav-submenu {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 240px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 120;
  list-style: none;
}

/* Invisible bridge prevents close when mouse moves between trigger and panel */
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-panel,
  .nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Submenu trigger (level 2) */
.nav-submenu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-submenu-btn::after {
  display: none;
}

.nav-submenu-arrow {
  color: var(--text-tertiary);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .nav-submenu:hover > .nav-submenu-btn,
  .nav-submenu:focus-within > .nav-submenu-btn {
    background: var(--brand-soft);
    color: var(--brand);
  }

  .nav-submenu:hover > .nav-submenu-btn .nav-submenu-arrow,
  .nav-submenu:focus-within > .nav-submenu-btn .nav-submenu-arrow {
    color: var(--brand);
    transform: translateX(3px);
  }
}

/* Submenu panel (level 3 - leaf items) */
.nav-submenu-panel {
  position: absolute;
  top: -8px;
  left: calc(100% + 4px);
  min-width: 180px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
  list-style: none;
}

.nav-submenu-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  bottom: 0;
  width: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-submenu:hover > .nav-submenu-panel,
  .nav-submenu:focus-within > .nav-submenu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

/* Leaf links inside dropdown */
.nav-leaf {
  display: block;
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.nav-leaf:hover {
  background: var(--brand-soft);
  color: var(--brand);
  padding-left: 18px;
}

.nav-leaf::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============ HERO CAROUSEL ============ */
.hero-carousel {
  position: relative;
  height: clamp(500px, 80vh, 720px);
  margin-top: 72px;
  overflow: hidden;
  background: var(--bg-surface);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease);
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img,
.carousel-slide .slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 clamp(24px, 8vw, 96px);
  max-width: var(--container-width);
  margin: 0 auto;
  z-index: 2;
}

.carousel-slide.is-active .slide-eyebrow,
.carousel-slide.is-active .slide-title,
.carousel-slide.is-active .slide-tagline,
.carousel-slide.is-active .slide-cta {
  animation: slideUp 0.8s var(--ease) forwards;
}

.carousel-slide.is-active .slide-eyebrow { animation-delay: 0.2s; }
.carousel-slide.is-active .slide-title { animation-delay: 0.35s; }
.carousel-slide.is-active .slide-tagline { animation-delay: 0.5s; }
.carousel-slide.is-active .slide-cta { animation-delay: 0.65s; }

.slide-eyebrow,
.slide-title,
.slide-tagline,
.slide-cta {
  opacity: 0;
  transform: translateY(24px);
}

.slide-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--brand);
  background: rgba(255, 255, 255, 0.9);
}

.slide-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 700px;
}

.slide-tagline {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.4;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.3s var(--ease);
  font-size: 20px;
  box-shadow: var(--shadow-md);
}

.carousel-arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 28px;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.dot:hover {
  background: rgba(0, 0, 0, 0.4);
}

.dot.is-active {
  background: var(--brand);
  width: 56px;
}

/* ============ FEATURED PRODUCTS GRID (HOME) ============ */
.products-section {
  padding: var(--section-padding) 0;
  background: var(--bg-base);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 48px 40px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  text-decoration: none;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
  pointer-events: none;
}

.product-card:hover {
  background: var(--bg-base);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::after {
  border-color: var(--brand);
}

.product-card-image {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  min-height: 260px;
  overflow: hidden;
}

.product-card-image img,
.product-card-image svg {
  max-width: 75%;
  max-height: 240px;
  height: auto;
  width: auto;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-image img,
.product-card:hover .product-card-image svg {
  transform: scale(1.05);
}

.product-code-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 5px 12px;
  background: var(--bg-base);
}

.product-card-info {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.product-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
  color: var(--text-primary);
}

.product-card-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.product-card-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.product-card:hover .product-card-link {
  transform: translateX(6px);
}

/* ============ PRODUCT DETAIL PAGE ============ */
.product-hero {
  padding: 120px 0 80px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.product-hero-image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero-image img,
.product-hero-image svg {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
}

.product-hero-image::before {
  content: "";
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft) 0%, transparent 70%);
  filter: blur(40px);
}

.product-hero-content .section-label {
  margin-bottom: 16px;
}

.product-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.product-hero-tagline {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.4;
}

.product-hero-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-current {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.product-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.product-hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-secondary);
}

.product-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-hero-meta-icon {
  color: var(--brand);
  font-size: 16px;
}

/* ============ KEY FEATURES (Product page) ============ */
.key-features {
  padding: var(--section-padding) 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
}

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 28px;
  border: 1px solid var(--brand-line);
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.feature-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ FEATURE SHOWCASE (Product page) ============ */
.showcase {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
}

.showcase:nth-of-type(even) {
  background: var(--bg-surface);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.showcase--reverse .showcase-inner > .showcase-visual {
  order: 2;
}

.showcase-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-visual img,
.showcase-visual svg {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
}

.showcase-content .section-label {
  margin-bottom: 16px;
}

.showcase-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.showcase-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-bullets li::before {
  content: "→";
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============ SPECS TABLE (Product page) ============ */
.specs-section {
  padding: var(--section-padding) 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}

.specs-table {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--text-primary);
}

.specs-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 24px;
}

.specs-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.specs-value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

/* ============ FINAL CTA (Product page) ============ */
.final-cta {
  padding: var(--section-padding) 0;
  background: var(--text-primary);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  opacity: 0.5;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.final-cta-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta .cta-button--ghost {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.final-cta .cta-button--ghost:hover {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: #FFFFFF;
}

/* ============ RELATED PRODUCTS ============ */
.related-section {
  padding: var(--section-padding) 0;
  background: var(--bg-surface);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  padding: 32px 24px;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.related-card-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.related-card-image img,
.related-card-image svg {
  max-width: 80%;
  max-height: 80%;
}

.related-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.related-card-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

/* ============ WHY YOKOOL ============ */
.why-section {
  padding: var(--section-padding) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 24px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease);
}

.why-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--brand);
  background: var(--brand-soft);
  margin-bottom: 20px;
}

.why-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact-section {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.contact-channel {
  padding: 24px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.contact-channel:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-channel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.contact-channel-value {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.contact-channel:hover .contact-channel-value {
  color: var(--brand);
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  font-size: 24px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

/* ============ NEWS PAGE ============ */
.news-hero {
  padding: 140px 0 64px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.news-hero-inner {
  max-width: 720px;
}

.news-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  color: var(--text-primary);
}

.news-hero-tagline {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-secondary);
  line-height: 1.5;
}

.news-empty {
  padding: var(--section-padding) 0;
  background: var(--bg-base);
}

.news-empty-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.news-empty-mark {
  font-size: 48px;
  color: var(--brand);
  margin-bottom: 24px;
  display: inline-block;
  animation: spinSlow 8s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.news-empty-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.news-empty-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.news-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ CART ICON IN HEADER ============ */
.cart-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.cart-icon-btn:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.cart-icon-btn svg {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge.is-visible {
  display: inline-flex;
}

/* ============ CART DRAWER ============ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 200;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-base);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.cart-drawer-close:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.cart-drawer-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  color: var(--text-tertiary);
  flex: 1;
}

.cart-drawer-empty-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  color: var(--text-faint);
}

.cart-drawer-empty-text {
  font-size: 15px;
  margin-bottom: 24px;
}

.cart-drawer-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 24px;
  flex-shrink: 0;
  background: var(--bg-base);
}

.cart-drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.cart-drawer-total-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.cart-drawer-total-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.cart-drawer-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 12px;
  text-align: center;
}

/* Cart item inside drawer */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item-image img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
}

.cart-item-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.3;
}

.cart-item-price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cart-item-subtotal {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand);
  font-size: 14px;
  text-align: right;
  margin-top: 4px;
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  border-radius: 50%;
  transition: all 0.2s var(--ease);
}

.cart-item-remove:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

/* Quantity control */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-medium);
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-base);
  transition: all 0.15s var(--ease);
  font-weight: 500;
}

.qty-btn:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.qty-value {
  min-width: 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 0 4px;
  user-select: none;
}

/* Disable body scroll when drawer open */
body.cart-drawer-open {
  overflow: hidden;
}

/* ============ TOAST NOTIFICATIONS ============ */
.yk-toast {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translate(-50%, -20px);
  background: var(--text-primary);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  max-width: 90vw;
}

.yk-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.yk-toast-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.yk-toast--info .yk-toast-icon {
  background: var(--text-secondary);
}

.yk-toast-message {
  font-size: 14px;
  font-weight: 500;
}

/* ============ PRODUCT HERO: DESCRIPTION + PRICE + BUTTONS ============ */
.product-hero-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}

.product-hero-description p {
  margin-bottom: 4px;
}

.product-hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.product-hero-price-row .price-current {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
}

.product-hero-price-row .price-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 4px 10px;
  border: 1px solid var(--border-medium);
}

.cta-button--secondary {
  background: var(--bg-base);
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.cta-button--secondary:hover {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============ CHECKOUT PAGE ============ */
.checkout-page {
  padding: 120px 0 80px;
  min-height: 60vh;
  background: var(--bg-surface);
}

.checkout-header {
  margin-bottom: 48px;
}

.checkout-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 8px;
  color: var(--text-primary);
}

.checkout-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.checkout-form-card,
.checkout-summary-card {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  padding: 32px;
}

.checkout-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.form-label.is-required::after {
  content: " *";
  color: var(--brand);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-base);
  border: 1px solid var(--border-medium);
  border-radius: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.form-textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.5;
}

.form-help {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
}

/* Payment method block */
.payment-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 2px solid var(--brand);
  background: var(--brand-soft);
}

.payment-method-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
}

.payment-method-radio::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--brand);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.payment-method-info {
  flex: 1;
}

.payment-method-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.payment-method-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Summary card */
.checkout-summary-card {
  position: sticky;
  top: 100px;
}

.summary-items {
  margin-bottom: 24px;
  max-height: 380px;
  overflow-y: auto;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.summary-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 12px 0;
  align-items: center;
}

.summary-item-image {
  position: relative;
  width: 64px;
  height: 64px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.summary-item-image img {
  max-width: 80%;
  max-height: 80%;
}

.summary-item-qty {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.summary-item-info {
  min-width: 0;
}

.summary-item-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-primary);
  line-height: 1.3;
}

.summary-item-unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
}

.summary-item-subtotal {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.summary-totals {
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.summary-row--total {
  padding-top: 16px;
  margin-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 18px;
}

.summary-row--total .summary-row-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.summary-row--total .summary-row-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  font-size: 24px;
  letter-spacing: -0.01em;
}

.summary-shipping {
  color: var(--text-primary);
  font-weight: 500;
}

.checkout-empty {
  text-align: center;
  padding: 96px 24px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
}

.checkout-empty-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.checkout-empty-text {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ============ ORDER SUCCESS MODAL ============ */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.success-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.success-modal-card {
  background: var(--bg-base);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease);
}

.success-modal.is-visible .success-modal-card {
  transform: translateY(0);
}

.success-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.success-modal-close:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  animation: successPop 0.5s var(--ease);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.success-order-id {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.success-order-id strong {
  color: var(--brand);
  font-weight: 600;
}

.success-message {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.success-details {
  text-align: left;
  background: var(--bg-surface);
  padding: 20px;
  margin-bottom: 24px;
  border-left: 3px solid var(--brand);
}

.success-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
}

.success-row > span:first-child {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-size: 11px;
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}

.success-row > span:last-child {
  color: var(--text-primary);
  text-align: right;
  flex: 1;
  word-break: break-word;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ ANIMATIONS ============ */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .features-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .main-nav {
    gap: 20px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px var(--container-padding) 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link,
  .nav-dropdown-btn,
  .nav-submenu-btn {
    width: 100%;
    font-size: 16px;
    padding: 12px 0;
    justify-content: space-between;
  }

  .nav-link::after,
  .nav-dropdown-btn::after {
    display: none; /* no underline on mobile, use background instead */
  }

  /* Dropdown panel: become inline accordion on mobile */
  .nav-dropdown-panel,
  .nav-submenu-panel {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0 0 0 16px;
    min-width: 0;
    width: auto;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    transition: max-height 0.3s var(--ease);
  }

  .nav-dropdown-panel::before,
  .nav-submenu-panel::before {
    display: none;
  }

  .nav-dropdown.is-open > .nav-dropdown-panel {
    max-height: 600px;
    margin-top: 4px;
    margin-bottom: 8px;
  }

  .nav-submenu.is-open > .nav-submenu-panel {
    max-height: 400px;
  }

  .nav-submenu-btn {
    padding: 10px 0;
    font-size: 14px;
  }

  .nav-leaf {
    padding: 8px 0;
    font-size: 13px;
  }

  .nav-leaf:hover {
    padding-left: 0;
    background: transparent;
  }

  /* Rotate chevron on open */
  .nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-submenu.is-open .nav-submenu-arrow {
    transform: rotate(90deg);
    color: var(--brand);
  }

  .cta-button--small {
    display: none;
  }

  .hero-carousel {
    height: 60vh;
    min-height: 480px;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .carousel-prev { left: 12px; }
  .carousel-next { right: 12px; }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    min-height: 420px;
    padding: 32px 24px;
  }

  .product-hero-inner,
  .showcase-inner,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .showcase--reverse .showcase-inner > .showcase-visual {
    order: 0;
  }

  .features-grid,
  .why-grid,
  .related-grid,
  .contact-channels {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .specs-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  /* Checkout responsive */
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .checkout-summary-card {
    position: static;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-form-card,
  .checkout-summary-card {
    padding: 24px;
  }

  /* Cart drawer full width on mobile */
  .cart-drawer {
    max-width: 100%;
  }

  /* Success modal smaller on mobile */
  .success-modal-card {
    padding: 28px 20px;
  }

  .success-row {
    flex-direction: column;
    gap: 2px;
  }

  .success-row > span:last-child {
    text-align: left;
  }

  /* Product hero actions stack on mobile */
  .product-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-hero-actions .cta-button {
    justify-content: center;
  }

  .yk-toast {
    top: 80px;
    font-size: 13px;
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .features-grid,
  .why-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .product-hero-actions,
  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-hero-actions .cta-button,
  .final-cta-actions .cta-button {
    justify-content: center;
  }
}

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