/* =============================== */
/* Institucional mobile            */
/* =============================== */
@media (max-width: 800px) {
  .institucional-mobile {
    display: none !important;
  }
  .institucional-mobile.active {
    display: block !important;
    background: #fffbe6;
    padding: 1.2em 1em 2em 1em;
    border-radius: 12px;
    margin: 1em 0;
    box-shadow: 0 2px 12px rgba(193,138,91,0.07);
  }
  .btn-volver-institucional {
    display: inline-block;
    margin-top: 0.8em;
    margin-bottom: 1em;
    background: #fff;
    color: #b85c38;
    border: 2px solid #c18a5b;
    border-radius: 8px;
    padding: 0.4em 1em;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
  }
}
/* =============================== */
/* Global / Desktop (default)     */
/* =============================== */

/* =============================== */
/* Base / Reset                   */
/* =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f5f5f5;
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

#avisos-beneficios {
  max-width: 1100px;
  margin: 4em auto;
  padding: 0 2em;
}
#avisos-beneficios h2 {
  margin: 0 0 1.2em 0;
  color: #b85c38;
  text-align: center;
  font-size: 1.8em;
  letter-spacing: 0.5px;
  position: relative;
}
#avisos-beneficios h2::after {
  content: '';
  display: block;
  margin: 0.6em auto 0;
  width: 96px;
  height: 6px;
  background: linear-gradient(90deg, #ffd591, #c18a5b);
  border-radius: 6px;
}
#avisos-beneficios ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}
#avisos-beneficios li {
  position: relative;
  background: #fff;
  border: 1.5px solid rgba(193,138,91,0.22);
  border-radius: 14px;
  padding: 1em 1.1em 1em 1.6em;
  box-shadow: 0 8px 24px rgba(193,138,91,0.08);
  color: #7c5a2b;
}
#avisos-beneficios li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 1.2em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c18a5b;
  box-shadow: 0 2px 6px rgba(193,138,91,0.25);
}
#avisos-beneficios li:hover {
  box-shadow: 0 10px 28px rgba(193,138,91,0.12);
  transform: translateY(-1px);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
@media (max-width: 800px) {
  #avisos-beneficios {
    margin: 1em 0;
    padding: 0;
  }
  #avisos-beneficios ul {
    grid-template-columns: 1fr;
    gap: 0.8em;
  }
  #avisos-beneficios li {
    box-shadow: none;
    border-radius: 10px;
  }
}

/* =============================== */
/* Header / Branding              */
/* =============================== */
header {
  background: #fff;
  color: #c18a5b;
  border-bottom: 5px solid #c18a5b;
  padding: 2rem 0 1rem 0;
  text-align: center;
  letter-spacing: 20px;
}
h1 {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  margin: 0;
}
.dulce, .araica {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 20px;
  text-transform: uppercase;
  line-height: 1;
}
.dulce {
  color: #c18a5b;
}
.araica {
  color: #222;
}

/* =============================== */
/* Títulos de Sección (h2 global) */
/* =============================== */
h2 {
  text-align: center;
  width: 100%;
  margin-top: 1.2em;
  margin-bottom: 0.7em;
}

/* =============================== */
/* Secciones Fijas                */
/* =============================== */
.seccion-fija {
  width: 100%;
  margin: 0 auto 1.5em auto;
  text-align: center;
}
.seccion-fija h2 {
  color: #222;
  font-size: 2em;
  margin-bottom: 0.3em;
  text-align: center;
}
.seccion-fija .solo-hoy {
  color: #b85c38;
  font-size: 0.7em;
  font-weight: bold;
  margin-left: 0.5em;
}

/* =============================== */
/* Dropdown de Categorías         */
/* =============================== */
.categorias-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.2em 0 1.5em 0;
  width: 100%;
}
/* Botón de categorías */
#btn-categorias {
  background: #fff;
  color: #b85c38;
  border: 2px solid #c18a5b;
  border-radius: 8px;
  padding: 0.5em 1.2em;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  margin-bottom: 0.5em;
}
#btn-categorias:hover {
  background: #c18a5b;
  color: #fff;
}
/* Menú desplegable */
#menu-categorias {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fffbe6;
  border: 2px solid #c18a5b;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(193,138,91,0.13);
  z-index: 100;
  margin-top: 0.2em;
  padding: 0.5em 0;
}
#menu-categorias.show {
  display: block;
}
.categoria-menu-opcion {
  padding: 0.7em 1.2em;
  color: #b85c38;
  font-size: 1.05em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}
.categoria-menu-opcion:hover {
  background: #ffe7ba;
  color: #222;
}

/* =============================== */
/* Tarjetas de Producto           */
/* =============================== */
.lista-productos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2em 1.2em;
  width: 100%;
  margin: 0 auto 1.5em auto;
  box-sizing: border-box;
}
/* Card base */
.producto {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(193,138,91,0.13), 0 1.5px 8px rgba(0,0,0,0.07);
  border: 1.5px solid #ffe0b2;
  padding: 1.7em 0.7em 2em 0.7em;
  margin: 1em 0.7em 2.2em 0.7em;
  transition: box-shadow 0.22s, border 0.18s, transform 0.18s;
  position: relative;
  max-width: 340px;
  width: 100%;
  flex: 1 1 260px;
  box-sizing: border-box;
}
.producto:hover {
  box-shadow: 0 8px 32px rgba(184,92,56,0.18), 0 2px 12px rgba(0,0,0,0.10);
  border: 2.5px solid #ffd591;
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}
/* Imagen producto */
.producto-img {
  display: block;
  margin: 0 auto 1.1em auto;
  width: 90%;
  max-width: 220px;
  min-width: 120px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.13);
  background: #fff;
  transition: box-shadow 0.18s;
}
/* Texto producto */
.producto-nombre {
  font-size: 1.2em;
  color: #b85c38;
  margin: 0.2em 0 0.5em 0;
  text-align: center;
}
.producto-precio {
  color: #222;
  font-weight: bold;
  margin-bottom: 0.3em;
}
.producto-precio span {
  color: #c18a5b;
}
.producto-stock {
  font-size: 0.95em;
  margin-bottom: 0.7em;
}
/* Botón agregar */
.btn-agregar {
  background: #c18a5b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5em 1.2em;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-agregar:hover {
  background: #b85c38;
}
/* Estado sin stock */
.sin-stock {
  color: #b85c38;
  font-weight: bold;
  font-size: 1em;
}

/* =============================== */
/* Ingredientes / Botones         */
/* =============================== */
/* Botón ingredientes */
.btn-ver-ingredientes {
  display: inline-block;
  background: #fffbe6;
  color: #b85c38;
  border: 1.5px solid #ffd591;
  border-radius: 7px;
  padding: 0.35em 1.1em;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0.7em;
  margin-top: 0.2em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(193,138,91,0.08);
  outline: none;
}
.btn-ver-ingredientes:hover,
.btn-ver-ingredientes:focus {
  background: #ffe7ba;
  color: #222;
  border-color: #c18a5b;
  box-shadow: 0 2px 8px rgba(193,138,91,0.13);
}
/* Panel ingredientes */
.producto-ingredientes {
  transition: max-height 0.25s cubic-bezier(.4,0,.2,1), opacity 0.22s, padding 0.18s;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0.7em;
  background: #fffbe6;
  color: #7c5a2b;
  font-size: 0.98em;
  border-left: 3px solid #ffd591;
  padding-left: 0.8em;
  padding-right: 0.8em;
  border-radius: 6px;
  font-style: italic;
}
.producto-ingredientes.visible {
  max-height: 200px;
  opacity: 1;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}


/* =============================== */
/* Carrito (botón y panel)        */
/* =============================== */
/* Botón flotante */
#carrito {
  position: fixed;
  right: 2.2rem;
  bottom: 2.2rem;
  z-index: 1000;
  background: #fffbe6;
  border: 2px solid #ffe58f;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(193,138,91,0.13);
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  min-width: 30px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  font-size: 0.8em;
}
.carrito-icono {
  font-size: 1.7em;
}
#carrito:hover {
  box-shadow: 0 8px 32px rgba(184,92,56,0.18);
  transform: scale(1.07);
}
#carrito-contador {
  position: absolute;
  top: -10px;
  right: -8px;
  background: #b85c38;
  color: #fff;
  border-radius: 50%;
  padding: 0.3em 0.7em;
  font-size: 1em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(184,92,56,0.18);
  border: 2px solid #fffbe6;
  z-index: 1100;
  pointer-events: none;
}

/* Panel carrito */
#panel-carrito {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  max-width: 95vw;
  min-width: 220px;
  height: 100vh;
  background: #fffbe6;
  border-radius: 18px 0 0 18px;
  z-index: 2600;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), background 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-shadow: -8px 0 32px rgba(193,138,91,0.18);
  border-left: 3px solid #ffd591;
  background: linear-gradient(135deg, #fffbe6 80%, #ffe7ba 100%);
  box-sizing: border-box;
  overflow: hidden;
}
#panel-carrito.panel-carrito-abierto {
  transform: translateX(0);
}
#panel-carrito.panel-carrito-cerrado {
  transform: translateX(100%);
}
/* Header panel */
.panel-carrito-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2em 1.5em 1em 1.5em;
  border-bottom: 2px solid #ffe58f;
  background: #fffbe6;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 2;
}
#cerrar-panel-carrito {
  background: none;
  border: none;
  font-size: 2em;
  color: #b85c38;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.2em;
  transition: color 0.2s;
}
#cerrar-panel-carrito:hover {
  color: #222;
}
/* Contenido panel */
#panel-carrito-contenido {
  flex: 1 1 0%;
  overflow-y: auto;
  background: none;
  padding: 1.5em 1.2em 1.5em 1.2em;
  font-size: 1.08em;
  min-height: 0;
}
/* Item carrito */
.item-carrito {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff9e6;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(193,138,91,0.07);
  padding: 0.7em 1em;
  margin-bottom: 1em;
  gap: 0.5em 1em;
  flex-wrap: wrap;
  min-width: 0;
}
.item-carrito > span,
.item-carrito > .carrito-cantidad,
.item-carrito > button {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.item-carrito span {
  flex: 1;
  font-size: 1em;
  color: #b85c38;
}
.carrito-cantidad {
  display: flex;
  align-items: center;
  gap: 0.4em;
  flex: 0 0 auto;
  min-width: 90px;
  justify-content: center;
}
.btn-sumar,
.btn-restar {
  background: #ffe0b2;
  border: 1px solid #ffd591;
  color: #b85c38;
  font-size: 1.1em;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(193,138,91,0.08);
}
.btn-sumar:hover,
.btn-restar:hover {
  background: #ffd591;
  color: #fff;
}
.btn-eliminar {
  background: #fff1f0;
  border: 1px solid #ffa39e;
  color: #cf1322;
  border-radius: 6px;
  padding: 0.3em 0.8em;
  font-size: 0.98em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: center;
}
.btn-eliminar:hover {
  background: #ffa39e;
  color: #fff;
}

@media (max-width: 600px) {
  .btn-eliminar {
    font-size: 0.88em;
    padding: 0.25em 0.6em;
    border-radius: 5px;
  }
}

.mix-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mix-selector-modal {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 2px solid #ffe0b2;
  max-width: 460px;
  width: 90%;
  padding: 1.4em 1.2em;
}
.mix-selector-title {
  color: #b85c38;
  font-size: 1.3em;
  margin-bottom: 0.9em;
  text-align: center;
}
.mix-selector-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7em;
}
.mix-selector-content label {
  color: #7c5a2b;
  font-weight: bold;
  margin-bottom: 0.2em;
}
.mix-selector-select {
  width: 100%;
  padding: 0.5em 0.6em;
  border: 1.5px solid #ffd591;
  border-radius: 8px;
  background: #fffbe6;
  color: #7c5a2b;
  outline: none;
}
.mix-selector-actions {
  display: flex;
  gap: 0.8em;
  justify-content: flex-end;
  margin-top: 1em;
}
.mix-selector-btn-cancelar {
  background: #fff;
  color: #b85c38;
  border: 1.5px solid #b85c38;
  border-radius: 8px;
  padding: 0.5em 1em;
  cursor: pointer;
}
.mix-selector-btn-confirmar {
  background: #b85c38;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6em 1.2em;
  cursor: pointer;
}
/* Image Viewer (zoom de imágenes) */
.image-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3500;
}
.image-viewer-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 2px solid #ffe0b2;
  max-width: 92vw;
  max-height: 88vh;
  padding: 0.6em;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.image-viewer-modal img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}
.image-viewer-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.92);
  color: #b85c38;
  border: 1.5px solid #ffe0b2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.image-viewer-close:hover {
  background: #fff;
}

/* Botón checkout */
#btn-checkout-panel {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  background: linear-gradient(90deg, #b85c38 60%, #c18a5b 100%);
  color: #fffbe6;
  border: none;
  border-radius: 10px;
  padding: 1em 0;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 1.5em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(193,138,91,0.10);
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
#btn-checkout-panel:hover {
  background: linear-gradient(90deg, #c18a5b 60%, #b85c38 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(193,138,91,0.18);
}
/* Separadores y totales */
#panel-carrito hr {
  border: none;
  border-top: 1.5px solid #ffe58f;
  margin: 1.2em 0 1em 0;
}
#panel-carrito strong {
  color: #b85c38;
  font-size: 1.13em;
  letter-spacing: 0.5px;
}
/* Fix overflow */
#panel-carrito,
#panel-carrito-contenido {
  overflow-x: hidden !important;
  max-width: 100vw;
}
#panel-carrito-contenido > * {
  max-width: 100%;
  box-sizing: border-box;
}
.item-carrito > span:first-child {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
  margin-bottom: 0.2em;
}
.item-carrito .item-nombre {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
  margin-bottom: 0.1em;
  color: #b85c38;
  font-weight: 600;
}
.item-carrito .item-detalle {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
  margin-bottom: 0.4em;
  color: #7c5a2b;
  font-size: 0.95em;
}
.carrito-cantidad,
.item-carrito > span:nth-child(4),
.btn-eliminar {
  flex: 0 1 auto;
  min-width: 0;
  margin-bottom: 0.1em;
}
.carrito-cantidad {
  margin-right: 0.5em;
}
.item-carrito > span:nth-child(4),
.item-carrito .item-precio {
  text-align: right;
  margin-right: 0.5em;
}
.btn-eliminar {
  margin-left: 0;
  align-self: flex-start;
}

/* =============================== */
/* Footer                         */
/* =============================== */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* =============================== */
/* Mobile Layout                  */
/* =============================== */
.mobile-only {
  display: none;
}
.btn-menu {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 800px) {
  /* =============================== */
  /* Base layout mobile              */
  /* =============================== */
  body.menu-open, html.menu-open {
    height: 100%;
    overflow: hidden;
  }
  body {
    display: flex;
    flex-direction: column;
  }
  header {
    flex-shrink: 0;
  }
  main {
    flex: 1 1 auto;
    overflow: hidden;
    padding-top: 76px;
  }
  footer {
    flex-shrink: 0;
    margin-top: 0;
    padding: 0.7rem 0;
  }
  /* =============================== */
  /* Visibilidad mobile/desktop      */
  /* =============================== */
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block;
  }

  /* =============================== */
  /* Header + Menú mobile            */
  /* =============================== */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2400;
    padding: 1.2rem 0 0.9rem 0;
    letter-spacing: 8px;
    background: #fffbe6;
    border-bottom: 2px solid #ffe58f;
  }
  h1 {
    gap: 14px;
  }
  .dulce, .araica {
    letter-spacing: 2px;
    font-size: 2rem;
  }

  .btn-menu {
    display: inline-flex;
    position: absolute;
    right: 16px;
    top: 14px;
    background: #fff;
    color: #b85c38;
    border: 2px solid #c18a5b;
    border-radius: 8px;
    padding: 0.2em 0.6em;
    font-size: 1.3em;
    cursor: pointer;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fffbe6;
    border-left: 2px solid #ffd591;
    box-shadow: -6px 0 24px rgba(193,138,91,0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 3000;
    padding: 1.2em;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2500;
  }
  .mobile-menu-overlay.open {
    display: block;
  }
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
    font-weight: bold;
    color: #b85c38;
  }
  .btn-cerrar-menu {
    background: none;
    border: none;
    font-size: 1.6em;
    cursor: pointer;
    color: #b85c38;
  }
  .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    overflow-y: auto;
  }
  .mobile-menu-list a {
    text-decoration: none;
    color: #b85c38;
    font-weight: bold;
    display: block;
    padding: 0.6em 0.4em;
    border-radius: 8px;
    border-bottom: 1px solid rgba(193, 138, 91, 0.25);
  }
  .mobile-menu-list li:last-child a {
    border-bottom: none;
  }
  .mobile-menu-list a:active,
  .mobile-menu-list a:focus {
    background: #ffe7ba;
    outline: none;
  }
  .mobile-menu-list a:hover {
    background: rgba(255, 231, 186, 0.55);
  }

  /* =============================== */
  /* Categorías mobile               */
  /* =============================== */
  #mobile-categorias {
    height: 100%;
    padding: 0em 1em 1em 1em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
  }
  .mobile-categorias-list {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    flex: 1 1 auto;
    overflow-y: auto;
    padding-bottom: 1em;
  }
  .mobile-categoria-btn {
    width: 100%;
    text-align: center;
    padding: 0.8em 1em;
    border: 2px solid #c18a5b;
    background: #fff;
    color: #b85c38;
    border-radius: 10px;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
  }
  .mobile-categoria-btn.active {
    background: #c18a5b;
    color: #fff;
  }
  /* =============================== */
  /* Productos mobile                */
  /* =============================== */
  #mobile-productos {
    display: none;
    height: 100%;
    padding: 1em;
    overflow: hidden;
  }
  #mobile-productos.active {
    display: block;
  }
  #mobile-categorias.hidden {
    display: none;
  }
  .mobile-productos-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4em;
    margin-bottom: 0.6em;
  }
  .mobile-productos-header h2 {
    margin: 0;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .mobile-productos-header .btn-volver-categorias {
    align-self: flex-start;
  }
  .btn-volver-categorias {
    background: #fff;
    color: #b85c38;
    border: 2px solid #c18a5b;
    border-radius: 8px;
    padding: 0.3em 0.7em;
    font-size: 0.95em;
    font-weight: bold;
    cursor: pointer;
  }
  #mobile-productos-list {
    height: calc(100% - 92px);
    overflow-y: auto;
  }
  /* Override márgenes en mobile */
  main > section {
    margin: 0 auto !important;
  }
}

@media (max-width: 800px) {
  #carrito { display: none; }
  body.mobile-show-cart #carrito { display: flex; }
}

/* =============================== */
/* Sección Quiénes Somos          */
/* =============================== */
#quienes-somos {
  max-width: 1100px;
  margin: 5em auto;
  padding: 0 2em;
  position: relative;
}

/* Contenedor principal como Tarjeta Unificada */
.quienes-somos-contenido {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* Altura igual para ambas columnas */
  background: #fff;
  border-radius: 24px; /* Borde redondeado para toda la tarjeta */
  box-shadow: 0 20px 40px rgba(193,138,91,0.12); /* Sombra unificada */
  overflow: hidden; /* Para contener la imagen y fondos */
  border: 1px solid rgba(193,138,91,0.1);
}

.quienes-somos-texto {
  flex: 1;
  padding: 3.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Decoración lateral en el texto */
.quienes-somos-texto::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #c18a5b;
}

.quienes-somos-texto p {
  margin-bottom: 1.2em;
  color: #555;
  line-height: 1.7;
  font-size: 1.1em;
}

.quienes-somos-texto p:first-of-type {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8em;
  color: #b85c38;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

.quienes-somos-texto ul {
  list-style: none;
  padding: 0;
  margin: 1.5em 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

.quienes-somos-texto li {
  font-weight: 600;
  color: #7c5a2b;
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.95em;
}

.quienes-somos-texto li::before {
  content: none;
}

/* Columna de Imagen */
.quienes-somos-imagen {
  flex: 1.1; /* Un poco más ancha para dar espacio */
  background: #fffbf0; /* Fondo sutil para integrar espacios vacíos */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2em; /* Padding interno para que la imagen respire si es necesario */
}

/* Decoración de transición entre texto e imagen */
.quienes-somos-imagen::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40px;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0));
  z-index: 1;
}

.img-institucional {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain; /* Imagen completa sin recorte */
  border-radius: 12px; /* Pequeño radio propio */
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); /* Sombra sutil propia */
  transform: rotate(1deg); /* Toque orgánico */
  transition: transform 0.3s ease;
}

.img-institucional:hover {
  transform: rotate(0) scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
  #quienes-somos {
    margin: 3em auto;
    padding: 0 1.5em;
  }

  .quienes-somos-contenido {
    flex-direction: column-reverse;
    border-radius: 20px;
    height: auto;
  }
  
  .quienes-somos-texto {
    padding: 2em;
    border-top: 1px solid #ffe0b2;
  }
  
  .quienes-somos-texto::before {
    width: 100%;
    height: 6px;
    bottom: auto;
    left: 0;
    right: 0;
  }

  .quienes-somos-imagen {
    padding: 0;
    background: #fff;
    min-height: 250px;
  }
  
  .quienes-somos-imagen::after {
    display: none;
  }

  .img-institucional {
    border-radius: 20px 20px 0 0;
    box-shadow: none;
    transform: none;
    max-height: 350px;
    object-fit: cover; /* En mobile cover queda mejor para encabezado */
    width: 100%;
    height: 100%;
  }
}

/* =============================== */
/* Sección Presupuesto Eventos    */
#formulario-presupuesto {
  max-width: 1100px;
  margin: 5em auto;
  padding: 0 2em;
  position: relative;
}
#formulario-presupuesto h2 {
  margin: 0 0 1.1em 0;
  color: #b85c38;
  text-align: center;
  font-size: 2.1em;
  letter-spacing: 0.5px;
}
.presupuesto-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  border: 1.5px solid rgba(193,138,91,0.22);
  box-shadow: 0 14px 36px rgba(193,138,91,0.12);
  padding: 2.2em 2em 2.6em;
  text-align: center;
  overflow: hidden;
}
/* Cinta diagonal superior */
.presupuesto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  right: -8px;
  height: 10px;
  background: linear-gradient(90deg, #ffd591, #c18a5b);
  transform: rotate(-0.8deg);
}
/* Perforación inferior tipo ticket */
.presupuesto-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background: radial-gradient(circle at 8px 50%, rgba(193,138,91,0.35) 2px, transparent 3px) repeat-x;
  background-size: 16px 14px;
}
.presupuesto-card p {
  color: #555;
  font-size: 1.15em;
  margin-bottom: 1.4em;
}
.btn-presupuesto {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: linear-gradient(135deg, #c18a5b 0%, #a04825 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0.9em 1.3em;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(160,72,37,0.28);
  transform: translateY(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-presupuesto::before {
  content: '📲';
  font-size: 1.1em;
}
.btn-presupuesto:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(160,72,37,0.32);
}
@media (max-width: 800px) {
  #formulario-presupuesto {
    margin: 1.2em 0;
    padding: 0 1em;
  }
  .presupuesto-card {
    border-radius: 16px;
    padding: 1.4em 1.2em 1.8em;
  }
  .btn-presupuesto { width: 100%; justify-content: center; }
}

/* =============================== */
/* Sección Formulario Cliente     */
/* =============================== */
#eslogan-formulario {
  max-width: 1100px; /* Ancho ampliado para 2 columnas */
  margin: 3em auto;
  padding: 0 1.5em;
}

/* Layout Grid para Desktop */
.registro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  align-items: center;
}

/* Columna Izquierda: Info Moderna */
.registro-info {
  padding: 2em;
  background: linear-gradient(135deg, #fffbe6 0%, #fff 100%);
  border-radius: 20px;
  border-left: 5px solid #c18a5b;
  box-shadow: 0 4px 20px rgba(193,138,91,0.08);
}

.registro-info h2 {
  text-align: left;
  font-size: 2.2em;
  margin-top: 0;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.registro-description {
  font-size: 1.15em;
  color: #555;
  margin-bottom: 2em;
  line-height: 1.6;
}

.registro-description .resaltado {
  color: #b85c38;
  font-weight: bold;
  background: rgba(184,92,56,0.1);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.registro-beneficios {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.registro-beneficios li {
  display: flex;
  align-items: center;
  gap: 1em;
  background: #fff;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(193,138,91,0.2);
}

.registro-beneficios li:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(193,138,91,0.15);
  border-color: #c18a5b;
}

.registro-beneficios .icono {
  font-size: 1.8em;
  background: #fff0e0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.registro-beneficios .texto {
  display: flex;
  flex-direction: column;
}

.registro-beneficios .texto strong {
  color: #b85c38;
  font-size: 1.05em;
  margin-bottom: 0.2em;
}

.registro-beneficios .texto span {
  font-size: 0.9em;
  color: #777;
}

/* Columna Derecha: Formulario */
.registro-form-container {
  background: #fff;
  padding: 2.5em;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(193,138,91,0.15);
  border: 1px solid #ffe0b2;
  position: relative;
}



.form-cliente {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.form-group label {
  color: #7c5a2b;
  font-weight: bold;
  font-size: 0.95em;
  margin-left: 0.2em;
}

.form-group input {
  padding: 0.9em;
  border: 2px solid #fffbe6; /* Borde suave inicial */
  background: #fdfaf5;
  border-radius: 10px;
  font-size: 1em;
  color: #444;
  outline: none;
  transition: all 0.2s;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-group input:focus {
  border-color: #c18a5b;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(193,138,91,0.1);
}

.form-hint {
  font-size: 0.85em;
  color: #b85c38;
  font-style: italic;
  margin-top: 0.3em;
  display: block;
  text-align: right;
}

.btn-enviar-form {
  margin-top: 1em;
  background: linear-gradient(135deg, #b85c38 0%, #a04825 100%);
  color: #fff;
  border: none;
  padding: 1.1em;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(184,92,56,0.25);
  letter-spacing: 0.5px;
}

.btn-enviar-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(184,92,56,0.35);
  background: linear-gradient(135deg, #c18a5b 0%, #b85c38 100%);
}

.btn-enviar-form:active {
  transform: translateY(-1px);
}

/* Responsive: Volver a 1 columna en mobile */
@media (max-width: 900px) {
  #eslogan-formulario {
    margin: 1.5em auto;
  }
  
  .registro-layout {
    grid-template-columns: 1fr;
    gap: 2em;
  }

  .registro-info h2 {
    text-align: center;
  }

  .registro-description {
    text-align: center;
  }

  .registro-form-container {
    padding: 1.5em;
  }
}

/* =============================== */
/* Sección Explicación Cliente    */
/* =============================== */
#numero-cliente-info {
  max-width: 1100px;
  margin: 5em auto;
  padding: 0 2em;
}

.cliente-araica-container {
  text-align: center;
}

.cliente-header {
  margin-bottom: 3.5em;
}

.cliente-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5em;
  color: #b85c38;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.3em;
}

.cliente-subtitle {
  font-size: 1.2em;
  color: #666;
  font-weight: 300;
}

/* Tarjetas Explicativas */
.cliente-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3em; /* Aumentado de 2em a 3em para más espacio lateral */
}

.cliente-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5em 2em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(193,138,91,0.1);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tarjeta destacada (centro) - IGUALADA */
.cliente-card.highlight {
  background: #fff; /* Fondo igual que las demás */
  border: 1px solid rgba(193,138,91,0.1); /* Borde igual que las demás */
  transform: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra igual que las demás */
}

.cliente-card:hover {
  transform: translateY(-5px); 
  box-shadow: 0 15px 40px rgba(193,138,91,0.15);
  border-color: #c18a5b;
}

.cliente-card.highlight:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 3em;
  margin-bottom: 0.5em;
  background: #fff0e0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(193,138,91,0.1);
}

.cliente-card h3 {
  font-size: 1.4em;
  color: #7c5a2b;
  margin-bottom: 0.8em;
  font-weight: 700;
}

.cliente-card p {
  font-size: 1em;
  color: #666;
  line-height: 1.6;
}

/* Footer de la sección */
.cliente-footer {
  margin-top: 3em;
}

.cliente-footer p {
  display: inline-block;
  background: #c18a5b;
  color: #fff;
  padding: 0.8em 2em;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 15px rgba(193,138,91,0.3);
}

/* Responsive */
@media (max-width: 900px) {
  #explicacion-cliente {
    margin: 3em auto;
    padding: 0 1.5em;
  }
  
  .cliente-header h2 {
    font-size: 1.8em;
  }
  
  .cliente-cards {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  
  .cliente-card.highlight {
    transform: none; /* Quitar elevación en mobile */
  }
  
  .cliente-card:hover,
  .cliente-card.highlight:hover {
    transform: none;
  }
}

/* =============================== */
/* Sección Garantía de Satisfacción */
/* =============================== */
#garantia-satisfaccion {
  max-width: 1000px;
  margin: 5em auto;
  padding: 0 2em;
}

.garantia-container {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(193,138,91,0.1);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(193,138,91,0.15);
}

.garantia-badge {
  background: linear-gradient(135deg, #c18a5b 0%, #a04825 100%);
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.garantia-badge::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1h2v2H1V1zm4 0h2v2H5V1zm4 0h2v2H9V1zm4 0h2v2h-2V1zm4 0h2v2h-2V1z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.badge-icon {
  font-size: 4em;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.garantia-content {
  padding: 3em 4em;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.garantia-content h2 {
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-size: 2.2em;
  color: #b85c38;
  margin-top: 0;
  margin-bottom: 0.8em;
  letter-spacing: 1px;
}

.garantia-intro {
  font-size: 1.15em;
  color: #555;
  margin-bottom: 1.5em;
  font-weight: 500;
}

.garantia-promise {
  background: #fffbf0;
  border-left: 4px solid #c18a5b;
  padding: 1.5em;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.5em;
}

.garantia-promise p {
  color: #7c5a2b;
  font-style: italic;
  font-size: 1.1em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.garantia-promise p:last-child {
  margin-bottom: 0;
}

.garantia-closing {
  font-size: 1.1em;
  color: #444;
  line-height: 1.6;
}

.garantia-closing strong {
  color: #b85c38;
  display: block;
  margin-top: 0.5em;
  font-size: 1.1em;
}

/* Responsive Garantía */
@media (max-width: 800px) {
  #garantia-satisfaccion {
    margin: 3em auto;
    padding: 0 1.5em;
  }
  
  .garantia-container {
    flex-direction: column;
  }
  
  .garantia-badge {
    width: 100%;
    height: 80px;
    background: linear-gradient(90deg, #c18a5b 0%, #a04825 100%);
  }
  
  .badge-icon {
    font-size: 2.5em;
    animation: none;
  }
  
  .garantia-content {
    padding: 2em 1.5em;
    text-align: center;
  }
  
  .garantia-content h2 {
    text-align: center;
    font-size: 1.8em;
  }
  
  .garantia-promise {
    text-align: left;
    padding: 1.2em;
  }
}