* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fbf5ec;
  color: #2b2b2b;
}

/* Barra de Navegacion */
.navbar {
  background: #ffe3e3;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #ffd4d4;
}

.logo {
  display: flex;
  align-items: center;
}

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

.brand-text h1 {
  font-size: 1.35rem;
  line-height: 1.15;
  color: #4a2c11;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand-text span {
  font-size: 0.78rem;
  color: #7f5539;
  font-weight: 500;
}

/* Carrito Circular y Badge Flotante Corregido */
.cart-wrapper {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-circle-btn {
  background: #4a2c11;
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(74, 44, 17, 0.25);
  transition: transform 0.15s ease, background 0.2s;
}

.cart-circle-btn:hover {
  background: #361f0a;
}

.cart-circle-btn:active {
  transform: scale(0.92);
}

.cart-badge {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  background: #d90429;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  line-height: 18px;
  border-radius: 10px;
  text-align: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  border: 2px solid #ffe3e3;
  pointer-events: none;
  z-index: 60;
}

/* Hero Banner */
.hero-banner {
  width: 100%;
  height: clamp(260px, 36vw, 480px);
  overflow: hidden;
  background: #f7dfbe;
  display: block;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* Barra de Aviso */
.alert-bar {
  background: #ffe3e3;
  color: #c92a2a;
  text-align: center;
  padding: 9px 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid #fae3e3;
}

/* Catalogo y Categorias */
.container {
  max-width: 1020px;
  margin: 28px auto 48px auto;
  padding: 0 16px;
}

.category-block {
  margin-bottom: 36px;
}

.category-title {
  font-size: 1.35rem;
  color: #4a2c11;
  font-weight: 800;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  background: #e63946;
  border-radius: 4px;
}

.category-subtitle {
  font-size: 0.82rem;
  color: #8c6b4f;
  margin-bottom: 16px;
  padding-left: 16px;
  font-style: italic;
}

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

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(139, 90, 43, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #f0e6d8;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #3b220c;
  font-weight: 700;
}

.card p {
  font-size: 0.82rem;
  color: #6b5847;
  margin-bottom: 12px;
  line-height: 1.35;
}

.card .price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #e63946;
  margin-bottom: 10px;
}

.add-btn {
  background: #4a2c11;
  color: white;
  border: none;
  padding: 9px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.add-btn:hover {
  background: #361f0a;
}

/* Modal de Personalizacion */
.extras-modal-box {
  text-align: left;
  max-height: 90vh;
  overflow-y: auto;
}

.extras-list-wrapper {
  background: #fdfaf6;
  border: 1px solid #ebd9c4;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.base-select-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.base-select-row label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #7f5539;
  margin-bottom: 3px;
}

.base-select-row select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #d8cbba;
  border-radius: 6px;
  font-size: 0.82rem;
  background: #ffffff;
  color: #4a2c11;
  font-weight: 500;
}

.extras-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extra-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: #4a2c11;
  cursor: pointer;
}

.extra-row input {
  margin-right: 8px;
  accent-color: #4a2c11;
  transform: scale(1.1);
}

.dropdown-subpanel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #d8cbba;
}

.subpanel-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4a2c11;
  margin-bottom: 8px;
}

.option-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
  padding: 2px;
}

.option-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #d8cbba;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a2c11;
  cursor: pointer;
  transition: all 0.15s ease;
}

.option-pill input {
  accent-color: #e63946;
  margin: 0;
}

.option-pill:has(input:checked) {
  background: #ffe3e3;
  border-color: #e63946;
  color: #c92a2a;
}

.fruit-radio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fruit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #d8cbba;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a2c11;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fruit-pill input {
  accent-color: #e63946;
  margin: 0;
}

.fruit-pill:has(input:checked) {
  background: #ffe3e3;
  border-color: #e63946;
  color: #c92a2a;
}

.extras-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  color: #4a2c11;
  margin-bottom: 8px;
  padding: 0 4px;
}

/* Sidebar Carrito */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: none;
  z-index: 99;
}

.modal-backdrop.active {
  display: block;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 20px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 100;
}

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

.cart-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0e6d8;
  flex-shrink: 0;
  background: #fdfbf7;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #555;
}

.cart-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f5ede2;
}

.cart-item-base {
  font-size: 0.75rem;
  color: #555;
  display: block;
  margin-top: 2px;
}

.cart-item-extras {
  font-size: 0.74rem;
  color: #7f5539;
  display: block;
  margin-top: 2px;
}

/* Botón de eliminar claro y en su propio recuadro */
.delete-item-btn {
  background: #d90429 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: 6px !important;
  transition: background 0.2s, transform 0.15s !important;
}

.delete-item-btn:hover {
  background: #a9031f !important;
  transform: scale(1.02);
}

/* Formulario */
.form-group {
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.radio-row {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 9px 10px;
  margin-top: 4px;
  margin-bottom: 8px;
  border: 1px solid #d8cbba;
  border-radius: 6px;
  font-size: 0.85rem;
  background: #fff;
  resize: none;
}

.fidelity-box {
  background: #fffaf0;
  border: 1px dashed #d4a373;
  padding: 10px;
  border-radius: 8px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.fidelity-hint {
  display: block;
  font-size: 0.72rem;
  color: #7f5539;
  margin-top: 2px;
}

.location-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.btn-gps {
  flex: 1;
  background: #0284c7;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-map {
  flex: 1;
  background: #475569;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.gps-status {
  font-size: 0.75rem;
  margin-bottom: 8px;
  color: #555;
  font-style: italic;
}

.bank-box {
  background: #fbf5ec;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  margin-top: 6px;
  margin-bottom: 10px;
  border: 1px solid #ebd9c4;
}

.warning-text {
  color: #d90429;
  font-size: 0.78rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

/* Pie Fijo */
.cart-summary {
  padding: 14px 18px;
  background: #fdfbf7;
  border-top: 2px solid #ebd9c4;
  flex-shrink: 0;
}

.row-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #3b220c;
}

.anticipo-calc {
  font-size: 0.88rem;
  color: #4a2c11;
  margin-bottom: 10px;
}

.text-muted {
  color: #777;
  font-size: 0.78rem;
}

.btn-checkout {
  width: 100%;
  background: #25d366;
  color: white;
  border: none;
  padding: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-checkout:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Estilos de la Portada de Revista Promocional sin scroll interno */
.revista-box {
  background: #ffffff;
  border-radius: 14px;
  max-width: 380px;
  width: 92%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.revista-close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.revista-close-btn:hover {
  background: rgba(217, 4, 41, 0.9);
}

.revista-img-container {
  width: 100%;
  background: #111;
  line-height: 0;
}

.revista-poster-img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.revista-action-footer {
  padding: 12px 16px;
  background: #fdfbf7;
  border-top: 1px solid #ebd9c4;
}

/* Modales */
.modal-ticket {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
  padding: 16px;
}

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

.ticket-box {
  background: white;
  padding: 16px;
  border-radius: 10px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.map-modal-box {
  max-width: 420px;
}

.close-map-btn {
  background: none;
  border: none;
  color: #777;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 6px;
  padding: 4px;
}

.ticket-note {
  font-size: 0.8rem;
  color: #d90429;
  font-weight: 600;
  margin: 6px 0 12px 0;
}

.canvas-wrapper {
  max-height: 320px;
  overflow-y: auto;
  border: 1px dashed #bbb;
  background: #fff;
  margin-bottom: 12px;
}

#ticketCanvas {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.ticket-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-download {
  background: #4a2c11;
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.main-footer {
  background: #fce4e4;
  color: #4a2c11;
  margin-top: 40px;
  border-top: 3px solid #ffd4d4;
}

.footer-top-bar {
  background: #ffd6d6;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px;
  border-bottom: 1px solid #f8c3c3;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-icon {
  width: 44px;
  height: 44px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.footer-contact-icon.whatsapp-icon {
  background: #25d366;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
}

.footer-contact-text span {
  font-size: 0.75rem;
  color: #7f5539;
  font-weight: 500;
}

.footer-contact-text strong a {
  color: #4a2c11;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.footer-contact-text strong a:hover {
  color: #c92a2a;
}

.footer-columns-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 24px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: #4a2c11;
  margin-bottom: 14px;
  font-weight: 800;
  border-bottom: 2px solid #e6a8a8;
  padding-bottom: 6px;
  display: inline-block;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-btn {
  background: none;
  border: none;
  color: #5a3516;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  padding: 2px 0;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-link-btn:hover {
  color: #c92a2a;
  transform: translateX(4px);
}

.footer-col-social .social-text {
  font-size: 0.82rem;
  color: #6b4a31;
  margin-bottom: 12px;
  line-height: 1.35;
}

.social-links-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.social-circle-btn {
  width: 38px;
  height: 38px;
  background: #4a2c11;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.15s;
}

.social-circle-btn:hover {
  background: #c92a2a;
  transform: translateY(-3px);
}

.social-ig-tag {
  font-size: 0.82rem;
  color: #6b4a31;
  margin-top: 4px;
}

.social-ig-tag strong {
  color: #4a2c11;
}

.footer-bottom-bar {
  width: 100%;
  background: #f7cccc;
  text-align: center;
  padding: 16px 20px;
  font-size: 0.78rem;
  color: #5a3516;
  font-weight: 600;
  border-top: 1px solid #ebb5b5;
}

.footer-bottom-bar .footer-address {
  margin-top: 4px;
  color: #7f5539;
  font-weight: 400;
}

.info-modal-box {
  max-width: 480px;
  text-align: left;
}

.info-modal-box h3 {
  color: #4a2c11;
  font-size: 1.15rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #ebd9c4;
  padding-bottom: 6px;
}

.info-modal-scroll {
  max-height: 60vh;
  overflow-y: auto;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.5;
  padding-right: 6px;
}

.info-step-card {
  background: #fdfaf6;
  border-left: 3px solid #4a2c11;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 0 6px 6px 0;
}

.info-step-card strong {
  color: #4a2c11;
  display: block;
  margin-bottom: 2px;
}
/* Estilo para enlace de correo en el footer */
.social-ig-tag a:hover {
  color: #c92a2a !important;
  text-decoration: underline !important;
}

/* Estilos para las Pestañas de Navegación */
.sub-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  background: #fdfbf7;
  padding: 12px 16px;
  border-bottom: 2px solid #ebd9c4;
  margin-bottom: 10px;
}

.tab-btn {
  background: #ffffff;
  color: #7f5539;
  border: 1px solid #d8cbba;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.tab-btn:hover {
  background: #ffe3e3;
  color: #c92a2a;
  border-color: #f8c3c3;
}

.tab-btn.active {
  background: #4a2c11;
  color: #ffffff;
  border-color: #4a2c11;
  box-shadow: 0 4px 10px rgba(74, 44, 17, 0.2);
}

/* Tarjeta de Próximamente para Cotizaciones */
.coming-soon-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(139, 90, 43, 0.08);
  border: 1px solid #f0e6d8;
  max-width: 600px;
  margin: 40px auto;
}

.coming-soon-icon {
  font-size: 3.5rem;
  color: #e63946;
  margin-bottom: 16px;
  display: block;
}

.coming-soon-card h3 {
  font-size: 1.5rem;
  color: #4a2c11;
  font-weight: 800;
  margin-bottom: 10px;
}

.coming-soon-card p {
  font-size: 0.95rem;
  color: #6b5847;
  line-height: 1.5;
}