/* ============================================================
   LUXU Y LOVERS — Premium Luxury Store Stylesheet
   ============================================================ */

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

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

:root {
  --white:       #FFFFFF;
  --black:       #111111;
  --gray-dark:   #333333;
  --gray-mid:    #666666;
  --gray-light:  #999999;
  --gray-border: #E8E8E8;
  --gray-bg:     #F8F8F8;
  --accent:      #B00000;
  --accent-dark: #8B0000;
  --gold:        #C9A84C;

  --font-serif:  'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Montserrat', system-ui, sans-serif;

  --ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --trans-fast:  0.2s var(--ease-premium);
  --trans-mid:   0.4s var(--ease-premium);
  --trans-slow:  0.7s var(--ease-premium);

  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.18);

  --container:  1280px;
  --header-h:   80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  -webkit-touch-callout: none; /* iOS: bloquea menú al mantener presionado */
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;        /* móvil: bloquea long-press "guardar imagen" */
}

/* Los contenedores de imagen sí reciben clics/toques */
a img, button img,
.product-card, .product-card *,
.gallery-thumb, .gallery-main-wrap,
.cat-card, .cat-card *,
.hero-slide, .featured-card {
  pointer-events: auto;
}
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Header ────────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans-mid), box-shadow var(--trans-mid);
}

#header.scrolled {
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
}

.logo-text span {
  color: var(--accent);
}

.header-nav { display: flex; align-items: center; gap: 36px; }

.nav-link {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--trans-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--trans-mid);
}

.nav-link:hover { color: var(--black); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--black); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.btn-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--black);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--trans-fast);
}

.btn-cart:hover { background: var(--accent); }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 50%;
  line-height: 1;
}

.btn-cart:hover .cart-count { background: var(--white); color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--black);
  transition: all var(--trans-fast);
}

/* ── Mobile Menu ───────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 32px 40px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--trans-mid), opacity var(--trans-mid);
  z-index: 999;
  display: none;
}

.mobile-menu.open { transform: translateY(0); opacity: 1; }

.mobile-nav { display: flex; flex-direction: column; gap: 20px; }

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-border);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Hero Slider ── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  transition: transform 7s ease;
}

/* Al activarse el slide, el zoom arranca */
.hero-slide.active img {
  transform: scale(1);
}

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

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s, width 0.3s;
}

.hero-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 55%,
    rgba(0,0,0,0.03) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-left: 80px;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-premium) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-premium) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  margin-bottom: 44px;
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-premium) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-premium) 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--trans-fast), transform var(--trans-fast);
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 36px;
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--trans-fast), border-color var(--trans-fast);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

/* ── Section Styles ────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-border);
}

.section-eyebrow {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
}

.section-link {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--black);
  transition: color var(--trans-fast), border-color var(--trans-fast);
}

.section-link:hover { color: var(--accent); border-color: var(--accent); }

/* ── Categories Grid ───────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-bg);
}

.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.category-card:hover img { transform: scale(1.08); }

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 12px;
  transition: background var(--trans-mid);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(176,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%);
}

.category-name {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
}

/* ── Filter Bar ────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
  border: 1px solid var(--gray-border);
  background: var(--white);
  transition: all var(--trans-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── Products Grid ─────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

/* ── Product Card ──────────────────────────────────────────── */
.product-card {
  position: relative;
  cursor: pointer;
  background: var(--white);
}

.product-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-bg);
  margin-bottom: 16px;
}

.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

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

.product-tags {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}

.tag-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
}

.tag-badge.oferta        { background: var(--accent); }
.tag-badge.pocas-unidades{ background: #8B6914; }
.tag-badge.nuevo-ingreso { background: #1B5E20; }
.tag-badge.mas-vendido   { background: #1a237e; }

.product-card-action {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: rgba(17,17,17,0.93);
  backdrop-filter: blur(4px);
  transform: translateY(100%);
  transition: transform var(--trans-mid);
  display: flex;
  justify-content: center;
}

.product-card:hover .product-card-action { transform: translateY(0); }

.btn-add-cart {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--trans-fast);
}

.btn-add-cart:hover { background: var(--accent-dark); }

.product-brand {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 10px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-current {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
}

.price-original {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-light);
  text-decoration: line-through;
}

/* ── Pagination con flechas ─────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-border);
}

.pagination-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  background: transparent;
  color: var(--black);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  line-height: 1;
}
.pagination-arrow:hover:not(:disabled) {
  background: var(--black);
  color: var(--white);
  transform: scale(1.05);
}
.pagination-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  transform: none;
}

.pagination-info {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  min-width: 60px;
  text-align: center;
}

/* ── Botón "Ver más" (solo móvil) ───────────────────────────── */
.btn-ver-mas {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 12px 32px;
  background: transparent;
  border: 1.5px solid var(--black);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-ver-mas:hover {
  background: var(--black);
  color: var(--white);
}
.ver-mas-count {
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 0.65rem;
  transition: background 0.2s, color 0.2s;
}
.btn-ver-mas:hover .ver-mas-count {
  background: var(--white);
  color: var(--black);
}

/* ── About Section ────────────────────────────────────────── */
.about-section {
  position: relative;
  background-color: #111;          /* fallback si no carga la imagen */
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;   /* efecto parallax suave */
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  overflow: hidden;
}

/* Overlay oscuro sobre la imagen para que el texto sea legible */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.20) 0%,
    rgba(0, 0, 0, 0.10) 55%,
    rgba(0, 0, 0, 0.03) 100%
  );
  z-index: 0;
}

/* El contenido debe estar por encima del overlay */
.about-section .container {
  position: relative;
  z-index: 1;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about-left { position: sticky; top: calc(var(--header-h) + 40px); }

/* Títulos en blanco sobre fondo oscuro */
.about-section .section-eyebrow { color: #B00000; font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}
.about-section .section-title   { color: var(--white); }

.about-text {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
}

.about-text strong { font-weight: 600; color: var(--white); }
.about-text em     { font-style: italic; color: var(--gold); font-weight: 400; }

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-stat { display: flex; flex-direction: column; gap: 4px; }

.about-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 960px) {
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-left   { position: static; }
  .about-stats  { gap: 28px; }
}

/* ── Brands Marquee ────────────────────────────────────────── */
.brands-marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 28px 0;
}

.brands-marquee {
  display: flex;
  gap: 80px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.brand-item {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-light);
  white-space: nowrap;
  transition: color var(--trans-fast);
}

.brand-item:hover { color: var(--black); }

.brand-dot {
  color: var(--accent);
  font-size: 0.6rem;
}

/* ── Luxury Banner ─────────────────────────────────────────── */
.luxury-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--black);
}

.luxury-banner-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.luxury-banner-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.luxury-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.luxury-banner-eyebrow {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.luxury-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}

.luxury-banner-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin-bottom: 44px;
}

/* ── Footer ────────────────────────────────────────────────── */
#footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img { height: 38px; width: auto; filter: none; }

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all var(--trans-fast);
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-col-title {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  transition: color var(--trans-fast);
}

.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item svg { flex-shrink: 0; color: var(--accent); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #25D366;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 16px;
  transition: background var(--trans-fast);
}

.btn-whatsapp:hover { background: #128C7E; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.webdesign-link {
  color: #a9c54e;
  text-decoration: underline;
  font-weight: 700;
}


/* ── Cart Sidebar ──────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-mid);
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-sidebar {
  position: fixed;
  top: 0; right: -460px;
  width: 460px;
  height: 100%;
  background: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right var(--trans-mid);
}

.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 36px 28px;
  border-bottom: 1px solid var(--gray-border);
}

.cart-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.cart-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--gray-border);
  font-size: 1.1rem;
  color: var(--gray-dark);
  transition: all var(--trans-fast);
}

.cart-close:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px 36px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-border);
}

.cart-item-img {
  width: 80px;
  aspect-ratio: 3/4;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-bg);
}

.cart-item-details { flex: 1; }

.cart-item-brand {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 4px;
}

.cart-item-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 12px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: 1px solid var(--gray-border);
  font-size: 0.9rem;
  color: var(--gray-dark);
  transition: all var(--trans-fast);
}

.qty-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.qty-value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 28px;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.8rem;
  font-weight: 500;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.cart-remove {
  font-size: 1rem;
  color: var(--gray-light);
  padding: 4px;
  transition: color var(--trans-fast);
  align-self: flex-start;
}

.cart-remove:hover { color: var(--accent); }

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-light);
}

.cart-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }

.cart-empty-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--gray-dark);
}

.cart-footer {
  padding: 28px 36px;
  border-top: 1px solid var(--gray-border);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-border);
}

.subtotal-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.subtotal-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
}

.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px;
  background: #25D366;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--trans-fast);
}

.btn-checkout:hover { background: #128C7E; }

/* ── Product Page ──────────────────────────────────────────── */
.product-page { padding-top: var(--header-h); }

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 0;
  align-items: start;
}

.product-gallery {}

.gallery-main {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-bg);
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity var(--trans-mid);
}

/* ── Thumbnail carousel ── */
/* El wrap ocupa exactamente el mismo ancho que .gallery-main */
.gallery-thumbs-wrap {
  position: relative;   /* referencia para las flechas absolutas */
  width: 100%;
}

/* Flechas flotantes sobre las miniaturas, centradas verticalmente */
.thumb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  user-select: none;
  transition: background 0.2s, opacity 0.2s;
}
.thumb-prev { left: 0; }
.thumb-next { right: 0; }
.thumb-arrow:hover { background: rgba(0,0,0,0.95); }
.thumb-arrow:disabled { opacity: 0; pointer-events: none; }

/* Las miniaturas: scroll horizontal oculto, mismo ancho que la foto principal */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
  /* padding lateral para que las flechas no tapen la primera/última miniatura */
  padding: 0 34px;
  box-sizing: border-box;
}

.gallery-thumb {
  flex-shrink: 0;
  /* Ancho calculado: 4 miniaturas visibles dentro del área con padding */
  width: calc((100% - 3 * 8px) / 4);
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--gray-bg);
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity var(--trans-fast), border-color var(--trans-fast);
}

.gallery-thumb.active, .gallery-thumb:hover {
  opacity: 1;
  border-color: var(--black);
}

.product-info { position: sticky; top: calc(var(--header-h) + 40px); }

.product-info-brand {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.product-info-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 20px;
}

.product-info-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.product-info-price .price-current {
  font-size: 1.8rem;
  font-weight: 600;
}

.product-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.divider {
  height: 1px;
  background: var(--gray-border);
  margin: 32px 0;
}

.product-description {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-dark);
  margin-bottom: 36px;
}

.qty-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 12px;
}

.product-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}

.product-qty .qty-btn { width: 44px; height: 44px; font-size: 1.1rem; }
.product-qty .qty-value { width: 56px; height: 44px; font-size: 1rem; }

.btn-product-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px;
  background: var(--black);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--trans-fast);
}

.btn-product-cart:hover { background: var(--accent); }

.product-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.feature-icon { color: var(--accent); font-size: 0.9rem; }

/* ── Related Products ──────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ── Utility ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

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

/* ── Toast ─────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--black);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 400;
  box-shadow: var(--shadow-lg);
  transform: translateX(110%);
  animation: toastIn 0.4s var(--ease-premium) forwards, toastOut 0.4s var(--ease-premium) 2.6s forwards;
  pointer-events: auto;
}

.toast-icon { color: #4CAF50; font-size: 1.1rem; }

@keyframes toastIn  { to { transform: translateX(0); } }
@keyframes toastOut { to { transform: translateX(110%); } }

/* ── Page Loader ───────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 350px;
  height: auto;
  object-fit: contain;
  display: block;
}


.loader-line {
  width: 60px;
  height: 1px;
  background: var(--gray-border);
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: loadLine 1.2s ease-in-out infinite;
}

@keyframes loadLine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

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

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-top      { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .container { padding: 0 24px; }

  .header-nav { display: none; }
  .hamburger  { display: flex; }
  .mobile-menu { display: block; }

  .hero-content  { padding-left: 24px; max-width: 100%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .related-grid  { grid-template-columns: repeat(2, 1fr); }

  .product-hero { grid-template-columns: 1fr; gap: 40px; }
  .product-info { position: static; }
  .section { padding: 70px 0; }
}

@media (max-width: 640px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .filter-bar {
    gap: 6px;
    flex-wrap: nowrap;          /* una sola fila */
    overflow-x: auto;           /* scroll lateral con el dedo */
    padding-bottom: 8px;        /* espacio para que no tape el scrollbar */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    /* ocultar la barra de scroll nativa */
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex-shrink: 0;             /* cada botón mantiene su tamaño, no se encoge */
    padding: 6px 14px;
    font-size: 0.62rem;
    scroll-snap-align: start;
  }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-link { padding-bottom: 0; border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100%; right: -100%; }

  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline-white { width: 100%; justify-content: center; }
}
