/* ============================================================
   AGOFA Chocolates Artesanales & Regalos Personalizados
   Estilos Principales - Sunchales, Santa Fe
   ============================================================ */

:root {
  --primary: #7A1C1D;
  --primary-dark: #5A1213;
  --secondary: #D4A373;
  --bg-light: #FAFAFA;
  --text-dark: #2B2B2B;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.logo-container {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 45px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.cart-icon {
  font-size: 0.95rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.cart-icon:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* BANNER HERO */
.hero {
  position: relative;
  text-align: center;
  padding: 3.5rem 1.5rem;
  min-height: 280px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(122, 28, 29, 0.94), rgba(50, 8, 10, 0.88)), 
              url('https://images.unsplash.com/photo-1511381939415-e44015466834?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  color: var(--white);
  border-bottom: 2px solid var(--secondary);
}

.hero-overlay {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-logo-integrated {
  max-width: 170px;
  height: auto;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

.hero p {
  font-size: 0.95rem;
  opacity: 0.95;
  font-weight: 300;
  white-space: nowrap;
}

/* BANNER DINÁMICO POR SECCIÓN */
.category-banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: background-image 0.5s ease-in-out;
  margin-bottom: 2.5rem;
}

.category-banner-overlay {
  width: 100%;
  min-height: 420px;
  padding: 3.5rem 1.5rem 1.5rem 1.5rem;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.category-banner h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #FFFDF9;
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  max-width: 950px;
  line-height: 1.35;
  margin-top: 6rem;
  margin-bottom: auto;
  opacity: 0.6;
}

.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 5;
  margin-top: auto;
}

.filters-main, .filters-special {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 0.88rem;
  backdrop-filter: blur(4px);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.filter-btn.btn-fillings-highlight {
  background-color: rgba(255, 243, 224, 0.9);
  border-color: var(--secondary);
  color: #B76E00;
}

.filter-btn.btn-fillings-highlight:hover {
  background-color: var(--secondary);
  color: #FFFFFF;
}

.filter-btn.btn-egresados {
  border-color: #000000;
  background-color: rgba(26, 26, 26, 0.95);
  color: #FFFFFF;
  transition: opacity 0.3s ease-in-out, background-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-btn.btn-egresados:hover,
.filter-btn.btn-egresados.active {
  background-color: #000000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  opacity: 0.88;
}

.filter-btn.btn-navidad {
  border-color: #1E5631;
  background-color: rgba(20, 69, 47, 0.95);
  color: #FFFFFF;
  transition: opacity 0.3s ease-in-out, background-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-btn.btn-navidad:hover,
.filter-btn.btn-navidad.active {
  background-color: #0C3823;
  box-shadow: 0 2px 8px rgba(20, 69, 47, 0.4);
  opacity: 0.88;
}

/* Grilla de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.3s ease, opacity 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-card.out-of-stock {
  filter: grayscale(85%);
  opacity: 0.65;
  background: #F4F4F4;
}

.product-card.out-of-stock:hover {
  transform: none;
  filter: grayscale(100%);
  opacity: 0.8;
  box-shadow: none;
}

.stock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #555555;
  color: #FFFFFF;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.product-card.custom-builder-card {
  border: 2px dashed var(--secondary);
  background: #FFFDF9;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.4;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-price.no-stock {
  color: #777777;
  font-size: 1rem;
}

.add-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.add-btn:hover {
  background: var(--primary-dark);
}

.add-btn.btn-disabled {
  background: #888888;
  cursor: not-allowed;
}

.custom-builders-wrapper {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 10px;
}

.custom-builders-wrapper .product-card {
  flex: 1;
  max-width: 480px;
}

/* ============================================================
   ESTILOS ESPECIALES PARA SECCIÓN DE BOX PERSONALIZADOS
   ============================================================ */
.custom-box-intro-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FFFBF5 0%, #FFF7ED 100%);
  border: 1px solid #EAD8C3;
  border-left: 5px solid var(--secondary);
  border-radius: 14px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  line-height: 1.6;
}

.custom-box-intro-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-box-intro-card p {
  font-size: 0.94rem;
  color: #4A4A4A;
  margin-bottom: 0.8rem;
}

.custom-box-intro-card ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-box-intro-card li {
  font-size: 0.9rem;
  color: #333;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #F0E2D0;
}

.custom-box-intro-card .whatsapp-help-note {
  font-size: 0.88rem;
  color: #6B4E38;
  background: #FFF0DF;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-box-intro-card .whatsapp-help-note a {
  color: #25D366;
  font-weight: 600;
  text-decoration: underline;
}

.box-section-divider-title {
  grid-column: 1 / -1;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 6px;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Banner Interactivo Al Final: Nuestros Box Entregados */
.delivered-boxes-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(122, 28, 29, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.delivered-boxes-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(122, 28, 29, 0.35);
}

.delivered-boxes-banner h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--secondary);
}

.delivered-boxes-banner p {
  font-size: 0.92rem;
  opacity: 0.9;
  max-width: 650px;
}

.btn-delivered-modal {
  background: var(--secondary);
  color: #3D2206;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.92rem;
  margin-top: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-delivered-modal:hover {
  background: #EAD0B3;
  transform: scale(1.05);
}

/* Modales Generales */
.product-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.product-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-content {
  background: var(--white);
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow-y: auto;
}

.gallery-container {
  position: relative;
  background: #F4F4F4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.canastas-gallery {
  aspect-ratio: unset !important;
  height: 100% !important;
  min-height: 420px;
}

.gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  z-index: 5;
}

.gallery-arrow:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.prev-arrow { left: 12px; }
.next-arrow { right: 12px; }

.gallery-dots {
  position: absolute;
  bottom: 12px;
  display: flex;
  gap: 6px;
}

.dot {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.modal-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.modal-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.modal-product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
}

.modal-product-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.variants-container {
  margin-bottom: 1.5rem;
}

.variant-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.variants-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.variant-chip {
  padding: 10px 14px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  transition: all 0.2s ease;
}

.variant-chip:hover {
  border-color: var(--primary);
}

.variant-chip.selected {
  border-color: var(--primary);
  background: #FFF7F7;
  color: var(--primary);
  font-weight: bold;
}

.add-btn-modal {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}

/* ============================================================
   ESTILOS DE CARRUSEL PARA RELLENOS Y BOX ENTREGADOS
   ============================================================ */

.fillings-modal-content,
.delivered-modal-content {
  padding: 1.5rem;
  max-width: 520px;
  width: 95%;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.carousel-card-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.carousel-card {
  background: #FFFDF9;
  border: 1px solid #EFEAE4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 380px;
}

.carousel-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.carousel-info {
  padding: 1rem;
  text-align: center;
}

.carousel-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.carousel-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.4;
}

.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(122, 28, 29, 0.85);
  color: var(--white);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.carousel-arrow:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

.carousel-counter {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #777;
  margin-top: 0.8rem;
}

/* Armador Personalizado */
.custom-builder-content {
  padding: 1.5rem;
  max-width: 850px;
  display: flex;
  flex-direction: column;
}

.builder-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.builder-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary);
}

.builder-header p {
  font-size: 0.85rem;
  color: #666;
}

.builder-body {
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 8px;
}

.builder-section {
  margin-bottom: 1.5rem;
  background: #FDFDFD;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #EFEFEF;
}

.builder-section h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 10px;
  border-bottom: 1px solid #EEE;
  padding-bottom: 6px;
}

.builder-laser-section {
  background: #FFFBF5;
  border: 1px dashed var(--secondary);
}

.laser-input-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.builder-laser-section input {
  width: 100%;
  padding: 10px;
  border: 1px solid #CCC;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.laser-disclaimer-note {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.4;
}

.builder-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.builder-option-card {
  position: relative;
  background: var(--white);
  border: 2px solid #E5E5E5;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  user-select: none;
}

.builder-option-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.builder-option-card.selected {
  border-color: var(--primary);
  background: #FFF7F7;
  box-shadow: 0 0 0 2px var(--primary);
}

.builder-option-card img {
  width: 100%;
  height: 95px;
  object-fit: cover;
}

.builder-option-info {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  text-align: center;
}

.builder-option-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.builder-option-price {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--primary);
}

.builder-option-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary);
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.builder-footer {
  border-top: 1px solid #EEE;
  padding-top: 1rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.builder-total {
  font-size: 1.1rem;
}

.builder-total strong {
  color: var(--primary);
  font-size: 1.3rem;
}

/* Carrito Lateral */
.cart-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 630px;
  height: 100%;
  background: var(--white);
  box-shadow: -4px 0 15px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 1000;
}

.cart-modal.open {
  right: 0;
}

.cart-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  margin: 1rem 0;
}

.empty-msg {
  color: #888;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 2rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 65%;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  background: #f0f0f0;
  border: 1px solid #ccc;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-number {
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  padding: 4px;
}

.cart-footer {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.shipping-option-box {
  background: #F9F9F9;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  border: 1px solid #EAEAEA;
}

.shipping-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.address-container {
  margin-top: 8px;
}

.address-container input {
  width: 100%;
  padding: 8px;
  border: 1px solid #CCC;
  border-radius: 6px;
  font-size: 0.85rem;
}

.payment-info-box {
  background-color: #FFF9F2;
  border-left: 4px solid var(--secondary);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
}

.payment-title {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.payment-info-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.payment-info-box li {
  margin-bottom: 4px;
}

.payment-info-box li:last-child {
  margin-bottom: 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.custom-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1rem;
}

.custom-inputs label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
}

.custom-inputs textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.88rem;
}

.btn-whatsapp {
  width: 100%;
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

.site-footer {
  background: #1A1A1A;
  color: var(--white);
  padding: 3rem 1.5rem 1rem 1.5rem;
  margin-top: 3rem;
  border-top: 4px solid var(--primary);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.footer-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.footer-info p, .footer-hours p {
  font-size: 0.9rem;
  color: #CCC;
  margin-bottom: 0.6rem;
}

.footer-info a { color: var(--white); text-decoration: none; }
.footer-hours { max-width: 400px; text-align: right; }
.footer-bottom { text-align: center; padding-top: 1.5rem; font-size: 0.8rem; color: #888; }

/* ============================================================
   REGLAS ADAPTABLES PARA DISPOSITIVOS MÓVILES (PANTALLAS CHICAS)
   ============================================================ */
@media (max-width: 768px) {
  .hero h2, .hero p { white-space: normal; }
  .category-banner { min-height: 320px; }
  .category-banner-overlay { min-height: 320px; }
  .category-banner h3 { font-size: 1.5rem; margin-top: 1rem; }
  .modal-body { grid-template-columns: 1fr; }
  .builder-options-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .builder-footer { flex-direction: column; text-align: center; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-hours { text-align: center; }
  .cart-modal { max-width: 100%; }
  .custom-builders-wrapper { flex-direction: column; }
  .custom-builders-wrapper .product-card { max-width: 100%; }

  .fillings-modal-content,
  .delivered-modal-content {
    max-height: 90vh;
    padding: 1.2rem 0.8rem;
  }

  .carousel-card img {
    height: 260px;
  }

  .carousel-prev { left: 2px; }
  .carousel-next { right: 2px; }
}