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

:root {
  /* Warm Cozy & Minimal Luxury Light Theme */
  --bg-light: #FAF6F0;           /* Soft creamy background */
  --card-bg: #FFFFFF;
  --primary-deep: #2B2625;       /* Warm deep charcoal for text and titles */
  --text-main: #3C3534;          /* Body text color */
  --text-muted: #726563;         /* Subdued description text */
  --brand-primary: #D37B5D;      /* Warm terracotta accent */
  --brand-primary-hover: #B86145;
  --accent-gold: #D4AF37;        /* Candle flame gold */
  --accent-green: #7D9D82;       /* Sage botanical green */
  --border-color: #EFE9DE;       /* Soft warm borders */
  --header-bg: rgba(250, 246, 240, 0.9);
  --hero-bg: linear-gradient(135deg, #FAF6F0 0%, #EFE9DE 100%);
  --floating-card-bg: rgba(255, 255, 255, 0.95);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-sm: 0 2px 4px rgba(43, 38, 37, 0.05);
  --shadow-md: 0 8px 16px rgba(43, 38, 37, 0.08);
  --shadow-lg: 0 16px 32px rgba(43, 38, 37, 0.12);
  --border-radius-sm: 4px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
}

/* Cozy Dark Theme */
[data-theme="dark"] {
  --bg-light: #1E1A19;           /* Midnight warm charcoal */
  --card-bg: #2B2524;            /* Soft dark cocoa card */
  --primary-deep: #F7F3EE;       /* Warm light text for titles */
  --text-main: #E5DDD8;          /* Body text */
  --text-muted: #AFA19E;         /* Subdued text */
  --brand-primary: #E9977B;      /* Pastel terracotta */
  --brand-primary-hover: #F1B099;
  --accent-gold: #ECC262;        /* Glowing amber gold */
  --accent-green: #9ABFA0;
  --border-color: #3D3533;
  --header-bg: rgba(30, 26, 25, 0.9);
  --hero-bg: linear-gradient(135deg, #1E1A19 0%, #2B2524 100%);
  --floating-card-bg: rgba(43, 37, 36, 0.95);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
}

.btn-outline:hover {
  background-color: var(--brand-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Header & Glassmorphic Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 170px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo svg {
  width: 28px;
  height: 28px;
  fill: var(--brand-primary);
  transition: var(--transition-smooth);
}

.logo-img {
  height: 140px;
  width: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.logo-text {
  font-size: 1.4rem;
  color: var(--primary-deep);
}

.logo-text span {
  font-weight: 300;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-top: -4px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 400;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--brand-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--brand-primary);
  transition: var(--transition-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
  color: var(--primary-deep);
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  transform: rotate(15deg) scale(1.1);
}

.lang-toggle {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.lang-toggle:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.cart-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 6px;
  color: var(--primary-deep);
  transition: var(--transition-smooth);
}

.cart-icon-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.cart-icon-btn:hover {
  color: var(--brand-primary);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--brand-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--primary-deep);
  transition: var(--transition-smooth);
}

/* Hero Section */
/* Hero Carousel Section */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 550px;
  overflow: hidden;
  background-color: #2b2625;
}

.carousel-track {
  display: flex;
  width: 600%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  width: 16.6667%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-caption {
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  color: #ffffff;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
}

.carousel-slide.active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.slide-subtitle {
  display: inline-block;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.carousel-caption h2 {
  font-size: 3.5rem;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.carousel-caption h2 span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  color: var(--brand-primary);
}

.carousel-caption p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(250, 246, 240, 0.15);
  border: 1px solid rgba(250, 246, 240, 0.25);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition-smooth);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.carousel-nav-btn:hover {
  background-color: rgba(250, 246, 240, 0.85);
  color: var(--primary-deep);
  border-color: #ffffff;
  box-shadow: var(--shadow-md);
}

.carousel-nav-btn.prev {
  left: 24px;
}

.carousel-nav-btn.next {
  right: 24px;
}

/* Indicators (Dots) */
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dots .dot.active {
  background-color: var(--brand-primary);
  width: 24px;
  border-radius: 5px;
}

/* Features Section styling */
.features-section {
  background-color: var(--card-bg);
  padding: 48px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  background-color: rgba(211, 123, 93, 0.1);
  color: var(--brand-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
}

/* Catalog section */
.catalog-header {
  max-width: 600px;
  margin: 0 auto 48px auto;
}

.catalog-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.filter-menu {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-light);
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-price-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--floating-card-bg);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-price-badge.discount-active {
  background: var(--floating-card-bg);
}

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

.price-deal {
  color: #ef4444;
  font-weight: 700;
}

.product-corner-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
  z-index: 2;
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.product-info p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Customizer inputs on card */
.product-customizer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.custom-select, .custom-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-main);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.custom-select:focus, .custom-input:focus {
  border-color: var(--brand-primary);
  outline: none;
}

/* Custom File Upload */
.file-upload-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1px dashed var(--border-color);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-light);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.file-upload-mock:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.file-upload-mock svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Section Events & Recordatorios */
.events-section {
  background: var(--hero-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.events-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.calculator-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.calculator-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.calc-select, .calc-input, .calc-textarea {
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.calc-select:focus, .calc-input:focus, .calc-textarea:focus {
  border-color: var(--brand-primary);
  outline: none;
}

.calc-textarea {
  min-height: 80px;
  resize: vertical;
}

/* Price summary box */
.calc-summary-box {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  border-left: 4px solid var(--brand-primary);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.calc-summary-item.total {
  font-weight: 700;
  font-size: 1.15rem;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  margin-top: 4px;
  color: var(--primary-deep);
}

.calc-summary-item span.discount-percent {
  color: var(--accent-green);
  font-weight: 600;
}

/* Packaging gallery & discounts */
.events-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.info-box h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Discount Table */
.discount-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.discount-table th, .discount-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.discount-table th {
  font-weight: 600;
  color: var(--primary-deep);
  background-color: rgba(211, 123, 93, 0.05);
}

.discount-table td.highlight {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Packaging Grid */
.packaging-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.pkg-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  text-align: center;
  transition: var(--transition-smooth);
}

.pkg-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.pkg-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  background-color: var(--bg-light);
}

.pkg-name {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 8px 4px 8px;
  color: var(--primary-deep);
}

.pkg-price {
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 600;
  padding-bottom: 10px;
}

/* Gallery lightboxes */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 38, 37, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay svg {
  width: 32px;
  height: 32px;
  stroke: #FFFFFF;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 38, 37, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: #FFFFFF;
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--brand-primary);
}

/* Candle Care Guide */
.care-section {
  background-color: var(--card-bg);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.care-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 32px;
  border-top: 4px solid var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.care-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--brand-primary);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  margin-bottom: 12px;
}

.care-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.care-card p {
  font-size: 0.9rem;
}

/* Shopping Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background-color: var(--card-bg);
  box-shadow: -8px 0 32px rgba(43, 38, 37, 0.15);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-left: 1px solid var(--border-color);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-header h2 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 4px;
  transition: var(--transition-smooth);
}

.cart-close-btn:hover {
  color: var(--brand-primary);
  transform: rotate(90deg);
}

.cart-close-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty-message {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  position: relative;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: var(--bg-light);
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

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

.qty-val {
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.cart-item-remove {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 2px;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  color: #FF4D4D;
}

.cart-item-remove svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-deep);
}

.cart-total-row span.total-val {
  color: var(--brand-primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.cart-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 38, 37, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1400;
}

.cart-drawer-overlay.active {
  display: block;
}

/* Form Contact */
.contact-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h3 {
  font-size: 1.8rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  color: var(--brand-primary);
  margin-top: 4px;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.contact-method-item h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-form-wrapper {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--brand-primary);
  outline: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Modal confirm quote */
.modal-confirm {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 38, 37, 0.6);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-confirm.active {
  display: flex;
}

.modal-box {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modal-icon {
  background-color: rgba(125, 157, 130, 0.1);
  color: var(--accent-green);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

.modal-box h3 {
  font-size: 1.6rem;
}

/* Footer (Always Dark/Charcoal for Premium Grounded Feel) */
footer {
  background-color: #2B2625;
  color: #AFA19E;
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] footer {
  background-color: #141110;
  border-color: #3D3533;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-logo {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo svg {
  width: 28px;
  height: 28px;
  fill: var(--brand-primary);
}

.footer-logo-text span {
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

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

.footer-links a {
  text-decoration: none;
  color: #AFA19E;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--brand-primary);
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-socials a {
  color: #AFA19E;
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Floating Sticky Contact Buttons */
.floating-ctas {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-btn {
  background: var(--floating-card-bg);
  color: var(--primary-deep);
  border: 1px solid var(--border-color);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-4px);
  background-color: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

.floating-btn.wa-primary {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.floating-btn.wa-primary:hover {
  background-color: #128C7E;
  border-color: #128C7E;
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  .carousel-caption h2 { font-size: 2.8rem; }
  .carousel-caption p { font-size: 1rem; }
  .events-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--card-bg);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .nav-container {
    height: 80px;
  }
  
  .logo-img {
    height: 54px;
    width: 54px;
  }
  
  .hero-carousel {
    height: 60vh;
    min-height: 460px;
  }
  
  .carousel-caption h2 {
    font-size: 2.2rem;
  }
  
  .carousel-caption p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .carousel-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-nav-btn.prev {
    left: 12px;
  }
  
  .carousel-nav-btn.next {
    right: 12px;
  }

  .care-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .calc-row { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .carousel-caption h2 { font-size: 1.8rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .products-grid { grid-template-columns: 1fr; }
  .packaging-grid { grid-template-columns: 1fr; }
}

/* Promo Modal (Amor y Amistad) */
.promo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 26, 25, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.promo-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.promo-box {
  background-color: var(--card-bg);
  width: 90%;
  max-width: 750px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.promo-modal.active .promo-box {
  transform: scale(1);
}

.promo-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.promo-close:hover {
  color: var(--brand-primary);
  transform: rotate(90deg);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 400px;
}

.promo-img-side {
  background-size: cover;
  background-position: center;
  height: 100%;
  min-height: 400px;
}

.promo-text-side {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.promo-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.promo-text-side h2 {
  font-size: 2rem;
  font-family: var(--font-serif);
  margin-bottom: 16px;
  color: var(--primary-deep);
  line-height: 1.25;
}

.promo-text-side h2 span {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  color: var(--brand-primary);
}

.promo-text-side p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.6;
}

.promo-coupon {
  background-color: rgba(211, 123, 93, 0.1);
  border: 2px dashed var(--brand-primary);
  color: var(--brand-primary);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: var(--border-radius-sm);
  letter-spacing: 3px;
  margin-bottom: 12px;
  user-select: all;
  -webkit-user-select: all;
}

.promo-coupon-desc {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 24px !important;
}

/* Responsive promo modal styles */
@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .promo-img-side {
    height: 220px;
    min-height: auto;
  }
  
  .promo-text-side {
    padding: 32px 24px;
  }
  
  .promo-text-side h2 {
    font-size: 1.7rem;
  }
  
  .promo-coupon {
    font-size: 1.5rem;
    padding: 6px 18px;
  }
}

/* PDF Catalog Styles (Off-screen template) */
.pdf-catalog-container {
  position: absolute;
  left: 0;
  top: 99999px;
  width: 790px;
  font-family: 'Inter', sans-serif;
  color: #2B2625;
  background-color: #FAF6F0;
  padding: 0;
  margin: 0;
}

.pdf-page-break {
  page-break-before: always;
}

.pdf-page {
  box-sizing: border-box;
  width: 100%;
  padding: 40px;
  min-height: 1080px;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #FAF6F0;
}

.pdf-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  flex-grow: 1;
  padding: 100px 40px;
  border: 2px solid #EFE9DE;
  border-radius: 12px;
  background-color: #FFFFFF;
}

.pdf-cover-logo {
  height: 160px;
  width: 160px;
  border-radius: 50%;
  border: 3px solid #EFE9DE;
  object-fit: cover;
  margin-bottom: 48px;
}

.pdf-cover h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2B2625;
}

.pdf-cover h1 span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  color: #D37B5D;
}

.pdf-cover-subtitle {
  font-size: 1.2rem;
  color: #726563;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 80px;
  max-width: 500px;
  line-height: 1.6;
}

.pdf-cover-info {
  font-size: 0.95rem;
  color: #726563;
  line-height: 1.8;
  border-top: 1px solid #EFE9DE;
  padding-top: 24px;
  width: 250px;
}

.pdf-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #EFE9DE;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.pdf-page-header .brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #D37B5D;
  font-size: 1.2rem;
}

.pdf-page-header .title {
  font-size: 0.9rem;
  color: #726563;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pdf-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  flex-grow: 1;
}

.pdf-product-card {
  background-color: #FFFFFF;
  border: 1px solid #EFE9DE;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 440px;
  box-sizing: border-box;
}

.pdf-product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.pdf-product-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2B2625;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdf-product-price {
  font-size: 1.1rem;
  color: #D37B5D;
  font-weight: 700;
  margin-bottom: 8px;
}

.pdf-product-desc {
  font-size: 0.85rem;
  color: #726563;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdf-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  flex-grow: 1;
  padding: 80px 40px;
  border: 2px solid #EFE9DE;
  border-radius: 12px;
  background-color: #FFFFFF;
}

.pdf-closing-logo {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  border: 2px solid #EFE9DE;
  object-fit: cover;
  margin-bottom: 32px;
}

.pdf-closing h2 {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2B2625;
}

.pdf-closing p {
  color: #726563;
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 450px;
  line-height: 1.6;
}

.pdf-closing-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  border-top: 1px solid #EFE9DE;
  padding-top: 32px;
}

.pdf-closing-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  color: #2B2625;
}

.pdf-closing-item strong {
  color: #D37B5D;
}

.pdf-page-footer {
  text-align: center;
  border-top: 1px solid #EFE9DE;
  padding-top: 12px;
  margin-top: 24px;
  font-size: 0.8rem;
  color: #726563;
}
