/* ==========================================================================
   PERFUMES RANCAGUA ACM - ESTILOS OFICIALES
   Diseño de Alta Gama para Catálogo de Decants
   ========================================================================== */

/* Variables de diseño y paleta cromática de lujo */
:root {
  --bg-primary: #0a0b0d;
  --bg-secondary: #121418;
  --bg-card: #161920;
  --bg-card-hover: #1c202a;
  --bg-input: #1a1e26;
  --bg-modal: #13161c;

  --accent-gold: #cda351;
  --accent-gold-light: #e5c378;
  --accent-gold-dark: #a27b30;
  --accent-gold-glow: rgba(205, 163, 81, 0.25);
  
  --text-primary: #f8f9fa;
  --text-secondary: #a3abb9;
  --text-muted: #6e7686;
  --text-gold: #dfba6a;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(205, 163, 81, 0.3);
  --border-gold-strong: rgba(205, 163, 81, 0.7);

  --whatsapp-color: #25d366;
  --whatsapp-hover: #20ba59;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 20px 40px -12px rgba(205, 163, 81, 0.2);
  --shadow-modal: 0 25px 60px rgba(0, 0, 0, 0.85);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Contenedor estándar */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Tipografía */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.text-gold {
  color: var(--text-gold);
}

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-normal);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold-glow);
  transition: transform var(--transition-fast);
}

.brand-identity:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.05);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-title span {
  color: var(--accent-gold);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Navegación desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botones genéricos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #0a0b0d;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(205, 163, 81, 0.4);
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(205, 163, 81, 0.08);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-large {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* ==========================================================================
   PORTADA / HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 75% 30%, rgba(205, 163, 81, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.4) 0%, var(--bg-primary) 100%),
    url('assets/images/hero-perfume.jpeg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-gold);
  padding: 5rem 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 13, 0.96) 0%, rgba(10, 11, 13, 0.85) 50%, rgba(10, 11, 13, 0.4) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(205, 163, 81, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

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

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-slogan {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-gold);
  padding: 0.5rem 1rem;
  background: rgba(205, 163, 81, 0.08);
  border-left: 3px solid var(--accent-gold);
  margin-bottom: 2.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Barra de confianza / características clave */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(205, 163, 81, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feat-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.hero-feat-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECCIÓN DE CATÁLOGO Y FILTROS
   ========================================================================== */
.catalog-section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Barra de herramientas / Búsqueda y Filtros */
.catalog-toolbar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

.toolbar-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

/* Caja de búsqueda */
.search-box-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.75rem 2.8rem 0.75rem 2.8rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold-glow);
  background: #1f242e;
}

.clear-search-btn {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: none;
  transition: color var(--transition-fast);
}

.clear-search-btn.visible {
  display: block;
}

.clear-search-btn:hover {
  color: var(--text-primary);
}

/* Selectores de marca y orden */
.filter-dropdowns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.custom-select {
  padding: 0.75rem 1.25rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.custom-select:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Botones de categoría */
.category-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.cat-filter-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cat-filter-btn:hover {
  border-color: var(--border-gold);
  color: var(--text-primary);
}

.cat-filter-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0a0b0d;
  box-shadow: 0 2px 10px var(--accent-gold-glow);
}

.reset-filters-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.reset-filters-btn:hover {
  color: var(--accent-gold);
}

/* Estado de resultados */
.results-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PRODUCT GRID & TARJETAS DE PERFUMES
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold-light);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}

/* Badges de género y marca */
.card-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-category {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.badge-category.badge-hombre {
  background: rgba(56, 128, 255, 0.15);
  color: #82b1ff;
  border-color: rgba(56, 128, 255, 0.3);
}

.badge-category.badge-mujer {
  background: rgba(255, 64, 129, 0.15);
  color: #ff80ab;
  border-color: rgba(255, 64, 129, 0.3);
}

.badge-category.badge-unisex {
  background: rgba(205, 163, 81, 0.15);
  color: var(--accent-gold-light);
  border-color: var(--border-gold);
}

.badge-brand {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
}

/* Contenedor de la fotografía original */
.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.08);
}

.image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
  transition: transform var(--transition-normal);
}

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

.quick-view-btn {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(10, 11, 13, 0.9);
  color: var(--accent-gold-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Información del producto */
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand-label {
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.product-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.2rem;
}

/* Selector de tamaños de decants */
.size-selector-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.size-pill-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.size-pill {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-pill .size-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.size-pill .size-price-mini {
  font-size: 0.7rem;
  color: var(--accent-gold);
}

.size-pill:hover {
  border-color: var(--border-gold);
  background: rgba(205, 163, 81, 0.08);
}

.size-pill.active {
  background: rgba(205, 163, 81, 0.2);
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

.size-pill.active .size-name {
  color: var(--accent-gold-light);
}

/* Precio actual destacado */
.current-price-display {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(205, 163, 81, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.price-size-tag {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--accent-gold-light);
  letter-spacing: -0.01em;
}

/* Botón de WhatsApp */
.card-actions {
  margin-top: auto;
}

.card-actions .btn-whatsapp {
  width: 100%;
}

.card-page-ref {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
}

/* Estado sin resultados */
.no-results-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-lg);
}

.no-results-icon {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.no-results-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.no-results-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   PROCESO DE COMPRA & EXPERIENCIA (Extraído de Pág. 17 original)
   ========================================================================== */
.process-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-gold-light);
}

.process-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(205, 163, 81, 0.15);
  line-height: 1;
}

.process-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(205, 163, 81, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.process-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.process-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Métodos de Pago Banner */
.payment-methods-box {
  margin-top: 3.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.payment-title-wrap h4 {
  font-size: 1.3rem;
  color: var(--accent-gold-light);
  margin-bottom: 0.35rem;
}

.payment-title-wrap p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.payment-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

.payment-pill svg {
  color: var(--accent-gold);
}

/* Banner de PDF Oficial */
.pdf-banner-box {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(205, 163, 81, 0.1), rgba(10, 11, 13, 0.9));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.pdf-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pdf-icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(205, 163, 81, 0.2);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
}

.pdf-text h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.pdf-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   MODAL DE PRODUCTO / VISTA RÁPIDA
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 2;
  background: var(--bg-modal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-gold);
  color: #0a0b0d;
}

.modal-body {
  padding: 2rem;
}

/* Layout del Modal */
.modal-product-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.modal-image-frame {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-original-ref {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--accent-gold-light);
  margin-top: 0.85rem;
  justify-content: center;
}

.modal-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.85rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.modal-brand {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.modal-brand strong {
  color: var(--accent-gold);
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-sizes-box {
  margin-bottom: 1.5rem;
}

.modal-box-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.modal-size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.modal-size-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-size-card:hover {
  border-color: var(--border-gold);
}

.modal-size-card.active {
  background: rgba(205, 163, 81, 0.15);
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold-glow);
}

.modal-size-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.modal-size-price {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--accent-gold-light);
  margin-bottom: 0.2rem;
}

.modal-size-badge {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.modal-size-card.active .modal-size-badge {
  color: var(--text-gold);
}

.modal-guarantee {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(205, 163, 81, 0.08);
  border-left: 3px solid var(--accent-gold);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.75rem;
  font-size: 0.82rem;
}

.modal-guarantee strong {
  display: block;
  color: var(--accent-gold-light);
  margin-bottom: 0.15rem;
}

.modal-guarantee span {
  color: var(--text-secondary);
}

.modal-action-row .btn-whatsapp {
  width: 100%;
}

/* ==========================================================================
   FOOTER / PIE DE PÁGINA
   ========================================================================== */
.site-footer {
  background: #07080a;
  border-top: 1px solid var(--border-gold);
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--accent-gold-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--accent-gold);
}

.footer-contact-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-credits span {
  color: var(--accent-gold);
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-color);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-hover);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.floating-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-color);
  animation: pulse-ring 2s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVIDAD Y MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Simplificado para móviles */
  }

  .hero-section {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .modal-product-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
  }

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

  .payment-methods-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdf-banner-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1.05rem;
  }
  
  .brand-subtitle {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .modal-body {
    padding: 1.25rem;
  }

  .modal-size-grid {
    grid-template-columns: 1fr;
  }
}
