/* ═══════════════════════════════════════════════════════════════════
   TRACKSUITARG.COM — Estética refinada inspirada en streetwear premium
   Paleta: Negro / Blanco / Terracotta — Tipografía: Syne + DM Sans
   ═══════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-elevated: #161616;
  --text-primary: #f5f5f0;
  --text-secondary: #a8a8a0;
  --text-muted: #6b6b65;
  --accent: #d4a574;
  --accent-hover: #e4b888;
  --accent-subtle: rgba(212, 165, 116, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden; /* clip fallback para browsers viejos */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: auto;
}

/* ═══ Header minimalista ═══ */
.header-glass {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s var(--ease-out-expo);
}

.header-glass.scrolled {
  border-color: var(--border-hover);
}

.header-glass .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: rgba(245, 245, 240, 0.75);
  letter-spacing: 0.02em;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* logo negro → blanco */
  transition: transform 0.5s var(--ease-out-expo);
}

.logo-link:hover .logo {
  transform: scale(1.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

nav li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.35s var(--ease-out-expo);
  letter-spacing: 0.02em;
}

nav li a:hover {
  color: var(--accent);
}

nav li a.active {
  color: var(--accent);
  background: var(--accent-subtle);
  font-weight: 600;
}

nav li a:hover {
  color: var(--accent);
}

/* ═══ HERO CINEMÁTICO ═══ */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: clip;
}

.hero-bg-animated {
  position: absolute;
  inset: -20%;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(212, 165, 116, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
  animation: gradientShift 12s ease-in-out infinite alternate;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

@keyframes gradientShift {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  100% { transform: scale(1.1) rotate(2deg); opacity: 0.9; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem 3rem;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.4rem;
}

.hero-word {
  display: inline-block;
}

.hero-logo {
  width: clamp(72px, 14vw, 140px);
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.hero-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 24px rgba(212, 165, 116, 0.7));
}

.hero-word .char {
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  color: #0a0a0a;
  border: 2px solid #fff;
  padding: 1rem 2rem;
  min-height: 52px;
  min-width: 200px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 4px 24px rgba(255,255,255,0.2);
  opacity: 1;
  flex-shrink: 0;
  margin-top: 0.5rem;
  animation: heroCtaFadeIn 0.8s ease 1s both;
}

@keyframes heroCtaFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.4);
}

.hero-cta svg {
  transition: transform 0.3s ease;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-cta.hero-cta-text {
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  font-weight: 500;
  max-width: 30rem;
  margin: 0.75rem auto 0;
  text-align: center;
  color: #fff;
  cursor: default;
}
.hero-cta.hero-cta-text:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

/* Aviso mantenimiento */
.aviso-mantenimiento {
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.aviso-mantenimiento p {
  margin: 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ═══ MARQUEE - siempre corriendo (CSS puro) ═══ */
.marquee-wrap {
  background: var(--bg-secondary);
  padding: 1rem 0;
  overflow: clip;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 2rem;
}

.marquee .dot {
  color: var(--accent);
  padding: 0 0.5rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ LOOKBOOK BENTO — Nuevos Lanzamientos ═══ */
.lookbook-section {
  position: relative;
  padding: 6rem 0 8rem;
  background: var(--bg-primary);
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.lookbook-sticky-label {
  flex-shrink: 0;
  padding-left: 2rem;
  z-index: 2;
  pointer-events: none;
}

.lookbook-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.lookbook-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.lookbook-grid-wrap {
  flex: 1;
  min-width: 0;
  padding-right: 2rem;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.lookbook-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}

.lookbook-card:hover {
  transform: scale(1.02);
}

.lookbook-card-bg {
  position: absolute;
  inset: 0;
}

.lookbook-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(3px) brightness(0.4);
  transition: all 0.6s var(--ease-out-expo);
}

.lookbook-card:hover .lookbook-card-bg img {
  opacity: 0.35;
  filter: blur(2px) brightness(0.5);
  transform: scale(1.02);
}

.lookbook-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem 1rem;
  opacity: 0.4;
  backdrop-filter: blur(2px);
  transition: opacity 0.4s ease;
}

.lookbook-card:hover .lookbook-card-overlay {
  opacity: 0.85;
}

.lookbook-overlay-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/WhatsApp Image 2026-02-24 at 16.07.58.jpeg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  filter: blur(2px);
}

.lookbook-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.lookbook-card-arrow {
  font-size: 1.25rem;
  color: var(--accent);
}

/* Tamaños bento */
.lookbook-hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.lookbook-med {
  grid-row: span 1;
}

.lookbook-small {
  grid-row: span 1;
}

.lookbook-cta {
  grid-column: span 2;
  grid-row: span 1;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.lookbook-cta:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.lookbook-cta-inner {
  text-align: center;
}

.lookbook-cta-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.lookbook-cta-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ═══ Botones generales ═══ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.stock-banner strong {
  color: var(--accent);
}

/* ═══ Sección de productos con scroll reveal ═══ */
.featured-products {
  padding: 6rem 0;
  position: relative;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.products-grid-limited {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.product-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-secondary);
}

.product-card .product-image-wrapper {
  position: absolute;
  inset: 0;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: saturate(0.92) brightness(0.95);
  transition: transform 1.2s var(--ease-out-expo), opacity 0.5s ease, filter 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.04);
  opacity: 1;
  filter: saturate(1) brightness(1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  transform: translateY(12px);
  transition: transform 0.5s var(--ease-out-expo);
}

.product-card:hover .product-overlay h3 {
  transform: translateY(0);
}

.view-more {
  font-size: 0.85rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.5s var(--ease-out-expo) 0.05s;
}

.product-card:hover .view-more {
  transform: translateY(0);
  opacity: 1;
}

/* ═══ CONTACTO — Statement + Acción ═══ */
.contact-section {
  padding: 8rem 0 10rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--accent), var(--border), transparent);
  opacity: 0.6;
}

.contact-canvas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-statement {
  padding-right: 2rem;
}

.contact-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s var(--ease-out-expo);
}

.contact-channel:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  transform: translateX(6px);
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 8px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-channel:hover .contact-channel-icon {
  background: var(--accent);
  color: var(--bg-primary);
}

.contact-channel-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-channel-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-location {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Form lado derecho */
.contact-form-wrap {
  padding: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form-modern input,
.contact-form-modern textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form-modern input::placeholder,
.contact-form-modern textarea::placeholder {
  color: var(--text-muted);
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.contact-form-modern textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-contact {
  align-self: flex-start;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.btn-contact:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-subtle);
}

/* Legacy contacto (catalogo, etc) */
.contact-luxury {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.contact-header { text-align: center; margin-bottom: 2rem; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.info-item { display: flex; gap: 1rem; padding: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 1rem; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary);
}
.contact-form { padding: 2rem; background: var(--bg-secondary); border-radius: 10px; }

/* ═══ Footer minimalista ═══ */
.footer {
  background: var(--bg-primary);
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

/* ═══ Contenedor global ═══ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ═══ Botón flotante carrito ═══ */
#floatingCart {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  left: auto !important;
  top: auto !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  transition: all 0.4s var(--ease-out-expo) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3) !important;
}

#floatingCart:hover {
  transform: scale(1.08) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.15) !important;
}

#floatingCart svg {
  width: 22px !important;
  height: 22px !important;
  stroke: var(--text-primary) !important;
}

#floatingCart .floating-cart-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
  border-radius: 10px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  align-items: center !important;
  justify-content: center !important;
  display: none;
}

#floatingCart .floating-cart-badge.show {
  display: flex !important;
}

/* ═══ Scroll reveal utilities (para GSAP) ═══ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
}

/* ═══ Página Catálogo (alternativa limpia) ═══ */
.catalogo-page {
  min-height: 100vh;
  padding-bottom: 4rem;
}

.catalogo-header {
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.catalogo-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.5rem 0 2rem;
  letter-spacing: -0.02em;
}

.catalogo-header .search-box {
  max-width: 400px;
  margin: 0 auto;
}

.catalogo-header .section-label {
  margin-bottom: 0.5rem;
}

.catalogo-grid-wrap {
  padding: 3rem 0;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.catalogo-card {
  display: grid;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease-out-expo);
}

.catalogo-card:hover {
  transform: translateY(-4px);
}

.catalogo-card-img {
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 0.75rem;
}

.catalogo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: saturate(0.9) brightness(0.95);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.6s var(--ease-out-expo);
}

.catalogo-card:hover .catalogo-card-img img {
  opacity: 1;
  filter: saturate(1) brightness(1);
  transform: scale(1.03);
}

.catalogo-card-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.catalogo-card-cta {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.catalogo-card:hover .catalogo-card-cta {
  color: var(--accent);
}

/* Search box genérico */
.search-box {
  max-width: 500px;
}

#searchInput {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.3s ease;
}

#searchInput:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

#searchInput::placeholder {
  color: var(--text-muted);
}

/* Legacy */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0 5rem;
}

/* ═══ Modal producto ═══ */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: modalFadeIn 0.4s var(--ease-out-expo);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
  display: flex;
  gap: 2rem;
  align-items: stretch;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.carousel-container {
  width: 55%;
  position: relative;
}

.carousel {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-primary);
}

.carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease-out-expo);
}

.carousel-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  padding: 1rem;
  opacity: 0.95;
  filter: saturate(0.95);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.prev { left: 12px; }
.next { right: 12px; }

.product-details {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-details h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

#productDescription {
  margin-bottom: 1.5rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-size: 1rem;
}

.product-price {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.add-to-cart-icon {
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.4s var(--ease-out-expo);
  width: fit-content;
}

.add-to-cart-icon:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-subtle);
}

.add-to-cart-icon svg {
  stroke: var(--bg-primary);
  width: 18px;
  height: 18px;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 100;
}

.close:hover {
  color: var(--text-primary);
}

/* ═══ Toast (feedback en lugar de alert) ═══ */
.toast {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.3s ease;
}
.toast.toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast-success { color: var(--text-primary); }
.toast-success .toast-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}
.toast-error .toast-icon {
  color: #e57373;
}

/* ═══ Carrito ═══ */
.cart-luxury {
  padding: 4rem 2rem;
  background: var(--bg-primary);
  min-height: 80vh;
}

.cart-header .glow-text {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.empty-cart {
  text-align: center;
  padding: 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.empty-cart p {
  color: var(--text-secondary);
}

.cart-items {
  max-width: 700px;
  margin: 0 auto 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item .item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-primary);
}

.cart-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item .item-image .no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item .item-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.cart-item .item-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.item-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
}

.qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-item-remove {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
}

.cart-item-remove:hover {
  border-color: rgba(229, 115, 115, 0.5);
  color: #e57373;
}

.cart-item-remove svg {
  flex-shrink: 0;
}

.btn-secondary, .btn-checkout {
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-checkout {
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
}

.btn-checkout:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.cart-actions-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* remove-btn legacy - ya no se usa, reemplazado por cart-item-remove */

/* ═══ Responsive — Mobile First ═══ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out-expo);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    cursor: pointer;
  }

  body.nav-open .nav-overlay {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  body.nav-open .header-glass {
    z-index: 1002;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 1024px) {
  .products-grid-limited {
    grid-template-columns: repeat(2, 1fr);
  }

  .lookbook-grid {
    grid-auto-rows: 200px;
  }
}

@media (max-width: 768px) {
  html {
    touch-action: pan-y;
  }

  .header-glass .container {
    padding: 1rem 1.25rem;
  }

  .logo-text {
    font-size: 18px;
  }

  .hero-cinematic {
    min-height: 100svh;
    padding: 1rem 0 2rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .hero-title {
    font-size: clamp(2.25rem, 12vw, 4rem);
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
  }

  .hero-logo {
    width: clamp(48px, 12vw, 72px);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin: 0 auto 1.5rem;
    padding: 0 0.5rem;
  }

  .hero-cta {
    width: 100%;
    max-width: 300px;
    min-height: 48px;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }

  .marquee-wrap {
    padding: 0.75rem 0;
  }

  #floatingCart {
    bottom: max(1.25rem, env(safe-area-inset-bottom)) !important;
    right: max(1.25rem, env(safe-area-inset-right)) !important;
    width: 52px !important;
    height: 52px !important;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .contact-canvas {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.25rem;
  }

  .contact-section {
    padding: 4rem 0 6rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .cart-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
    padding: 1rem 0;
  }
  .cart-item .item-image { width: 60px; height: 60px; grid-row: span 2; }
  .cart-item .item-info { grid-column: 2; grid-row: 1; }
  .cart-item .cart-item-remove {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    justify-self: start;
    align-self: start;
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
  .cart-item .item-qty-controls { margin-top: 0.25rem; }
  .qty-btn { width: 28px; height: 28px; font-size: 1rem; }

  .contact-statement {
    padding-right: 0;
  }

  .lookbook-section {
    flex-direction: column;
    padding: 4rem 0 6rem;
  }

  .lookbook-sticky-label {
    padding-bottom: 1rem;
  }

  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    padding: 0 1rem;
  }

  .lookbook-hero {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .lookbook-cta {
    grid-column: 1 / -1;
  }

  .catalogo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .modal-content {
    flex-direction: column;
  }

  .carousel-container, .product-details {
    width: 100%;
  }

  .carousel {
    height: 280px;
  }

  .marquee span {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta {
    max-width: 100%;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .catalogo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .catalogo-header {
    padding: 3rem 0 2rem;
  }

  .lookbook-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .lookbook-hero {
    grid-row: span 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-channel {
    padding: 0.9rem 1rem;
  }

  .contact-headline {
    font-size: 2rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-cta {
    font-size: 0.85rem;
    padding: 0.85rem 1.25rem;
  }

  .lookbook-grid {
    gap: 0.75rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
