:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#6b7280;
  --border:#e5e7eb;
  --accent:#4f46e5;
  --danger:#b42318;
  --shadow: 0 10px 24px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{ color: inherit; }
.hidden{ display:none !important; }

/* Header */
.topbar{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  gap:10px;
}

.icon-btn{
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  position:relative;
  font-size:18px;
  flex:0 0 auto;
}

.brand{ display:flex; align-items:center; gap:10px; }
.brand-logo{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background: #111827; color:#fff; font-weight:900;
}
 .brand-img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.brand-title{ font-weight:900; line-height:1; }
.brand-sub{ font-size:12px; color: var(--muted); margin-top:2px; }

.badge{
  position:absolute;
  top:-6px; right:-6px;
  background: var(--accent);
  color:#fff;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  padding:2px 7px;
  border:2px solid #fff;
  display:none;
}

/* Layout */
.layout{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:16px;
  padding:16px;
  align-items:start;
}

.sidebar{
  max-height: calc(100vh - 74px); /* 74px coincide con el top que ya usás */
  overflow-y: auto;
  padding-right: 6px; /* para que no tape la scrollbar */
}

.main{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
}

/* Cards */
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  box-shadow: 0 8px 16px rgba(0,0,0,.04);
}
.card h3{
  margin:0 0 10px;
  font-size:12px;
  letter-spacing:.08em;
  color: var(--accent);
  font-weight:900;
}
.muted{ color: var(--muted); }
.small{ font-size:12px; }

/* Sidebar categories */
.cat-vertical{ display:flex; flex-direction:column; gap:8px; }
.cat-v-btn{
  border:1px solid transparent;
  background:transparent;
  padding:10px 10px;
  border-radius:12px;
  text-align:left;
  cursor:pointer;
  font-weight:800;
}
.cat-v-btn:hover{ background: #f3f4f6; }
.cat-v-btn.active{ background: rgba(79,70,229,.12); border-color: rgba(79,70,229,.25); }

/* Mobile info */
.mobile-info{ display:none; gap:10px; }
.mobile-info-card{
  flex:1;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  box-shadow: 0 8px 16px rgba(0,0,0,.04);
}
.mi-title{
  font-size:12px;
  letter-spacing:.08em;
  color: var(--accent);
  font-weight:900;
  margin-bottom:8px;
}
.mi-row{ color: #111827; font-weight:700; }
.mi-row a{ color:#111827; text-decoration:none; }

/* Hero */
.hero{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  box-shadow: var(--shadow);
  position:relative;
}
.hero-img{ width:100%; height:320px; object-fit:cover; display:block; }
.hero-overlay{
  position:absolute;
  left:14px; bottom:14px;
  background: rgba(255,255,255,.85);
  border:1px solid rgba(255,255,255,.8);
  border-radius:14px;
  padding:10px 12px;
}
.hero-title{ font-weight:900; font-size:18px; }
.hero-sub{ color: var(--muted); font-weight:700; font-size:13px; }

/* Controls */
.controls{ display:flex; flex-direction:column; gap:10px; }
.controls-row{ display:flex; gap:10px; align-items:center; }
.search{
  flex:1;
  display:flex; align-items:center; gap:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,.04);
}
.search-ico{ opacity:.75; }
.search input{ border:0; outline:none; width:100%; font-size:14px; }

.chips{
  display:flex;
  gap:10px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-behavior: smooth;
  padding: 6px 18px;           /* deja lugar para que no “muerda” el scrollbar */
  scrollbar-gutter: stable;    /* evita saltos */
  flex: 0 0 auto;
}
/* ===== Scrollbar custom para chips ===== */

/* Chrome / Edge / Safari */
#chips::-webkit-scrollbar{
  height: 6px;
}

#chips::-webkit-scrollbar-track{
  background: transparent;
}

#chips::-webkit-scrollbar-thumb{
  background-color: #5b5bf7;
  border-radius: 999px;
}

#chips::-webkit-scrollbar-thumb:hover{
  background-color: #3f3fe0;
}

.chip{
  flex:0 0 auto;
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  padding:9px 12px;
  cursor:pointer;
  font-weight:900;
  font-size:13px;
  white-space:nowrap;
}
.chip.active{ background: var(--accent); color:#fff; border-color: var(--accent); }

.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.section-title{ font-weight:1000; color: var(--accent); font-size:18px; }

/* Products */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap:14px;
}
.pcard{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  box-shadow: 0 8px 16px rgba(0,0,0,.04);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.pimg{
  background:#f3f4f6;
  border-radius:12px;
  height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
  cursor:pointer;
}
.pimg img{ width:100%; height:100%; object-fit:contain; background:#fff; }
.plus{
  position:absolute;
  right:10px;
  bottom:10px;
  width:46px;
  height:46px;
  border:0;
  border-radius:14px;
  background: var(--accent);
  color:#fff;
  font-size:28px;
  font-weight:900;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.plus:disabled{ opacity:.35; cursor:not-allowed; }
.pname{ font-weight:900; font-size:13px; line-height:1.2; }
.pmeta{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pstock{ color: var(--muted); font-weight:800; font-size:13px; }
.price{ font-weight:1000; color: var(--accent); }
.no{ color:var(--danger); font-weight:900; }

.list{ display:flex; flex-direction:column; gap:12px; }
.lrow{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  box-shadow: 0 8px 16px rgba(0,0,0,.04);
  display:flex;
  align-items:center;
  gap:12px;
}
.limg{
  width:86px;height:86px;border-radius:14px;
  background:#f3f4f6;
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  flex:0 0 auto;
}
.limg img{ width:100%; height:100%; object-fit:contain; background:#fff; }
.linfo{ flex:1; min-width:0; cursor:pointer; }
.ltitle{ font-weight:1000; font-size:14px; line-height:1.2; }
.lsub{ color: var(--muted); font-weight:800; margin-top:6px; }
.lplus{
  width:52px;height:52px;border-radius:16px;
  border:0;background:var(--accent);color:#fff;
  font-weight:1000;font-size:30px;
  cursor:pointer;
}
.lplus:disabled{ opacity:.35; cursor:not-allowed; }

/* Buttons */
.btn{
  border:0;
  background: var(--accent);
  color:#fff;
  padding:10px 12px;
  border-radius:14px;
  font-weight:1000;
  cursor:pointer;
}
.btn.ghost{
  background:transparent;
  color: var(--text);
  border:1px solid var(--border);
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border-radius:14px;
}
.btn:disabled{ opacity:.5; cursor:not-allowed; }
.link{
  border:0;
  background:transparent;
  color: var(--accent);
  font-weight:1000;
  cursor:pointer;
  padding:0;
}

/* Product modal */
.backdrop{ position:fixed; inset:0; background: rgba(0,0,0,.35); z-index:200; }
.pmodal{ position:fixed; inset:0; z-index:220; padding:18px; overflow:auto; }
.pmodal-card{
  max-width: 920px;
  margin: 0 auto;
  background:#fff;
  border-radius:16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
  overflow:hidden;
}
.pmodal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  border-bottom:1px solid var(--border);
}
.pmodal-head-mid{ text-align:center; flex:1; }
.pmodal-title{ font-weight:1000; }
.pmodal-sub{ color: var(--muted); font-weight:800; font-size:12px; margin-top:2px; }
.pmodal-body{ display:grid; grid-template-columns: 1.1fr .9fr; gap:14px; padding:14px; }
.pm-main{
  background:#f3f4f6;
  border-radius:14px;
  height:340px;
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.pm-main img{ width:100%; height:100%; object-fit:contain; background:#fff; }
.pm-thumbs{ display:flex; gap:10px; overflow-x:auto; padding:10px 2px 0; }
.pm-thumb{
  width:68px;height:68px;border-radius:14px;
  background:#f3f4f6;
  border:2px solid transparent;
  overflow:hidden;
  cursor:pointer;
  flex:0 0 auto;
}
.pm-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.pm-thumb.active{ border-color: var(--accent); }
.pm-info{ display:flex; flex-direction:column; gap:10px; }
.pm-desc{ font-weight:1000; font-size:16px; }
.pm-line .k{ color: var(--muted); font-weight:900; }
.pm-row{ display:flex; align-items:center; gap:10px; justify-content:space-between; flex-wrap:wrap; }
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:1000;
  font-size:12px;
}

/* Cart drawer */
.cart-drawer{
  position:fixed;
  top:0; right:0;
  width:420px;
  max-width:100vw;
  height:100vh;
  background:#fff;
  border-left: 1px solid var(--border);
  box-shadow: -14px 0 40px rgba(0,0,0,.16);
  z-index:300;
  transform: translateX(100%);
  transition: .22s ease;
  display:flex;
  flex-direction:column;
}
.cart-drawer.open{ transform: translateX(0); }

.cart-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border-bottom:1px solid var(--border);
}
.cart-head-mid{ flex:1; display:flex; justify-content:center; }
.cart-logo{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:#111827;color:#fff;font-weight:900;
}

.cart-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px 0;
}
.cart-title{ font-weight:1000; font-size:18px; }

.step{
  display:none;
  overflow:auto;
  padding:0 12px 12px;
  flex:1;
}
.step-active{ display:block; }

.cart-item{
  display:flex;
  gap:10px;
  align-items:center;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px;
  margin-top:10px;
}
.ci-img{
  width:56px;height:56px;border-radius:12px;
  background:#f3f4f6;
  overflow:hidden;
  flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
}
.ci-img img{ width:100%; height:100%; object-fit:contain; background:#fff; }
.ci-left{ min-width:0; flex:1; }
.ci-name{ font-weight:1000; font-size:13px; line-height:1.2; }
.ci-price{ color: var(--accent); font-weight:1000; margin-top:6px; }
.ci-actions{ display:flex; flex-direction:column; gap:8px; align-items:flex-end; }

.qty{
  display:flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
}
.qty button{
  width:36px; height:34px;
  border:0;
  background:#fff;
  font-weight:1000;
  font-size:18px;
  cursor:pointer;
}
.qty button:disabled{ opacity:.4; cursor:not-allowed; }
.qty .val{
  min-width:44px;
  text-align:center;
  font-weight:1000;
  border-left:1px solid var(--border);
  border-right:1px solid var(--border);
  padding:0 10px;
}
.del{
  border:0;
  background:transparent;
  color: var(--danger);
  font-weight:1000;
  cursor:pointer;
}

.cart-links{ display:flex; justify-content:center; padding:12px 0 0; }

.cart-block{
  margin-top:14px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
}
.block-title{ font-weight:1000; margin-bottom:8px; }
textarea, input{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  font-family:inherit;
  font-size:14px;
}
textarea{ min-height:90px; resize:vertical; }
.note-count{ text-align:right; color: var(--muted); font-weight:800; font-size:12px; margin-top:6px; }

.radio{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px;
  border-radius:12px;
  border:1px solid var(--border);
  cursor:pointer;
  user-select:none;
  margin-top:10px;
}
.radio.active{
  border-color: rgba(79,70,229,.35);
  box-shadow: 0 0 0 3px rgba(79,70,229,.10);
}
.radio input{ width:auto; margin-top:3px; }
.radio-title{ font-weight:1000; }

.data-title{
  padding:12px 12px 0;
  font-weight:1000;
  font-size:18px;
}

.field-err{
  color: var(--danger);
  font-weight:900;
  font-size:12px;
  margin-top:6px;
  display:none;
}

.cart-footer{
  border-top:1px solid var(--border);
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  background:#fff;
}
.total-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.total{ font-weight:1000; font-size:18px; }
/* Botón WhatsApp dentro de la card */
.contact-row{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:10px 12px;
  border-radius:12px;

  background:#eafff1;                 /* verde suave */
  border:1px solid rgba(37,211,102,.45);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);

  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.contact-row:hover{
  background:#dfffea;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.contact-row:active{
  transform: scale(.99);
}

/* icono normal (sin filtro) */
.wa-icon{
  width:22px;
  height:22px;
  flex: 0 0 22px;
}

/* link como texto de acción */
.contact-row a{
  color:#0b5d2a;
  font-weight:900;
  font-size:15px;
  text-decoration:none;
  line-height:1;
}

/* opcional: que al tocar cualquier parte, parezca link */
.contact-row a:focus{ outline:none; }

/* Botón WhatsApp en detalle de producto */
.wa-consult{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: 100%;
  margin-top: 10px;

  background-color: #25D366; /* Verde WhatsApp */
  color: #ffffff;

  border: none;
  border-radius: 14px;

  padding: 10px 12px;

  font-weight: 800;
  font-size: 14px;

  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.05s ease;
}

.wa-consult:hover{
  background-color: #1ebe5d;
}

.wa-consult:active{
  transform: scale(0.98);
}

.wa-btn-icon{
  width: 25px;
  height: 25px;
  object-fit: contain;
}
/* Carrusel por scroll en detalle */
.pm-snap{
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.pm-snap::-webkit-scrollbar{
  height: 6px;
}
.pm-snap::-webkit-scrollbar-thumb{
  background: rgba(79,70,229,.45);
  border-radius: 999px;
}

.pm-slide{
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* pop up*/
.ap-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}

.ap-pop{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100% - 32px)); /* más grande */
  z-index: 9999;
}

.ap-card{
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
  border: 1px solid rgba(0,0,0,.06);
}

.ap-title{
  font-weight: 1000;
  font-size: 18px;
}

.ap-sub{
  margin-top: 6px;
  font-size: 14px;
  opacity: .8;
}

.ap-actions{
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.ap-actions .btn{ 
  flex: 1;
  padding: 12px;
  font-size: 15px;
}

.ap-ghost{
  background: #f2f2f2;
  color: #111;
}

.ap-primary{
  background: var(--accent);
  color: #fff;
}

.hidden{ display: none; }
/* Entrega destacada*/
.mute2{
  font-size: 13.5px;
  font-weight: 800;
  color: #111;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mute2::before{
  content: "🚚";
}
/* WhatsApp flotante */
.wa-float{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  background: transparent;     /* 👈 importante */
  box-shadow: 0 14px 30px rgba(0,0,0,.22);

  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.wa-float:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
}

.wa-float img{
  width: 56px;
  height: 56px;
  border-radius: 50%;          /* 👈 recorte perfecto */
  display: block;
}
.wa-bubble{
  position: absolute;
  left: 64px;
  bottom: 6px;

  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 600;

  padding: 8px 12px;
  border-radius: 14px;

  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);

  pointer-events: none;

  animation: waBubbleIntro 10s ease forwards;
}

/* flechita */
.wa-bubble::before{
  content:"";
  position: absolute;
  left: -6px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
  border-left: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

@keyframes waBubbleIntro{
  0%   { opacity: 0; transform: translateY(8px); }
  10%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}
/* Promo Envío Gratis (solo 1 vez) */
.ship-card{
  background: linear-gradient(180deg, rgba(79,70,229,.08), #fff);
  border: 1px solid rgba(79,70,229,.25);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  animation: shipIntro 4.5s ease forwards;
  margin-bottom: 14px;
}

.ship-text{
  font-weight: 900;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.3;
}

/* animación entrada + brillo */
@keyframes shipIntro{
  0%{
    opacity: 0;
    transform: translateY(10px);
  }
  12%{
    opacity: 1;
    transform: translateY(0);
  }
  75%{
    opacity: 1;
  }
  100%{
    opacity: 1;
  }
}

/* brillo diagonal una sola vez */
.ship-card::after{
  content:"";
  position: absolute;
  inset: -40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  transform: rotate(20deg) translateX(-120%);
  animation: shipShine 2.8s ease forwards;
}

@keyframes shipShine{
  to{
    transform: rotate(20deg) translateX(120%);
  }
}
/* Banner Envío Gratis (mobile) */
.ship-mobile{
  border: 1px solid rgba(79,70,229,.16);
  background: linear-gradient(180deg, rgba(79,70,229,.07), #fff);
  border-radius: 14px;

  padding: 8px 12px;
  margin-bottom: 6px;   /* 👈 lo acerca al hero */

  /* animación 1 sola vez */
  animation: shipIn 600ms ease-out forwards;
}

/* animación de entrada */
@keyframes shipIn{
  from{
    opacity: 0;
    transform: translateY(-8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.ship-mobile .mi-row{
  display: block !important;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
  text-align: center;
}
@media (max-width: 520px){

  /* el banner: sin márgenes raros */
  #mobileInfo{
    margin: 0 !important;
    padding: 0 !important;
  }
  .ship-mobile{
    margin: 0 !important;
  }

  /* el espacio casi seguro viene del hero o del wrapper */
  .hero{
    margin-top: 6px !important;     /* pegado al banner */
  }

  /* si sigue separado, es padding del hero */
  .hero{
    padding-top: 0 !important;
  }

  /* plan C: si el gap viene de un contenedor flex/grid */
  .content, .main, .page, .container{
    gap: 6px !important;
  }
}
.pm-tech-line{
  margin: 8px 0 12px 0;
  font-size: 14px;
  font-weight: 800;
  color: #444;
}
.pm-paybreak{
  margin-top: 10px;
  font-size: 13px;
  display: grid;
  gap: 6px;
  color: #444;
}

.pm-paybreak .pm-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,.04);
}

.pm-paybreak .pm-line b{
  color:#111;
  font-weight: 800;
}


/* Responsive */
@media (max-width: 900px){
  .layout{ grid-template-columns: 1fr; padding:12px; }
  .sidebar{ display:none; }
  .mobile-info{ display:flex; }
  .hero-img{ height:210px; }
  .grid{ grid-template-columns: 1fr 1fr; }
  .topbar{ padding-right: 22px; }
  .badge{ top: -4px; right: -4px; }

  .pmodal{ padding:0; }
  .pmodal-card{
    max-width:none;
    margin:0;
    width:100%;
    min-height:100vh;
    border-radius:0;
  }
  .pmodal-body{ grid-template-columns: 1fr; }
  .pm-main{ height:260px; }

  .cart-drawer{ width:100vw; }
  .step{ padding-bottom: 80px; }
}
@media (max-width: 520px){
  .grid{ grid-template-columns: 1fr; }
}
@media (min-width: 768px){
  #chips{
    padding-bottom: 20px;
  }
  
}
@media (min-width: 1024px){
  .hero-img{
    height: 420px;              /* más alto => menos recorte */
    object-fit: cover;          /* llena todo el hero */
    object-position: center 60%;/* ajustá el foco (probá 50%..70%) */
  }
}
/* 📱 Mobile: bajar jerarquía de CONTACTO / ENTREGA */
@media (max-width: 520px){

  /* contenedor: un poco menos de espacio */
  .mobile-info{
    gap: 10px;
    margin: 6px 0 10px;
  }

  /* cards: más compactas y menos “importantes” */
  .mobile-info-card{
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
  }

  /* título: más chico y menos intenso */
  .mi-title{
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
    opacity: .8;
    margin-bottom: 4px;
  }

  /* contenido: más chico */
  .mi-row{
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
  }

  /* si el teléfono es muy largo, que no rompa */
  .mi-row{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* 📱 Mobile: thumbs en 2 filas para que NO quede ninguna cortada */
@media (max-width: 520px){
  .pm-thumbs{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr); /* 3 por fila */
    gap: 10px;
    overflow: visible !important;
    padding: 10px 12px 0;
  }

  .pm-thumb{
    width: auto;         /* que lo maneje la grilla */
    height: 62px;        /* un poquito más compacto */
  }
}
@media (max-width: 768px){
  .ui-overlay-open .wa-float{
    display: none;
  }
}
