/* Cafesant - Brand Design System */

/* 1. Tipografia de Marca (Local) */
@font-face {
  font-family: 'Cambria';
  src: url('../Marca/cambria.ttc') format('truetype-collection');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Cambria';
  src: url('../Marca/cambriab.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Cambria';
  src: url('../Marca/cambriaz.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* 2. Variables del Sistema (Tokens) */
:root {
  /* Paleta del Brandbook */
  --yellow: #ffff7a;
  --black: #000000;
  --white: #ffffff;
  
  /* Tonos Kraft para fondo claro */
  --kraft: #f3e5c8;
  --kraft-dark: #8c764e;
  
  /* Inicialización por defecto (Tema Oscuro - Negro) */
  --bg: #000000;
  --text: #ffffff;
  --text-muted: #cccccc;
  --border: #333333;
  --card-bg: #111111;
  --accent: #ffff7a;
}

/* Tema Kraft (Claro) */
body.theme-kraft {
  --bg: var(--kraft);
  --text: #000000;
  --text-muted: #444444;
  --border: var(--kraft-dark);
  --card-bg: #e8d7b4;
  --accent: #000000;
}

/* 3. Reset y Estilos Globales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Cambria', Georgia, serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.4;
  font-size: 13px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* 4. Layout - Rejilla y Secciones (Spacing & Padding) */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 48px 0 64px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

/* 5. Cabecera (Topbar) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.topbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

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

.brand-name {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--yellow);
}

body.theme-kraft .brand-name {
  color: #000000;
}

.brand-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

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

.nav a {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--yellow);
}

body.theme-kraft .nav a:hover {
  color: #000000;
  text-decoration: underline;
}

/* Controles de Utilidad (Tema y Carrito) */
.topbar__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  font-family: 'Cambria', Georgia, serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-toggle:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

body.theme-kraft .theme-toggle:hover {
  border-color: #000000;
  color: #000000;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

/* 6. Componentes del Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yellow);
  font-weight: bold;
}

body.theme-kraft .eyebrow {
  color: var(--kraft-dark);
}

.hero__content h1 {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

body.theme-kraft .hero__content h1 {
  color: #000000;
}

.lede {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero__badges span {
  padding: 6px 12px;
  border: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__origin-card {
  width: 100%;
  max-width: 280px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 14px;
}

.hero__origin-card strong {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: 28px;
  line-height: 1.05;
  color: var(--yellow);
}

.hero__origin-card p {
  font-size: 13px;
  color: var(--text-muted);
}

.origin-card__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.origin-card__notes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.origin-card__notes span {
  border: 1px solid var(--border);
  padding: 6px 8px;
  color: var(--yellow);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.theme-kraft .hero__origin-card strong,
body.theme-kraft .origin-card__notes span {
  color: #000000;
}

/* 7. Divisores de Marca (Stars & Waves) */
.star-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 16px 0;
}

.star-separator::before,
.star-separator::after {
  content: '';
  height: 1px;
  flex-grow: 1;
  background-color: var(--border);
}

.star-separator span {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: 6px;
}

body.theme-kraft .star-separator span {
  color: var(--kraft-dark);
}

/* 8. Catálogo (Grilla e Instrumentos de Filtrado) */
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section__header h2 {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: 32px;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

body.theme-kraft .section__header h2 {
  color: #000000;
}

.filters {
  display: flex;
  gap: 12px;
}

.filters select {
  background-color: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 16px;
  font-family: 'Cambria', Georgia, serif;
  font-size: 12px;
  outline: none;
  cursor: pointer;
}

.filters select:focus {
  border-color: var(--yellow);
}

body.theme-kraft .filters select:focus {
  border-color: #000000;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Tarjeta del Producto */
.product-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s;
}

.product-card:hover {
  border-color: var(--yellow);
}

body.theme-kraft .product-card:hover {
  border-color: #000000;
}

.product-card h3 {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: 18px;
  margin-top: 4px;
}

.product-card .muted {
  font-size: 12px;
  color: var(--text-muted);
  min-height: 36px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.price {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: 16px;
  color: var(--yellow);
}

body.theme-kraft .price {
  color: #000000;
}

.chip {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  background-color: var(--border);
  color: var(--text);
  font-weight: bold;
}

.stock-badge {
  color: var(--yellow);
  font-weight: bold;
}

body.theme-kraft .stock-badge {
  color: #000000;
}

.inventory-load-panel {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  padding: 28px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.inventory-load-panel h3 {
  font-family: 'Cambria', Georgia, serif;
  color: var(--yellow);
  font-size: 22px;
}

body.theme-kraft .inventory-load-panel h3 {
  color: #000000;
}

.inventory-load-panel p {
  color: var(--text-muted);
  max-width: 560px;
}

/* 9. Botones (Estilo Brandbook) */
/* "CTA: Negro con subrayado o franja amarilla" */
.btn {
  cursor: pointer;
  font-family: 'Cambria', Georgia, serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  padding: 10px 16px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  opacity: 0.9;
}

/* "Franja amarilla" */
.btn-primary {
  background-color: var(--yellow);
  color: #000000;
}

body.theme-kraft .btn-primary {
  background-color: #000000;
  color: var(--yellow);
}

/* "Negro con subrayado" */
.btn-secondary {
  background-color: transparent;
  color: var(--text);
  text-decoration: underline;
  padding: 10px 0;
}

.btn-flat {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-flat:hover {
  border-color: var(--yellow);
}

body.theme-kraft .btn-flat:hover {
  border-color: #000000;
}

/* 10. Vista Detalle - Modal "Ficha de Origen" (Layout de 2 columnas) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  background-color: #000000; /* Siempre negro de fondo según brandbook */
  color: #ffffff;            /* Siempre texto blanco/amarillo */
  border: 1px solid var(--yellow);
  padding: 40px;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--yellow);
}

/* "Layout 2 columnas: foto izquierda, texto derecha" */
.modal-grid {
  display: block;
}

.modal__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* "Titulo: [Origen] - [Municipio] (Cambria Bold 32-36 pt, amarillo sobre negro)" */
.modal__title {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--yellow);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* "Subtitulo: Altura: #### msnm - Proceso: ### - Variedad: ### (Cambria 18-20 pt, blanco)" */
.modal__subtitle {
  font-family: 'Cambria', Georgia, serif;
  font-size: clamp(16px, 2.5vw, 20px);
  color: #ffffff;
  border-bottom: 1px solid #333333;
  padding-bottom: 12px;
}

/* "Cuerpo: Cambria 12-13 pt, blanco; keywords en amarillo." */
.modal__body {
  font-family: 'Cambria', Georgia, serif;
  font-size: 13px;
  line-height: 1.45;
  color: #ffffff;
}

.modal__body strong,
.modal__body .highlight {
  color: var(--yellow);
}

.modal__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #222222;
}

.modal__price {
  font-size: 24px;
  font-weight: bold;
  color: var(--yellow);
}

/* 11. Sección Origen (Detalle y Mapa) */
.origin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.origin-split h2 {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: 32px;
  color: var(--yellow);
  margin-bottom: 16px;
}

body.theme-kraft .origin-split h2 {
  color: #000000;
}

.origin-split p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chips span {
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: bold;
  background-color: var(--card-bg);
}

.map-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.04;
  pointer-events: none;
}

.map-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 10;
}

.map-list li {
  font-size: 13px;
  line-height: 1.4;
}

.map-list strong {
  color: var(--yellow);
}

body.theme-kraft .map-list strong {
  color: #000000;
  border-bottom: 1px solid #000000;
}

/* 12. Sección Procesos (Cards triples) */
.processes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.process-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-card h3 {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: 20px;
  color: var(--yellow);
}

body.theme-kraft .process-card h3 {
  color: #000000;
}

.process-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* 13. Suscripción y Boletín */
.subscribe-block {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.subscribe-block h2 {
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
  font-size: 28px;
  color: var(--yellow);
  margin-bottom: 8px;
}

body.theme-kraft .subscribe-block h2 {
  color: #000000;
}

.subscribe-block p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cta-row {
  display: flex;
  gap: 12px;
}

.cta-row input {
  flex-grow: 1;
  background-color: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-family: 'Cambria', Georgia, serif;
  outline: none;
}

.cta-row input:focus {
  border-color: var(--yellow);
}

body.theme-kraft .cta-row input:focus {
  border-color: #000000;
}

.subscribe-benefits {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}

.subscribe-benefits h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.subscribe-benefits ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
}

.subscribe-benefits li::before {
  content: "✦ ";
  color: var(--yellow);
  margin-right: 4px;
}

body.theme-kraft .subscribe-benefits li::before {
  color: #000000;
}

/* 14. Contacto y Experiencias */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 40px;
  align-items: start;
}

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

.contact-info h2 {
  font-family: 'Cambria', Georgia, serif;
  font-size: 32px;
  font-weight: bold;
  color: var(--yellow);
}

body.theme-kraft .contact-info h2 {
  color: #000000;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.contact-item .val {
  font-size: 14px;
  font-weight: bold;
}

.contact-link {
  color: var(--yellow);
  text-decoration: underline;
}

body.theme-kraft .contact-link {
  color: #000000;
}

.coffee-advisor {
  background:
    linear-gradient(145deg, rgba(255, 255, 122, 0.08), transparent 46%),
    var(--card-bg);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 520px;
}

body.theme-kraft .coffee-advisor {
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.06), transparent 46%),
    var(--card-bg);
}

.coffee-advisor__header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.coffee-advisor__header h3 {
  font-family: 'Cambria', Georgia, serif;
  font-size: 24px;
  color: var(--yellow);
  margin-bottom: 8px;
}

body.theme-kraft .coffee-advisor__header h3 {
  color: #000000;
}

.coffee-advisor__header p:last-child {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.coffee-advisor__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.advisor-message {
  max-width: 86%;
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}

.advisor-message--bot {
  align-self: flex-start;
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.03);
}

.advisor-message--user {
  align-self: flex-end;
  background-color: var(--yellow);
  color: #000000;
  border-color: var(--yellow);
  font-weight: bold;
}

body.theme-kraft .advisor-message--user {
  background-color: #000000;
  border-color: #000000;
  color: var(--yellow);
}

.coffee-advisor__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.advisor-option {
  cursor: pointer;
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 12px;
  font-family: 'Cambria', Georgia, serif;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.advisor-option:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

body.theme-kraft .advisor-option:hover {
  border-color: #000000;
  color: #000000;
}

.advisor-recommendations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.advisor-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  border: 1px solid var(--border);
  padding: 14px;
  background-color: rgba(255, 255, 255, 0.025);
}

.advisor-card__rank {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-family: 'Cambria', Georgia, serif;
  font-weight: bold;
}

body.theme-kraft .advisor-card__rank {
  border-color: #000000;
  color: #000000;
}

.advisor-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advisor-card h4 {
  font-family: 'Cambria', Georgia, serif;
  font-size: 18px;
}

.advisor-card p,
.advisor-card__notes {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.advisor-card__notes {
  display: block;
  font-style: italic;
}

.advisor-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.advisor-whatsapp,
.coffee-advisor__restart {
  align-self: flex-start;
}

/* 15. Carrito de Compras (Drawer) */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background-color: #000000; /* Siempre negro según estética */
  color: #ffffff;
  border-left: 1px solid var(--yellow);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
}

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

.cart-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 250;
  display: none;
}

.cart-backdrop.open {
  display: block;
}

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

.cart-header h3 {
  font-family: 'Cambria', Georgia, serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--yellow);
}

.cart-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.cart-close:hover {
  color: var(--yellow);
}

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

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid #222222;
  padding-bottom: 16px;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item__title {
  font-weight: bold;
  font-size: 14px;
}

.cart-item__desc {
  font-size: 11px;
  color: #cccccc;
}

.cart-item__price {
  font-size: 13px;
  color: var(--yellow);
  font-weight: bold;
}

.cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cart-item__remove {
  background: none;
  border: none;
  color: #888888;
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
}

.cart-item__remove:hover {
  color: #ff3333;
}

.cart-item__qty {
  font-size: 12px;
  color: #ffffff;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid #222222;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.cart-summary-row.total {
  font-size: 18px;
  font-weight: bold;
  border-top: 1px solid #222222;
  padding-top: 12px;
  color: var(--yellow);
}

.cart-empty-text {
  text-align: center;
  color: #888888;
  font-style: italic;
  padding-top: 40px;
}

/* 16. Pie de Página (Footer) */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  font-size: 12px;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  font-family: 'Cambria', Georgia, serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

body.theme-kraft .footer__brand {
  color: #000000;
}

.footer__copyright {
  color: var(--text-muted);
}

.footer__socials {
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer__socials a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__socials a:hover {
  color: var(--yellow);
}

body.theme-kraft .footer__socials a:hover {
  color: #000000;
  text-decoration: underline;
}

/* 17. Media Queries (Responsividad) */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero__actions {
    justify-content: center;
  }
  
  .hero__badges {
    justify-content: center;
  }
  
  .origin-split {
    grid-template-columns: 1fr;
  }
  
  .subscribe-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .subscribe-benefits {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 24px;
  }
  
  .contact-split {
    grid-template-columns: 1fr;
  }
  
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none; /* Oculta navegación en móviles para usar menú hamburguesa */
  }
  
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 16px;
  }
  
  .hamburger {
    display: block;
  }
}
