/* assets/css/styles.css */

/* ==============================
   BASE / TOKENS
============================== */
:root{
  --bg:#ffffff;
  --soft:#f6f7fb;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --brand:#111827;
  --accent:#111827;
  --radius:16px;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }
html,body{
  margin:0;
  padding:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:var(--bg);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* ✅ Bloquear scroll cuando el menú lateral está abierto */
body.menu-open{ overflow:hidden; }

.container{
  width:min(1320px, calc(100% - 32px)); /* más ancho tipo jiang */
  margin:0 auto;
}

.muted{ color:var(--muted); }

/* ==============================
   BUTTONS
============================== */
.btn{
  background:var(--accent);
  color:#fff;
  border:1px solid var(--accent);
  padding:10px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-weight:600;
}
.btn--ghost{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
}
.btn--small{ padding:8px 12px; font-size:14px; }
.btn--full{ width:100%; justify-content:center; }

/* icon buttons (soft pill) */
.iconbtn{
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
  width:40px;
  height:40px;
  padding:0;
  display:grid;
  place-items:center;
}

.badge{
  background:#111827;
  color:#fff;
  font-size:11px;
  padding:2px 8px;
  border-radius:999px;
  margin-left:6px;
}

/* ==============================
   TOPBAR / HEADER (DESKTOP look like jiang)
============================== */
.topbar{
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
  z-index:50;
}

.topbar__inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  line-height:1.1;
}
.brand__img{
  height:34px;
  width:auto;
  max-width:220px;
  object-fit:contain;
}
.brand__logo{ font-weight:900; letter-spacing:.2px; font-size:14px; }
.brand__tag{ display:none; } /* jiang no usa tagline ahí */

/* Search (CLAVE: centrado + max-width) */
.search{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;

  max-width:760px;
  margin:0 auto;

  background:#f3f4f6;
  border:1px solid rgba(0,0,0,.08);
  padding:6px 8px;
  border-radius:999px;
}
.search input{
  width:100%;
  border:0;
  background:transparent;
  padding:10px 12px;
  outline:none;
  font-weight:600;
}
.search__btn{
  border:0;
  background:#111827;
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
}

.top-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Lang toggle */
.langToggle{ display:flex; gap:6px; margin-left:6px; }
.langbtn{
  border:1px solid var(--line);
  background:#fff;
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  font-size:12px;
}
.langbtn--active{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

/* Account button (2 lines) */
.account{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.account__btn{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  padding:10px 14px;
  line-height:1.1;
}
.account__top{ font-weight:900; font-size:13px; }
.account__bottom{ font-size:12px; color:var(--muted); font-weight:700; }

/* Dropdown */
.account__dropdown{
  position:absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  border-radius:14px;
  padding:14px;
  z-index:9999;
  display:none;
}
.account.open .account__dropdown{ display:block; }

/* Triangulito */
.account__dropdown::before{
  content:"";
  position:absolute;
  top:-7px;
  right:18px;
  width:14px;
  height:14px;
  background:#fff;
  border-left:1px solid rgba(0,0,0,.08);
  border-top:1px solid rgba(0,0,0,.08);
  transform: rotate(45deg);
}

.account__dropHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.account__form{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.account__logged{
  display:grid;
  gap:10px;
}
.account__logged .btn{ border-radius:14px; }

.label{ font-size:13px; color:#444; margin-top:4px; }

.input{
  width:100%;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.15);
  border-radius:10px;
  outline:none;
  font:inherit;
}
.input:focus{ border-color: rgba(0,0,0,.35); }

.link{
  font-weight:800;
  font-size:13px;
  color:#111827;
  opacity:.75;
}
.link:hover{ opacity:1; text-decoration:underline; }

/* Hover para PC */
@media (hover:hover){
  .account:hover .account__dropdown{ display:block; }
}

/* Responsive dropdown (solo para no romper) */
@media(max-width: 720px){
  .account__dropdown{
    right:-10px;
    width:min(92vw, 360px);
  }
}

/* NAVLINE */
.navline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0 14px;
  gap:12px;
}
.navlinks{ display:flex; gap:16px; flex-wrap:wrap; }
.navlinks a{ color:var(--muted); font-weight:600; font-size:14px; }
.navlinks a:hover{ color:var(--text); }
.navmeta{ font-size:13px; color:var(--muted); }

/* ==============================
   SIDEBAR + OVERLAY
============================== */
.sidebar{
  position:fixed;
  top:0; left:0;
  height:100dvh;
  height:100vh;
  width: min(1120px, calc(100vw - 60px));
  max-width: calc(100vw - 60px);
  background:#fff;
  transform:translateX(-110%);
  transition:.25s ease;
  z-index:9999;
  border-right:1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
  border-radius:0;
}
.sidebar--open{ transform:translateX(0); }

.sidebar__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px;
  border-bottom:1px solid var(--line);
}
.sidebar__body{
  padding:10px 16px 20px;
  overflow:auto;
  height:calc(100vh - 70px);
  -webkit-overflow-scrolling: touch;
}

/* Overlay */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  z-index:60;
}
.overlay--open{ opacity:1; pointer-events:auto; }

/* ==============================
   HERO + SLIDER
============================== */
.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
}

.slider{
  position:relative;
  border-radius: 28px;
  overflow:hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
  background:#fff;
  height:520px;
  min-height:520px;
}
.slider__track{
  display:flex;
  height:100%;
  transition: transform .35s ease;
}
.slide{
  min-width:100%;
  height:100%;
  flex: 0 0 100%;
  position:relative;
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Shade más suave */
.slide__shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,0));
}

.slide__content{
  position:absolute;
  left:22px; bottom:22px;
  max-width:460px;
  color:#fff;
}
.slide__tag{
  font-weight:800;
  font-size:12px;
  letter-spacing:.5px;
  background:rgba(255,255,255,.18);
  padding:6px 10px;
  display:inline-block;
  border-radius:999px;
  margin-bottom:10px;
}
.slide__title{ margin:0 0 8px; font-size:30px; line-height:1.1; }
.slide__desc{ margin:0 0 14px; color:rgba(255,255,255,.85); }

.slider__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:rgba(255,255,255,.92);
  width:40px; height:40px;
  border-radius:999px;
  cursor:pointer;
  font-size:24px;
  display:grid;
  place-items:center;
}
.slider__nav--prev{ left:12px; }
.slider__nav--next{ right:12px; }

.slider__dots{
  position:absolute;
  left:18px;
  top:18px;
  display:flex;
  gap:8px;
}
.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background:rgba(255,255,255,.5);
}
.dot--active{ background:#fff; }

@media (max-width: 980px){
  .slider{ height:360px; min-height:360px; }
}

/* Intro */
.heroIntro{ padding:14px 0 0; }
.heroIntro__text{
  max-width:980px;
  margin:0 auto;
  text-align:center;
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  font-weight:600;
}

/* Promo top */
.topPromo{
  background:#e65e03;
  color:#fff;
  text-align:center;
  font-weight:800;
  letter-spacing:.6px;
  font-size:12px;
  padding:10px 12px;
}

/* Highlights card */
.hcard{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px;
  background:#fff;
  box-shadow: var(--shadow);
}
.hcard h4{ margin:0 0 6px; }
.hcard p{ margin:0; }

/* ==============================
   SECTION
============================== */
.section{ padding:24px 0; }
.section--soft{
  background:var(--soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{ margin-bottom:16px; }
.section__head h2{ margin:0 0 6px; font-size:20px; }

.row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
}
.row__actions{ display:flex; gap:10px; }

/* ==============================
   CATEGORY GRID + PROMOS
============================== */
.catgrid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap:12px;
}
.catcard{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  transition:.15s ease;
}
.catcard:hover{ transform: translateY(-2px); }
.catcard img{ height:110px; width:100%; object-fit:cover; }
.catcard span{ display:block; padding:10px 12px; font-weight:800; }

.promogrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.promocard{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  position:relative;
  min-height:240px;
  background-size:cover;
  background-position:center;
}
.promocard__shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.93), rgba(255,255,255,.5), rgba(255,255,255,.05));
}
.promocard__content{
  position:absolute;
  left:18px;
  bottom:18px;
  max-width:420px;
}
.promocard__tag{
  display:inline-block;
  font-weight:900;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  margin-bottom:10px;
}
.promocard h3{ margin:0 0 6px; font-size:22px; }
.promocard p{ margin:0 0 12px; }

/* ==============================
   PRODUCTS
============================== */
.productgrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}

/* ✅ estilo más suave tipo jiang */
.product{
  border:1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.product__img{
  background:#fff !important;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.product__img img{
  width:100%;
  height:180px;
  object-fit:contain;
  object-position:center;
  display:block;
}

.product__body{ padding:12px; }
.product__title{ margin:0 0 6px; font-size:16px; }

.product__prices{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-top:4px;
  margin-bottom:12px;
}
.price--now{ font-weight:900; font-size:15px; }
.price--old{
  font-weight:800;
  font-size:13px;
  color: var(--muted);
  text-decoration: line-through;
  opacity:.85;
}

.pVar{
  font-size:12px;
  font-weight:700;
  opacity:.75;
  margin:4px 0 8px;
}

.product__actions{ display:flex; gap:10px; }

/* Swap hover */
.product__img--swap{ position:relative; overflow:hidden; border-radius:16px; background:#f6f7fb; }
.swap__img{ width:100%; height:220px; object-fit:contain; display:block; transition:opacity .18s ease; }
.swap__img--b{ position:absolute; inset:0; opacity:0; }
.product:hover .swap__img--b{ opacity:1; }
.product:hover .swap__img--a{ opacity:0; }

/* badge + qv button (si usas) */
.pbadge{
  position:absolute;
  left:12px;
  top:12px;
  background:#111827;
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
}
.qv{
  position:absolute;
  right:12px;
  bottom:12px;
  border:1px solid var(--line);
  background:#fff;
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
}

/* WhatsApp icon btn */
.wabtn{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  text-decoration:none;
  transition:.15s ease;
  color:#16a34a;
  flex:0 0 auto;
}
.wabtn:hover{
  transform: translateY(-1px);
  border-color: rgba(22,163,74,.35);
  box-shadow: var(--shadow);
}

/* ==============================
   NEWSLETTER + FOOTER
============================== */
.newsletter{
  border-top:1px solid var(--line);
  background:#fff;
  padding:26px 0;
}
.newsletter__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}
.nlform{ display:flex; gap:10px; }
.nlform input{
  width:min(340px, 50vw);
  border:1px solid var(--line);
  padding:10px 14px;
  border-radius:999px;
  outline:none;
}

.footer{
  border-top:1px solid var(--line);
  padding:30px 0 14px;
  background:#fff;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap:18px;
  padding-bottom:18px;
}
.brand--footer .brand__tag{ margin-top:2px; }

.footlinks{ list-style:none; padding:0; margin:0; }
.footlinks li a{
  display:block;
  padding:7px 0;
  color:var(--muted);
  font-weight:600;
}
.footlinks li a:hover{ color:var(--text); }

.footbar{
  border-top:1px solid var(--line);
  padding-top:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

/* Footer dark */
.footer--dark{
  background:#111827;
  color:#fff;
  border-top:0;
}
.footer--dark .muted{ color: rgba(255,255,255,.70); }
.footer--dark .footlinks li a{ color: rgba(255,255,255,.75); }
.footer--dark .footlinks li a:hover{ color:#fff; }
.footer--dark .footbar{ border-top: 1px solid rgba(255,255,255,.12); }
.footer--dark .nlform input{
  background: transparent;
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
}
.footer--dark .nlform input::placeholder{ color: rgba(255,255,255,.6); }
.footer--dark .btn--ghost{
  color:#fff;
  border-color: rgba(255,255,255,.25);
}

/* Pay methods footer */
.payMethods{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:center;
}
.payMethods img{
  max-width:520px;
  width:100%;
  height:auto;
  object-fit:contain;
  opacity:.95;
}

/* ==============================
   MODAL (legacy quick view)
============================== */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:80;
  place-items:center;
  padding:18px;
}
.modal--open{ display:grid; }
.modal__card{
  background:#fff;
  border-radius: var(--radius);
  width:min(900px, 100%);
  box-shadow: var(--shadow);
  position:relative;
  border:1px solid var(--line);
}
.modal__close{ position:absolute; top:14px; right:14px; }
.modal__content{ padding:18px; }
.qvwrap{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:18px;
  align-items:center;
}
.qvimg{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background:var(--soft);
  height:260px;
  width:100%;
  object-fit:cover;
}
.qvprice{ font-size:18px; font-weight:900; margin:12px 0; }

/* ==============================
   QUICK VIEW MODAL (.qv__)
============================== */
.qv{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.qv--open{ display:block; }
.qv__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.40);
}
.qv__box{
  position:relative;
  width:min(920px, calc(100% - 24px));
  margin:70px auto;
  background:#fff;
  border-radius:22px;
  box-shadow: var(--shadow);
  border:1px solid var(--line);
  overflow:hidden;
}
.qv__close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
}
.qv__content{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.qv__img{
  background: var(--soft);
  border-right: 1px solid var(--line);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  height:260px;
}
.qv__img img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.qv__info{ padding:18px; }
.qv__info h3{ margin:0 0 6px; font-size:20px; font-weight:900; }
.qv__price{ font-weight:900; font-size:18px; }
.qv__actions{ margin-top:12px; display:flex; gap:10px; }

@media (max-width: 980px){
  .qv__content{ grid-template-columns:1fr; }
  .qv__img{ height:auto; }
  .qv__img img{ height:260px; }
}

/* ==============================
   PAGINATION
============================== */
.pager{
  margin-top:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.pager__buttons{ display:flex; gap:8px; flex-wrap:wrap; }
.pagebtn{
  border:1px solid var(--line);
  background:#fff;
  padding:8px 12px;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
}
.pagebtn--active{ border-color:#111827; box-shadow: var(--shadow); }
.pagebtn:disabled{ opacity:.5; cursor:not-allowed; }

/* ==============================
   FILTERS
============================== */
.filters{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  padding:12px;
  box-shadow: var(--shadow);
  margin-bottom:14px;
}
.filters__row{
  display:grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr .8fr 1fr .8fr;
  gap:10px;
  align-items:end;
}
.fgroup label{
  font-size:12px;
  color:var(--muted);
  font-weight:800;
  display:block;
  margin-bottom:6px;
}
.fgroup select, .fgroup input{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  outline:none;
}
.fgroup--check{ display:flex; flex-direction:column; gap:8px; }
.check{ display:flex; gap:10px; align-items:center; font-weight:800; }
.fgroup--btn button{ width:100%; }

@media (max-width: 980px){
  .filters__row{ grid-template-columns: 1fr 1fr; }
}

/* ==============================
   BRANDS + CATS BLOCKS
============================== */
.brands{
  margin:18px 0 14px;
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}
.brands__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.brands__head h3{ margin:0; font-size:18px; }
.brands__nav{ display:flex; gap:10px; }
.brands__track{
  display:flex;
  gap:12px;
  overflow:auto;
  padding-bottom:8px;
  scroll-behavior:smooth;
}
.brands__track::-webkit-scrollbar{ height:8px; }

.brandCard{
  min-width:160px;
  max-width:160px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:10px;
  background:#fff;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap:10px;
  transition: transform .15s ease;
}
.brandCard:hover{ transform: translateY(-2px); }
.brandCard__logo{
  width:100%;
  height:100px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  background: var(--soft);
}
.brandCard__logo img{ width:100%; height:100%; object-fit:cover; display:block; }
.brandCard__name{ display:none !important; }

/* Categories cards */
.cats{
  margin:18px 0 14px;
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}
.cats__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.cats__head h3{ margin:0; font-size:18px; }
.cats__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.catCard{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.catCard:hover{ transform: translateY(-2px); }
.catCard__img{
  height:200px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.catCard__img img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.catCard__body{ padding:12px; }
.catCard__name{ font-weight:900; margin-bottom:4px; }
.catCard__cta{ font-size:13px; color: var(--muted); font-weight:800; }

@media (max-width: 980px){
  .cats__grid{ grid-template-columns:1fr; }
}

/* ==============================
   HOME BLOCKS
============================== */
.homeBlocks{ margin:18px 0 14px; }
.homeBlocks__head{ margin-bottom:12px; }
.homeBlocks__head h2{ margin:0; font-size:18px; }

.hblock{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
  margin-bottom:14px;
}
.hblock__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.hblock__title{ margin:0; font-size:17px; }
.hblock__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}

.product--mini .product__img{ height:160px; position:relative; }

.tag{
  position:absolute;
  top:10px;
  left:10px;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
}
.tag--ok{ border-color:#16a34a; }
.tag--bad{ border-color:#dc2626; }

@media (max-width: 980px){
  .hblock__grid{ grid-template-columns:1fr; }
}

/* ==============================
   CART
============================== */
.cartBox,
.formBox{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:14px;
}

.cartRow{
  display:grid;
  grid-template-columns: 90px 1fr 160px 140px 60px;
  gap:12px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.cartRow:last-child{ border-bottom:none; }

.cartRow__img{
  width:90px;
  height:90px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background: var(--soft);
}
.cartRow__img img{ width:100%; height:100%; object-fit:cover; }
.cartRow__name{ font-weight:900; }

.cartRow__qty{ display:flex; align-items:center; gap:8px; }
.qtybtn{
  width:38px;
  height:38px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}
.qtyinput{
  width:64px;
  height:38px;
  border-radius:14px;
  border:1px solid var(--line);
  text-align:center;
  font-weight:900;
}
.cartRow__subtotal{ font-weight:900; }

.cartFooter{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:14px;
  gap:12px;
  flex-wrap:wrap;
}
.cartTotal{ display:flex; flex-direction:column; gap:4px; }

@media (max-width: 980px){
  .cartRow{ grid-template-columns: 90px 1fr; }
  .cartRow__qty,
  .cartRow__subtotal,
  .cartRow__remove{ grid-column: span 2; }
}

/* ==============================
   PRODUCT DETAIL / GALLERY
============================== */
.pDetailGrid{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:20px;
  align-items:start;
}
.pDetailImg img{
  width:100%;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
}
@media (max-width: 900px){
  .pDetailGrid{ grid-template-columns:1fr; }
}

/* Product page media */
.product-media,
.product-image{
  background:#f8fafc;
  border:1px solid #eef0f4;
  border-radius:14px;
  padding:16px;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:380px;
}
.product-page .product-media img,
.product-view .product-media img,
.product-image img,
#productImage{
  width:100%;
  max-width:520px;
  max-height:520px;
  height:auto;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
@media (min-width: 1200px){
  .product-page .product-media img,
  .product-view .product-media img,
  .product-image img,
  #productImage{
    max-width:600px;
    max-height:600px;
  }
}

/* Modal imagen */
.imgModal{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.65);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:24px;
}
.imgModal img{
  max-width:92vw;
  max-height:92vh;
  object-fit:contain;
  border-radius:12px;
  background:#fff;
}
.imgModal.show{ display:flex; }

/* Product detail legacy */
.productDetail{ overflow:hidden; }
.productDetail img{
  width:100%;
  max-height:420px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
@media (max-width: 900px){
  .productDetail img{ max-height:320px; }
}

/* Gallery layout (thumbs + stage) */
.pd__imgGrid{
  display:grid;
  grid-template-columns: 86px 1fr;
  gap:14px;
  align-items:start;
}
.pd__thumbCol{ width:86px; }
.pd__thumbs{ display:flex; flex-direction:column; gap:10px; }
.pd__thumb{
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:6px;
  cursor:pointer;
  transition: transform .08s ease, border-color .12s ease;
}
.pd__thumb:hover{ transform: translateY(-1px); }
.pd__thumb.is-active{ border-color:#111827; }
.pd__thumb img{
  width:100%;
  height:72px;
  object-fit:contain;
}

.pd__stage img{
  max-width:100%;
  max-height:520px;
  object-fit:contain;
  display:block;
}

/* Flechas galería */
.pd__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:34px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:5;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}
.pd__nav--prev{ left:12px; }
.pd__nav--next{ right:12px; }

.pd__hint{ margin-top:8px; font-size:12px; }

/* ==============================
   WHATSAPP FLOAT BUTTON
============================== */
.waFloat{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  display: grid;
  place-items: center;
  z-index: 99999;
  color: #fff;
  text-decoration: none;
  transition: .15s ease;
}
.waFloat svg{ width:28px; height:28px; display:block; }
.waFloat:hover{ transform: translateY(-2px); }

/* ==============================
   RESPONSIVE GENERAL (mínimo)
============================== */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .catgrid{ grid-template-columns: repeat(3, 1fr); }
  .productgrid{ grid-template-columns: repeat(2, 1fr); }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
  .newsletter__inner{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 640px){
  .search{ display:none; }
  .catgrid{ grid-template-columns: repeat(2, 1fr); }
  .productgrid{ grid-template-columns: 1fr; }
  .promogrid{ grid-template-columns: 1fr; }
  .qvwrap{ grid-template-columns: 1fr; }
}

/* ==============================
   MEGA MENU (version .mega)
============================== */

/* Estructura general dentro del sidebar */
.sidebar .mega{
  display:grid;
  grid-template-columns: 320px 1fr;
  height:100%;
  min-height:0;
}

/* Columna izquierda */
.sidebar .mega__leftWrap{
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  min-height:0;
}

.sidebar .mega__leftHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px;
  border-bottom:1px solid var(--line);
  background:#fff;
}

.sidebar .mega__left{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:10px 0;
  min-height:0;
}

/* Botones categoría */
.sidebar .mega__item{
  width:100%;
  border:0;
  background:#fff;
  padding:14px 14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  font-weight:800;
  border-bottom:1px solid rgba(0,0,0,.06);
  text-align:left;
}

.sidebar .mega__item:hover{ background:#f6f7fb; }

.sidebar .mega__item--active{
  background:#f6f7fb;
  border-left:4px solid #111827;
}

.sidebar .mega__itemLabel{ display:flex; align-items:center; gap:10px; }
.sidebar .mega__itemArrow{ opacity:.6; font-size:18px; }

/* Columna derecha */
.sidebar .mega__right{
  display:flex;
  flex-direction:column;
  min-height:0;
}

.sidebar .mega__rightHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 18px;
  border-bottom:1px solid rgba(0,0,0,.06);
  background:var(--soft);
}

.sidebar .mega__products{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:18px;
  min-height:0;
}

/* Subcategorías en “grid de links” */
.sidebar .megaSubOnly{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px 18px;
  padding:8px 0;
}

.sidebar .megaSubLink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  padding:8px 10px;
  border-radius:10px;
}

.sidebar .megaSubLink:hover{ background: rgba(0,0,0,.05); }

/* Mobile: solo izquierda (no afecta desktop) */
@media (max-width: 900px){
  .sidebar .mega{ grid-template-columns: 1fr; }
  .sidebar .mega__right{ display:none; }
}

/* ==============================
   OVERRIDES desktop look (jiang)
   Pegar AL FINAL del styles.css
============================== */

/* 1) Header layout: distribuir como Jiang */
.topbar__inner{
  gap: 12px;
  padding: 10px 0;
}

.brand{ flex: 0 0 auto; }
.top-actions{ flex: 0 0 auto; }

/* 2) Botón Menú: NO puede ser 40x40 */
.iconbtn--menu{
  width: auto;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 999px;
  white-space: nowrap;
}

/* Mantén los iconbtn normales cuadrados */
.top-actions .iconbtn{
  width: 40px;
  height: 40px;
}

/* 3) Search estilo Jiang: largo, centrado, pill suave */
.search{
  flex: 1 1 760px;         /* clave: “ocupa lo que falta” */
  max-width: 860px;        /* más largo tipo jiang */
  margin: 0;               /* quita el auto-centering que te rompe el layout */
  background: #f3f4f6;
  border: 1px solid rgba(0,0,0,.06);
  padding: 6px 10px;
  height: 42px;
}

.search input{
  padding: 8px 10px;
  font-weight: 600;
  font-size: 14px;
}

.search__btn{
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  height: 34px;
}

/* 4) Slider: shape Jiang (menos alto, más redondeado, dots abajo centrados) */
.slider{
  border-radius: 34px;
  height: 430px;
  min-height: 430px;
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.slide__shade{
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0));
}

.slide__content{
  left: 26px;
  bottom: 26px;
  max-width: 520px;
}

.slide__title{
  font-size: 34px;
}

.slider__nav{
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.90);
  font-size: 26px;
}

.slider__dots{
  top: auto;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

/* 5) Intro debajo del hero: más “jiang” */
.heroIntro{
  padding: 18px 0 6px;
}
.heroIntro__text{
  max-width: 900px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

/* 6) Cards (sutiles) para que se vea menos “pesado” */
.cats, .brands, .hblock, .filters, .cartBox, .formBox{
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

/* Categories grid (desktop) un poco más jiang */
.cats__grid{
  gap: 14px;
}
.catCard{
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}



/* --- FIX: header estilo jiang (override final) --- */
.topbar__inner{
  display:flex;
  align-items:center;
  gap:14px;
}

/* izquierda y derecha no se estiran */
.brand{ flex:0 0 auto; }
.top-actions{ flex:0 0 auto; }

/* búsqueda se centra y se estira */
.search{
  flex:1 1 auto;
  max-width:760px;
  margin:0 auto;
}

/* Precio rebajado en rojo */
.price--sale{
  color:#dc2626; /* rojo */
}


/* Mini stepper de cantidad dentro de cards */
.qtymini{
  display:flex;
  align-items:center;
  gap:8px;
}

.qtybtn--mini{
  width:34px;
  height:34px;
  border-radius:12px;
  font-weight:900;
}

.qtyinput--mini{
  width:54px;
  height:34px;
  border-radius:12px;
  font-weight:900;
}


/* --- FIX acciones en cards (qty + botones + whatsapp) --- */
.product__actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* El stepper de cantidad como bloque compacto */
.qtymini{
  display:flex;
  align-items:center;
  gap:6px;
}

/* Mini stepper */
.qtybtn--mini{
  width:32px;
  height:32px;
  border-radius:10px;
  padding:0;
  line-height:1;
}

.qtyinput--mini{
  width:52px;
  height:32px;
  border-radius:10px;
  padding:0 8px;
  text-align:center;
}

/* Botones pequeños en cards */
.product__actions .btn--small{
  height:32px;
  padding:6px 10px;
  border-radius:999px;
}

/* WhatsApp: que no se aplaste */
.product__actions .wabtn{
  width:32px;
  height:32px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  flex: 0 0 auto;
}

.product__actions .wabtn svg{
  width:18px;
  height:18px;
  display:block;
}

.product__actions{ justify-content:flex-start; }
.product__actions .wabtn{ margin-left:auto; }


/* =========================
   PRODUCT PAGE (Termix-like)
   Pegar al FINAL del styles.css
========================= */

.pwrap{
  padding: 22px 0 30px;
}

.pgrid{
  display:grid;
  grid-template-columns: 88px minmax(0, 1fr) 420px;
  gap: 22px;
  align-items:start;
}

/* thumbs */
.pthumbs{
  display:flex;
  flex-direction:column;
  gap:10px;
  position: sticky;
  top: 92px; /* ajusta según tu header */
}
.pthumb{
  width:88px;
  height:88px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  display:grid;
  place-items:center;
  overflow:hidden;
  cursor:pointer;
}
.pthumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.pthumb.is-active{
  outline:2px solid rgba(0,0,0,.18);
}

/* main image */
.pmain{
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  min-height: 520px;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.pmain img{
  width:100%;
  height:100%;
  object-fit:contain;
  max-height: 720px;
}

/* right info */
.pinfo{
  position: sticky;
  top: 92px;
}
.pbrandline{
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px;
}
.ptitle{
  font-size:34px;
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.02em;
}
.pprices{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin: 10px 0 10px;
}
.pprices .price--old{
  color:var(--muted);
  text-decoration:line-through;
  font-weight:700;
  font-size:14px;
}
.pprices .price--now{
  font-weight:900;
  font-size:18px;
}
/* ✅ SOLO rebajado en rojo */
.price--sale{
  color:#d11a1a;
}

/* stock */
.pstock{
  margin: 10px 0 14px;
  font-weight:800;
}

/* qty row */
.pbuyrow{
  display:flex;
  gap:12px;
  align-items:center;
  margin: 12px 0;
}
.qty{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:999px;
  overflow:hidden;
  background:#fff;
  height:44px;
}
.qty button{
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  cursor:pointer;
  font-weight:900;
  font-size:18px;
}
.qty input{
  width:54px;
  height:44px;
  border:0;
  outline:none;
  text-align:center;
  font-weight:800;
  background:transparent;
}

/* primary CTA */
.padd{
  height:44px;
  padding: 0 16px;
  border-radius:999px;
  font-weight:900;
  flex:1;
}

/* secondary actions */
.pactions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.pactions .btn{ height:40px; }

/* description block */
.pdesc{
  margin-top: 16px;
  color:#111827;
  line-height:1.65;
}

/* section tabs (simple) */
.ptabs{
  margin-top: 26px;
  border-top:1px solid var(--line);
}
.ptabs__bar{
  display:flex;
  gap:18px;
  padding: 14px 0;
  overflow:auto;
}
.ptabs__bar a{
  font-weight:900;
  color:var(--muted);
  white-space:nowrap;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
}
.ptabs__bar a.is-active{
  color:var(--text);
  border-color: var(--line);
  background: #fff;
}
.ptab{
  padding: 18px 0;
  border-top:1px solid var(--line);
}
.ptab h3{
  margin:0 0 10px;
}

/* responsive */
@media (max-width: 1100px){
  .pgrid{
    grid-template-columns: 88px minmax(0,1fr);
  }
  .pinfo{ position:static; }
}
@media (max-width: 760px){
  .pgrid{
    grid-template-columns: 1fr;
  }
  .pthumbs{
    position:static;
    flex-direction:row;
    overflow:auto;
  }
  .pthumb{ flex: 0 0 78px; width:78px; height:78px; }
  .pmain{ min-height: 360px; }
  .ptitle{ font-size:26px; }
}

/* 2/2/2026 */

/* ===== Página legal estilo jiang ===== */
/* ===== HERO NEGRO (estilo jiang) ===== */
/* ===== TERMS / LEGAL PAGE (FINAL) ===== */

/* Hero full width (aunque esté dentro de .container) */
.legal-hero{
  position: relative;
  z-index: 1;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: #0b0b0b;
  color: #fff;
  padding: 44px 0 36px;
  text-align: center;

  overflow: visible;
}

.legal-hero .container{
  position: relative;
  z-index: 2;
}

.legal-hero__title{
  margin: 0;
  padding: 0;

  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;

  color: #fff;
}

.legal-hero__crumbs{
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;

  position: relative;
  z-index: 3;
}

.legal-hero__crumbs a{
  color: inherit;
  text-decoration: none;
  opacity: .9;
}
.legal-hero__crumbs a:hover{ opacity: 1; }

/* Contenido */
.legal-wrap{ padding: 26px 0 60px; }

.legal-content{
  max-width: 980px;
  margin: 0 auto;
}

/* Tipografía */
.prose{
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
}
.prose p{ margin: 0 0 14px; }
.prose h2{ font-size: 22px; margin: 22px 0 10px; }
.prose h3{ font-size: 18px; margin: 18px 0 8px; }
.prose h4{ font-size: 15px; margin: 14px 0 8px; }
.prose ul, .prose ol{ padding-left: 20px; margin: 0 0 14px; }
.prose li{ margin: 8px 0; }
.prose strong{ font-weight: 800; }
.prose .muted{ color: #444; }

/* Botones al final */
.legal-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 10px;
}


/* =========================
   FOOTER (jiang-like) — BLOQUE ÚNICO FINAL
   - Franja beneficios compacta full-width
   - Footer oscuro (no azul)
   - Barra inferior con tarjetas centradas pequeñas
========================= */

/* Footer oscuro */
.footer--dark{
  background: #2f2f2f; /* si lo quieres más negro: #1f1f1f */
  color: rgba(255,255,255,.88);
}
.footer--dark .muted{ color: rgba(255,255,255,.60); }
.footer--dark a{ color: rgba(255,255,255,.82); }
.footer--dark a:hover{ color:#fff; }

/* Separación entre franja y grid */
.footer__grid{ padding-top: 18px; }

/* =========================
   BENEFICIOS (banda clara arriba, compacta, como jiang)
   (fondo full-width estable con ::before)
========================= */
.footBenefits{
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding: 14px 0;
  margin: 0 0 14px 0;
}

.footBenefits::before{
  content:"";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;

  background: #f4f4f4;
  border-bottom: 1px solid #e5e7eb;
  z-index: -1;
}

.footBenefits__item{
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

/* plano (como jiang). Si luego cambiamos a SVG quedará idéntico */
.footBenefits__icon{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 22px;
  color: #111827;
}

.footBenefits__txt strong{
  display: block;
  font-size: 12px;
  letter-spacing: .25px;
  color: #111827;
  text-transform: uppercase;
}
.footBenefits__txt span{
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 900px){
  .footBenefits{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }
  .footBenefits__item{ width: 100%; }
}

/* =========================
   Barra inferior + tarjetas centradas (como jiang)
========================= */

/* Asegura contexto para posicionar el bloque de tarjetas */
.footer .container{ position: relative; }

/* Barra inferior (texto izq/der) */
.footbar{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Deja “aire” para que las tarjetas entren al centro sin tapar textos */
.footbar > :first-child{ padding-right: 180px; }
.footbar > :last-child{  padding-left: 180px;  }

/* Tarjetas centradas */
.payMethods{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen de medios de pago: pequeña y limpia */
.payMethods img{
  display: block;
  height: 22px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 720px){
  .footbar{
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 14px;
  }
  .footbar > :first-child,
  .footbar > :last-child{
    padding: 0;
  }
  .payMethods{
    position: static;
    transform: none;
    margin: 14px 0 0;
    justify-content: flex-start;
  }
  .payMethods img{
    height: 20px;
    max-width: 280px;
  }
}

/* ====== FIX 1: quitar la barrita oscura arriba de la franja ====== */
.footer--dark{
  padding-top: 0 !important;
}

/* OJO: si tu .container tiene padding vertical en el footer, lo anulamos */
.footer--dark > .container{
  padding-top: 0 !important;
}

/* ====== FIX 2: beneficios más “planos” y compactos (como jiang) ====== */
.footBenefits{
  padding: 12px 0 !important;     /* un poco más compacto */
  margin: 0 0 14px 0 !important;
}

/* asegura que la banda clara arranque exacto arriba */
.footBenefits::before{
  top: 0;
}

/* items más compactos */
.footBenefits__item{
  gap: 14px;
}

/* ícono sin caja (jiang es lineal, limpio) */
.footBenefits__icon{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

/* tipografía similar */
.footBenefits__txt strong{
  font-size: 12px;
  letter-spacing: .2px;
}
.footBenefits__txt span{
  font-size: 12px;
}

/* ====== opcional: footer más “negro” como jiang ======
   (si lo quieres más cercano al gris/negro de jiang)
*/
.footer--dark{
  background: #3a3a3a !important;  /* prueba #3a3a3a; si lo quieres más negro: #2b2b2b */
}

/* =========================================================
   Catalog cards: contenedor de acciones (qty + agregar) tipo jiang
   gris claro -> naranja al hover / focus
========================================================= */
.product .product__actions{
  background: #f3f4f6;            /* gris claro */
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .18s ease, border-color .18s ease;
}

/* hover/focus = naranja */
.product .product__actions:hover,
.product .product__actions:focus-within{
  background: #f97316;            /* naranja */
  border-color: #f97316;
}

/* Para que el botón no se vea feo sobre naranja (opcional) */
.product .product__actions:hover .btn,
.product .product__actions:focus-within .btn{
  border-color: transparent;
}

.pVar{
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.pVarSel{
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.pVarSel select{
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

/* --- estado pago / botones deshabilitados --- */
.btn[aria-disabled="true"]{
  opacity:.55;
  pointer-events:none;
  cursor:not-allowed;
}

.badgeStatus{
  display:inline-block;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  background:var(--soft);
}

/* En la columna de pago (estado + comprobante) evita superposición */
.payCell{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  line-height:1.2;
}

.payCell .badge,
.payCell a,
.payCell button{
  display:inline-flex;
  max-width:100%;
}

/* Columna de pago: evita que "Comprobante" se monte con el estado */
.payCell{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}

/* =====7 febrer0 ====== */

/* Footer - Social */
.footSocial{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.footSocial__btn{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  line-height:1;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.footSocial__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.22);
}

.footSocial__btn{
  width: 46px;
  height: 46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  text-decoration:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.footSocial__btn svg{
  width: 22px;
  height: 22px;
  fill: #fff;          /* color blanco */
  opacity: .95;
}

.footSocial__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.22);
}

.socialMenu{
  margin-top:10px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.25);
  border-radius:12px;
  padding:10px;
}
.socialMenu__title{
  font-weight:900;
  margin-bottom:8px;
}
.socialMenu__links a{
  display:block;
  padding:6px 8px;
  border-radius:10px;
  text-decoration:none;
}
.socialMenu__links a:hover{
  background: rgba(255,255,255,.08);
}

.footSocial__btn { color:#fff; }
.footSocial__btn svg { width:22px; height:22px; fill:currentColor; display:block; }

.footSocialList{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.footSocialList a{
  display:inline-flex;
  gap:6px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:12px;
}
.footSocialList a:hover{
  background:rgba(255,255,255,.08);
}

/* ===== Fix: mostrar iconos SVG en redes del footer ===== */
.footer .footSocial__btn{
  color:#fff !important;
}

.footer .footSocial__btn svg{
  width:22px !important;
  height:22px !important;
  display:block !important;
}

.footer .footSocial__btn svg *{
  fill:currentColor !important;
}

/* si tu CSS estaba poniendo "..." con pseudo-elementos */
.footer .footSocial__btn::before,
.footer .footSocial__btn::after{
  content:none !important;
}

/* ===== Fix iconos SVG en footer redes ===== */
.footer .footSocial__btn{
  color:#fff !important;
}

.footer .footSocial__btn svg{
  width:22px !important;
  height:22px !important;
  display:block !important;
}

.footer .footSocial__btn svg *{
  fill:currentColor !important;
}

/* ===== Menú dropdown redes ===== */
.footer .socialMenu{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  background:#111;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  padding:8px;
  min-width:180px;
  z-index:9999;
}

.footer .socialMenu__item{
  display:block;
  padding:8px 10px;
  border-radius:8px;
  color:#fff;
  text-decoration:none;
  font-size:13px;
}

.footer .socialMenu__item:hover{
  background:rgba(255,255,255,.08);
}

/* ===== Footer socials (DB-driven) ===== */
#footerSocials .fsWrap{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

#footerSocials .fsItem{
  position:relative;
}

#footerSocials .fsBtn{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#fff;
}

#footerSocials .fsBtn svg{
  width:20px;
  height:20px;
  fill: currentColor;
}

#footerSocials .fsMenu{
  position:absolute;
  right:0;
  bottom:44px;
  min-width:220px;
  background:#111;
  border:1px solid rgba(255,255,255,.15);
  border-radius:10px;
  padding:8px;
  display:none;
  max-height:220px;     /* ✅ para que el 3er instagram siempre aparezca */
  overflow:auto;        /* ✅ scroll si hay muchos */
  z-index:9999;
}

#footerSocials .fsItem.fsOpen .fsMenu{
  display:block;
}

#footerSocials .fsLink{
  display:block;
  padding:8px 10px;
  border-radius:8px;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  white-space:nowrap;
}

#footerSocials .fsLink:hover{
  background:rgba(255,255,255,.08);
}

/* 2/9/2026 */

/* ===== Libro de reclamaciones (wizard/stepper estilo video) ===== */
.claimHero{
  background: linear-gradient(180deg, #111, #2a2a2a);
  color:#fff;
  padding:22px 18px;
  border-radius:14px;
}
.claimStepper{
  position:relative;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 4px 0 10px;
}
.stepLine{
  position:absolute;
  height:3px;
  width: 38%;
  background:#cfcfcf;
  top: 22px;
  left: 12%;
  border-radius:99px;
}
.stepLine--right{
  left:auto;
  right:12%;
}
.stepLine.is-done{ background: var(--accent, #ff6a00); }

.stepNode{
  width:30px;
  height:30px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  position:absolute;
  top: 7px;
  background:#e7e7e7;
  color:#6b6b6b;
}
#node1{ left: 10.5%; }
#node2{ left: 50%; transform: translateX(-50%); }
#node3{ right: 10.5%; }

.stepNode.is-active{
  background: var(--accent, #ff6a00);
  color:#fff;
  box-shadow: 0 0 0 3px rgba(255,106,0,.18);
}
.stepNode.is-done{
  background: var(--accent, #ff6a00);
  color:#fff;
}

.claimH{ margin: 4px 0 10px; }
.grid2{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.grid3{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap:12px; }
@media (max-width: 720px){
  .grid2,.grid3{ grid-template-columns: 1fr; }
}

.radioRow{ display:flex; gap:14px; flex-wrap:wrap; }
.radioItem{ display:flex; gap:8px; align-items:center; }

.checkRow{ display:flex; gap:10px; align-items:flex-start; user-select:none; }

.claimBtns{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.claimDone{
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:14px;
  background:#fff;
}
.claimCode{
  margin-top:10px;
  font-weight:900;
  font-size:18px;
  letter-spacing:.5px;
  padding:10px 12px;
  border-radius:10px;
  background: rgba(255,106,0,.10);
  display:inline-block;
}

/* ===== Relacionados: acciones en 1 sola línea (como catálogo) ===== */
#relatedGrid .product__actions{
  display: flex !important;       /* override por si estaba grid/column */
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* qty en formato pill */
#relatedGrid .product__actions .qty{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
}

/* input centrado y compacto */
#relatedGrid .product__actions .qty input{
  width: 34px;
  text-align: center;
}

/* Botones misma altura */
#relatedGrid .product__actions .btn,
#relatedGrid .product__actions a.btn{
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0 14px;
}

/* Si quieres que "Agregar" ocupe el espacio (como en catálogo) */
#relatedGrid .product__actions button[data-add]{
  flex: 1 1 auto;
}

/* "Ver" más compacto */
#relatedGrid .product__actions a.btn--ghost{
  padding: 0 12px;
}

/* 2/10/2026 */

.btn--wa{
  background:#25D366;
  border:1px solid #25D366;
  color:#0b1a0f;
  font-weight:900;
}
.btn--wa:hover{ filter:brightness(.95); }
.btn--wa:active{ transform:translateY(1px); }

.btn--wa .waIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-right:8px;
  font-weight:900;
}

.btn--wa{
  background:#25D366;
  border:1px solid #25D366;
  color:#0b1a0f;
  font-weight:900;
}
.btn--wa:hover{ filter:brightness(.95); }
.btn--wa:active{ transform:translateY(1px); }


/* Tracking button in header */
.iconbtn--track{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px;          /* ajusta si quieres más compacto */
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

.iconbtn--track .iconbtn__label{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .2px;
  color: #111;
}

/* Mobile: solo icono */
@media (max-width: 720px){
  .iconbtn--track{ padding: 8px 10px; }
  .iconbtn--track .iconbtn__label{ display:none; }
}

/* Tooltip */
.iconbtn--track::after{
  content: attr(data-tip);
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #111;
  color: #fff;
  font-size: 12px;
  padding: 8px 8px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
}

.iconbtn--track:hover::after,
.iconbtn--track:focus::after{
  opacity: 1;
  transform: translateY(0);
}

/* 2/11/2026 */

/* Zonas: hover para mostrar distritos */
.zoneTag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  cursor:pointer;
  user-select:none;
}

.zoneTag:hover{ filter:brightness(0.98); }

.zoneInfoBox{
  display:none;
  margin-top:10px;
  background:var(--soft);
  border:1px dashed var(--line);
}

.zoneInfoBox.is-open{ display:block; }

.zoneInfo__title{
  font-weight:900;
  margin-bottom:6px;
}

.zoneInfo__list{
  font-size:13px;
  line-height:1.6;
  columns:2;
  column-gap:18px;
}

.zoneInfo__item{ break-inside:avoid; }

@media (max-width: 560px){
  .zoneInfo__list{ columns:1; }
}

.zoneTag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  cursor:pointer;
  user-select:none;
}

.zonePopover{
  position:fixed;
  z-index:9999;
  display:none;
  width:min(420px, calc(100vw - 24px));
  max-height:min(320px, calc(100vh - 24px));
  overflow:auto;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.12);
}

.zonePopover.is-open{ display:block; }

.zonePop__title{
  font-weight:900;
  margin-bottom:6px;
}

.zonePop__list{
  font-size:13px;
  line-height:1.6;
  columns:2;
  column-gap:18px;
}

.zonePop__item{ break-inside:avoid; }

@media (max-width: 560px){
  .zonePop__list{ columns:1; }
}

/* 02/12/26 */

/* =========================================
   FIX: overflow horizontal en móvil
   (topbar + hero slider + brands + footer)
========================================= */

/* 0) Cortar scroll horizontal del documento */
html, body { max-width: 100%; }
html { overflow-x: clip; }
body { overflow-x: clip; }
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}

/* 1) TOPBAR: el .topbar__inner está más ancho que el viewport */
header.topbar { width: 100%; max-width: 100%; overflow-x: clip; }

header.topbar .container.topbar__inner,
header.topbar .topbar__inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  display: flex;
  flex-wrap: wrap;           /* <-- clave: que baje a otra línea */
  align-items: center;
  gap: 10px;

  padding-left: 12px;        /* ajusta si ya tienes padding */
  padding-right: 12px;
}

header.topbar .container.topbar__inner > *,
header.topbar .topbar__inner > * { min-width: 0; }

/* 2) HERO SLIDER: el track es gigante, debe estar CLIPPEADO dentro del slider */
#heroslider, .slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;          /* <-- clave */
}

#heroTrack, .slider__track {
  display: flex;
  max-width: 100%;
}

/* cada slide ocupa 100% del viewport */
#heroTrack > *, .slider__track > * {
  flex: 0 0 100%;
  max-width: 100%;
}

#heroslider img, .slider img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3) BRANDS TRACK: mismo concepto, que no empuje el ancho de la página */
#brandsTrack, .brands__track {
  max-width: 100%;
}

/* si tienes un contenedor padre de brands, esto lo arregla elegante */
.brands, .brandsSlider, .brandsWrap, .brands__slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;          /* <-- clave */
}

/* si NO tienes wrapper y el track está “suelto”, fuerza scroll interno (no de la página) */
#brandsTrack {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#brandsTrack::-webkit-scrollbar { display: none; }

/* 4) FOOTER */
footer.footer--dark {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
footer.footer--dark .container { max-width: 100%; }

/* ======= para checkout mobil */

/* ===========================
   CHECKOUT: centrar + responsive
=========================== */

/* 1) wrapper principal del checkout (cámbialo por tu clase/id real) */
.checkoutPage, .checkout, #checkoutPage {
  width: 100%;
}

/* 2) contenedor que tiene 2 columnas: formulario + resumen */
.checkoutGrid, .checkoutLayout, #checkoutGrid {
  max-width: 1100px;         /* ancho razonable en desktop */
  margin: 0 auto;            /* <-- centra */
  padding: 0 16px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px); /* izq flexible, der fija pero con minmax */
  gap: 18px;
  align-items: start;
}

/* 3) evita que hijos empujen */
.checkoutGrid > *, .checkoutLayout > *, #checkoutGrid > * {
  min-width: 0;
}

/* 4) móvil: 1 columna */
@media (max-width: 900px) {
  .checkoutGrid, .checkoutLayout, #checkoutGrid {
    grid-template-columns: 1fr;
  }

  /* opcional: orden */
  .checkoutForm { order: 1; }
  .checkoutSummary { order: 2; }
  .checkoutSteps { order: 0; }

  /* stepper horizontal si no entra */
  .checkoutSteps {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .checkoutSteps > * { flex: 0 0 auto; }
}

/* ===========================
   CHECKOUT MOBILE FIX
=========================== */

.page-checkout .checkoutGrid,
.page-checkout .checkoutLayout,
.page-checkout #checkoutGrid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Desktop 2 columnas (form + resumen) */
.page-checkout .checkoutGrid,
.page-checkout .checkoutLayout,
.page-checkout #checkoutGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 18px;
  align-items: start;
}

.page-checkout .checkoutGrid > *,
.page-checkout .checkoutLayout > *,
.page-checkout #checkoutGrid > * { min-width: 0; }

/* ===== MÓVIL: 1 columna ===== */
@media (max-width: 900px) {
  .page-checkout .checkoutGrid,
  .page-checkout .checkoutLayout,
  .page-checkout #checkoutGrid {
    grid-template-columns: 1fr !important;
  }

  /* inputs grandes y sin zoom en iOS */
  .page-checkout input,
  .page-checkout select,
  .page-checkout textarea {
    width: 100%;
    font-size: 16px;     /* iPhone: evita zoom al tocar */
    padding: 12px 14px;
    border-radius: 12px;
  }

  /* cualquier fila de 2 columnas (Nombre + Teléfono) -> 1 columna */
  .page-checkout .row2,
  .page-checkout .twoCols,
  .page-checkout .formRow--2,
  .page-checkout .grid2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* la fila de 3 combos (De/Pro/Dis) -> 1 por línea */
  .page-checkout .row3,
  .page-checkout .threeCols,
  .page-checkout .formRow--3,
  .page-checkout .grid3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Stepper que no “flote” raro */
  .page-checkout .checkoutSteps,
  .page-checkout .steps {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .page-checkout .checkoutSteps > *,
  .page-checkout .steps > * { flex: 0 0 auto; }
}


/* ===== CHECKOUT: forzar 1 columna en móvil (gana a inline styles) ===== */
@media (max-width: 900px) {
  .checkoutGrid{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .checkoutGrid input,
  .checkoutGrid select,
  .checkoutGrid textarea{
    width: 100%;
    font-size: 16px; /* evita zoom iOS y mejora legibilidad */
  }
}

/* ==================================================
   CHECKOUT RESPONSIVE (solo checkout.php)
   Requiere: <body class="page-checkout">
================================================== */

.page-checkout .section .container {
  max-width: 1100px;
}

/* Layout principal: desktop 2 cols, móvil 1 col */
.page-checkout .checkoutGrid{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 14px;
  align-items: start;
}

@media (max-width: 900px){
  .page-checkout .checkoutGrid{
    grid-template-columns: 1fr;
  }
}

/* Steps: en móvil que no se aplasten */
.page-checkout .checkoutSteps{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 900px){
  .page-checkout .checkoutSteps{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 6px;
  }
  .page-checkout .checkoutSteps > *{
    flex: 0 0 auto;
  }
}

/* Inputs/selects: legibles en iPhone (evita zoom y recortes) */
.page-checkout input,
.page-checkout select,
.page-checkout textarea{
  width: 100%;
  font-size: 16px; /* clave iOS */
}

/* La fila "Nombre + Teléfono" que hoy es .row con 2 inputs */
.page-checkout #checkoutForm .row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 700px){
  .page-checkout #checkoutForm .row{
    grid-template-columns: 1fr;
  }
}

/* Departamento/Provincia/Distrito */
.page-checkout .addrGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px){
  .page-checkout .addrGrid{
    grid-template-columns: 1fr;
  }
}

.page-checkout .field label{
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 6px;
  opacity: .75;
}

/* Checkout: mensaje debajo de Envío/Recojo (entregaHint) */
#entregaHint:empty{
  display:none; /* si no hay texto, no ocupa espacio */
}

#entregaHint{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Icono “llamativo” sin tocar JS */
#entregaHint::before{
  content: "📦";
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  margin-top: 1px;
}

/* Un “acento” a la izquierda para que destaque */
#entregaHint{
  border-left: 6px solid rgba(0,0,0,.15);
}

.search { position: relative; }

.searchDrop{
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  padding: 6px;
  z-index: 60;
  display: none;
  max-height: 360px;
  overflow: auto;
}

.searchDrop.is-open{ display:block; }

.searchItem{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px 10px;
  border-radius: 12px;
  text-decoration:none;
  color: inherit;
}

.searchItem:hover,
.searchItem.is-active{ background: var(--soft); }

.searchItem__ico{ width:30px; text-align:center; opacity:.85; }

.searchItem__title{ font-weight:900; font-size:13px; line-height:1.1; }
.searchItem__meta{ font-size:12px; margin-top:2px; }

.searchItem__price{ margin-left:auto; font-weight:900; }

.searchEmpty{
  padding:12px 10px;
  color: var(--muted);
  font-size: 13px;
}

/* ===== Header search dropdown ===== */
.search{ position:relative; }
.searchDrop{
  position:absolute;
  top: calc(100% + 8px);
  left:0; right:0;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
  padding:6px;
  display:none;
  z-index: 50;
}
.searchDrop.is-open{ display:block; }

.searchItem{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:10px;
  text-decoration:none;
  color:inherit;
}
.searchItem:hover,
.searchItem.is-active{
  background: rgba(0,0,0,.05);
}
.searchItem__ico{ width:28px; text-align:center; font-size:18px; }
.searchItem__txt{ flex:1; min-width:0; }
.searchItem__title{ font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.searchItem__price{ font-weight:700; }
.searchEmpty{
  padding:10px;
  border-radius:10px;
  color:#666;
}

/* ===== Search page ===== */
.searchLinks{ display:flex; flex-wrap:wrap; gap:10px; }
.searchLinks .link{ background:rgba(255,255,255,.06); padding:8px 10px; border-radius:10px; }

.searchGrid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap:12px;
}
.searchCard{
  display:block;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  background:#fff;
}
.searchCard__img{
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.03);
}
.searchCard__img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.searchCard__ph{ font-size:34px; opacity:.7; }
.searchCard__body{ padding:10px; }
.searchCard__title{
  font-weight:600;
  line-height:1.2;
  min-height: 2.4em;
}
.searchCard__price{ margin-top:6px; font-weight:800; }

/* 17/2/26 */
/* ===== Footer - Bloque Suscríbete (armonía) ===== */
.footerSubscribe .nlform{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footerSubscribe .nlform__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.footerSubscribe #btnSubscribe{
  flex:0 0 auto;
}

.footerSubscribe #newsletterEmail{
  width:100%;
  margin-top:2px; /* baja un poquito más el input */
}

/* Checkbox: más chico y que entre en una línea (desktop) */
.footerSubscribe .nlform__terms{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:2px;
}

.footerSubscribe .nlform__terms input[type="checkbox"]{
  margin-top:2px;
}

.footerSubscribe .nlform__terms .muted{
  font-size:12px;
  line-height:1.2;
  white-space:nowrap;     /* una sola línea */
}

/* En móviles, permitimos salto para que no se “rompa” el layout */
@media (max-width: 480px){
  .footerSubscribe .nlform__terms .muted{
    white-space:normal;
  }
}

/* Redes centradas debajo */
.footerSubscribe .footSocial{
  margin-top:8px;
  display:flex;
  justify-content:center;
}

.footerSubscribe #footerSocials{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* ===== Footer: 4 columnas con el mismo ancho ===== */
.footer .footer__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px;               /* ajusta a tu gusto */
  align-items: start;
}

/* Evita que algún hijo obligue a expandir la columna */
.footer .footer__grid > *{
  min-width: 0;
}

/* Si tenías alguna regla que hacía que el último bloque “span 2”, esto lo anula */
.footer .footer__grid > :last-child{
  grid-column: auto !important;
}

/* Opcional: que el input no “pida” demasiado ancho dentro de su columna */
.footer .footer__grid #newsletterEmail{
  width: 100%;
  max-width: 360px;  /* ajusta: 320-380 suele verse bien */
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

