/* ============================================================
Terra Perfumes — Estilos CSS
   ============================================================ */

:root {
  --warm-50: #FBF7F2;
  --warm-100: #F5EBE0;
  --warm-200: #EAD9C7;
  --warm-300: #D9C2A8;
  --warm-400: #B8967A;
  --warm-500: #997858;
  --warm-600: #7C553A;
  --warm-700: #5D3F2C;
  --warm-800: #3D2A20;
  --warm-900: #2A1B14;
  --gold-400: #D4AF6A;
  --gold-500: #C19A5B;
  --gold-600: #A8843F;
  --sage-400: #8FAA7B;
  --sage-500: #6B8E5A;
  --rose-400: #D99A8E;
  --rose-500: #C77B6E;
  --white: #ffffff;
  --red-50: #FEF2F2;
  --red-500: #EF4444;
  --red-600: #DC2626;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--warm-50);
  color: var(--warm-900);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); }

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* --- Section spacing --- */
.section { padding: 80px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.scroll-mt-20 { scroll-margin-top: 80px; }

/* --- Section headers --- */
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: var(--gold-600); }
.section-title { font-size: 30px; font-weight: 600; color: var(--warm-900); }
@media (min-width: 640px) { .section-title { font-size: 36px; } }
@media (min-width: 768px) { .section-title { font-size: 48px; } }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; background: var(--warm-800); padding: 12px 28px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.025em; color: var(--warm-50);
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--warm-900); box-shadow: 0 10px 20px rgba(61,42,32,0.2); }

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; background: linear-gradient(to right, var(--gold-500), var(--gold-400));
  padding: 12px 28px; font-size: 14px; font-weight: 500; letter-spacing: 0.025em; color: #fff;
  transition: all 0.3s;
}
.btn-gold:hover { background: linear-gradient(to right, var(--gold-600), var(--gold-500)); box-shadow: 0 10px 20px rgba(193,154,91,0.3); }
.btn-gold:active { transform: scale(0.95); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid var(--warm-300); background: rgba(255,255,255,0.6);
  padding: 12px 28px; font-size: 14px; font-weight: 500; color: var(--warm-800);
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--warm-800); background: var(--warm-800); color: var(--warm-50); }

/* --- Form fields --- */
.input-field {
  width: 100%; border-radius: 12px; border: 1px solid var(--warm-200);
  background: rgba(255,255,255,0.8); padding: 12px 16px; font-size: 14px;
  color: var(--warm-900); transition: all 0.2s; font-family: inherit;
}
.input-field::placeholder { color: var(--warm-400); }
.input-field:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(193,154,91,0.2); }
select.input-field { cursor: pointer; }
textarea.input-field { resize: none; }

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.animate-fade-in { animation: fadeIn 0.3s ease; }
.animate-fade-up { animation: fadeUp 0.6s ease; }
.animate-bounce { animation: bounce 2s infinite; }
.animate-slow-zoom { animation: slowZoom 20s ease-out forwards; }
.animate-spin { animation: spin 0.8s linear infinite; }

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s; background: transparent;
}
.navbar.scrolled {
  background: rgba(251,247,242,0.95); backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(42,27,20,0.05);
}
.navbar-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
@media (min-width: 1024px) { .navbar-inner { padding: 16px 32px; } }
.navbar-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: 0.025em; }
.navbar.scrolled .navbar-brand { color: var(--warm-900); }
.navbar:not(.scrolled) .navbar-brand { color: #fff; text-shadow: 0 2px 20px rgba(61,42,32,0.5); }
.navbar-brand svg { width: 20px; height: 20px; }
.navbar.scrolled .navbar-brand svg { color: var(--gold-600); }
.navbar:not(.scrolled) .navbar-brand svg { color: var(--gold-400); }

.nav-links { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { font-size: 14px; font-weight: 500; transition: color 0.3s; }
.navbar.scrolled .nav-links a { color: var(--warm-700); }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.9); text-shadow: 0 2px 20px rgba(61,42,32,0.5); }
.nav-links a:hover { color: var(--gold-500); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-icon-btn { position: relative; border-radius: 999px; padding: 10px; transition: all 0.3s; }
.navbar.scrolled .nav-icon-btn { background: var(--warm-100); color: var(--warm-800); }
.navbar:not(.scrolled) .nav-icon-btn { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(4px); }
.nav-icon-btn:hover { transform: scale(1.05); }
.navbar.scrolled .nav-icon-btn:hover { background: var(--warm-200); }
.navbar:not(.scrolled) .nav-icon-btn:hover { background: rgba(255,255,255,0.25); }
.nav-icon-btn svg { width: 20px; height: 20px; }
.cart-badge { position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 999px; background: var(--gold-500); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; animation: fadeIn 0.3s; }

.mobile-menu-btn { display: block; border-radius: 999px; padding: 10px; }
.navbar.scrolled .mobile-menu-btn { background: var(--warm-100); color: var(--warm-800); }
.navbar:not(.scrolled) .mobile-menu-btn { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(4px); }
.navbar.scrolled .mobile-menu-btn { display: none; }
.navbar:not(.scrolled) .mobile-menu-btn { display: none; }
@media (max-width: 1023px) {
  .navbar.scrolled .mobile-menu-btn { display: block; }
  .navbar:not(.scrolled) .mobile-menu-btn { display: block; }
}
.mobile-menu-btn svg { width: 20px; height: 20px; }

.mobile-menu { display: none; border-top: 1px solid var(--warm-200); background: rgba(251,247,242,0.98); backdrop-filter: blur(12px); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 20px; font-size: 16px; font-weight: 500; color: var(--warm-800); border-bottom: 1px solid var(--warm-100); }
.mobile-menu a:last-child { border: none; }

/* --- Hero --- */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero video, .hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(42,27,20,0.7), rgba(42,27,20,0.4), rgba(42,27,20,0.8)); }
.hero-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(212,175,106,0.3); background: rgba(255,255,255,0.1); border-radius: 999px; padding: 8px 20px; backdrop-filter: blur(4px); margin-bottom: 20px; }
.hero-badge svg { width: 16px; height: 16px; color: var(--gold-400); }
.hero-badge span { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold-400); }
.hero h1 { font-size: 48px; font-weight: 600; line-height: 1.1; color: #fff; text-shadow: 0 2px 20px rgba(61,42,32,0.5); }
@media (min-width: 640px) { .hero h1 { font-size: 60px; } }
@media (min-width: 768px) { .hero h1 { font-size: 72px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 96px; } }
.hero h1 .italic { font-style: italic; color: var(--gold-400); }
.hero p { max-width: 540px; margin: 24px auto 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.85); text-shadow: 0 2px 20px rgba(61,42,32,0.5); }
.hero-buttons { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; } }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; z-index: 10; color: rgba(255,255,255,0.6); animation: bounce 2s infinite; }
.hero-scroll svg { width: 32px; height: 32px; }

/* --- Families --- */
.families-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
@media (min-width: 640px) { .families-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .families-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .families-grid { grid-template-columns: repeat(7, 1fr); } }
.family-card { display: flex; flex-direction: column; align-items: center; border-radius: 16px; padding: 24px; text-align: center; transition: all 0.3s; cursor: pointer; }
.family-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(42,27,20,0.1); }
.family-card .emoji { font-size: 36px; transition: transform 0.3s; }
.family-card:hover .emoji { transform: scale(1.1); }
.family-card .label { margin-top: 12px; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--warm-900); }
.family-card .desc { margin-top: 4px; font-size: 11px; line-height: 1.3; color: var(--warm-600); }

/* --- Catalog --- */
.catalog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.filter-btn { border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.filter-btn.active { background: var(--warm-900); color: var(--warm-50); }
.filter-btn:not(.active) { background: #fff; color: var(--warm-700); border: 1px solid var(--warm-200); }
.filter-btn:not(.active):hover { border-color: var(--warm-400); }

.catalog-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; font-size: 14px; }
.control-group { display: flex; align-items: center; gap: 8px; }
.control-group span { color: var(--warm-500); }
.gender-btn { border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 500; transition: all 0.2s; }
.gender-btn.active { background: var(--gold-500); color: #fff; }
.gender-btn:not(.active) { background: var(--warm-100); color: var(--warm-600); }
.gender-btn:not(.active):hover { background: var(--warm-200); }
.sort-select { border-radius: 999px; border: 1px solid var(--warm-200); background: #fff; padding: 6px 12px; font-size: 12px; color: var(--warm-700); }

.products-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.04); border: 1px solid var(--warm-100); transition: all 0.4s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 25px rgba(42,27,20,0.1); }
.product-img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--warm-100); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badges { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 12px; }
.product-badge-dark { border-radius: 999px; background: rgba(42,27,20,0.85); padding: 4px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-400); backdrop-filter: blur(4px); }
.product-badge-gold { border-radius: 999px; background: var(--gold-500); padding: 4px 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: #fff; margin-left: auto; }
.product-info { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.product-brand { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-600); }
.product-name { margin-top: 4px; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--warm-900); }
.product-meta { margin-top: 4px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--warm-500); }
.product-meta .star { color: var(--gold-500); }
.product-desc { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--warm-600); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { border-radius: 999px; padding: 4px 10px; font-size: 10px; font-weight: 500; }
.tag-family { background: var(--warm-100); color: var(--warm-600); text-transform: capitalize; }
.tag-note { background: rgba(217,154,142,0.1); color: var(--rose-500); }
.product-footer { margin-top: auto; padding-top: 20px; display: flex; align-items: flex-end; justify-content: space-between; }
.product-price-old { font-size: 12px; color: var(--warm-400); text-decoration: line-through; }
.product-price { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--warm-900); }
.add-btn { display: flex; align-items: center; gap: 6px; border-radius: 999px; padding: 10px 16px; font-size: 12px; font-weight: 600; transition: all 0.3s; background: var(--warm-900); color: var(--warm-50); }
.add-btn:hover { background: var(--gold-500); color: #fff; }
.add-btn.added { background: var(--sage-500); color: #fff; }
.add-btn svg { width: 16px; height: 16px; }

.no-results { margin-top: 48px; text-align: center; color: var(--warm-500); }

/* --- Offers --- */
.offers-section { background: var(--warm-900); }
.offers-section .eyebrow { color: var(--gold-400); }
.offers-section .section-title { color: #fff; }
.offers-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.offer-badge { display: flex; align-items: center; gap: 12px; border-radius: 16px; background: rgba(255,255,255,0.1); padding: 16px 20px; backdrop-filter: blur(4px); }
.offer-badge svg { width: 24px; height: 24px; color: var(--gold-400); }
.offer-badge .title { font-size: 14px; font-weight: 600; color: #fff; }
.offer-badge .desc { font-size: 12px; color: var(--warm-200); }

.offers-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 640px) { .offers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offers-grid { grid-template-columns: repeat(4, 1fr); } }
.offer-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--warm-50); transition: all 0.3s; }
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px rgba(0,0,0,0.2); }
.offer-img { position: relative; aspect-ratio: 1; overflow: hidden; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.offer-card:hover .offer-img img { transform: scale(1.05); }
.offer-discount { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 4px; border-radius: 999px; background: var(--gold-500); padding: 4px 12px; font-size: 12px; font-weight: 700; color: #fff; }
.offer-discount svg { width: 12px; height: 12px; }
.offer-info { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.offer-info .brand { font-size: 10px; text-transform: uppercase; color: var(--gold-600); }
.offer-info .name { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--warm-900); }
.offer-info .size { font-size: 12px; color: var(--warm-500); }
.offer-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; }
.offer-price-old { font-size: 12px; color: var(--warm-400); text-decoration: line-through; }
.offer-price { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--warm-900); }
.offer-add { border-radius: 999px; background: var(--warm-900); padding: 8px 16px; font-size: 12px; font-weight: 600; color: var(--warm-50); transition: all 0.3s; }
.offer-add:hover { background: var(--gold-500); }

/* --- Video showcase --- */
.video-section { position: relative; height: 70vh; min-height: 480px; overflow: hidden; }
.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(42,27,20,0.8), rgba(42,27,20,0.3)); }
.video-content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; padding: 0 24px; }
.video-content .max-w { max-width: 540px; }
.video-content .eyebrow { color: var(--gold-400); }
.video-content h2 { font-size: 30px; font-weight: 600; color: #fff; margin-top: 12px; }
@media (min-width: 640px) { .video-content h2 { font-size: 36px; } }
@media (min-width: 768px) { .video-content h2 { font-size: 48px; } }
.video-content p { margin-top: 16px; color: rgba(255,255,255,0.8); }
.video-play-btn { margin-top: 32px; display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; background: rgba(255,255,255,0.15); padding: 12px 24px; font-size: 14px; font-weight: 500; color: #fff; backdrop-filter: blur(4px); transition: all 0.3s; }
.video-play-btn:hover { background: rgba(255,255,255,0.25); }
.video-play-icon { width: 40px; height: 40px; border-radius: 999px; background: var(--gold-500); display: flex; align-items: center; justify-content: center; }
.video-play-icon svg { width: 20px; height: 20px; color: #fff; }
.video-section video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* --- Info sections --- */
.info-grid-3 { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 768px) { .info-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.info-card { border-radius: 16px; background: #fff; padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); border: 1px solid var(--warm-100); transition: all 0.3s; }
.info-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.info-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--warm-100); display: flex; align-items: center; justify-content: center; }
.info-icon svg { width: 24px; height: 24px; color: var(--gold-600); }
.info-card h3 { margin-top: 16px; font-size: 20px; font-weight: 600; color: var(--warm-900); }
.info-card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--warm-600); }
.info-detail { margin-top: 12px; border-radius: 8px; background: var(--warm-50); padding: 8px 12px; font-size: 12px; font-weight: 500; color: var(--warm-700); }

.info-grid-2 { display: grid; gap: 48px; }
@media (min-width: 1024px) { .info-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.payment-item { display: flex; align-items: center; gap: 16px; border-radius: 12px; background: #fff; padding: 16px; border: 1px solid var(--warm-100); margin-bottom: 16px; }
.payment-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(193,154,91,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.payment-icon svg { width: 20px; height: 20px; color: var(--gold-600); }
.payment-item .name { font-weight: 500; color: var(--warm-900); }
.payment-item .desc { font-size: 12px; color: var(--warm-500); }
.guarantee-card { border-radius: 12px; background: #fff; padding: 20px; border: 1px solid var(--warm-100); margin-bottom: 16px; }
.guarantee-card .header { display: flex; align-items: center; gap: 12px; }
.guarantee-card .header svg { width: 24px; height: 24px; color: var(--sage-500); }
.guarantee-card .header h3 { font-size: 18px; font-weight: 600; color: var(--warm-900); }
.guarantee-card p { margin-top: 8px; font-size: 14px; color: var(--warm-600); }

/* --- Raffle --- */
.raffle-section { position: relative; overflow: hidden; background: linear-gradient(to bottom right, var(--warm-800), var(--warm-900), var(--warm-800)); }
.raffle-blob-1 { position: absolute; right: -80px; top: -80px; width: 288px; height: 288px; border-radius: 50%; background: rgba(193,154,91,0.1); filter: blur(80px); }
.raffle-blob-2 { position: absolute; bottom: -80px; left: -80px; width: 288px; height: 288px; border-radius: 50%; background: rgba(217,154,142,0.1); filter: blur(80px); }
.raffle-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .raffle-grid { grid-template-columns: repeat(2, 1fr); } }
.raffle-badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(193,154,91,0.15); padding: 8px 16px; }
.raffle-badge svg { width: 16px; height: 16px; color: var(--gold-400); }
.raffle-badge span { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--gold-400); }
.raffle-section h2 { margin-top: 20px; font-size: 36px; font-weight: 600; color: #fff; }
@media (min-width: 640px) { .raffle-section h2 { font-size: 48px; } }
.raffle-section .desc { margin-top: 16px; color: var(--warm-200); }
.raffle-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--warm-200); }
.raffle-list li { display: flex; align-items: center; gap: 12px; }
.raffle-list svg { width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; }
.raffle-form-wrap { border-radius: 24px; background: var(--warm-50); padding: 28px; box-shadow: 0 20px 25px rgba(0,0,0,0.15); }
.raffle-form-wrap h3 { font-size: 24px; font-weight: 600; color: var(--warm-900); }
.raffle-form-wrap .sub { margin-top: 4px; font-size: 12px; color: var(--warm-500); }
.raffle-form .space-y > * + * { margin-top: 12px; }
.checkbox-row { margin-top: 16px; display: flex; align-items: flex-start; gap: 12px; font-size: 12px; color: var(--warm-600); }
.checkbox-row input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--gold-500); }
.error-msg { margin-top: 12px; font-size: 12px; color: var(--red-600); }

/* --- PQR --- */
.pqr-section { background: var(--warm-50); }
.pqr-card { margin-top: 48px; border-radius: 24px; background: #fff; padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); border: 1px solid var(--warm-100); }
@media (min-width: 1024px) { .pqr-card { padding: 40px; } }
.pqr-type-row { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.pqr-type-btn { border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.pqr-type-btn.active { background: var(--warm-900); color: var(--warm-50); }
.pqr-type-btn:not(.active) { background: var(--warm-100); color: var(--warm-700); }
.pqr-type-btn:not(.active):hover { background: var(--warm-200); }
.form-grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-grid .full { grid-column: 1 / -1; }

/* --- Privacy --- */
.privacy-section { background: rgba(245,235,224,0.6); padding: 64px 0; }
.privacy-section h2 { font-size: 24px; font-weight: 600; color: var(--warm-900); }
.privacy-grid { margin-top: 24px; display: grid; gap: 16px; }
@media (min-width: 640px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
.privacy-card { border-radius: 12px; background: #fff; padding: 20px; border: 1px solid var(--warm-100); }
.privacy-card h3 { font-weight: 500; color: var(--warm-900); }
.privacy-card p { margin-top: 4px; font-size: 12px; color: var(--warm-600); }

/* --- Footer --- */
.footer { background: var(--warm-900); color: var(--warm-100); padding: 56px 0; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; }
.footer-brand svg { width: 20px; height: 20px; color: var(--gold-400); }
.footer-desc { margin-top: 12px; font-size: 14px; color: var(--warm-300); }
.footer-social { margin-top: 16px; display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.footer-social a:hover { background: var(--gold-500); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer h3 { font-size: 16px; font-weight: 600; color: #fff; }
.footer-links { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-links a { color: var(--warm-300); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--warm-300); }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-400); }
.footer-bottom { margin-top: 48px; border-top: 1px solid var(--warm-700); padding-top: 24px; text-align: center; font-size: 12px; color: var(--warm-400); }

/* --- Cart Drawer --- */
.cart-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(42,27,20,0.4); backdrop-filter: blur(4px); transition: opacity 0.3s; }
.cart-overlay.hidden { opacity: 0; pointer-events: none; }
.cart-drawer { position: fixed; right: 0; top: 0; z-index: 70; height: 100%; width: 100%; max-width: 448px; background: var(--warm-50); box-shadow: 0 25px 25px rgba(0,0,0,0.15); display: flex; flex-direction: column; transition: transform 0.3s ease-out; }
.cart-drawer.hidden { transform: translateX(100%); }
.cart-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--warm-200); padding: 20px 24px; }
.cart-header h2 { font-size: 20px; font-weight: 600; color: var(--warm-900); display: flex; align-items: center; gap: 8px; }
.cart-header h2 svg { width: 20px; height: 20px; color: var(--gold-600); }
.cart-close { border-radius: 999px; padding: 8px; color: var(--warm-500); transition: all 0.2s; }
.cart-close:hover { background: var(--warm-100); color: var(--warm-900); }
.cart-close svg { width: 20px; height: 20px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; }
.cart-empty-icon { border-radius: 50%; background: var(--warm-100); padding: 24px; }
.cart-empty-icon svg { width: 40px; height: 40px; color: var(--warm-400); }
.cart-empty h3 { font-size: 20px; color: var(--warm-700); }
.cart-empty p { font-size: 14px; color: var(--warm-500); }

.cart-shipping-bar { border-bottom: 1px solid var(--warm-200); background: rgba(245,235,224,0.5); padding: 12px 24px; }
.cart-shipping-bar .free { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--sage-500); }
.cart-shipping-bar .free svg { width: 16px; height: 16px; }
.cart-shipping-bar .remaining { font-size: 12px; color: var(--warm-600); }
.cart-shipping-bar .remaining strong { color: var(--gold-600); }
.cart-progress { margin-top: 8px; height: 6px; border-radius: 999px; background: var(--warm-200); overflow: hidden; }
.cart-progress-bar { height: 100%; border-radius: 999px; background: var(--gold-500); transition: width 0.5s; }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item { display: flex; gap: 16px; border-bottom: 1px solid var(--warm-100); padding: 16px 0; }
.cart-item:last-child { border: none; }
.cart-item img { width: 80px; height: 96px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; }
.cart-item-brand { font-size: 12px; text-transform: uppercase; color: var(--gold-600); }
.cart-item-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--warm-900); }
.cart-item-meta { font-size: 12px; color: var(--warm-500); }
.cart-item-price { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--warm-800); }
.cart-item-controls { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.qty-control { display: flex; align-items: center; gap: 8px; border: 1px solid var(--warm-200); background: #fff; border-radius: 999px; padding: 4px; }
.qty-control button { border-radius: 999px; padding: 4px; color: var(--warm-600); transition: all 0.2s; }
.qty-control button:hover { background: var(--warm-100); }
.qty-control button svg { width: 14px; height: 14px; }
.qty-control span { width: 24px; text-align: center; font-size: 14px; font-weight: 500; }
.cart-remove { color: var(--warm-400); transition: color 0.2s; }
.cart-remove:hover { color: var(--red-500); }
.cart-remove svg { width: 16px; height: 16px; }

.cart-summary { border-top: 1px solid var(--warm-200); background: #fff; padding: 20px 24px; }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--warm-600); }
.cart-summary .row.discount { color: var(--sage-500); }
.cart-summary .total { display: flex; justify-content: space-between; border-top: 1px solid var(--warm-200); padding-top: 8px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--warm-900); }

/* --- Floating Cart --- */
.floating-cart { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 12px; border-radius: 999px; background: var(--warm-900); padding: 12px 20px; color: #fff; box-shadow: 0 10px 20px rgba(42,27,20,0.3); transition: all 0.3s; animation: fadeUp 0.3s; }
.floating-cart:hover { transform: translateX(-50%) scale(1.05); }
.floating-cart svg { width: 16px; height: 16px; color: var(--gold-400); }
.floating-cart .count { font-size: 14px; font-weight: 500; }
.floating-cart .total { font-size: 14px; font-weight: 600; color: var(--gold-400); }
@media (min-width: 1024px) { .floating-cart { display: none; } }

/* --- Checkout Modal --- */
.modal-overlay { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; overflow-y: auto; background: rgba(42,27,20,0.5); padding: 16px; backdrop-filter: blur(4px); }
.modal-box { width: 100%; max-width: 672px; border-radius: 24px; background: var(--warm-50); box-shadow: 0 25px 25px rgba(0,0,0,0.15); margin: 32px 0; }
.modal-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--warm-200); padding: 20px 24px; }
.modal-header h2 { font-size: 24px; font-weight: 600; color: var(--warm-900); }
.modal-body { max-height: calc(100vh - 200px); overflow-y: auto; padding: 24px; }
.modal-summary { border-radius: 12px; background: #fff; padding: 16px; border: 1px solid var(--warm-100); }
.modal-summary .eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--gold-600); }
.modal-summary .row { display: flex; justify-content: space-between; font-size: 14px; margin-top: 8px; color: var(--warm-700); }
.modal-summary .total-row { display: flex; justify-content: space-between; border-top: 1px solid var(--warm-100); padding-top: 8px; margin-top: 8px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--warm-900); }

.checkout-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 32px; }
.checkout-success .icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(107,142,90,0.15); display: flex; align-items: center; justify-content: center; }
.checkout-success .icon svg { width: 48px; height: 48px; color: var(--sage-500); }
.checkout-success h2 { margin-top: 24px; font-size: 30px; font-weight: 600; color: var(--warm-900); }
.checkout-success p { margin-top: 12px; max-width: 400px; color: var(--warm-600); }
.order-number-box { margin-top: 24px; width: 100%; max-width: 400px; border: 1px solid rgba(193,154,91,0.2); background: rgba(193,154,91,0.05); border-radius: 16px; padding: 20px; text-align: center; }
.order-number-box .label { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--gold-600); }
.order-number-box .number { margin-top: 4px; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--warm-900); }
.payment-instructions { margin-top: 24px; width: 100%; max-width: 400px; border: 1px solid rgba(193,154,91,0.2); background: rgba(193,154,91,0.05); border-radius: 16px; padding: 20px; text-align: left; }
.payment-instructions h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--warm-900); display: flex; align-items: center; gap: 8px; }
.payment-instructions h4 svg { width: 20px; height: 20px; color: var(--gold-600); }
.payment-instructions ol { margin-top: 12px; padding-left: 0; }
.payment-instructions li { display: flex; gap: 8px; font-size: 12px; color: var(--warm-700); margin-bottom: 6px; }
.payment-instructions li strong { color: var(--gold-600); }
.payment-highlight { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; border-radius: 8px; background: #fff; padding: 12px 16px; border: 1px solid rgba(193,154,91,0.2); }
.payment-highlight .ref-label { font-size: 10px; text-transform: uppercase; color: var(--warm-500); }
.payment-highlight .ref-value { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--warm-900); }
.copy-btn { display: flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--warm-900); padding: 8px 12px; font-size: 12px; font-weight: 500; color: var(--warm-50); transition: all 0.3s; }
.copy-btn:hover { background: var(--gold-500); }
.copy-btn svg { width: 14px; height: 14px; }

/* --- Success messages --- */
.success-msg { display: flex; flex-direction: column; align-items: center; padding: 40px 24px; text-align: center; }
.success-msg .icon { width: 56px; height: 56px; color: var(--sage-500); }
.success-msg h3 { margin-top: 16px; font-size: 24px; font-weight: 600; color: var(--warm-900); }
.success-msg p { margin-top: 8px; font-size: 14px; color: var(--warm-600); }

/* --- Utility --- */
.hidden { display: none !important; }
.icon-svg { display: inline-flex; }
.section-subtitle { max-width: 640px; margin: 16px auto 0; color: var(--warm-600); }
.bg-warm-100-40 { background: rgba(245,235,224,0.4); }
.bg-warm-100-50 { background: rgba(245,235,224,0.5); }
.bg-warm-50 { background: var(--warm-50); }
.bg-warm-100 { background: var(--warm-100); }
/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   NAVBAR CON GRADIENTE OSCURO
   ============================================ */
.navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2a24 100%) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .nav-links a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .nav-links a:hover {
    color: #c6a882 !important;
}

.navbar .navbar-brand {
    color: #ffffff !important;
}

.navbar .navbar-brand svg {
    color: #c6a882 !important;
}

.navbar .mobile-menu {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2a24 100%) !important;
}

.navbar .mobile-menu a {
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .mobile-menu a:hover {
    color: #c6a882 !important;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2a24 100%) !important;
}

.navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar.scrolled .navbar-brand {
    color: #ffffff !important;
}

.navbar.scrolled .nav-icon-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar.scrolled .nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.navbar.scrolled .mobile-menu-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}
/* ============================================
   FORZAR VISIBILIDAD DE PRODUCTOS
   ============================================ */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 32px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: 350px !important;
}

.product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.product-image {
    position: relative !important;
    height: 220px !important;
    overflow: hidden !important;
    background: #f5f0eb !important;
    display: block !important;
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.product-image .no-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    font-size: 48px !important;
    color: #b0a294 !important;
    background: #f5f0eb !important;
}

.offer-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: #c0392b !important;
    color: #fff !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    z-index: 10 !important;
}

.featured-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: #c6a882 !important;
    color: #fff !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    z-index: 10 !important;
}

.product-info {
    padding: 16px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-brand {
    font-size: 12px !important;
    text-transform: uppercase !important;
    color: #8a8177 !important;
    letter-spacing: 0.5px !important;
}

.product-name {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #2d2a24 !important;
    margin: 4px 0 !important;
}

.product-family {
    font-size: 13px !important;
    color: #8a8177 !important;
}

.product-price {
    margin: 8px 0 !important;
}

.product-price .price {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2d2a24 !important;
}

.product-price .original-price {
    font-size: 14px !important;
    color: #b0a294 !important;
    text-decoration: line-through !important;
    margin-right: 8px !important;
}

.product-price .discount-price {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #c0392b !important;
}

.product-rating {
    font-size: 13px !important;
    color: #f39c12 !important;
}

.add-to-cart {
    width: 100% !important;
    padding: 10px !important;
    margin-top: 12px !important;
    background: #c6a882 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
}

.add-to-cart:hover {
    background: #b59674 !important;
}

/* Ofertas */
.offers-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 32px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.offer-card {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.offer-card:hover {
    transform: translateY(-4px) !important;
}

.offer-image {
    height: 180px !important;
    overflow: hidden !important;
    background: #f5f0eb !important;
    display: block !important;
}

.offer-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.offer-info {
    padding: 14px !important;
    flex: 1 !important;
}

.offer-brand {
    font-size: 11px !important;
    text-transform: uppercase !important;
    color: #8a8177 !important;
}

.offer-info h4 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2d2a24 !important;
    margin: 4px 0 !important;
}

.offer-price .original {
    font-size: 12px !important;
    color: #b0a294 !important;
    text-decoration: line-through !important;
    margin-right: 6px !important;
}

.offer-price .discount {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #c0392b !important;
}

.offer-info .add-to-cart {
    margin-top: 8px !important;
    padding: 8px !important;
    font-size: 13px !important;
}