:root{
  /* === Paleta original (se respeta) === */
  --c1: #0ea5e9;       /* barra pequeña */
  --c2: #0b132b;       /* barra grande */
  --ghost: rgba(11,19,43,0.55);
  --text: #eaeaea;
  --bg: #0f172a;
  --accent: #38bdf8;

  /* === Extras visuales (no funcionales) === */
  --radius: 12px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(2,6,23,.35);
  --shadow-sm: 0 4px 14px rgba(2,6,23,.25);
  --border: rgba(255,255,255,.10);
  --muted: #93a4bd;
}

*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0;
  font-family: system-ui, Arial, sans-serif;
  background:#0b0f1a; color:#dbe2ef;
  scroll-behavior:smooth;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }

/* ========= HEADER (estructura original) ========= */
.header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  display:grid; grid-template-columns:20% 80%;
  height:64px;
}
.bar-20{
  background: #e9e2e2;
  position:relative;
}
.bar-80{
  background: var(--c2);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 16px; gap:16px;
  border-bottom:1px solid var(--border);
}
.logo{
  font-weight:800; letter-spacing:.5px; color:#fff;
  display:inline-flex; align-items:center; gap:.5rem;
}
.logo::before{
  content:""; width:.6rem; height:.6rem; border-radius:999px;
  background:linear-gradient(135deg, #51d1ff, #6aa7ff);
  box-shadow:0 0 0 6px rgba(81,209,255,.15);
}

.menu-desktop{ display:flex; align-items:center; }
.menu-desktop a{
  margin:0 12px; opacity:.9; color:#e8eef8; padding:8px 10px; border-radius:10px;
  transition: background .2s ease, opacity .2s ease, transform .05s ease;
}
.menu-desktop a:hover{ background:rgba(255,255,255,.06); opacity:1; }
.menu-desktop a:active{ transform:translateY(1px); }

.menu-desktop .cart-btn{
  margin-left:12px; border:1px solid var(--border);
  background:#141a32; color:#fff; padding:8px 10px; border-radius:8px;
  display:inline-flex; align-items:center; gap:8px;
  transition: background .2s ease, border-color .2s ease, transform .05s ease;
}
.menu-desktop .cart-btn:hover{
  background:#182042; border-color:rgba(255,255,255,.18);
}
.menu-desktop .cart-btn:active{ transform:translateY(1px); }
#cartCount{
  background:#fff; color:#111; border-radius:10px; padding:1px 6px; font-size:12px;
}

/* Redes arriba derecha */
.right-socials{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  display:flex; gap:10px;
}
.right-socials a{
  color:#0e0652; background:#ffffff; border-radius:50%; width:30px; height:30px;
  display:grid; place-items:center;
  transition: transform .12s ease, box-shadow .2s ease;
}
.right-socials a:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}

.toggle-btn{
  display:none; background:transparent; color:#fff; border:0; font-size:22px;
  width:40px; height:40px; border-radius:10px;
}
.toggle-btn:hover{ background:rgba(255,255,255,.08); }

/* Fantasma al scrollear (clase original) */
.scrolled .bar-80{ background:var(--ghost); backdrop-filter: blur(6px); }
.scrolled .bar-20{ background:rgba(228, 217, 212, 0.65); backdrop-filter: blur(6px); }

/* ========= OFFCANVAS (móvil) ========= */
.offcanvas{
  position:fixed; top:64px; left:0; bottom:0; width:0;
  overflow:hidden; background:#0b132b; transition: width .25s ease; z-index:999;
  border-right:1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.offcanvas.open{ width:70%; max-width:360px; }
.offcanvas-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px; border-bottom:1px solid var(--border);
}
.toggle-close{ background:transparent; border:0; color:#fff; font-size:22px; }
.toggle-close:hover{ color:#b4c7ff; }

.offcanvas-nav{
  display:flex; flex-direction:column; gap:14px; padding:0 16px 24px;
}
.offcanvas-nav a{
  padding:10px 12px; border-radius:10px; background:#121a35; color:#e8eef8;
  border:1px solid transparent; transition: background .2s, border-color .2s;
}
.offcanvas-nav a:hover{ background:#182042; border-color:rgba(255,255,255,.08); }
.offcanvas-socials{ margin-top:8px; display:flex; gap:10px; }

.backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  opacity:0; pointer-events:none; transition:opacity .2s;
}
.backdrop.show{ opacity:1; pointer-events:auto; }

/* ========= HERO & SECCIONES ========= */
.hero{
  padding-top:96px; min-height:40vh; display:grid; place-items:center; text-align:center;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(56,189,248,.20), transparent 60%),
    radial-gradient(800px 500px at 85% -10%, rgba(23,37,84,.65), transparent 55%);
}
.hero h1{ margin:0 0 10px; color:#f3f6ff; letter-spacing:.3px; }
.hero p{ margin:0; color:var(--muted); }

.container{ max-width:1100px; margin:40px auto; padding:0 16px; }
.container h2{ margin:0 0 12px; }

/* ========= GRID de Productos ========= */
.grid{
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px;
}

/* Soporte tanto .card (original) como .product-card (si tu JS la usa) */
.card, .product-card{
  background:#11172f; border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:16px; transition: transform .12s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover, .product-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.18);
}
.card img{ width:100%; height:170px; object-fit:cover; border-radius:10px; }
.card .row{ display:flex; gap:10px; align-items:center; }

/* Texto dentro de cards */
.card h3, .product-card h3{ margin:.25rem 0 .2rem; color:#f3f6ff; font-size:1.05rem; }
.card p, .product-card p{ margin:.2rem 0; color:#b7c4d9; }

/* Botón “Agregar al carrito” si usás .addCartBtn */
.addCartBtn{
  margin-top:8px;
  border:1px solid rgba(99,102,241,.4);
  background:linear-gradient(180deg, #4f6cf1, #4259d9);
  color:#fff; padding:.7rem .9rem; border-radius:10px; font-weight:700;
  transition: filter .18s ease, transform .05s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(79,108,241,.25);
}
.addCartBtn:hover{ filter:brightness(1.06); box-shadow:0 10px 24px rgba(79,108,241,.32); }
.addCartBtn:active{ transform: translateY(1px); }

/* ========= CONTACTO ========= */
.contacto ul{ line-height:1.9; padding-left:0; list-style:none; }
.contacto a{ color:#b7d9ff; }
.contacto a:hover{ text-decoration:underline; }

/* ========= FOOTER ========= */
.footer{
  margin-top:40px; padding:24px 16px; display:grid; place-items:center; gap:10px;
  background:#0b132b; color:#cbd5e1; border-top:1px solid var(--border);
}
.footer-socials{ display:flex; gap:12px; }
.footer-socials a{
  width:36px;height:36px;border-radius:10px;display:grid;place-items:center;
  background:#11172f; border:1px solid var(--border);
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.footer-socials a:hover{
  background:#162039; transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}

/* ========= WhatsApp flotante ========= */
.whatsapp-float{
  position:fixed; right:18px; bottom:18px; width:54px; height:54px; border-radius:50%;
  display:grid; place-items:center; background:#25d366; color:#000; font-size:26px;
  z-index:1001; box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.whatsapp-float:hover{ filter:brightness(1.06); }

/* ========= CARRITO (Drawer) ========= */
.cart-drawer{
  position:fixed; right:-360px; top:64px; bottom:0; width:360px;
  background:#0b132b; border-left:1px solid var(--border);
  transition:right .25s ease; z-index:1000; display:flex; flex-direction:column;
  box-shadow: var(--shadow);
}
.cart-drawer.open{ right:0; }

.cart-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px; border-bottom:1px solid var(--border);
}
.cart-header h3{ margin:0; color:#f2f6ff; }
#cartClose{
  width:38px; height:38px; border-radius:10px; border:1px solid var(--border);
  background:#121a35; color:#fff;
}
#cartClose:hover{ background:#182042; }

.cart-items{
  padding:12px 16px; display:flex; flex-direction:column; gap:12px; overflow:auto; flex:1;
}
.cart-item{
  display:grid; grid-template-columns:1fr auto; align-items:center; gap:.5rem;
  border:1px solid var(--border); background:#11172f; border-radius:10px; padding:12px;
}
.cart-item .title{ font-weight:700; color:#f3f6ff; }
.cart-item .sub{ color:#9fb1cc; font-size:.92rem; }
.cart-price{ font-weight:800; color:#fff; }
.cart-item .actions{ display:flex; align-items:center; gap:.5rem; }

/* Footer del carrito (original) */
.cart-footer{
  padding: 15px;
  border-top: 1px solid var(--border);
  text-align: center;
  background:#0e1530;
}
.checkout-btn{
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background: linear-gradient(180deg, #4f6cf1, #4259d9);
  color: white;
  border: 1px solid rgba(99,102,241,.45);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(66,89,217,.32);
  transition: filter .18s ease, transform .05s ease;
}
.checkout-btn:hover{ filter:brightness(1.06); }
.checkout-btn:active{ transform: translateY(1px); }

/* ========= Checkout (botones de método) ========= */
.payment-methods{
  display:flex; flex-direction:column; gap:15px; margin:30px 0;
}
.payment-btn{
  padding:15px; font-size:18px; text-align:left;
  background:#182042; color:#e8eef8; border:1px solid var(--border);
  border-radius:10px; cursor:pointer; transition: background .2s ease, transform .05s ease;
}
.payment-btn i{ margin-right:10px; }
.payment-btn:hover{ background:#1d274d; }
.payment-btn:active{ transform: translateY(1px); }

/* ========= Tabla admin ========= */
.table{ width:100%; border-collapse:collapse; background:#0c1228; border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.table th, .table td{
  border-bottom:1px solid var(--border); padding:10px 12px; text-align:left;
}
.table th{ background:#0e1733; color:#b6c4df; font-weight:700; }
.table tr:hover td{ background:#0f193a; }

/* ========= Accesibilidad: focus visible ========= */
a:focus-visible, button:focus-visible, .toggle-close:focus-visible, .checkout-btn:focus-visible,
.payment-btn:focus-visible, .addCartBtn:focus-visible, .menu-desktop a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(81,209,255,.35), 0 0 0 6px rgba(81,209,255,.18);
  border-radius:10px;
}

/* ========= Responsive (original + tweaks suaves) ========= */
@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px){
  .header{ grid-template-columns: 30% 70%; } /* igual que original */
  .menu-desktop{ display:none; }
  .toggle-btn{ display:block; }
  .grid{ grid-template-columns: 1fr; }
}

/* =========================
   PATCH ULTRA-ESPECÍFICO: SOLO botón dentro de #productsGrid
   NO toca carrito ni otros botones
   ========================= */

/* Centrar la fila del botón aun si el HTML trae style="justify-content:flex-end" */
#productsGrid .card .row:last-child{
  justify-content: center !important;
}

/* Botón blanco, redondeado y con scale al hover (productos) */
#productsGrid button[data-buy]{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  margin: 12px auto 0;
  min-width: 200px;

  padding: .7rem 1.0rem;
  border-radius: 100px;
  background: #ffffff;
  color: #0b132b;
  border: 1px solid rgba(11,19,43,.15);

  font-weight: 800;
  letter-spacing: .02em;

  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transform: translateZ(0);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
#productsGrid button[data-buy]:hover{
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  background: #f5f7fb;
}
#productsGrid button[data-buy]:active{ transform: scale(0.98); }
#productsGrid button[data-buy][disabled]{
  opacity:.55; cursor:not-allowed; transform:none; box-shadow:none;
}

/* =========================
   NUEVO PATCH: Botones del CARRITO
   (+1, -1, Eliminar y Comprar)
   ========================= */

/* Centrar el grupo de acciones dentro de cada item */
#cartItems .card .row:last-child .row{
  justify-content: center !important;
}

/* Estilo común para +1, -1 y Eliminar */
#cartItems button[data-add],
#cartItems button[data-remove],
#cartItems button[data-delete]{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 2px 2px 0;
  padding: .15rem .3rem;
  min-width: 40px;
  margin-top: 15px;

  border-radius: 9999px;
  background: #ffffff;
  color: #0b132b;
  border: 1px solid rgba(11,19,43,.15);

  font-weight: 800;
  letter-spacing: .02em;

  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
#cartItems button[data-add]:hover,
#cartItems button[data-remove]:hover,
#cartItems button[data-delete]:hover{
  transform: scale(1.06);
  background: #f5f7fb;
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
}
#cartItems button[data-add]:active,
#cartItems button[data-remove]:active,
#cartItems button[data-delete]:active{
  transform: scale(0.98);
}

/* CTA Comprar (id que genera tu app.js) */
#cartItems #checkoutBtn{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 14px auto 0;
  min-width: 220px;
  padding: 1rem 1.4rem;

  border-radius: 9999px;
  background: #ffffff;
  color: #0b132b;
  border: 1px solid rgba(11,19,43,.15);

  font-weight: 900;
  letter-spacing: .02em;

  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
#cartItems #checkoutBtn:hover{
  transform: scale(1.06);
  background: #f5f7fb;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}
#cartItems #checkoutBtn:active{
  transform: scale(0.98);
}

/* ============ Dropdown de Productos (desktop) ============ */
.nav-dropdown{
  position: relative;
}

.nav-dropbtn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:8px 12px;
  border-radius:10px;
  color:#e8eef8;
  background: transparent;
  border:1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .05s ease;
}
.nav-dropbtn:hover{
  background: rgba(255,255,255,.06);
  border-color: var(--border);
}

.nav-dropmenu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0; /* o right:0 si lo querés alineado al borde derecho */
  min-width: 220px;
  background: #0b132b;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(2,6,23,.45);
  padding: 6px;
  overflow: hidden;

  /* animación */
  transform-origin: top center;
  transform: translateY(-8px) scaleY(0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .18s ease, opacity .18s ease, visibility 0s linear .18s;
}

/* estado abierto */
.nav-dropdown.open .nav-dropmenu{
  transform: translateY(0) scaleY(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform .18s ease, opacity .18s ease, visibility 0s;
}

/* items */
.nav-dropitem{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #e8eef8;
  opacity: .95;
  transition: background .15s ease, opacity .15s ease, transform .05s ease;
}
.nav-dropitem:hover,
.nav-dropitem:focus-visible{
  background: rgba(255,255,255,.08);
  opacity: 1;
  outline: none;
}
.nav-dropitem.is-active{
  background: rgba(56,189,248,.15);
  border: 1px solid rgba(56,189,248,.35);
}

/* accesibilidad foco al botón */
.nav-dropbtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(81,209,255,.35), 0 0 0 6px rgba(81,209,255,.18);
}

/* ============ Versión móvil (lista dentro del offcanvas) ============ */
#catsMobile{
  display: none;          /* lo abrís/cerrás con JS */
  margin-top: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #121a35;
}
#catsMobile a{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #e8eef8;
}
#catsMobile a:hover{
  background: rgba(255,255,255,.08);
}

/* ===== HERO ===== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  background-color: #f9f9f9; /* color de fondo suave, podés cambiarlo */
}

.hero-logo {
  max-width: 240px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); /* leve sombra para resaltar */
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
}

/* ===== HEADER LAYOUT 20/80 ===== */
.header {
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* Barra izquierda (redes) */
.bar-20 {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  
}

/* Barra derecha (logo + menú + carrito) */
.bar-80 {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Redes header (por si hace falta centrar mejor) */
.right-socials {
  display: flex;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.right-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== LOGO GENERAL ===== */
.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 48px;      /* tamaño logo desktop */
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Logo dentro de offcanvas (un poco más chico) */
.logo-img--small {
  height: 40px;
}

/* ===== OFFCANVAS HEADER ALIGN ===== */
.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

/* ===== PRODUCTOS ===== */
#productsGrid.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr); /* 👈 ahora 4 por fila */
  padding: 2rem 1rem;
}

/* Ajustes responsivos */
@media (max-width: 1024px) {
  #productsGrid.grid {
    grid-template-columns: repeat(3, 1fr); /* tablets / pantallas medianas */
  }
}

@media (max-width: 768px) {
  #productsGrid.grid {
    grid-template-columns: repeat(2, 1fr); /* móviles en horizontal */
  }
}

@media (max-width: 480px) {
  #productsGrid.grid {
    grid-template-columns: 1fr; /* móviles chicos */
  }
}

/* ===== MODAL DETALLE PRODUCTO ===== */

.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.product-modal.is-open {
  display: flex;
}

.product-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.product-modal__dialog {
  position: relative;
  background: #ffffff;
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.product-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.product-modal__content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  padding: 2.5rem 2rem 2rem;
}

/* Galería izquierda */
.product-modal__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-modal__image-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.product-modal__image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
  background: #f9f9f9;
}

/* Thumbnails */
.product-modal__thumbs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.product-modal__thumb-btn {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 2px;
  background: none;
  cursor: pointer;
}

.product-modal__thumb-btn--active {
  border-color: #111827; /* destacado */
}

.product-modal__thumb-btn img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

/* Columna derecha: info */
.product-modal__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-modal__info h2 {
  font-size: 1.5rem;
}

.product-modal__desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
}

.product-modal__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
}

/* Botón principal del modal (por si no tenés .btn-primary) */
.product-modal .btn-primary {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-modal .btn-primary:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsivo */
@media (max-width: 768px) {
  .product-modal__content {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .product-modal__image-wrapper img {
    max-height: 260px;
  }

  .product-modal__thumbs {
    justify-content: flex-start;
    overflow-x: auto;
  }
}
/* ============================================================
   🔧 Ajustes visuales del modal de producto
   - Respeta saltos de línea en la descripción larga
   - Mejora legibilidad (texto más oscuro)
   ============================================================ */
#productModal {
  color: #222; /* color base más oscuro para todo el modal */
}

#productModal h2,
#productModal h3,
#productModalTitle {
  color: #111; /* título bien oscuro */
}

#productModalDesc {
  white-space: pre-line; /* respeta los saltos de línea escritos en el admin */
  color: #333;           /* texto ligeramente más oscuro */
  line-height: 1.6;
  font-size: 1rem;
}

/* Opcional: si tu modal tiene fondo blanco y querés más contraste general */
#productModal .product-modal__content {
  background-color: #fff;
}

/* Modal de producto: encima de todo, alineado arriba y con scroll si hace falta */
#productModal {
  position: fixed;
  inset: 0;
  z-index: 9999;   /* por encima del header */
  display: none; 
     /* oculto por defecto */
}
#productModal p{
  margin-top:-10px ;
}

#productModal.is-open {
  display: flex;
  align-items: flex-start;   /* clave: arriba, no centrado */
  justify-content: center;
  padding: 32px 16px 24px;   /* margen arriba y abajo */
  box-sizing: border-box;
  overflow-y: auto;     
  
}


/* La caja de contenido del modal (el div "de adelante") puede scrollear si es muy alta */
#productModal > div:last-child {
  max-height: 100%;
  overflow-y: auto;
}



/* Por defecto, mostramos solo el carrito desktop dentro del nav */
.cart-btn--mobile {
  display: none;
}

/* Desktop: ocultar carrito mobile */
@media (min-width: 768px) {
  .cart-btn--mobile {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .menu-desktop {
    display: none;
  }

  .bar-80 {
    display: flex;
    align-items: center;
  }

  /* LOGO queda a la izquierda como siempre */
  .logo-link {
    flex-shrink: 0;
  }

  /* Carrito mobile SIEMPRE visible y pegado al menú */
  .cart-btn--mobile {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;   /* empuja carrito + menú hacia la derecha */
    margin-right: 6px;   /* pequeña separación del menú */
  }

  /* Menú hamburguesa al lado del carrito */
  #toggleOpen {
    display: inline-flex;
    align-items: center;
  }
}

/* Ajuste de redes en el header móvil */
@media (max-width: 767px) {

  /* Nos aseguramos de que la barra del 20% centre verticalmente */
  .bar-20 {
    display: flex;
    align-items: center;
  }

  /* Movemos un poco las redes hacia la derecha y las mantenemos alineadas */
  .right-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px !important;  /* corrimiento hacia la derecha */
  }
}
/* Carrito móvil siempre redondeado, incluso antes de cargar JS */
.cart-btn--mobile {
  border-radius: 999px !important;
  padding: 6px 10px;
  background: #ffffff; /* mismo fondo que el estado “con items” */
  transition: background 0.2s ease;
}




