/* ============================================================
   CHROMA | OUTLET — Complete Design System v1.0
   Arquitectura: Black & White base / Color from product photos
   Compatibilidad: iOS Safari, Android Chrome, Desktop (Chrome/Firefox/Safari/Edge)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --surface: #F7F7F7;
  --surface-2: #EFEFEF;
  --border: #E8E8E8;
  --border-dark: #C8C8C8;
  --text: #0C0C0C;
  --text-secondary: #525252;
  --text-muted: #A0A0A0;
  --accent: #0C0C0C;
  --accent-hover: #2A2A2A;
  --white: #FFFFFF;
  --black: #0C0C0C;
  --error: #D32F2F;
  --success: #2E7D32;
  --warning: #E65100;
  --wa-green: #25D366;
  --wa-dark: #075E54;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --header-h: 64px;
  --max-w: 1440px;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.13), 0 6px 16px rgba(0,0,0,0.08);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.18);
  --t: 180ms ease;
  --t-slow: 380ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   GLOBAL PAGE TRANSITIONS & MICRO-INTERACTIONS
   ============================================================ */

/* Page fade-in on load — más rápido y elegante */
body {
  animation: pageFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Page exit — añadido por JS antes de navegar */
body.page-leaving {
  animation: pageLeave 0.2s cubic-bezier(0.4, 0, 1, 1) both;
  pointer-events: none;
}
@keyframes pageLeave {
  to { opacity: 0; transform: translateY(-6px); }
}

/* Smooth scroll nativo */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Safari momentum scroll */
}

/* Links */
a { transition: color 0.18s ease, opacity 0.18s ease; }

/* Inputs y controles — transición solo en propiedades visuales */
button, .btn, a[href] {
  transition: color 0.18s ease,
              background-color 0.18s ease,
              border-color 0.18s ease,
              box-shadow 0.18s ease,
              opacity 0.18s ease,
              transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
input, select, textarea {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

/* Cards lift on hover */
.product-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
  will-change: transform;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Scroll reveal — add .reveal class via JS Intersection Observer */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children with .reveal-stagger */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.1s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.15s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.2s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.25s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(n+7) { transition-delay: 0.3s; opacity: 1; transform: none; }

/* Image lazy-load fade */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* Color swatch hover */
.coverflow__item {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              box-shadow 0.3s ease;
}

/* Header transition */
.header {
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* Smooth filter chip transitions */
.filter-chip, .gender-tab, .category-tab {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.filter-chip:active, .gender-tab:active, .category-tab:active {
  transform: scale(0.95);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}
svg { display: block; }
::selection { background: var(--black); color: var(--white); }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
.t-xs  { font-size: 11px; line-height: 1.4; }
.t-sm  { font-size: 13px; line-height: 1.5; }
.t-base{ font-size: 15px; line-height: 1.6; }
.t-md  { font-size: 17px; line-height: 1.5; }
.t-lg  { font-size: 20px; line-height: 1.4; }
.t-xl  { font-size: 24px; line-height: 1.3; }
.t-2xl { font-size: 30px; line-height: 1.2; }
.t-3xl { font-size: 38px; line-height: 1.15; }
.t-4xl { font-size: 48px; line-height: 1.1; }
.t-5xl { font-size: 64px; line-height: 1.05; }
.t-6xl { font-size: 80px; line-height: 1; }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }

.tracking-tight { letter-spacing: -0.03em; }
.tracking-wide  { letter-spacing: 0.1em; }
.tracking-wider { letter-spacing: 0.15em; }
.uppercase { text-transform: uppercase; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.text-right { text-align: right; }

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

/* ============================================================
   5. HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--black);
  flex-shrink: 0;
}
.header__logo span { font-weight: 300; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--t);
  position: relative;
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--black);
  transition: width var(--t);
}
.header__nav-link:hover { color: var(--black); }
.header__nav-link:hover::after { width: 100%; }
.header__nav-link.active { color: var(--black); }
.header__nav-link.active::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: color var(--t), background var(--t);
}
.header__icon-btn:hover { color: var(--black); background: var(--surface); }

.header__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  transition: border-color var(--t), box-shadow var(--t);
  max-width: 260px;
  width: 100%;
}
.header__search:focus-within {
  border-color: var(--border-dark);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.header__search input {
  flex: 1; font-size: 13px;
  background: none;
}
.header__search input::placeholder { color: var(--text-muted); }

/* Mobile nav toggle */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
  transition: background var(--t);
}
.header__hamburger:hover { background: var(--surface); }
.header__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--black);
  transition: transform var(--t), opacity var(--t);
}
.header__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu__link {
  display: flex; align-items: center;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.mobile-menu__link:hover { color: var(--text-secondary); }
.mobile-menu__sub {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.mobile-menu__sub-link {
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color var(--t);
}
.mobile-menu__sub-link:hover { color: var(--black); }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1.5px solid transparent;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--primary:hover { background: #2A2A2A; }
.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--black); background: var(--surface); }
.btn--white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--white:hover { background: var(--surface); }
.btn--wa {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
  font-size: 14px;
}
.btn--wa:hover { background: #1db954; box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
.btn--sm { padding: 8px 16px; font-size: 11px; }
.btn--lg { padding: 16px 36px; font-size: 14px; }
.btn--xl { padding: 20px 48px; font-size: 15px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--t);
}
.btn:hover::after { opacity: 1; }

/* ============================================================
   7. HERO — Color Palette
   ============================================================ */
.hero { padding: 0; }

.hero__intro {
  text-align: center;
  padding: 56px 20px 40px;
}
.hero__intro-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.hero__intro-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--black);
  margin-bottom: 16px;
}
.hero__intro-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* Color Palette Grid */
.color-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 3px;
  background: var(--border);
}
@media (min-width: 768px) {
  .color-palette { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1200px) {
  .color-palette { grid-template-columns: repeat(12, 1fr); gap: 4px; padding: 4px; }
}

.color-swatch {
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--t), z-index 0s;
}
.color-swatch:hover { transform: scale(1.04); z-index: 2; }
.color-swatch__inner {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 8px;
  position: relative;
}
.color-swatch__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%);
  transition: background var(--t);
}
.color-swatch:hover .color-swatch__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.1) 55%);
}
.color-swatch__name {
  position: relative; z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
}
.color-swatch__count {
  position: relative; z-index: 1;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Special large swatch — first two */
.color-swatch--large {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 200px;
}
@media (max-width: 767px) {
  .color-swatch--large { grid-column: span 2; min-height: 140px; }
}

/* ============================================================
   8. PRODUCT CARDS
   ============================================================ */
.product-card {
  position: relative;
  background: var(--bg);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 3/4;
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__img-hover {
  position: absolute; inset: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 400ms ease;
}
.product-card:hover .product-card__img-hover { opacity: 1; }

.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 1;
}
.product-card__badge--sale { background: #D32F2F; }
.product-card__badge--new { background: #1a1a2e; }

.product-card__actions {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--t), transform var(--t);
  z-index: 1;
}
.product-card:hover .product-card__actions {
  opacity: 1; transform: translateX(0);
}
.product-card__action-btn {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--text);
  transition: background var(--t), color var(--t), transform var(--t);
}
.product-card__action-btn:hover {
  background: var(--black); color: var(--white); transform: scale(1.1);
}

.product-card__info { padding: 14px 0 4px; }
.product-card__brand {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.product-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card__pricing {
  display: flex; align-items: center; gap: 8px;
}
.product-card__price {
  font-size: 15px; font-weight: 700;
  color: var(--black);
}
.product-card__price-orig {
  font-size: 13px; font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-card__discount {
  font-size: 11px; font-weight: 700;
  color: #D32F2F;
  background: rgba(211,47,47,0.08);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.product-card__color-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  flex-shrink: 0;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
}
@media (min-width: 1400px) {
  .products-grid--5col { grid-template-columns: repeat(5, 1fr); }
}

/* Product List View */
.products-list .product-card {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.products-list .product-card:hover { transform: none; box-shadow: none; }
.products-list .product-card__img-wrap {
  width: 100px; height: 130px;
  flex-shrink: 0;
  aspect-ratio: unset;
}
.products-list .product-card__info {
  flex: 1; padding: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.products-list .product-card__actions {
  position: static; opacity: 1; transform: none;
  flex-direction: row; margin-top: 12px;
}

/* ============================================================
   9. FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border-dark);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--t);
  cursor: pointer;
  flex-shrink: 0;
}
.filter-chip:hover { border-color: var(--black); color: var(--black); }
.filter-chip.active {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}
.filter-chip__dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.view-toggle {
  display: flex; gap: 2px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.view-toggle__btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  color: var(--text-muted);
  transition: all var(--t);
}
.view-toggle__btn.active {
  background: var(--white); color: var(--black); box-shadow: var(--shadow-sm);
}
.view-toggle__btn:hover:not(.active) { color: var(--text); }

/* ============================================================
   10. PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail {
  padding: 32px 0 80px;
}
.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .product-detail__layout { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (min-width: 1024px) {
  .product-detail__layout { grid-template-columns: 55fr 45fr; gap: 64px; }
}

/* Gallery */
.gallery { position: relative; }
.gallery__main {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-md);
  aspect-ratio: 4/5;
  margin-bottom: 12px;
}
.gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 300ms ease;
}
.gallery__main img.loading { opacity: 0; }

.gallery__zoom-btn {
  position: absolute; bottom: 16px; right: 16px;
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); box-shadow: var(--shadow-md);
  transition: all var(--t);
}
.gallery__zoom-btn:hover { background: var(--black); color: var(--white); }

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--t), opacity var(--t);
}
.gallery__thumb:hover { opacity: 0.8; }
.gallery__thumb.active { border-color: var(--black); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 20px;
  transition: background var(--t);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background var(--t);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 80px; }

/* Product Info */
.product-info {}
.product-info__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.product-info__brand {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-secondary);
}
.product-info__category-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
}
.product-info__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.product-info__price-block {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.product-info__price-now {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.03em;
}
.product-info__price-was {
  font-size: 18px; color: var(--text-muted);
  text-decoration: line-through;
}
.product-info__discount-badge {
  background: #D32F2F; color: var(--white);
  font-size: 13px; font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.product-info__savings {
  font-size: 13px; color: #2E7D32;
}

/* Color indicator */
.product-info__color {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.product-info__color-label {
  font-size: 12px; font-weight: 500;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em;
}
.product-info__color-swatch {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border-dark);
  box-shadow: inset 0 0 0 2px var(--bg);
}
.product-info__color-name {
  font-size: 13px; font-weight: 500;
}

/* Size selector */
.size-selector { margin-bottom: 32px; }
.size-selector__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.size-selector__label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.size-selector__guide {
  font-size: 12px; color: var(--text-secondary);
  text-decoration: underline; cursor: pointer;
  transition: color var(--t);
}
.size-selector__guide:hover { color: var(--black); }
.size-selector__options {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.size-btn {
  min-width: 52px; height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-dark);
  font-size: 13px; font-weight: 600;
  color: var(--text);
  transition: all var(--t);
  text-transform: uppercase;
}
.size-btn:hover { border-color: var(--black); }
.size-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.size-btn.unavailable { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

/* Order CTA */
.order-cta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

/* Product tabs */
.product-tabs { border-top: 1px solid var(--border); margin-top: 32px; }
.product-tabs__nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
}
.product-tab-btn {
  padding: 16px 20px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--t);
}
.product-tab-btn.active { color: var(--black); border-bottom-color: var(--black); }
.product-tab-btn:hover { color: var(--text); }
.product-tab-panel { display: none; padding: 24px 0; }
.product-tab-panel.active { display: block; }
.product-tab-panel p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 12px;
}

/* ============================================================
   11. ORDER PANEL (Slide-up modal)
   ============================================================ */
.order-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-slow);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.order-overlay.open { opacity: 1; pointer-events: all; }

.order-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 201;
  background: var(--bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform var(--t-slow);
  padding: 32px 24px 48px;
  -webkit-overflow-scrolling: touch;
}
.order-panel.open { transform: translateY(0); }

@media (min-width: 768px) {
  .order-panel {
    max-width: 520px;
    top: 50%; left: 50%;
    right: auto; bottom: auto;
    transform: translate(-50%, 100vh);
    border-radius: var(--radius-lg);
    translate: none;
  }
  .order-panel.open {
    transform: translate(-50%, -50%);
    translate: none;
  }
}

.order-panel__handle {
  width: 40px; height: 4px;
  background: var(--border-dark);
  border-radius: var(--radius-full);
  margin: -16px auto 24px;
}
.order-panel__title {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.order-panel__subtitle {
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 28px;
}
.order-panel__product-preview {
  display: flex; gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}
.order-panel__product-img {
  width: 64px; height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--border);
}
.order-panel__product-info { flex: 1; }
.order-panel__product-brand {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 4px;
}
.order-panel__product-name {
  font-size: 14px; font-weight: 600; margin-bottom: 4px;
}
.order-panel__product-detail {
  font-size: 12px; color: var(--text-secondary);
}
.order-panel__product-price {
  font-size: 16px; font-weight: 800;
  align-self: center;
}

/* Form */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
}
.form-input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.form-input::placeholder { color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.contact-time-selector { display: flex; gap: 8px; margin-bottom: 8px; }
.contact-time-option {
  flex: 1; padding: 12px 8px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-size: 12px; font-weight: 500;
  text-align: center; cursor: pointer;
  transition: all var(--t);
}
.contact-time-option:hover { border-color: var(--black); }
.contact-time-option.active { border-color: var(--black); background: var(--black); color: var(--white); }
.scheduled-time-input { display: none; }
.scheduled-time-input.show { display: block; }

/* ============================================================
   12. SECTIONS & SPACING
   ============================================================ */
.section { padding: 64px 0; }
.section--sm { padding: 40px 0; }
.section--lg { padding: 96px 0; }
.section__header { margin-bottom: 32px; }
.section__header--flex {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.section__eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.section__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.15;
}
.section__link {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px;
  transition: color var(--t);
}
.section__link:hover { color: var(--black); }
.section__link svg { transition: transform var(--t); }
.section__link:hover svg { transform: translateX(3px); }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); }

/* ============================================================
   13. CATEGORY CARDS
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}
.category-card {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 3/4;
}
.category-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card:hover .category-card__img { transform: scale(1.06); }
.category-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
}
.category-card__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
  color: var(--white);
}
.category-card__label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0.7; margin-bottom: 6px;
}
.category-card__title {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 12px;
}
.category-card__btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color var(--t);
}
.category-card:hover .category-card__btn { border-color: var(--white); }

/* ============================================================
   14. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  padding: 20px 0 0;
  font-size: 12px; color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { transition: color var(--t); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb__sep { color: var(--border-dark); }

/* ============================================================
   15. TRUST BADGES
   ============================================================ */
.trust-bar {
  background: var(--black); color: var(--white);
  padding: 20px 0;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) {
  .trust-bar__inner { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
}
.trust-item__icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-item__text {}
.trust-item__title { font-size: 13px; font-weight: 600; }
.trust-item__desc { font-size: 11px; opacity: 0.6; }

/* ============================================================
   16. MARQUEE / ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--black); color: var(--white);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.announcement-bar__inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  gap: 0;
}
.announcement-bar__text {
  display: inline-flex; align-items: center; gap: 32px;
  padding-right: 32px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.announcement-bar__sep { opacity: 0.3; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: var(--black); color: var(--white);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer__brand {}
.footer__logo {
  font-size: 24px; font-weight: 900;
  letter-spacing: -0.04em; margin-bottom: 16px;
}
.footer__logo span { font-weight: 300; opacity: 0.5; }
.footer__tagline {
  font-size: 13px; opacity: 0.6; line-height: 1.6;
  max-width: 240px; margin-bottom: 24px;
}
.footer__wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--wa-green);
  border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600;
  color: var(--white);
  transition: all var(--t);
}
.footer__wa-btn:hover { background: #1db954; transform: translateY(-1px); }

.footer__section-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.4; margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px; opacity: 0.7; transition: opacity var(--t);
}
.footer__link:hover { opacity: 1; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap; gap: 16px;
  font-size: 12px; opacity: 0.4;
}
.footer__social {
  display: flex; gap: 12px;
}
.footer__social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.7; transition: all var(--t);
}
.footer__social-link:hover { opacity: 1; background: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* ============================================================
   18. FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  width: 56px; height: 56px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all var(--t);
  animation: pulse-wa 2s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); animation: none; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.8); }
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float--hidden { transform: scale(0) !important; opacity: 0 !important; pointer-events: none; }

/* ============================================================
   18b. CHATBOT WIDGET
   ============================================================ */
.chatbot {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 380px; max-width: calc(100vw - 24px);
  height: min(580px, calc(100vh - 48px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.chatbot.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.chatbot__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--black, #0C0C0C);
  color: #fff;
  flex-shrink: 0;
}
.chatbot__header-info { display: flex; align-items: center; gap: 10px; }
.chatbot__avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.chatbot__name { font-weight: 700; font-size: 14px; letter-spacing: -0.02em; }
.chatbot__status { font-size: 11px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 5px; }
.chatbot__online-dot { width: 7px; height: 7px; background: #25D366; border-radius: 50%; display: inline-block; }
.chatbot__close {
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.chatbot__close:hover { background: rgba(255,255,255,0.25); }

/* Messages area */
.chatbot__messages {
  flex: 1; overflow-y: auto; padding: 16px 12px 8px;
  display: flex; flex-direction: column; gap: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Message bubbles */
.chatbot__msg { display: flex; gap: 8px; max-width: 92%; }
.chatbot__msg--bot { align-self: flex-start; }
.chatbot__msg--user { align-self: flex-end; flex-direction: row-reverse; }
.chatbot__msg-avatar {
  width: 28px; height: 28px; min-width: 28px;
  background: #f0f0f0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.chatbot__msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px; line-height: 1.5;
  word-break: break-word;
}
.chatbot__msg--bot .chatbot__msg-bubble {
  background: #f2f2f2; color: #1c1c1c;
  border-bottom-left-radius: 4px;
}
.chatbot__msg--user .chatbot__msg-bubble {
  background: var(--black, #0C0C0C); color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing dots */
.chatbot__typing .chatbot__msg-bubble {
  display: flex; gap: 4px; align-items: center; padding: 12px 18px;
}
.chatbot__dot {
  width: 7px; height: 7px; background: #aaa; border-radius: 50%;
  animation: chatbot-bounce 1.2s infinite;
}
.chatbot__dot:nth-child(2) { animation-delay: 0.15s; }
.chatbot__dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatbot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Quick replies */
.chatbot__quick-replies {
  padding: 8px 12px;
  display: flex; flex-wrap: wrap; gap: 6px;
  max-height: 200px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
}
.chatbot__quick-replies:empty { padding: 0; }
.chatbot__btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  font-size: 12px; font-weight: 500;
  color: var(--black, #1c1c1c);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.chatbot__btn:hover { border-color: var(--black, #1c1c1c); background: #fafafa; }
.chatbot__btn:active { transform: scale(0.96); }
.chatbot__btn--wa {
  background: #25D366; color: #fff; border-color: #25D366;
  font-weight: 600;
}
.chatbot__btn--wa:hover { background: #1fba59; border-color: #1fba59; }

/* Color dots in buttons */
.chatbot__color-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: inline-block; flex-shrink: 0;
}

/* Product cards in chat */
.chatbot__product-card {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: inherit;
}
.chatbot__product-card:hover { border-color: var(--black, #1c1c1c); background: #fafafa; }
.chatbot__product-img {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f0f0;
  flex-shrink: 0;
}
.chatbot__product-info { flex: 1; min-width: 0; }
.chatbot__product-brand { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.chatbot__product-name { font-size: 12px; font-weight: 600; color: #1c1c1c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatbot__product-price { font-size: 13px; font-weight: 700; color: var(--black, #1c1c1c); display: flex; align-items: center; gap: 6px; }
.chatbot__product-discount { font-size: 10px; color: #C0392B; font-weight: 700; background: #FFF0EE; padding: 1px 5px; border-radius: 4px; }

/* Input bar */
.chatbot__input-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #eee;
  background: #fff;
  flex-shrink: 0;
}
.chatbot__input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #fafafa;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.chatbot__input:focus { border-color: var(--black, #0C0C0C); background: #fff; }
.chatbot__input::placeholder { color: #aaa; }
.chatbot__send {
  width: 38px; height: 38px; min-width: 38px;
  border: none; background: var(--black, #0C0C0C);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.chatbot__send:hover { opacity: 0.85; transform: scale(1.05); }
.chatbot__send:active { transform: scale(0.95); }

/* Mobile: full-screen chat */
@media (max-width: 480px) {
  .chatbot {
    width: 100vw; height: 100vh; height: 100dvh;
    max-width: 100vw;
    bottom: 0; right: 0; left: 0;
    border-radius: 0;
    transform: translateY(100%);
  }
  .chatbot.open { transform: translateY(0); }
  .chatbot.keyboard-open {
    height: 100vh; height: 100dvh;
  }
  .chatbot__quick-replies { max-height: 140px; }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
  .chatbot { width: min(380px, calc(100vw - 32px)); bottom: 16px; right: 16px; }
}

/* ============================================================
   19. BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.badge--black { background: var(--black); color: var(--white); }
.badge--outline { border: 1px solid var(--border-dark); color: var(--text-secondary); }
.badge--sale { background: #D32F2F; color: var(--white); }
.badge--new { background: #1a2b5f; color: var(--white); }

/* ============================================================
   20. LOADING & SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-load {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card { aspect-ratio: 3/4; }
.skeleton-text { height: 14px; border-radius: var(--radius-sm); margin-bottom: 8px; }
.skeleton-text--short { width: 60%; }

/* ============================================================
   21. TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed; bottom: 96px; right: 24px;
  z-index: 400; display: flex; flex-direction: column;
  gap: 8px; pointer-events: none;
}
.toast {
  background: var(--black); color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform var(--t-bounce);
  pointer-events: all;
  max-width: 320px;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(0); }
.toast--success { background: #1B5E20; }
.toast--error { background: #B71C1C; }

/* ============================================================
   22. SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: 90vw; max-width: 640px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform var(--t-slow);
}
.search-overlay.open .search-box { transform: translateX(-50%) translateY(0); }
.search-box__input-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.search-box__input {
  flex: 1; font-size: 18px; font-weight: 500;
  background: none; color: var(--text);
}
.search-box__input::placeholder { color: var(--text-muted); }
.search-box__results { padding: 16px 24px; max-height: 400px; overflow-y: auto; }
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { opacity: 0.7; }
.search-result-img {
  width: 48px; height: 60px; object-fit: cover;
  border-radius: var(--radius); background: var(--surface);
  flex-shrink: 0;
}
.search-result-name { font-size: 14px; font-weight: 500; }
.search-result-brand { font-size: 12px; color: var(--text-muted); }
.search-result-price { font-size: 14px; font-weight: 700; margin-left: auto; flex-shrink: 0; }

/* ============================================================
   23. PAGE-SPECIFIC — Color Page (Redesign)
   ============================================================ */

/* ---- Hero ---- */
.color-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #111;
  transition: background 600ms cubic-bezier(0.4,0,0.2,1);
}
.color-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  transition: background 600ms cubic-bezier(0.4,0,0.2,1);
}
.color-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 30%,
    rgba(0,0,0,0.6) 75%,
    rgba(0,0,0,0.9) 100%
  );
}
.color-hero__content {
  position: relative;
  z-index: 1;
  padding: 28px 24px 0;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.color-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.color-hero__breadcrumb a { color: rgba(255,255,255,0.55); }
.color-hero__breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.color-hero__breadcrumb .sep { opacity: 0.4; }
.color-hero__bottom {
  position: relative;
  z-index: 1;
  padding: 0 24px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.color-hero__title {
  font-size: clamp(44px, 9vw, 88px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.color-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.color-hero__count {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.color-hero__swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
}

/* ---- Color Nav Strip ---- */
.color-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 60px;
  z-index: 40;
}
.color-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.color-nav__inner::-webkit-scrollbar { display: none; }
.color-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px 10px 6px;
  border-radius: 12px;
  transition: background 200ms ease;
  text-decoration: none;
}
.color-nav__item:hover { background: var(--surface); }
.color-nav__item.active { background: var(--surface); }
.color-nav__dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 200ms ease, transform 200ms ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.color-nav__item.active .color-nav__dot {
  border-color: var(--black);
  transform: scale(1.15);
}
.color-nav__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
}
.color-nav__item.active .color-nav__label { color: var(--black); }

/* ---- Filter bar (sticky below color nav) ---- */
.color-filter-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: calc(60px + 65px);
  z-index: 39;
}
.color-filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
.color-filter-bar__inner::-webkit-scrollbar { display: none; }

.sub-filter-tab {
  padding: 14px 18px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap; cursor: pointer;
  transition: all var(--t); flex-shrink: 0;
}
.sub-filter-tab.active { color: var(--black); border-bottom-color: var(--black); }
.sub-filter-tab:hover { color: var(--text); }

/* separator between gender tabs and category chips */
.color-filter-bar__sep {
  width: 1px; height: 20px;
  background: var(--border-dark);
  flex-shrink: 0;
  margin: 0 8px;
  align-self: center;
}

/* category chips inside filter bar */
.color-filter-bar .filter-chip {
  padding: 5px 14px;
  font-size: 11px;
  margin: 0 2px;
}

/* view toggle + count row */
.color-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Legacy fallback (kept for compatibility) ---- */
.color-page-header { display: none; }
.color-page-title { display: none; }
.color-page-count { font-size: 13px; color: var(--text-muted); }

.sub-filter-bar {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.sub-filter-bar::-webkit-scrollbar { display: none; }

/* ============================================================
   24. PAGE — Category
   ============================================================ */
.gender-tabs {
  display: flex; background: var(--surface);
  padding: 4px; border-radius: var(--radius-md);
  gap: 4px; width: fit-content;
  margin-bottom: 32px;
}
.gender-tab {
  padding: 10px 24px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: calc(var(--radius-md) - 2px);
  transition: all var(--t); cursor: pointer;
  color: var(--text-muted);
}
.gender-tab.active { background: var(--white); color: var(--black); box-shadow: var(--shadow-sm); }
.gender-tab:hover:not(.active) { color: var(--text); }

/* ============================================================
   25. RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .header__nav { display: none; }
  .header__search { display: none; }
  .header__hamburger { display: flex; }
}
@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}
@media (max-width: 639px) {
  .form-row { grid-template-columns: 1fr; }
}

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

.animate-fade-up { animation: fadeInUp 500ms ease both; }
.animate-fade { animation: fadeIn 400ms ease both; }
.animate-slide-right { animation: slideInRight 400ms ease both; }

/* Stagger */
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 60ms; }
.stagger > *:nth-child(3) { animation-delay: 120ms; }
.stagger > *:nth-child(4) { animation-delay: 180ms; }
.stagger > *:nth-child(5) { animation-delay: 240ms; }
.stagger > *:nth-child(6) { animation-delay: 300ms; }
.stagger > *:nth-child(7) { animation-delay: 360ms; }
.stagger > *:nth-child(8) { animation-delay: 420ms; }

/* Scroll-triggered */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   27. ADMIN — Base Styles
   ============================================================ */
.admin-body {
  background: #F4F4F5;
  font-family: var(--font);
  min-height: 100vh;
}
.admin-layout {
  display: flex; min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--black); color: var(--white);
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 50; overflow-y: auto;
  transition: transform var(--t-slow);
  display: flex; flex-direction: column;
}
.admin-sidebar__logo {
  padding: 24px;
  font-size: 18px; font-weight: 900;
  letter-spacing: -0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar__logo span { font-weight: 300; opacity: 0.5; }
.admin-sidebar__badge {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.1);
  padding: 3px 8px; border-radius: var(--radius-sm);
  margin-top: 4px; display: inline-block;
}
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav__section {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.4; padding: 12px 12px 8px;
}
.admin-nav__link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all var(--t);
  margin-bottom: 2px;
}
.admin-nav__link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.admin-nav__link.active { color: var(--white); background: rgba(255,255,255,0.12); }
.admin-nav__link svg { flex-shrink: 0; opacity: 0.7; }
.admin-nav__link.active svg { opacity: 1; }
.admin-nav__badge {
  margin-left: auto;
  background: #D32F2F;
  color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: var(--radius-full);
  min-width: 20px; text-align: center;
}
.admin-sidebar__footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar__store-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px; color: rgba(255,255,255,0.6);
  transition: all var(--t);
}
.admin-sidebar__store-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* Main content */
.admin-main {
  margin-left: 260px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
@media (max-width: 1023px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}

/* Admin topbar */
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; position: sticky; top: 0; z-index: 40;
}
.admin-topbar__title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.admin-topbar__actions { display: flex; align-items: center; gap: 12px; }

/* Admin content */
.admin-content { padding: 24px; flex: 1; }

/* Stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
}
.stat-card__label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 8px;
}
.stat-card__value {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 4px;
}
.stat-card__delta {
  font-size: 12px; color: #2E7D32; font-weight: 500;
}
.stat-card__delta.neg { color: #D32F2F; }
.stat-card__icon {
  float: right;
  width: 40px; height: 40px;
  background: var(--surface);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
}

/* Admin table */
.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.admin-table {
  width: 100%; border-collapse: collapse;
}
.admin-table th {
  padding: 12px 16px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted);
  background: var(--surface);
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #FAFAFA; }
.admin-table__img {
  width: 40px; height: 50px;
  object-fit: cover; border-radius: var(--radius);
  background: var(--surface);
}

/* Status badges */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600;
}
.status-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: currentColor;
}
.status--pending { color: #E65100; background: rgba(230,81,0,0.1); }
.status--contacted { color: #1565C0; background: rgba(21,101,192,0.1); }
.status--shipped { color: #6A1B9A; background: rgba(106,27,154,0.1); }
.status--delivered { color: #2E7D32; background: rgba(46,125,50,0.1); }

/* Admin forms */
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}
.admin-card__title {
  font-size: 15px; font-weight: 700;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Shipping label */
@media print {
  body * { visibility: hidden; }
  .print-zone, .print-zone * { visibility: visible; }
  .print-zone { position: absolute; inset: 0; }
  .label-sheet { page-break-after: always; }
}
.label-card {
  border: 2px solid var(--black);
  padding: 24px;
  width: 100%;
  max-width: 400px;
  font-family: var(--font);
  page-break-inside: avoid;
  border-radius: var(--radius-md);
}
.label-card__header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--black);
  padding-bottom: 16px; margin-bottom: 16px;
}
.label-card__logo { font-size: 20px; font-weight: 900; letter-spacing: -0.04em; }
.label-card__title { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.label-card__section { margin-bottom: 12px; }
.label-card__label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #666; }
.label-card__value { font-size: 14px; font-weight: 600; margin-top: 2px; }
.label-card__value--lg { font-size: 18px; font-weight: 800; }
.label-card__footer {
  border-top: 2px solid var(--black);
  padding-top: 12px; margin-top: 16px;
  font-size: 10px; color: #666;
  display: flex; justify-content: space-between;
}

/* ============================================================
   28. MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
  padding: 20px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95) translateY(8px);
  transition: transform var(--t-slow);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal__header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.modal__title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.modal__close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--text-secondary);
  transition: all var(--t); font-size: 20px;
}
.modal__close:hover { color: var(--black); background: var(--surface); }
.modal__body { padding: 24px; }
.modal__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 12px; justify-content: flex-end;
  sticky: bottom 0; background: var(--white);
}

/* ============================================================
   29. EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center; padding: 64px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-state__icon {
  width: 64px; height: 64px;
  background: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); margin-bottom: 8px;
}
.empty-state__title { font-size: 17px; font-weight: 700; }
.empty-state__desc { font-size: 14px; color: var(--text-secondary); max-width: 320px; }

/* ============================================================
   30. PWA INSTALL BANNER
   ============================================================ */
.pwa-banner {
  display: none;
  position: fixed; bottom: 80px; left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px 20px;
  width: calc(100% - 32px);
  max-width: 360px;
  border: 1px solid var(--border);
  animation: fadeInUp 400ms ease;
}
.pwa-banner.show { display: flex; gap: 12px; align-items: center; }
.pwa-banner__icon {
  width: 48px; height: 48px;
  background: var(--black);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 20px; font-weight: 900;
  flex-shrink: 0;
}
.pwa-banner__text { flex: 1; }
.pwa-banner__title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.pwa-banner__desc { font-size: 12px; color: var(--text-secondary); }
.pwa-banner__actions { display: flex; gap: 8px; margin-top: 10px; }

/* ============================================================
   31. SCROLLBAR STYLING
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   32. FOCUS VISIBLE
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   33. HERO SLIDER v2.0
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  height: 70dvh; /* Safari 15.4+: respeta address bar */
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
  background: var(--black);
  /* NO translateZ aquí — rompe overflow:hidden en Safari */
}
.hero-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.hero-slider__slide {
  min-width: 100%;
  width: 100%;    /* Safari: dimensión explícita */
  flex-shrink: 0; /* Safari: no colapsa las slides */
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #111;
}
.hero-slider__img {
  width: 100%;
  height: 100%;
  -webkit-object-fit: cover; /* Safari legacy */
  object-fit: cover;
  display: block; /* Safari: evita espacio extra bajo la imagen */
  -webkit-transition: -webkit-transform 8s linear;
  transition: transform 8s linear;
  /* Sin opacity:0 inicial — Safari a veces no corre la animation */
}
.hero-slider__slide.active .hero-slider__img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}
@-webkit-keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.3) 100%);
}
.hero-slider__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 40px;
  color: var(--white);
  z-index: 2;
}
.hero-slider__subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 12px;
}
.hero-slider__title {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 600px;
}
.hero-slider__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--t);
}
.hero-slider__cta:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}
.hero-slider__nav {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--t);
}
.hero-slider__dot.active {
  background: var(--white);
  width: 24px;
  border-radius: var(--radius-full);
}
.hero-slider__arrow {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  transition: all var(--t);
  cursor: pointer;
}
.hero-slider__arrow:hover {
  background: rgba(255,255,255,0.25);
}
.hero-slider__arrow--prev { left: 16px; }
.hero-slider__arrow--next { right: 16px; }
@media (max-width: 767px) {
  .hero-slider { height: 55vh; min-height: 320px; }
  .hero-slider__content { padding: 32px 20px; }
  .hero-slider__nav { right: 20px; bottom: 16px; }
  .hero-slider__arrow { display: none; }
}

/* ============================================================
   34. COLOR COVERFLOW CAROUSEL v2.0
   ============================================================ */
.coverflow {
  position: relative;
  padding: 56px 0 32px;
  overflow: hidden;
}
.coverflow__header {
  text-align: center;
  padding: 0 20px 40px;
}
.coverflow__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.coverflow__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.coverflow__track-wrapper {
  position: relative;
  padding: 20px 0;
}
.coverflow__track {
  display: flex;
  gap: 16px;
  padding: 0 calc(50vw - 120px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.coverflow__track:active { cursor: grabbing; }
.coverflow__track::-webkit-scrollbar { display: none; }

.coverflow__item {
  flex: 0 0 240px;
  height: 300px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 500ms ease,
              filter 400ms ease;
  cursor: pointer;
  will-change: transform;
  -webkit-filter: brightness(0.7) saturate(0.8);
  filter: brightness(0.7) saturate(0.8);
  /* Safari: perspective() DEBE ser la primera función del transform */
  -webkit-transform: perspective(800px) scale(0.85) rotateY(0deg);
  transform: perspective(800px) scale(0.85) rotateY(0deg);
}
.coverflow__item.active {
  -webkit-transform: perspective(800px) scale(1.1) rotateY(0deg);
  transform: perspective(800px) scale(1.1) rotateY(0deg);
  -webkit-filter: brightness(1) saturate(1);
  filter: brightness(1) saturate(1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 5;
}
.coverflow__item.prev-1 {
  -webkit-transform: perspective(800px) scale(0.92) rotateY(8deg);
  transform: perspective(800px) scale(0.92) rotateY(8deg);
  -webkit-filter: brightness(0.8) saturate(0.9);
  filter: brightness(0.8) saturate(0.9);
}
.coverflow__item.next-1 {
  -webkit-transform: perspective(800px) scale(0.92) rotateY(-8deg);
  transform: perspective(800px) scale(0.92) rotateY(-8deg);
  -webkit-filter: brightness(0.8) saturate(0.9);
  filter: brightness(0.8) saturate(0.9);
}

.coverflow__item-bg {
  position: absolute;
  inset: 0;
  transition: transform 600ms ease;
}
.coverflow__item:hover .coverflow__item-bg {
  transform: scale(1.05);
}
.coverflow__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  transition: background var(--t);
}
.coverflow__item.active .coverflow__item-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
}
.coverflow__item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: var(--white);
  z-index: 1;
}
.coverflow__item-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.coverflow__item-count {
  font-size: 12px;
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.coverflow__item-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 300ms ease;
}
.coverflow__item.active .coverflow__item-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* Coverflow navigation arrows */
.coverflow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: var(--black);
  z-index: 10;
  cursor: pointer;
  transition: all var(--t);
}
.coverflow__arrow:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-xl);
}
.coverflow__arrow--prev { left: max(16px, calc(50vw - 200px)); }
.coverflow__arrow--next { right: max(16px, calc(50vw - 200px)); }

/* Active color products reveal */
.coverflow__products {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
  max-height: 0;
  overflow: hidden;
}
.coverflow__products.visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 2000px;
  padding-top: 32px;
  padding-bottom: 40px;
}
.coverflow__products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.coverflow__products-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.coverflow__products-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t);
}
.coverflow__products-link:hover { color: var(--black); }
.coverflow__products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 640px) {
  .coverflow__products-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
}
@media (min-width: 1024px) {
  .coverflow__products-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
}

/* Indicator dots */
.coverflow__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 0 0;
}
.coverflow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-dark);
  cursor: pointer;
  transition: all var(--t);
}
.coverflow__dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--black);
}

@media (max-width: 767px) {
  .coverflow__item {
    flex: 0 0 200px;
    height: 260px;
  }
  .coverflow__track {
    gap: 12px;
    padding: 0 calc(50vw - 100px);
  }
  .coverflow__arrow { display: none; }
  .coverflow__arrow--prev, .coverflow__arrow--next { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .coverflow__item {
    flex: 0 0 220px;
    height: 280px;
  }
}
@media (min-width: 1200px) {
  .coverflow__item {
    flex: 0 0 280px;
    height: 350px;
  }
  .coverflow__track {
    padding: 0 calc(50vw - 140px);
  }
}
