
:root{--bg:#090909;--panel:#121212;--panel2:#181818;--line:#292929;--text:#f6f6f6;--muted:#999;--o:#ff6a00;--o2:#ff8d22;--green:#28c780}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#090909;color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.45}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{text-decoration:none;color:inherit}
.topbar{position:sticky;top:0;z-index:50;display:flex;justify-content:space-between;align-items:center;padding:11px clamp(14px,4vw,60px);background:rgba(9,9,9,.88);backdrop-filter:blur(18px);border-bottom:1px solid #202020}.brand{display:flex;align-items:center;gap:7px}.brand img{width:38px;height:38px;object-fit:cover;border-radius:10px;border:1px solid #2c2c2c}.brand>span{color:var(--o);font-weight:900}.brand div{display:flex;flex-direction:column;margin-left:5px}.brand small{color:#888;font-size:10px}.cart-btn{border:1px solid #333;background:#161616;color:#fff;padding:10px 14px;border-radius:999px;font-weight:900}.cart-btn b{background:var(--o);color:#090909;border-radius:99px;padding:3px 7px;margin-left:5px}
.hero{min-height:650px;padding:72px clamp(18px,6vw,90px);display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center;background:radial-gradient(circle at 80% 35%,rgba(255,106,0,.16),transparent 30%),linear-gradient(145deg,#080808,#111)}.eyebrow{font-size:11px;color:var(--o);letter-spacing:.18em;font-weight:1000}.hero h1{font-size:clamp(44px,6vw,82px);line-height:.98;letter-spacing:-.055em;margin:14px 0 22px}.hero h1 em{font-style:normal;color:var(--o)}.hero p{font-size:18px;color:#bbb;max-width:700px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.btn{border:0;border-radius:14px;padding:14px 18px;font-weight:900;cursor:pointer}.btn.primary{background:linear-gradient(135deg,var(--o),var(--o2));color:#080808}.btn.ghost{background:#171717;color:#fff;border:1px solid #333}.btn.text{background:transparent;color:#aaa}.btn.full{width:100%}.trust{display:flex;flex-wrap:wrap;gap:14px;color:#ddd;font-size:13px}
.hero-card{background:linear-gradient(145deg,#171717,#0d0d0d);border:1px solid #303030;border-radius:30px;padding:30px;box-shadow:0 25px 70px rgba(0,0,0,.35)}.hero-logo{font-size:34px;font-weight:1000;margin-bottom:24px}.hero-logo span{color:var(--o)}.hero-card>small{color:#888;letter-spacing:.14em}.mini-tier{display:flex;justify-content:space-between;padding:17px 0;border-bottom:1px solid #292929}.mini-tier b{color:var(--o);font-size:22px}
.wholesale,.catalog{padding:72px clamp(14px,5vw,70px)}.wholesale{background:#0d0d0d;border-top:1px solid #202020;border-bottom:1px solid #202020}.section-title{max-width:850px}.section-title h2,.section-head h2{font-size:clamp(32px,4vw,52px);letter-spacing:-.045em;margin:6px 0}.section-title p,.section-head p{color:#999}.tier-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:30px}.tier-grid article{padding:24px;border-radius:22px;background:#151515;border:1px solid #292929}.tier-grid article.accent{border-color:rgba(255,106,0,.4)}.tier-grid article.strongest{background:linear-gradient(145deg,rgba(255,106,0,.15),#151515)}.tier-grid span{font-size:10px;color:#777;letter-spacing:.15em;font-weight:900}.tier-grid h3{font-size:30px;margin:8px 0 0}.tier-grid b{color:var(--o)}.tier-grid p{font-size:13px;color:#929292}.wholesale-note{margin-top:18px;padding:14px 17px;border-radius:14px;background:#151515;color:#aaa;font-size:13px}
.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.availability{font-size:11px;color:#777}.search-panel{position:sticky;top:66px;z-index:30;background:rgba(10,10,10,.94);backdrop-filter:blur(18px);padding:10px;border:1px solid #242424;border-radius:18px;margin-bottom:22px}.searchbox{display:flex;gap:9px;align-items:center;background:#151515;border:1px solid #2d2d2d;border-radius:13px;padding:0 13px}.searchbox span{color:var(--o);font-size:24px}.searchbox input{width:100%;padding:14px 0;background:transparent;border:0;outline:0;color:#fff}.filters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.filters select{background:#131313;color:#fff;border:1px solid #2b2b2b;padding:11px;border-radius:11px}.chips{display:flex;gap:7px;overflow:auto;padding-top:8px}.chip{white-space:nowrap;background:#151515;color:#ccc;border:1px solid #303030;padding:7px 11px;border-radius:99px}.chip.active{background:var(--o);color:#090909;border-color:var(--o);font-weight:900}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.card{overflow:hidden;border-radius:20px;background:linear-gradient(180deg,#151515,#101010);border:1px solid #272727;display:flex;flex-direction:column}.card-visual{height:175px;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 70% 20%,rgba(255,106,0,.14),transparent 35%),#171717}.product-image{position:absolute;width:100%;height:100%;object-fit:contain;background:#f5f5f5;padding:11px}.image-fallback{width:86px;height:86px;border:1px solid rgba(255,106,0,.35);border-radius:28px;display:grid;place-items:center;color:var(--o);font-size:25px;font-weight:1000}.tags{position:absolute;z-index:3;top:10px;left:10px;display:flex;gap:5px}.tag{font-size:9px;font-weight:1000;padding:5px 7px;border-radius:99px;background:rgba(10,10,10,.8);border:1px solid #3a3a3a}.tag.oferta{background:var(--o);color:#090909;border-color:var(--o)}.tag.destacado{color:#ff9d5c;border-color:rgba(255,106,0,.5)}.card-body{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1}.brand-name{font-size:10px;color:var(--o);font-weight:1000;letter-spacing:.08em}.card h3{font-size:14px;margin:0;min-height:38px}.meta{font-size:11px;color:#929292;min-height:31px}.price-row{display:flex;align-items:end;gap:7px;margin-top:auto}.price-row strong{font-size:23px}.price-row del{font-size:12px;color:#777}.wholesale-hint{font-size:10px;color:#aaa}.card-actions{display:grid;grid-template-columns:1fr 42px;gap:7px;margin-top:7px}.card-actions button{border:0;border-radius:11px;background:var(--o);padding:11px;font-weight:900}.card-actions .quick{background:#222;color:#fff}.load-wrap{text-align:center;margin-top:25px}
footer{padding:30px clamp(16px,5vw,70px) 90px;border-top:1px solid #202020;display:flex;justify-content:space-between;color:#888}footer p{font-size:12px;margin:4px 0}.mobile-nav{display:none}
.drawer{visibility:hidden;position:fixed;inset:0;z-index:100}.drawer.open{visibility:visible}.backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68)}.drawer-panel{position:absolute;right:0;top:0;height:100%;width:min(480px,100%);background:#0d0d0d;border-left:1px solid #292929;display:flex;flex-direction:column}.drawer-head{padding:18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #242424}.drawer-head h2{margin:4px 0}.close{width:40px;height:40px;border:0;border-radius:99px;background:#1e1e1e;color:#fff;font-size:24px}.tier-status{padding:14px 18px;background:#111;border-bottom:1px solid #242424}.tier-status>div:first-child{display:flex;justify-content:space-between}.tier-status b{color:var(--o)}.progress{height:7px;background:#252525;border-radius:99px;margin:9px 0;overflow:hidden}.progress i{display:block;height:100%;width:0;background:var(--o)}.tier-status small{color:#888}.cart-items{padding:10px;overflow:auto;flex:1}.cart-item{display:grid;grid-template-columns:1fr auto;gap:8px;padding:13px;background:#131313;border:1px solid #282828;border-radius:15px;margin-bottom:8px}.cart-item small{display:block;color:#888;font-size:10px}.qty{display:flex;gap:6px;align-items:center;margin-top:8px}.qty button{border:1px solid #333;background:#1c1c1c;color:#fff;border-radius:8px;height:28px}.qty .remove{border:0;background:transparent;color:#ff8065}.summary{padding:17px;border-top:1px solid #282828}.summary>div{display:flex;justify-content:space-between;margin:5px 0}.summary #savingRow b{color:var(--green)}.summary .total{align-items:end;margin-top:10px}.summary .total strong{font-size:28px}.summary>small{display:block;color:#7f7f7f;font-size:10px;margin:8px 0 11px}.checkout-fields{display:grid!important;gap:7px}.checkout-fields input{background:#151515;color:#fff;border:1px solid #303030;border-radius:11px;padding:11px}.empty{text-align:center;color:#777;padding:45px 15px;grid-column:1/-1}.toast{position:fixed;z-index:120;left:50%;bottom:80px;transform:translate(-50%,15px);opacity:0;background:#fff;color:#111;padding:10px 14px;border-radius:99px;font-size:12px;font-weight:900;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,1fr)}.tier-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.brand div{display:none}.hero{grid-template-columns:1fr;padding:55px 17px}.hero-card{order:-1}.hero h1{font-size:47px}.tier-grid{grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:1fr 1fr;gap:8px}.catalog,.wholesale{padding:52px 10px}.filters{grid-template-columns:1fr 1fr}.filters select:last-child{grid-column:1/-1}.search-panel{top:59px}.card-visual{height:145px}.card-body{padding:11px}.card h3{font-size:13px}.section-head{align-items:start}.availability{display:none}footer{flex-direction:column;gap:10px}.mobile-nav{display:grid;position:fixed;z-index:60;left:10px;right:10px;bottom:10px;grid-template-columns:repeat(3,1fr);padding:6px;border:1px solid #303030;border-radius:17px;background:rgba(17,17,17,.94);backdrop-filter:blur(16px)}.mobile-nav a,.mobile-nav button{border:0;background:transparent;color:#ddd;padding:10px;font-size:12px;font-weight:900}}
@media(max-width:430px){.tier-grid{grid-template-columns:1fr}.hero h1{font-size:41px}.price-row strong{font-size:20px}}

.order-contact{
  margin:10px 0 12px!important;
  padding:11px 12px;
  border-radius:11px;
  background:#151515;
  border:1px solid #303030;
  color:#d9d9d9;
  font-size:11px;
}
.order-contact.wholesale{
  border-color:rgba(255,106,0,.5);
  background:linear-gradient(145deg,rgba(255,106,0,.10),#151515);
  color:#ffb17a;
}

.wholesale{padding-top:48px;padding-bottom:48px}
.compact-title{max-width:700px}
.compact-title h2{font-size:clamp(28px,3.2vw,42px)}
.compact-title p{font-size:14px}
.wholesale .tier-grid{gap:9px;margin-top:20px}
.wholesale .tier-grid article{min-height:92px;padding:15px 17px;display:flex;flex-direction:column;justify-content:center}
.wholesale .tier-grid article span{font-size:9px;color:#8f8f8f}
.wholesale .tier-grid article b{font-size:16px;margin-top:6px}
.compact-note{display:inline-flex;padding:8px 12px;border-radius:999px;font-size:11px}
.representatives{padding:64px clamp(14px,5vw,70px);background:linear-gradient(180deg,#0a0a0a,#0f0f0f);border-bottom:1px solid #202020}
.rep-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:980px;margin-top:24px}
.rep-card{position:relative;display:grid;grid-template-columns:76px 1fr;gap:16px;align-items:center;padding:22px;border:1px solid #292929;border-radius:22px;background:linear-gradient(145deg,#151515,#101010)}
.rep-card.featured{border-color:rgba(255,106,0,.45)}
.rep-badge{position:absolute;right:12px;top:12px;font-size:8px;letter-spacing:.1em;color:#999;border:1px solid #303030;padding:5px 8px;border-radius:999px}
.rep-avatar{width:70px;height:70px;border-radius:22px;display:grid;place-items:center;border:1px solid rgba(255,106,0,.3);color:var(--o);font-size:22px;font-weight:1000}
.rep-copy span{font-size:10px;color:#888;text-transform:uppercase}
.rep-copy h3{font-size:24px;margin:4px 0}
.rep-copy p{font-size:12px;color:#929292;margin:0 0 10px}
.rep-copy a{color:#ff9c5d;font-weight:900}
.checkout-fields select{width:100%;background:#151515;color:#fff;border:1px solid #303030;border-radius:11px;padding:11px}
@media(max-width:800px){.rep-grid{grid-template-columns:1fr}.representatives{padding:50px 11px}}
\n.privacy-link{font-size:11px;color:#999;text-decoration:underline;text-underline-offset:3px}.btn:disabled{opacity:.48;cursor:not-allowed}.catalog-error{grid-column:1/-1;padding:28px;border:1px solid #3a2b24;background:#15110f;border-radius:16px;color:#ffc39c;text-align:center}\n

/* =========================================================
   V4.4.1 RESPONSIVE FINAL — PC + MOBILE
   ========================================================= */

/* General spacing and product media consistency */
:root{
  --mobile-bottom-nav-space: 104px;
}
.product-card{
  min-width:0;
}
.product-media,
.product-image-wrap,
.card-media{
  overflow:hidden;
}
.product-image{
  object-fit:contain !important;
  object-position:center center !important;
}

/* Cart drawer — desktop */
.cart-drawer,
#cartDrawer,
.drawer.cart{
  width:min(470px,100vw) !important;
  max-width:470px !important;
}
.cart-overlay,
#cartOverlay,
.drawer-overlay{
  background:rgba(0,0,0,.58) !important;
  backdrop-filter:blur(2px);
}
.cart-drawer .cart-body,
#cartDrawer .cart-body,
.cart-drawer .drawer-body,
#cartDrawer .drawer-body{
  padding-left:18px !important;
  padding-right:18px !important;
}
.cart-drawer input,
.cart-drawer select,
#cartDrawer input,
#cartDrawer select{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
.cart-drawer .checkout-grid,
#cartDrawer .checkout-grid,
.cart-drawer .customer-fields,
#cartDrawer .customer-fields,
.cart-drawer .form-grid,
#cartDrawer .form-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:9px !important;
  width:100% !important;
}
.cart-drawer .cart-summary,
#cartDrawer .cart-summary{
  margin-top:10px !important;
}
.cart-drawer .cart-actions,
#cartDrawer .cart-actions{
  position:sticky;
  bottom:0;
  z-index:8;
  background:linear-gradient(180deg,rgba(15,15,15,0),#0f0f0f 22%,#0f0f0f);
  padding-top:20px !important;
  padding-bottom:max(14px,env(safe-area-inset-bottom)) !important;
}

/* Keep the main CTA visually strong */
.cart-drawer .cart-actions button:first-child,
#cartDrawer .cart-actions button:first-child,
.cart-drawer .primary,
#cartDrawer .primary{
  min-height:52px !important;
  width:100% !important;
}

/* Catalog toolbar: avoid overflow in desktop too */
.catalog-toolbar,
.filters-panel,
.filter-panel{
  min-width:0;
}
.category-chips,
.chips,
.filters-chips{
  scrollbar-width:none;
}
.category-chips::-webkit-scrollbar,
.chips::-webkit-scrollbar,
.filters-chips::-webkit-scrollbar{
  display:none;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px){
  .cart-drawer,
  #cartDrawer,
  .drawer.cart{
    width:min(92vw,470px) !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px){

  body{
    overflow-x:hidden !important;
  }

  /* Header */
  header,
  .site-header,
  .topbar{
    min-height:auto !important;
  }

  .header-inner,
  .topbar-inner,
  .nav-inner{
    padding-top:10px !important;
    padding-bottom:10px !important;
  }

  .brand-combo img,
  .brand-lockup img,
  header .logo img{
    max-height:54px !important;
  }

  /* Hero/catalog title */
  .catalog-hero,
  .catalog-intro,
  .catalog-header{
    padding-top:26px !important;
    padding-bottom:18px !important;
  }

  .catalog-hero h1,
  .catalog-intro h1,
  .catalog-header h1,
  #catalog h1{
    font-size:clamp(34px,10vw,46px) !important;
    line-height:.98 !important;
    letter-spacing:-.035em !important;
    max-width:92vw;
    margin-bottom:20px !important;
  }

  .catalog-hero .eyebrow,
  .catalog-intro .eyebrow,
  .catalog-header .eyebrow{
    font-size:12px !important;
    letter-spacing:.22em !important;
  }

  .catalog-count,
  .product-count{
    font-size:20px !important;
    margin-top:0 !important;
  }

  /* Filters become compact */
  .catalog-toolbar,
  .filters-panel,
  .filter-panel{
    padding:10px !important;
    border-radius:18px !important;
    gap:8px !important;
    margin-top:18px !important;
  }

  .search-wrap,
  .search-box,
  .catalog-search{
    grid-column:1/-1 !important;
    width:100% !important;
  }

  .search-wrap input,
  .search-box input,
  .catalog-search input,
  #searchInput{
    min-height:54px !important;
    font-size:16px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
  }

  .filter-grid,
  .filters-row,
  .catalog-filters{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    width:100% !important;
  }

  .filter-grid select,
  .filters-row select,
  .catalog-filters select,
  #categoryFilter,
  #brandFilter,
  #sortSelect{
    min-width:0 !important;
    width:100% !important;
    min-height:48px !important;
    font-size:15px !important;
    padding-left:12px !important;
    padding-right:34px !important;
  }

  /* If the sort control is third, use full row */
  #sortSelect{
    grid-column:1/-1 !important;
  }

  /* Horizontal category chips */
  .category-chips,
  .chips,
  .filters-chips{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    gap:8px !important;
    width:100% !important;
    padding:2px 0 5px !important;
  }

  .category-chips > *,
  .chips > *,
  .filters-chips > *{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    max-width:78vw;
    scroll-snap-align:start;
  }

  /* Products: keep two columns, but tighter and cleaner */
  .product-grid,
  #productGrid,
  .products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    padding-bottom:var(--mobile-bottom-nav-space) !important;
  }

  .product-card{
    border-radius:18px !important;
    min-width:0 !important;
    overflow:hidden !important;
  }

  .product-card .product-media,
  .product-card .product-image-wrap,
  .product-card .card-media{
    aspect-ratio:1/1 !important;
    height:auto !important;
    min-height:0 !important;
  }

  .product-card .product-image{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    padding:8px !important;
    box-sizing:border-box !important;
  }

  .product-card .product-body,
  .product-card .card-body{
    padding:11px !important;
  }

  .product-card h3,
  .product-card .product-name{
    font-size:14px !important;
    line-height:1.22 !important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:34px;
  }

  .product-card .brand,
  .product-card .category,
  .product-card .meta{
    font-size:10px !important;
  }

  .product-card .price,
  .product-card .product-price{
    font-size:21px !important;
  }

  .product-card button,
  .product-card .add-btn{
    min-height:46px !important;
    font-size:14px !important;
  }

  /* Bottom nav must never cover products */
  .mobile-nav,
  .bottom-nav,
  nav.mobile{
    bottom:max(8px,env(safe-area-inset-bottom)) !important;
  }

  main,
  #catalog,
  .catalog-section{
    padding-bottom:calc(var(--mobile-bottom-nav-space) + env(safe-area-inset-bottom)) !important;
  }

  /* Cart becomes almost full-screen on mobile */
  .cart-drawer,
  #cartDrawer,
  .drawer.cart{
    width:100vw !important;
    max-width:100vw !important;
    height:100dvh !important;
    max-height:100dvh !important;
    border-radius:0 !important;
  }

  .cart-drawer .drawer-head,
  #cartDrawer .drawer-head,
  .cart-drawer .cart-head,
  #cartDrawer .cart-head{
    padding:16px !important;
  }

  .cart-drawer .cart-body,
  #cartDrawer .cart-body,
  .cart-drawer .drawer-body,
  #cartDrawer .drawer-body{
    padding-left:14px !important;
    padding-right:14px !important;
    padding-bottom:26px !important;
  }

  .cart-drawer h2,
  #cartDrawer h2{
    font-size:26px !important;
  }

  .cart-drawer .cart-total,
  #cartDrawer .cart-total{
    font-size:29px !important;
  }

  .cart-drawer .cart-actions,
  #cartDrawer .cart-actions{
    padding-bottom:calc(12px + env(safe-area-inset-bottom)) !important;
  }
}

/* Very narrow phones */
@media (max-width: 380px){
  .catalog-hero h1,
  .catalog-intro h1,
  .catalog-header h1,
  #catalog h1{
    font-size:32px !important;
  }

  .product-grid,
  #productGrid,
  .products-grid{
    gap:6px !important;
  }

  .product-card .product-body,
  .product-card .card-body{
    padding:9px !important;
  }

  .product-card h3,
  .product-card .product-name{
    font-size:13px !important;
  }

  .product-card .price,
  .product-card .product-price{
    font-size:19px !important;
  }
}


/* =========================================================
   V4.4.2 — CARRITO PC FINAL
   Corrige área de cantidades y compacta checkout.
   ========================================================= */

/* #cartDrawer es el overlay COMPLETO, no el panel lateral. */
#cartDrawer.drawer{
  position:fixed !important;
  inset:0 !important;
  width:auto !important;
  max-width:none !important;
  height:auto !important;
  max-height:none !important;
}

/* El ancho se controla solamente aquí. */
#cartDrawer .drawer-panel{
  width:min(520px,100vw) !important;
  max-width:520px !important;
  height:100dvh !important;
  max-height:100dvh !important;
  display:grid !important;
  grid-template-rows:auto auto minmax(190px,1fr) auto !important;
  overflow:hidden !important;
}

#cartDrawer .backdrop{
  background:rgba(0,0,0,.54) !important;
  backdrop-filter:blur(2px);
}

/* Cabecera más compacta */
#cartDrawer .drawer-head{
  padding:13px 16px !important;
  min-height:72px !important;
}
#cartDrawer .drawer-head h2{
  margin:2px 0 0 !important;
  font-size:27px !important;
}
#cartDrawer .close{
  width:38px !important;
  height:38px !important;
}

/* Nivel actual más compacto */
#cartDrawer .tier-status{
  padding:11px 16px !important;
}
#cartDrawer .tier-status .progress{
  margin:7px 0 !important;
}
#cartDrawer .tier-status small{
  display:block;
  line-height:1.25;
}

/* ---------------------------------------------------------
   ÁREA DE PRODUCTOS
   Siempre conserva espacio suficiente para − / + / Quitar.
   --------------------------------------------------------- */
#cartDrawer .cart-items{
  min-height:190px !important;
  padding:9px 12px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#3a3a3a transparent;
}

#cartDrawer .cart-item{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:10px !important;
  padding:10px 11px !important;
  margin-bottom:7px !important;
  border-radius:12px !important;
  align-items:start !important;
}

#cartDrawer .cart-item > div{
  min-width:0 !important;
}

#cartDrawer .cart-item b{
  display:block;
  font-size:13px !important;
  line-height:1.22 !important;
  white-space:normal !important;
}

#cartDrawer .cart-item > strong{
  font-size:14px !important;
  white-space:nowrap !important;
  padding-top:1px;
}

#cartDrawer .cart-item small{
  margin-top:2px;
  line-height:1.2;
}

#cartDrawer .qty{
  display:flex !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
  gap:5px !important;
  margin-top:7px !important;
}

#cartDrawer .qty button{
  width:31px !important;
  min-width:31px !important;
  height:31px !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
  font-size:17px !important;
  line-height:1 !important;
  cursor:pointer !important;
}

#cartDrawer .qty span{
  min-width:27px !important;
  text-align:center !important;
  font-weight:900 !important;
}

#cartDrawer .qty .remove{
  width:auto !important;
  min-width:0 !important;
  padding:0 5px !important;
  margin-left:3px !important;
  font-size:11px !important;
}

/* ---------------------------------------------------------
   RESUMEN / CHECKOUT
   Máximo ~46% del alto de pantalla y con scroll propio.
   Así nunca aplasta la lista de productos.
   --------------------------------------------------------- */
#cartDrawer .cart-summary{
  flex:none !important;
  max-height:46dvh !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  padding:10px 16px 12px !important;
  border-top:1px solid #282828 !important;
  scrollbar-width:thin;
  scrollbar-color:#3a3a3a transparent;
}

#cartDrawer .cart-summary > div{
  margin:3px 0 !important;
}

#cartDrawer .cart-summary .total{
  margin-top:6px !important;
  align-items:center !important;
}

#cartDrawer .cart-summary .total strong{
  font-size:27px !important;
}

#cartDrawer .cart-summary > small{
  margin:5px 0 7px !important;
  line-height:1.25 !important;
}

/* Contacto del representante */
#cartDrawer .order-contact{
  margin:6px 0 8px !important;
  padding:8px 10px !important;
  min-height:0 !important;
  font-size:10px !important;
  line-height:1.25 !important;
}

/* Checkout en dos columnas para aprovechar PC */
#cartDrawer .checkout-fields{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:6px !important;
  width:100% !important;
  margin:0 !important;
}

#cartDrawer .checkout-fields input,
#cartDrawer .checkout-fields select{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:42px !important;
  padding:8px 10px !important;
  margin:0 !important;
  border-radius:10px !important;
  font-size:12px !important;
  box-sizing:border-box !important;
}

/* Negocio usa todo el ancho; los demás aprovechan dos columnas. */
#cartDrawer #businessName{
  grid-column:1 / -1 !important;
}

/* Botón principal compacto */
#cartDrawer #sendOrder{
  width:100% !important;
  min-height:44px !important;
  height:44px !important;
  margin-top:8px !important;
  padding:8px 12px !important;
  border-radius:11px !important;
  font-size:13px !important;
}

/* Vaciar pedido deja de ocupar un bloque grande */
#cartDrawer #clearCart{
  width:100% !important;
  min-height:28px !important;
  height:28px !important;
  margin-top:2px !important;
  padding:2px 8px !important;
  font-size:10px !important;
}

/* Pantallas de escritorio con poca altura */
@media (min-width:801px) and (max-height:760px){
  #cartDrawer .drawer-panel{
    grid-template-rows:auto auto minmax(150px,1fr) auto !important;
  }
  #cartDrawer .cart-items{
    min-height:150px !important;
  }
  #cartDrawer .cart-summary{
    max-height:48dvh !important;
    padding-top:8px !important;
    padding-bottom:8px !important;
  }
  #cartDrawer .checkout-fields input,
  #cartDrawer .checkout-fields select{
    height:38px !important;
    padding-top:6px !important;
    padding-bottom:6px !important;
  }
  #cartDrawer #sendOrder{
    height:40px !important;
    min-height:40px !important;
  }
}

/* Móvil: panel completo, pero el área de productos sigue siendo útil */
@media (max-width:800px){
  #cartDrawer .drawer-panel{
    width:100vw !important;
    max-width:100vw !important;
    grid-template-rows:auto auto minmax(180px,1fr) auto !important;
  }

  #cartDrawer .cart-items{
    min-height:180px !important;
  }

  #cartDrawer .cart-summary{
    max-height:49dvh !important;
    padding:9px 12px calc(10px + env(safe-area-inset-bottom)) !important;
  }

  #cartDrawer .checkout-fields{
    grid-template-columns:1fr 1fr !important;
  }

  #cartDrawer #businessName{
    grid-column:1 / -1 !important;
  }
}

/* Teléfonos angostos: formulario vuelve a una columna para no cortar texto */
@media (max-width:430px){
  #cartDrawer .checkout-fields{
    grid-template-columns:1fr !important;
  }
  #cartDrawer #businessName{
    grid-column:auto !important;
  }
  #cartDrawer .cart-summary{
    max-height:52dvh !important;
  }
}


/* =========================================================
   V4.4.7 — ACÁMBARO: SOBRE PEDIDO -5%
   ========================================================= */
.local-special-saving{
  color:#54dc98;
}
.local-special-saving b{
  color:#54dc98;
}
.acambaro-promo{
  margin:7px 0 9px;
  padding:9px 11px;
  border:1px solid rgba(255,106,0,.42);
  background:linear-gradient(135deg,rgba(255,106,0,.12),rgba(255,106,0,.035));
  border-radius:11px;
}
.acambaro-promo b{
  display:block;
  color:#ff7a18;
  font-size:10px;
  letter-spacing:.08em;
  margin-bottom:3px;
}
.acambaro-promo span{
  display:block;
  color:#ddd;
  font-size:10px;
  line-height:1.35;
}
.special-order-toggle{
  margin-top:7px;
  display:flex;
  align-items:flex-start;
  gap:7px;
  padding:7px 8px;
  border:1px solid #292929;
  background:#151515;
  border-radius:9px;
  color:#777;
  cursor:not-allowed;
}
.special-order-toggle.eligible{
  border-color:rgba(255,106,0,.38);
  background:rgba(255,106,0,.07);
  color:#eee;
  cursor:pointer;
}
.special-order-toggle input{
  width:15px !important;
  height:15px !important;
  min-width:15px !important;
  margin:1px 0 0 !important;
  accent-color:#ff6a00;
}
.special-order-toggle span{
  min-width:0;
}
.special-order-toggle strong{
  display:block;
  font-size:10px !important;
  color:inherit;
  line-height:1.2;
}
.special-order-toggle small{
  display:block;
  margin-top:2px !important;
  font-size:9px !important;
  line-height:1.25 !important;
  color:#777;
}
.special-order-toggle.eligible small{
  color:#aaa;
}
.local-line-saving{
  margin-top:4px;
  color:#54dc98;
  font-size:9px;
  font-weight:800;
}
.cart-line-price del{
  color:#777;
  font-size:10px;
  font-weight:500;
}
@media(max-width:430px){
  .special-order-toggle{
    padding:6px;
  }
  .acambaro-promo span{
    font-size:9px;
  }
}

/* V4.4.8 — ANTICIPO + COMPROBANTE */
.special-order-payment{margin:8px 0 10px;padding:12px;border-radius:14px;border:1px solid rgba(84,220,152,.28);background:linear-gradient(145deg,rgba(84,220,152,.08),rgba(255,106,0,.045))}
.special-payment-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.special-payment-kicker{font-size:9px;letter-spacing:.12em;color:#54dc98;font-weight:900}.special-payment-head h3{margin:2px 0 0;font-size:15px;line-height:1.15}.special-payment-head>strong{color:#54dc98;font-size:22px;white-space:nowrap}
.special-order-payment>p{margin:8px 0;color:#c9c9c9;font-size:10px;line-height:1.4}.special-payment-totals{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:8px}.special-payment-totals>div,.bank-card>div{border:1px solid #2c2c2c;background:#111;border-radius:9px;padding:7px 8px}.special-payment-totals span,.bank-card span{display:block;color:#777;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.special-payment-totals b,.bank-card b{display:block;margin-top:2px;font-size:12px}
.bank-card{display:grid;grid-template-columns:.65fr 1.35fr 1.4fr auto;gap:6px}.copy-bank{border:1px solid rgba(255,106,0,.4);background:#1b1b1b;color:#ff8b37;border-radius:9px;padding:6px 9px;font-size:9px;font-weight:900;cursor:pointer}.special-order-schedule{margin:8px 0;padding:8px 9px;border-radius:9px;background:rgba(255,106,0,.08);border:1px solid rgba(255,106,0,.22)}.special-order-schedule b{display:block;color:#ff8b37;font-size:10px}.special-order-schedule span{display:block;margin-top:3px;color:#bbb;font-size:9px;line-height:1.35}
.receipt-upload{display:block;padding:8px 9px;border-radius:9px;border:1px dashed #3c3c3c;background:#111}.receipt-upload>span{display:block;color:#eee;font-size:10px;font-weight:900;margin-bottom:5px}.receipt-upload input{width:100%!important;height:auto!important;font-size:10px!important;padding:5px!important;background:#171717;border-radius:7px}.receipt-upload small,.receipt-privacy{display:block;margin-top:5px;color:#777;font-size:8px;line-height:1.3}.receipt-privacy{color:#8c8c8c}
@media(max-width:600px){.bank-card{grid-template-columns:1fr 1fr}.copy-bank{min-height:36px}}@media(max-width:430px){.special-payment-head>strong{font-size:19px}.special-payment-totals{grid-template-columns:1fr}.bank-card{grid-template-columns:1fr}}


/* =========================================================
   V4.4.9 — HERO LIMPIO + MARCAS ANIMADAS
   ========================================================= */
.hero{
  min-height:620px;
  display:block;
  padding:78px clamp(18px,7vw,110px) 68px;
  background:
    radial-gradient(circle at 76% 34%,rgba(255,106,0,.14),transparent 31%),
    radial-gradient(circle at 15% 92%,rgba(255,106,0,.055),transparent 25%),
    linear-gradient(145deg,#080808,#101010);
  overflow:hidden;
}
.hero>div:first-child{
  width:min(1120px,100%);
}
.hero h1{
  max-width:1050px;
  font-size:clamp(48px,6.4vw,94px);
  line-height:.96;
  margin:14px 0 20px;
}
.hero p{
  max-width:780px;
  margin-top:24px;
}
.hero-card{
  display:none !important;
}

/* Bloque de marcas bajo el título */
.brand-showcase{
  width:min(1050px,100%);
  margin:26px 0 24px;
}
.brand-showcase-label{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.brand-showcase-label span{
  height:1px;
  flex:1;
  max-width:62px;
  background:linear-gradient(90deg,rgba(255,106,0,.65),rgba(255,106,0,.06));
}
.brand-showcase-label span:last-child{
  background:linear-gradient(90deg,rgba(255,106,0,.06),rgba(255,106,0,.65));
}
.brand-showcase-label b{
  color:#8b8b8b;
  font-size:9px;
  letter-spacing:.18em;
  font-weight:950;
  white-space:nowrap;
}

.brand-marquee{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:7px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
}
.brand-track{
  display:flex;
  width:max-content;
  animation:dsbBrandMarquee 34s linear infinite;
  will-change:transform;
}
.brand-marquee:hover .brand-track{
  animation-play-state:paused;
}
.brand-set{
  display:flex;
  align-items:center;
  flex-shrink:0;
  gap:9px;
  padding-right:9px;
}
.brand-pill{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 19px;
  border-radius:12px;
  border:1px solid #292929;
  background:
    linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.008)),
    #111;
  color:#d9d9d9;
  font-size:11px;
  font-weight:950;
  letter-spacing:.055em;
  white-space:nowrap;
  box-shadow:inset 0 1px rgba(255,255,255,.025);
  transition:transform .2s ease,border-color .2s ease,color .2s ease,background .2s ease;
}
.brand-pill::before{
  content:"";
  width:5px;
  height:5px;
  margin-right:9px;
  border-radius:50%;
  background:#ff6a00;
  box-shadow:0 0 12px rgba(255,106,0,.55);
}
.brand-pill:hover{
  transform:translateY(-2px);
  color:#fff;
  border-color:rgba(255,106,0,.55);
  background:linear-gradient(145deg,rgba(255,106,0,.10),#121212);
}

@keyframes dsbBrandMarquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

@media(max-width:800px){
  .hero{
    min-height:auto;
    padding:54px 18px 48px;
  }
  .hero h1{
    font-size:clamp(43px,12vw,66px);
    max-width:690px;
  }
  .brand-showcase{
    margin:21px 0 21px;
  }
  .brand-pill{
    min-height:40px;
    padding:0 15px;
    font-size:10px;
  }
  .brand-track{
    animation-duration:29s;
  }
}

@media(max-width:480px){
  .hero{
    padding-top:42px;
  }
  .hero h1{
    font-size:clamp(39px,12.3vw,55px);
    line-height:.98;
  }
  .hero p{
    font-size:15px;
    margin-top:20px;
  }
  .brand-showcase-label b{
    font-size:8px;
  }
  .brand-pill{
    min-height:37px;
    border-radius:10px;
    padding:0 13px;
    font-size:9px;
  }
  .brand-pill::before{
    width:4px;height:4px;margin-right:7px;
  }
  .actions{
    margin-top:22px;
  }
}

@media(prefers-reduced-motion:reduce){
  .brand-track{
    animation:none;
  }
  .brand-marquee{
    overflow-x:auto;
    -webkit-mask-image:none;
    mask-image:none;
    scrollbar-width:none;
  }
  .brand-marquee::-webkit-scrollbar{display:none}
}


/* =========================================================
   V4.5.0 — COMPRA RÁPIDA + CARRITO LIMPIO
   ========================================================= */

/* ----- Cantidad directamente en cada producto ----- */
.catalog-buy-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) 38px;
  gap:7px;
  align-items:stretch;
  margin-top:10px;
}
.catalog-qty{
  min-width:96px;
  height:42px;
  display:grid;
  grid-template-columns:31px 32px 31px;
  align-items:center;
  overflow:hidden;
  border:1px solid #303030;
  border-radius:11px;
  background:#151515;
}
.catalog-qty button{
  width:31px;
  height:40px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
}
.catalog-qty button:hover{background:#222}
.catalog-qty span{
  text-align:center;
  color:#fff;
  font-size:12px;
  font-weight:950;
}
.catalog-add{
  min-width:0;
  height:42px;
  border:0;
  border-radius:11px;
  background:linear-gradient(135deg,var(--o),var(--o2));
  color:#0b0b0b;
  font-weight:950;
  cursor:pointer;
}
.catalog-buy-row .quick{
  width:38px;
  height:42px;
  border-radius:11px;
  border:1px solid #2c2c2c;
  background:#171717;
  color:#ddd;
  font-size:15px;
  cursor:pointer;
}
.card-cart-status{
  min-height:15px;
  margin-top:5px;
  opacity:0;
  color:#54dc98;
  font-size:9px;
  font-weight:850;
  transition:.15s;
}
.card-cart-status.visible{opacity:1}

/* ----- Drawer / Pedido ----- */
#cartDrawer.drawer{
  width:100% !important;
  max-width:none !important;
}
#cartDrawer .drawer-panel{
  width:min(550px,100vw) !important;
  max-width:550px !important;
  display:grid !important;
  grid-template-rows:auto auto minmax(135px,1fr) minmax(0,auto) !important;
  background:#0b0b0b !important;
}
#cartDrawer .drawer-head{
  padding:15px 18px 13px !important;
}
#cartDrawer .drawer-head h2{
  margin:2px 0 1px !important;
  font-size:24px;
}
#cartDrawer .drawer-head small{
  color:#747474;
  font-size:9px;
}
#cartDrawer .tier-status{
  padding:11px 18px 12px !important;
}
#cartDrawer .tier-status>div:first-child{
  font-size:12px;
}
#cartDrawer .tier-status small{
  font-size:9px;
}

.cart-products-section{
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-bottom:1px solid #222;
}
.cart-section-head{
  flex:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:9px 16px 5px;
}
.cart-section-head b{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.cart-section-head span{
  color:#686868;
  font-size:8px;
}
#cartDrawer .cart-items{
  min-height:110px !important;
  padding:6px 12px 10px !important;
  overflow:auto !important;
}
#cartDrawer .empty{
  padding:35px 14px !important;
  border:1px dashed #282828;
  border-radius:12px;
  background:#101010;
  margin:4px;
}

#cartDrawer .cart-item{
  display:block !important;
  padding:10px 11px !important;
  margin-bottom:6px !important;
  border-radius:12px !important;
  background:#111 !important;
}
.cart-item-title{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-start;
}
.cart-item-title>div{min-width:0}
.cart-item-title b{
  display:block;
  font-size:11px;
  line-height:1.25;
}
.cart-item-title small{
  margin-top:2px;
  font-size:8px !important;
}
.cart-line-price{
  flex:none;
  text-align:right;
  font-size:12px;
}
.cart-item-controls{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:7px;
}
#cartDrawer .qty{
  margin:0 !important;
  display:grid !important;
  grid-template-columns:28px 34px 28px;
  gap:0 !important;
  border:1px solid #303030;
  border-radius:9px;
  overflow:hidden;
  background:#171717;
}
#cartDrawer .qty button{
  width:28px;
  height:28px;
  padding:0;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  font-size:15px;
}
#cartDrawer .qty span{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  font-weight:950;
}
#cartDrawer .remove{
  border:0;
  background:transparent;
  color:#e77664;
  font-size:9px;
  cursor:pointer;
}
#cartDrawer .special-order-toggle{
  margin-top:6px !important;
  padding:6px 7px !important;
}
#cartDrawer .special-order-toggle strong{font-size:9px !important}
#cartDrawer .special-order-toggle small{font-size:8px !important}

.cart-checkout-scroll{
  max-height:55dvh;
  overflow:auto;
  padding:10px 12px 12px;
  background:#0d0d0d;
  scrollbar-width:thin;
}
.cart-block{
  padding:11px;
  margin-bottom:8px;
  border:1px solid #272727;
  border-radius:13px;
  background:#111;
}
.cart-block-title{
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center;
  gap:8px;
  margin:0 0 9px !important;
}
.cart-block-title>span{
  width:25px;
  height:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  border-radius:8px;
  background:rgba(255,106,0,.12);
  color:#ff7920;
  font-size:8px;
  font-weight:950;
}
.cart-block-title b{
  display:block;
  font-size:11px;
}
.cart-block-title small{
  display:block;
  color:#6f6f6f;
  font-size:8px;
  margin-top:1px;
}
.summary-lines>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:5px 0;
  font-size:10px;
  color:#aaa;
}
.summary-lines .total{
  padding-top:8px;
  margin-top:8px;
  border-top:1px solid #292929;
  align-items:end;
}
.summary-lines .total span{
  color:#fff;
  font-size:11px;
}
.summary-lines .total strong{
  color:#fff;
  font-size:25px;
}
.shipping-note{
  display:block;
  color:#737373;
  font-size:8px;
  line-height:1.3;
  margin-top:6px;
}
#cartDrawer .checkout-fields{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:7px !important;
}
#cartDrawer .field-group{
  display:block;
  min-width:0;
}
#cartDrawer .field-group.field-wide{
  grid-column:1/-1;
}
#cartDrawer .field-group>span{
  display:block;
  color:#777;
  font-size:8px;
  margin:0 0 3px 2px;
}
#cartDrawer .field-group input,
#cartDrawer .field-group select{
  width:100% !important;
  min-width:0 !important;
  height:38px !important;
  padding:8px 9px !important;
  background:#151515;
  color:#fff;
  border:1px solid #303030;
  border-radius:9px;
  font-size:10px;
  box-sizing:border-box;
}
#cartDrawer .order-contact{
  margin:7px 0 0 !important;
  padding:8px 9px !important;
  font-size:9px !important;
}
#cartDrawer .acambaro-promo{
  margin:7px 0 0 !important;
}
#cartDrawer .special-order-payment{
  margin:0 0 8px !important;
}
.cart-actions-sticky{
  position:sticky;
  bottom:-12px;
  z-index:8;
  padding:10px 0 max(2px,env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(13,13,13,0),#0d0d0d 25%);
}
#cartDrawer #sendOrder{
  min-height:44px !important;
  border-radius:11px !important;
  font-size:11px;
}
#cartDrawer #clearCart{
  min-height:28px !important;
  padding:4px !important;
  font-size:9px;
}

/* Compactar pago sobre pedido dentro del nuevo drawer */
#cartDrawer .special-payment-head h3{font-size:12px}
#cartDrawer .special-payment-head>strong{font-size:18px}
#cartDrawer .special-order-payment>p{font-size:9px}
#cartDrawer .bank-card{grid-template-columns:.6fr 1.2fr 1.35fr auto}
#cartDrawer .bank-card b{font-size:9px}
#cartDrawer .receipt-upload input{height:auto !important}

/* Escritorio bajo */
@media(min-width:641px) and (max-height:780px){
  #cartDrawer .drawer-panel{
    grid-template-rows:auto auto minmax(120px,1fr) auto !important;
  }
  .cart-checkout-scroll{max-height:58dvh}
}

/* Tablet / móvil */
@media(max-width:640px){
  #cartDrawer .drawer-panel{
    width:100vw !important;
    max-width:100vw !important;
    grid-template-rows:auto auto minmax(120px,.8fr) minmax(0,1.45fr) !important;
  }
  .cart-checkout-scroll{
    max-height:none;
    padding:8px 9px max(12px,env(safe-area-inset-bottom));
  }
  #cartDrawer .drawer-head{padding:12px 13px 10px !important}
  #cartDrawer .drawer-head h2{font-size:21px}
  #cartDrawer .tier-status{padding:9px 13px 10px !important}
  #cartDrawer .cart-items{padding:5px 8px 8px !important}
  #cartDrawer .checkout-fields{grid-template-columns:1fr 1fr !important}
  #cartDrawer .bank-card{grid-template-columns:1fr 1fr}
}

@media(max-width:430px){
  .catalog-buy-row{
    grid-template-columns:86px minmax(0,1fr) 34px;
    gap:5px;
  }
  .catalog-qty{
    min-width:86px;
    grid-template-columns:27px 30px 27px;
    height:38px;
  }
  .catalog-qty button{width:27px;height:36px;font-size:16px}
  .catalog-add{height:38px;font-size:10px}
  .catalog-buy-row .quick{width:34px;height:38px}
  #cartDrawer .checkout-fields{grid-template-columns:1fr !important}
  #cartDrawer .field-group.field-wide{grid-column:auto}
  #cartDrawer .field-group input,
  #cartDrawer .field-group select{height:37px !important}
  .cart-block{padding:9px}
  #cartDrawer .bank-card{grid-template-columns:1fr}
}


/* =========================================================
   V4.6.0 — EXPERIENCIA PREMIUM FINAL
   ========================================================= */

/* ---------- Header ---------- */
.desktop-nav{
  display:flex;
  align-items:center;
  gap:5px;
}
.desktop-nav a{
  padding:9px 11px;
  border-radius:9px;
  color:#9c9c9c;
  font-size:11px;
  font-weight:800;
  transition:.2s ease;
}
.desktop-nav a:hover{
  color:#fff;
  background:#151515;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:7px;
}
.header-fav{
  height:39px;
  min-width:58px;
  border:1px solid #303030;
  border-radius:999px;
  background:#141414;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.header-fav b{
  color:var(--o2);
  margin-left:3px;
}

/* ---------- Trust / how to buy / local promo ---------- */
.premium-trust{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  padding:18px clamp(14px,5vw,70px);
  background:#0c0c0c;
  border-top:1px solid #1e1e1e;
  border-bottom:1px solid #1e1e1e;
}
.premium-trust article{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:15px;
  border:1px solid #242424;
  border-radius:15px;
  background:linear-gradient(145deg,#131313,#0f0f0f);
}
.premium-trust article>span{
  width:31px;height:31px;flex:none;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  background:rgba(255,106,0,.10);
  color:var(--o2);
  font-size:10px;font-weight:950;
}
.premium-trust b{display:block;font-size:11px}
.premium-trust small{display:block;color:#777;font-size:9px;line-height:1.35;margin-top:2px}

.how-buy{
  padding:52px clamp(14px,5vw,70px);
  background:#0a0a0a;
}
.buy-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:20px;
}
.buy-steps article{
  position:relative;
  padding:19px;
  border-radius:18px;
  border:1px solid #282828;
  background:#121212;
  overflow:hidden;
}
.buy-steps article::after{
  content:"";
  position:absolute;
  right:-18px;top:-18px;
  width:72px;height:72px;
  border-radius:50%;
  background:rgba(255,106,0,.05);
}
.buy-steps span{
  color:var(--o);
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
}
.buy-steps b{display:block;font-size:16px;margin-top:6px}
.buy-steps p{color:#858585;font-size:10px;margin:5px 0 0;line-height:1.4}

.acambaro-highlight{
  margin:0 clamp(14px,5vw,70px) 42px;
  padding:20px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:1px solid rgba(255,106,0,.30);
  border-radius:19px;
  background:
    radial-gradient(circle at 85% 25%,rgba(255,106,0,.16),transparent 30%),
    linear-gradient(135deg,#14110f,#101010);
}
.acambaro-highlight h3{font-size:22px;margin:4px 0}
.acambaro-highlight p{max-width:760px;margin:0;color:#a6a6a6;font-size:11px;line-height:1.45}

/* ---------- Recently ordered ---------- */
.recent-section{
  padding:44px clamp(14px,5vw,70px) 14px;
  background:#090909;
}
.section-head.mini h2{font-size:clamp(25px,3vw,38px)}
.recent-products{
  display:flex;
  gap:9px;
  overflow:auto;
  padding:5px 0 10px;
  scrollbar-width:none;
}
.recent-products::-webkit-scrollbar{display:none}
.recent-card{
  flex:0 0 min(320px,82vw);
  display:grid;
  grid-template-columns:92px 1fr;
  gap:11px;
  padding:10px;
  border:1px solid #272727;
  border-radius:15px;
  background:#111;
}
.recent-media{
  height:92px;
  padding:5px;
  border:0;
  border-radius:11px;
  background:#fff;
  position:relative;
  overflow:hidden;
  cursor:pointer;
}
.recent-media img{width:100%;height:100%;object-fit:contain}
.recent-card>div>span{display:block;color:var(--o);font-size:8px;font-weight:900;letter-spacing:.08em}
.recent-card>div>b{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:10px;line-height:1.3;margin-top:3px;
}
.recent-card>div>small{display:block;font-size:12px;font-weight:900;margin:5px 0}
.recent-card>div>button{
  border:1px solid #333;background:#181818;color:#fff;border-radius:8px;
  padding:6px 8px;font-size:8px;font-weight:900;cursor:pointer;
}

/* ---------- Search intelligent ---------- */
.search-main-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
}
.search-wrap{position:relative;min-width:0}
.clear-filters{
  border:1px solid #303030;
  border-radius:11px;
  background:#151515;
  color:#aaa;
  padding:0 12px;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.clear-filters:hover{color:#fff;border-color:#444}
.search-suggestions{
  position:absolute;
  top:calc(100% + 6px);
  left:0;right:0;
  z-index:65;
  max-height:330px;
  overflow:auto;
  padding:6px;
  border:1px solid #303030;
  border-radius:13px;
  background:rgba(14,14,14,.98);
  box-shadow:0 18px 45px rgba(0,0,0,.45);
}
.search-suggestions button{
  width:100%;
  display:grid;
  grid-template-columns:34px 1fr;
  gap:8px;
  align-items:center;
  text-align:left;
  padding:8px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#fff;
  cursor:pointer;
}
.search-suggestions button:hover{background:#1b1b1b}
.search-suggestions button>span{
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  border-radius:8px;background:#1b1b1b;color:var(--o);font-size:9px;font-weight:950;
}
.search-suggestions b{
  display:block;
  font-size:9px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.search-suggestions small{display:block;color:#7a7a7a;font-size:8px;margin-top:1px}

.quick-filters{
  display:flex;
  gap:6px;
  overflow:auto;
  padding:8px 0 1px;
  scrollbar-width:none;
}
.quick-filters::-webkit-scrollbar{display:none}
.quick-filters button{
  flex:none;
  border:1px solid #292929;
  border-radius:999px;
  background:#141414;
  color:#9a9a9a;
  padding:7px 10px;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}
.quick-filters button:hover,.quick-filters button.active{
  border-color:rgba(255,106,0,.48);
  background:rgba(255,106,0,.10);
  color:#fff;
}
.quick-fav-filter.active{color:#ff7e88 !important}

.catalog-tier-progress{
  margin-top:8px;
  padding:9px 10px;
  border-radius:10px;
  background:#111;
  border:1px solid #262626;
}
.catalog-tier-progress>div:first-child{
  display:flex;justify-content:space-between;gap:10px;align-items:center;
}
.catalog-tier-progress span{font-size:8px;color:#858585}
.catalog-tier-progress b{font-size:9px;color:var(--o)}
.catalog-tier-progress .progress{height:4px;margin:6px 0 0}

/* ---------- Product cards premium ---------- */
.card{
  position:relative;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.card:hover{
  transform:translateY(-3px);
  border-color:#383838;
  box-shadow:0 14px 35px rgba(0,0,0,.22);
}
.card.just-added{animation:cardAdded .38s ease}
@keyframes cardAdded{0%{transform:scale(1)}45%{transform:scale(.975);border-color:var(--o)}100%{transform:scale(1)}}

.favorite-btn{
  position:absolute;
  z-index:8;
  top:9px;right:9px;
  width:32px;height:32px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(20,20,20,.88);
  color:#eee;
  backdrop-filter:blur(8px);
  cursor:pointer;
  font-size:16px;
}
.favorite-btn.active{color:#ff6978;border-color:rgba(255,105,120,.35)}
.card-open{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:inherit;
}
.product-name-link{
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.product-name-link h3{margin:0}
.card-visual{
  background:linear-gradient(145deg,#f7f7f7,#fff);
}
.card-visual::after{
  content:"";
  position:absolute;
  left:22%;right:22%;bottom:9px;
  height:10px;
  border-radius:50%;
  background:rgba(0,0,0,.07);
  filter:blur(7px);
  pointer-events:none;
}
.card-visual .product-image{position:relative;z-index:2;transition:transform .25s ease}
.card:hover .card-visual .product-image{transform:scale(1.025)}
.availability-badge{
  margin-top:5px;
  color:#8b8b8b;
  font-size:8px;
  font-weight:800;
}
.availability-badge::first-letter{color:#54dc98}
.tag.best{background:#141414;color:#fff;border-color:rgba(255,106,0,.5)}
.tag.new{background:rgba(40,199,128,.12);color:#62e1a1;border-color:rgba(40,199,128,.3)}

.empty-search{
  display:flex !important;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.empty-search span{color:#777;font-size:10px}

/* ---------- Skeleton loading ---------- */
.skeleton-card{pointer-events:none}
.skeleton{
  position:relative;
  overflow:hidden;
  background:#171717 !important;
  border-radius:9px;
}
.skeleton::after{
  content:"";
  position:absolute;inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.045),transparent);
  animation:skeletonMove 1.35s infinite;
}
@keyframes skeletonMove{100%{transform:translateX(100%)}}
.skeleton-media{height:230px;border-radius:0}
.sk-line{height:10px;margin:8px 0}
.sk-line.short{width:36%}
.sk-line.mid{width:62%}
.sk-price{width:42%;height:20px;margin:13px 0}
.sk-button{height:42px;margin-top:10px}

/* ---------- Quick view modal ---------- */
.quick-modal{
  position:fixed;inset:0;z-index:150;
  display:none;
}
.quick-modal.open{display:block}
.quick-modal-backdrop{
  position:absolute;inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(6px);
}
.quick-modal-panel{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:min(880px,92vw);
  max-height:88dvh;
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:auto;
  border:1px solid #323232;
  border-radius:24px;
  background:#111;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}
.quick-modal-close{
  position:absolute;right:12px;top:12px;z-index:5;
  width:38px;height:38px;border-radius:50%;border:1px solid #333;background:#181818;color:#fff;font-size:21px;cursor:pointer;
}
.quick-modal-media{
  min-height:440px;
  display:flex;align-items:center;justify-content:center;
  padding:28px;
  background:linear-gradient(145deg,#f6f6f6,#fff);
  position:relative;
}
.quick-modal-media img{width:100%;height:100%;max-height:390px;object-fit:contain}
.quick-modal-content{
  padding:42px 34px 30px;
  display:flex;flex-direction:column;justify-content:center;
}
.quick-modal-brand{color:var(--o);font-size:9px;font-weight:950;letter-spacing:.12em}
.quick-modal-content h2{font-size:31px;line-height:1.05;margin:7px 0 8px}
.quick-modal-meta{color:#888;font-size:10px}
.quick-modal-status{color:#7fcfa5;font-size:9px;margin-top:12px}
.quick-modal-price{display:flex;align-items:end;gap:9px;margin:17px 0}
.quick-modal-price strong{font-size:30px}
.quick-modal-price del{color:#777;font-size:13px}
.quick-modal-actions{
  display:grid;
  grid-template-columns:auto auto 1fr;
  gap:7px;
  align-items:stretch;
}
.quick-favorite{
  border:1px solid #313131;border-radius:11px;background:#171717;color:#ddd;padding:0 12px;font-size:9px;font-weight:900;cursor:pointer;
}
.quick-favorite.active{color:#ff7582}
.quick-modal-qty{
  display:grid;grid-template-columns:34px 36px 34px;
  border:1px solid #313131;border-radius:11px;overflow:hidden;background:#171717;
}
.quick-modal-qty button{border:0;background:transparent;color:#fff;font-size:16px}
.quick-modal-qty span{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:900}

/* ---------- Floating cart ---------- */
.floating-cart{
  position:fixed;
  z-index:70;
  right:20px;bottom:20px;
  min-width:300px;
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:13px;
  align-items:center;
  padding:11px 13px;
  border:1px solid rgba(255,106,0,.34);
  border-radius:15px;
  background:rgba(18,18,18,.96);
  color:#fff;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  backdrop-filter:blur(15px);
  cursor:pointer;
}
.floating-cart[hidden]{display:none}
.floating-cart span{text-align:left}
.floating-cart span b{display:block;font-size:9px}
.floating-cart span small{display:block;color:#777;font-size:8px;margin-top:1px}
.floating-cart>strong{font-size:17px}
.floating-cart>em{font-style:normal;color:var(--o2);font-size:9px;font-weight:900}

/* ---------- Related recommendations in cart ---------- */
.cart-related{
  margin-bottom:8px;
  padding:9px;
  border:1px solid #262626;
  border-radius:12px;
  background:#101010;
}
.cart-related-head{
  display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;
}
.cart-related-head b{font-size:9px}
.cart-related-head span{color:#666;font-size:7px}
.cart-related-grid{display:grid;gap:5px}
.cart-related-grid article{
  display:grid;grid-template-columns:1fr 31px;gap:5px;
}
.cart-related-grid article>button:first-child{
  min-width:0;
  display:flex;justify-content:space-between;align-items:center;gap:8px;
  padding:7px 8px;border:1px solid #252525;border-radius:8px;background:#151515;color:#fff;text-align:left;cursor:pointer;
}
.cart-related-grid b{
  min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:8px;
}
.cart-related-grid span{flex:none;color:#aaa;font-size:8px}
.cart-related-grid article>button:last-child{
  border:1px solid rgba(255,106,0,.35);
  border-radius:8px;background:rgba(255,106,0,.09);color:var(--o2);font-size:15px;cursor:pointer;
}

/* ---------- Footer ---------- */
.site-footer{
  display:grid;
  grid-template-columns:1.6fr repeat(3,1fr);
  gap:34px;
  padding:42px clamp(18px,5vw,70px) 85px;
  border-top:1px solid #222;
  background:#0a0a0a;
}
.footer-brand b{font-size:17px}
.footer-brand p{max-width:390px;color:#888;font-size:10px;line-height:1.5}
.footer-brand span{display:block;color:#5f5f5f;font-size:8px}
.footer-col{display:flex;flex-direction:column;gap:7px}
.footer-col>b{font-size:10px;color:#fff;margin-bottom:2px}
.footer-col a,.footer-col span{color:#777;font-size:9px;line-height:1.4}
.footer-col a:hover{color:var(--o2)}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .desktop-nav{display:none}
  .premium-trust{grid-template-columns:1fr 1fr}
  .buy-steps{grid-template-columns:1fr 1fr}
  .site-footer{grid-template-columns:1.4fr 1fr 1fr}
  .footer-col:last-child{grid-column:1/-1}
}
@media(max-width:800px){
  .floating-cart{
    left:12px;right:12px;bottom:74px;
    min-width:0;
  }
  .quick-modal-panel{grid-template-columns:1fr;width:min(520px,94vw)}
  .quick-modal-media{min-height:280px;padding:18px}
  .quick-modal-media img{max-height:250px}
  .quick-modal-content{padding:24px 20px 22px}
  .quick-modal-content h2{font-size:24px}
}
@media(max-width:640px){
  .header-fav{display:none}
  .premium-trust{grid-template-columns:1fr 1fr;padding:12px 10px}
  .premium-trust article{padding:11px}
  .premium-trust small{display:none}
  .how-buy{padding:42px 10px}
  .buy-steps{grid-template-columns:1fr 1fr;gap:7px}
  .buy-steps article{padding:14px}
  .acambaro-highlight{margin:0 10px 36px;padding:16px;align-items:flex-start;flex-direction:column}
  .recent-section{padding:34px 10px 8px}
  .search-main-row{grid-template-columns:1fr auto}
  .clear-filters{padding:0 9px}
  .site-footer{grid-template-columns:1fr 1fr;gap:22px;padding:35px 16px 110px}
  .footer-brand{grid-column:1/-1}
  .footer-col:last-child{grid-column:1/-1}
  .skeleton-media{height:145px}
}
@media(max-width:430px){
  .premium-trust{grid-template-columns:1fr 1fr}
  .premium-trust b{font-size:9px}
  .buy-steps article p{font-size:9px}
  .search-main-row{grid-template-columns:1fr}
  .clear-filters{height:32px}
  .quick-modal-actions{grid-template-columns:1fr auto}
  .quick-modal-actions .btn{grid-column:1/-1}
  .site-footer{grid-template-columns:1fr}
  .footer-brand,.footer-col:last-child{grid-column:auto}
  .floating-cart{grid-template-columns:1fr auto;gap:8px}
  .floating-cart>em{display:none}
}
@media(prefers-reduced-motion:reduce){
  .card,.card-visual .product-image,.skeleton::after{transition:none;animation:none}
}


/* =========================================================
   V4.6.1 — FIX BUSCADOR + FALLBACK DE IMÁGENES
   ========================================================= */

/* El buscador ya no se queda encima del catálogo al hacer scroll */
.catalog .search-panel{
  position:relative !important;
  top:auto !important;
  z-index:8 !important;
  margin-bottom:18px !important;
  backdrop-filter:none !important;
}

/* Evitar que chips/filtros tapen la primera fila de productos */
.catalog .product-grid{
  position:relative;
  z-index:1;
  padding-top:0 !important;
}

.catalog .chips{
  position:relative !important;
  z-index:1 !important;
}

/* Si alguna regla antigua dejó sticky/fixed en hijos, neutralizarla */
.catalog .search-main-row,
.catalog .quick-filters,
.catalog .filters,
.catalog .catalog-tier-progress{
  position:relative !important;
  top:auto !important;
}

/* Fallback de imagen: oculto por defecto.
   Solo se muestra cuando JS confirma que ninguna imagen pudo cargar. */
.card-visual .image-fallback,
.quick-modal-media .image-fallback,
.recent-media .image-fallback{
  display:none !important;
}

/* Cuando JS marca error real, sí mostramos el fallback */
.card-visual.image-missing .image-fallback,
.quick-modal-media.image-missing .image-fallback,
.recent-media.image-missing .image-fallback{
  display:flex !important;
}

/* El contenedor del fallback queda centrado y discreto */
.image-fallback{
  align-items:center;
  justify-content:center;
  width:92px;
  height:92px;
  border-radius:22px;
  border:1px solid rgba(255,106,0,.35);
  background:linear-gradient(145deg,#f7f7f7,#fff);
  color:#ff6a00;
  font-size:26px;
  font-weight:950;
  box-shadow:none !important;
}

/* Cuando sí existe imagen, nunca permitir que el fallback se vea debajo */
.card-visual:has(.product-image:not([style*="display: none"])) .image-fallback,
.quick-modal-media:has(.product-image:not([style*="display: none"])) .image-fallback,
.recent-media:has(.product-image:not([style*="display: none"])) .image-fallback{
  display:none !important;
}

@media(max-width:640px){
  .catalog .search-panel{
    margin-bottom:14px !important;
  }
}


/* =========================================================
   V4.7.0 - ENVIO MAYOREO + PDF DE REVENTA
   ========================================================= */
#shippingRow{color:#d8d8d8}
#shippingRow b{color:#fff}
.wholesale-pdf-modal{position:fixed;inset:0;z-index:190;display:none}
.wholesale-pdf-modal.open{display:block}
.wholesale-pdf-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(7px)}
.wholesale-pdf-panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(480px,92vw);padding:28px;border:1px solid #333;border-radius:22px;background:radial-gradient(circle at 85% 5%,rgba(255,106,0,.16),transparent 30%),#111;box-shadow:0 30px 90px rgba(0,0,0,.55)}
.wholesale-pdf-close{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;border:1px solid #333;background:#181818;color:#fff;font-size:20px;cursor:pointer}
.wholesale-pdf-icon{width:55px;height:55px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;border-radius:16px;background:var(--o);color:#0b0b0b;font-size:13px;font-weight:1000;box-shadow:0 12px 30px rgba(255,106,0,.15)}
.wholesale-pdf-panel h2{font-size:26px;line-height:1.05;margin:6px 0 9px}
.wholesale-pdf-panel>p{color:#9b9b9b;font-size:10px;line-height:1.5;margin:0 0 15px}
.wholesale-pdf-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px}
.wholesale-pdf-summary>div{padding:9px;border:1px solid #292929;border-radius:10px;background:#151515}
.wholesale-pdf-summary span{display:block;color:#707070;font-size:7px;text-transform:uppercase;letter-spacing:.06em}
.wholesale-pdf-summary b{display:block;margin-top:2px;font-size:10px}
.wholesale-pdf-panel>.btn{margin-top:6px}
.wholesale-pdf-panel>small{display:block;margin-top:10px;color:#666;font-size:7px;line-height:1.35;text-align:center}
@media(max-width:430px){.wholesale-pdf-panel{padding:22px 16px}.wholesale-pdf-summary{grid-template-columns:1fr}.wholesale-pdf-panel h2{font-size:22px}}


/* =========================================================
   V4.9.0 — HEADER E-COMMERCE PREMIUM
   ========================================================= */

/* Ocultar reglas visuales del header anterior */
.topbar{display:none!important}

.shop-announcement{
  position:relative;
  z-index:85;
  border-bottom:1px solid #202020;
  background:#090909;
}
.shop-announcement-inner{
  width:min(1440px,calc(100% - 36px));
  min-height:29px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.shop-announcement-points{
  display:flex;
  align-items:center;
  gap:11px;
  color:#858585;
  font-size:8px;
  letter-spacing:.02em;
}
.shop-announcement-points b{color:#d7d7d7}
.shop-announcement-points i{
  display:block;width:2px;height:2px;border-radius:50%;background:#555;
}
.shop-announcement a{
  color:#ff7a17;
  font-size:8px;
  font-weight:900;
  text-decoration:none;
}

.shop-header{
  position:relative;
  z-index:80;
  border-bottom:1px solid #232323;
  background:rgba(10,10,10,.98);
}
.shop-header-main{
  width:min(1440px,calc(100% - 36px));
  min-height:76px;
  margin:auto;
  display:grid;
  grid-template-columns:auto minmax(330px,1fr) auto;
  align-items:center;
  gap:30px;
}
.shop-brand{
  min-width:245px;
  display:flex;
  align-items:center;
  gap:11px;
  color:#fff;
  text-decoration:none;
}
.shop-brand-logos{
  display:flex;
  align-items:center;
  gap:6px;
}
.shop-brand-logos img{
  width:39px;height:39px;
  object-fit:contain;
  border:1px solid #2c2c2c;
  border-radius:10px;
  background:#111;
}
.shop-brand-logos span{
  color:#ff6a00;
  font-weight:950;
  font-size:12px;
}
.shop-brand-copy b{
  display:block;
  font-size:13px;
  line-height:1.1;
}
.shop-brand-copy small{
  display:block;
  margin-top:3px;
  color:#666;
  font-size:7px;
  white-space:nowrap;
}

/* Buscador central */
.shop-search-wrap{
  position:relative;
  width:100%;
  max-width:720px;
  justify-self:center;
}
.shop-search{
  height:45px;
  display:grid;
  grid-template-columns:37px 1fr auto;
  align-items:center;
  overflow:hidden;
  border:1px solid #323232;
  border-radius:13px;
  background:#151515;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.shop-search:focus-within{
  border-color:rgba(255,106,0,.6);
  box-shadow:0 0 0 3px rgba(255,106,0,.06);
}
.shop-search-icon{
  text-align:center;
  color:#ff6a00;
  font-size:19px;
}
.shop-search input{
  width:100%;
  min-width:0;
  height:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font-size:11px;
}
.shop-search input::placeholder{color:#707070}
.shop-search button{
  height:33px;
  margin-right:6px;
  padding:0 14px;
  border:0;
  border-radius:9px;
  background:#ff6a00;
  color:#090909;
  font-size:8px;
  font-weight:950;
  cursor:pointer;
}
.header-search-suggestions{
  position:absolute;
  left:0;right:0;
  top:calc(100% + 6px);
  z-index:110;
  padding:6px;
  max-height:360px;
  overflow:auto;
  border:1px solid #303030;
  border-radius:13px;
  background:rgba(14,14,14,.99);
  box-shadow:0 22px 60px rgba(0,0,0,.5);
}
.header-search-suggestions button{
  width:100%;
  display:grid;
  grid-template-columns:35px 1fr auto;
  gap:9px;
  align-items:center;
  padding:8px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#fff;
  text-align:left;
  cursor:pointer;
}
.header-search-suggestions button:hover{background:#1b1b1b}
.header-search-suggestions button>span{
  width:35px;height:35px;
  display:flex;align-items:center;justify-content:center;
  border-radius:9px;
  background:#191919;
  color:#ff7a17;
  font-size:8px;
  font-weight:950;
}
.header-search-suggestions b{
  display:block;
  font-size:9px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.header-search-suggestions small{
  display:block;
  margin-top:2px;
  color:#707070;
  font-size:7px;
}
.header-search-suggestions em{
  color:#555;
  font-style:normal;
}

/* Acciones */
.shop-actions{
  display:flex;
  align-items:center;
  gap:5px;
}
.shop-action{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:5px 9px;
  border:1px solid transparent;
  border-radius:11px;
  background:transparent;
  color:#fff;
  cursor:pointer;
}
.shop-action:hover,.shop-action.active{
  border-color:#303030;
  background:#151515;
}
.shop-action-icon,.shop-cart-symbol{
  width:27px;height:27px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  color:#aaa;
  font-size:18px;
}
.shop-action>span:last-child small{
  display:block;
  color:#636363;
  font-size:6.5px;
  line-height:1;
  text-align:left;
}
.shop-action>span:last-child b{
  display:block;
  margin-top:3px;
  font-size:8px;
  line-height:1;
  white-space:nowrap;
}
.shop-action em{
  display:inline-flex;
  min-width:16px;height:16px;
  align-items:center;justify-content:center;
  margin-left:2px;
  border-radius:999px;
  background:#292929;
  color:#fff;
  font-size:7px;
  font-style:normal;
}
.shop-cart-action{
  margin-left:3px;
  border-color:rgba(255,106,0,.32);
  background:rgba(255,106,0,.075);
}
.shop-cart-action .shop-cart-symbol{color:#ff6a00}
.shop-cart-action em{
  background:#ff6a00;
  color:#090909;
}
.shop-grid-icon{
  display:grid!important;
  grid-template-columns:repeat(2,5px);
  grid-template-rows:repeat(2,5px);
  gap:3px;
}
.shop-grid-icon i{
  width:5px;height:5px;
  border:1px solid #999;
  border-radius:1px;
}

/* Navegación inferior */
.shop-header-nav{
  width:min(1440px,calc(100% - 36px));
  height:37px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #1b1b1b;
}
.shop-header-nav nav{
  display:flex;
  align-items:stretch;
  height:100%;
}
.shop-header-nav nav a{
  position:relative;
  display:flex;
  align-items:center;
  padding:0 13px;
  color:#777;
  font-size:8px;
  font-weight:850;
  text-decoration:none;
}
.shop-header-nav nav a:hover,.shop-header-nav nav a.active{color:#fff}
.shop-header-nav nav a.active::after{
  content:"";
  position:absolute;
  left:13px;right:13px;bottom:0;
  height:2px;
  border-radius:3px;
  background:#ff6a00;
}
.shop-header-nav nav strong{
  color:#ff7a17;
  font-weight:950;
}
.shop-wholesale-note{
  display:flex;
  align-items:center;
  gap:8px;
  color:#777;
  font-size:7px;
}
.shop-wholesale-note span{
  padding:3px 5px;
  border-radius:5px;
  background:rgba(255,106,0,.09);
  color:#ff7a17;
  font-size:6px;
  font-weight:950;
  letter-spacing:.1em;
}
.shop-wholesale-note b{
  color:#9b9b9b;
  font-weight:800;
}

/* Menú de categorías */
.shop-category-menu{
  position:absolute;
  top:76px;
  right:max(18px,calc((100vw - 1440px)/2));
  width:min(560px,calc(100vw - 36px));
  z-index:105;
  padding:14px;
  border:1px solid #303030;
  border-radius:16px;
  background:rgba(14,14,14,.99);
  box-shadow:0 26px 70px rgba(0,0,0,.55);
}
.shop-category-menu[hidden]{display:none}
.shop-category-menu-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}
.shop-category-menu-head small{
  display:block;
  color:#ff6a00;
  font-size:6px;
  font-weight:950;
  letter-spacing:.13em;
}
.shop-category-menu-head b{
  display:block;
  margin-top:2px;
  font-size:12px;
}
.shop-category-menu-head button{
  width:31px;height:31px;
  border:1px solid #303030;
  border-radius:50%;
  background:#181818;
  color:#fff;
  font-size:17px;
}
.shop-category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
}
.shop-category-grid button{
  min-width:0;
  min-height:82px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px;
  border:1px solid #282828;
  border-radius:11px;
  background:#121212;
  color:#fff;
  cursor:pointer;
}
.shop-category-grid button:hover{
  border-color:rgba(255,106,0,.4);
  background:#17130f;
}
.shop-category-grid span{
  width:32px;height:32px;
  display:flex;align-items:center;justify-content:center;
  border-radius:9px;
  border:1px solid #303030;
  color:#ff7a17;
  font-size:8px;
  font-weight:950;
}
.shop-category-grid b{
  max-width:100%;
  color:#bcbcbc;
  font-size:7px;
  line-height:1.2;
  text-align:center;
}
.shop-all-categories{
  width:100%;
  height:34px;
  margin-top:7px;
  border:1px solid rgba(255,106,0,.25);
  border-radius:9px;
  background:rgba(255,106,0,.06);
  color:#ff7a17;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}

/* Hero más limpio: el header hace el trabajo de e-commerce */
.hero{
  padding-top:64px!important;
  min-height:560px!important;
}
.hero h1{
  max-width:960px!important;
}
.hero p{
  max-width:720px!important;
}

/* Tablet */
@media(max-width:1100px){
  .shop-header-main{
    grid-template-columns:auto 1fr auto;
    gap:14px;
  }
  .shop-brand-copy{display:none}
  .shop-brand{min-width:auto}
  .shop-action>span:last-child{display:none}
  .shop-action{padding:5px}
  .shop-header-nav nav a{padding:0 9px}
  .shop-wholesale-note b{display:none}
}

/* Móvil: estilo app/e-commerce compacto */
@media(max-width:700px){
  .shop-announcement{display:none}
  .shop-header{
    position:relative;
  }
  .shop-header-main{
    width:100%;
    min-height:0;
    display:grid;
    grid-template-columns:1fr auto;
    gap:9px;
    padding:9px 12px 8px;
  }
  .shop-brand{
    grid-column:1;
    min-width:0;
  }
  .shop-brand-logos img{
    width:34px;height:34px;
    border-radius:9px;
  }
  .shop-brand-copy{display:block}
  .shop-brand-copy b{font-size:11px}
  .shop-brand-copy small{
    max-width:160px;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:6px;
  }
  .shop-actions{
    grid-column:2;
    justify-self:end;
  }
  .shop-categories-action,.shop-fav-action{display:none}
  .shop-cart-action{
    min-height:38px;
    padding:4px 9px;
    border-radius:999px;
  }
  .shop-cart-action>span:last-child{display:block}
  .shop-cart-action>span:last-child small{display:none}
  .shop-cart-action>span:last-child b{font-size:9px;margin:0}
  .shop-cart-symbol{
    width:23px;height:23px;font-size:15px
  }
  .shop-search-wrap{
    grid-column:1/-1;
    grid-row:2;
    max-width:none;
  }
  .shop-search{
    height:40px;
    grid-template-columns:34px 1fr 34px;
    border-radius:12px;
  }
  .shop-search button{
    width:28px;
    height:28px;
    overflow:hidden;
    margin-right:5px;
    padding:0;
    font-size:0;
  }
  .shop-search button::after{
    content:"→";
    font-size:12px;
  }
  .shop-search input{font-size:10px}
  .shop-header-nav{
    width:100%;
    height:34px;
    padding:0 8px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .shop-header-nav::-webkit-scrollbar{display:none}
  .shop-header-nav nav{
    min-width:max-content;
  }
  .shop-header-nav nav a{
    padding:0 10px;
    font-size:7px;
  }
  .shop-wholesale-note{
    flex:none;
    margin-left:12px;
  }
  .shop-wholesale-note span{display:none}
  .shop-wholesale-note b{
    display:block;
    white-space:nowrap;
    color:#ff7a17;
    font-size:6.5px;
  }
  .shop-category-menu{
    top:91px;
    left:8px;right:8px;
    width:auto;
  }
  .shop-category-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .header-search-suggestions{
    max-height:280px;
  }
  .hero{
    padding-top:44px!important;
    min-height:auto!important;
  }
}

/* Móvil muy pequeño */
@media(max-width:430px){
  .shop-header-main{padding-left:10px;padding-right:10px}
  .shop-brand-logos img{width:31px;height:31px}
  .shop-brand-copy small{display:none}
  .shop-header-nav nav a{padding:0 8px}
  .shop-wholesale-note{display:none}
  .hero h1{font-size:clamp(38px,12vw,52px)!important}
}


/* =========================================================
   V5.0.0 — HERO MINIMAL + REPRESENTANTES COMPACTOS + IA
   ========================================================= */

/* Hero: menos contenido, más producto */
.hero.hero-final{
  min-height:470px!important;
  padding:58px clamp(18px,7vw,110px) 52px!important;
  display:flex!important;
  align-items:center;
  background:
    radial-gradient(circle at 78% 36%,rgba(255,106,0,.11),transparent 30%),
    linear-gradient(145deg,#080808,#0e0e0e)!important;
}
.hero-final-inner{width:min(1080px,100%)}
.hero.hero-final h1{
  max-width:930px!important;
  margin:13px 0 16px!important;
  font-size:clamp(47px,6vw,84px)!important;
  line-height:.97!important;
}
.hero.hero-final>div>p,
.hero-final-inner>p{
  max-width:none!important;
  margin:0 0 22px!important;
  color:#a8a8a8!important;
  font-size:15px!important;
  line-height:1.35!important;
}
.hero-final .actions{margin:0 0 19px!important}
.hero-proof{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  color:#747474;
  font-size:8px;
  font-weight:800;
}
.hero-proof i{
  width:3px;height:3px;border-radius:50%;background:#444;
}

/* Marcas salen del hero y se convierten en franja */
.brand-strip-section{
  padding:15px clamp(18px,5vw,70px) 17px;
  border-top:1px solid #1b1b1b;
  border-bottom:1px solid #1f1f1f;
  background:#0b0b0b;
  overflow:hidden;
}
.brand-strip-section .brand-showcase{
  width:100%!important;
  max-width:1400px;
  margin:0 auto!important;
}
.brand-strip-section .brand-showcase-label{margin-bottom:7px}
.brand-strip-section .brand-pill{
  min-height:35px!important;
  padding:0 14px!important;
  border-radius:9px!important;
  font-size:8px!important;
}

/* Representantes: una franja operativa, no otra landing */
.representatives-compact{
  padding:31px clamp(18px,5vw,70px)!important;
  background:#0b0b0b;
  border-top:1px solid #1e1e1e;
}
.rep-compact-head{
  max-width:1400px;
  margin:0 auto 11px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
}
.rep-compact-head h2{
  margin:3px 0 0;
  font-size:clamp(20px,2.3vw,30px);
}
.rep-compact-head>small{
  max-width:470px;
  color:#707070;
  font-size:8px;
  text-align:right;
  line-height:1.4;
}
.rep-compact-grid{
  max-width:1400px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.rep-compact-grid article{
  display:grid;
  grid-template-columns:38px 1fr auto;
  gap:10px;
  align-items:center;
  min-width:0;
  padding:10px 11px;
  border:1px solid #282828;
  border-radius:12px;
  background:#111;
}
.rep-mini-avatar{
  width:38px;height:38px;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  background:rgba(255,106,0,.08);
  border:1px solid rgba(255,106,0,.22);
  color:#ff7620;
  font-size:9px;
  font-weight:950;
}
.rep-mini-copy{min-width:0}
.rep-mini-copy span{
  display:block;
  color:#ff7620;
  font-size:6px;
  font-weight:950;
  letter-spacing:.10em;
}
.rep-mini-copy b{
  display:block;
  margin-top:2px;
  font-size:10px;
}
.rep-mini-copy small{
  display:block;
  margin-top:2px;
  color:#747474;
  font-size:7px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.rep-compact-grid article>a{
  padding:7px 9px;
  border:1px solid #303030;
  border-radius:8px;
  background:#161616;
  color:#ddd;
  font-size:7px;
  font-weight:900;
  white-space:nowrap;
}

/* Asistente IA */
.ai-launcher{
  position:fixed;
  left:18px;
  bottom:20px;
  z-index:94;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:175px;
  padding:7px 10px 7px 7px;
  border:1px solid rgba(255,106,0,.34);
  border-radius:14px;
  background:rgba(17,17,17,.97);
  color:#fff;
  box-shadow:0 16px 45px rgba(0,0,0,.34);
  backdrop-filter:blur(14px);
  cursor:pointer;
  transition:.18s ease;
}
.ai-launcher:hover{
  transform:translateY(-2px);
  border-color:rgba(255,106,0,.58);
}
.ai-launcher.hidden{display:none}
.ai-launcher-mark,.ai-head-mark{
  width:34px;height:34px;
  flex:none;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  background:linear-gradient(145deg,#ff791b,#d95100);
  color:#0a0a0a;
  font-size:9px;
  font-weight:1000;
  box-shadow:0 0 22px rgba(255,106,0,.14);
}
.ai-launcher-copy{text-align:left}
.ai-launcher-copy b{display:block;font-size:9px}
.ai-launcher-copy small{display:block;margin-top:2px;color:#707070;font-size:7px}

.ai-chat{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:140;
  width:min(390px,calc(100vw - 36px));
  height:min(610px,calc(100dvh - 90px));
  display:grid;
  grid-template-rows:auto 1fr auto auto;
  overflow:hidden;
  border:1px solid #303030;
  border-radius:20px;
  background:#0f0f0f;
  box-shadow:0 28px 80px rgba(0,0,0,.55);
  transform:translateY(18px) scale(.97);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
}
.ai-chat.open{
  transform:translateY(0) scale(1);
  opacity:1;
  pointer-events:auto;
}
.ai-chat-head{
  min-height:65px;
  display:grid;
  grid-template-columns:38px 1fr 34px;
  gap:9px;
  align-items:center;
  padding:11px 12px;
  border-bottom:1px solid #242424;
  background:linear-gradient(135deg,#141414,#101010);
}
.ai-head-mark{width:38px;height:38px}
.ai-chat-head b{display:block;font-size:10px}
.ai-chat-head small{
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:3px;
  color:#707070;
  font-size:7px;
}
.ai-chat-head small i{
  width:5px;height:5px;border-radius:50%;background:#50d696;
}
.ai-chat-head>button{
  width:32px;height:32px;
  border:1px solid #303030;
  border-radius:50%;
  background:#181818;
  color:#fff;
  font-size:17px;
  cursor:pointer;
}
.ai-chat-body{
  min-height:0;
  overflow:auto;
  padding:13px;
  scroll-behavior:smooth;
}
.ai-message{
  display:flex;
  margin:7px 0;
}
.ai-message>div{
  max-width:86%;
  padding:9px 10px;
  border-radius:12px;
  font-size:9px;
  line-height:1.48;
}
.ai-message.assistant{justify-content:flex-start}
.ai-message.assistant>div{
  border:1px solid #292929;
  border-bottom-left-radius:4px;
  background:#171717;
  color:#d1d1d1;
}
.ai-message.user{justify-content:flex-end}
.ai-message.user>div{
  border-bottom-right-radius:4px;
  background:#ff6a00;
  color:#0b0b0b;
  font-weight:700;
}
.ai-quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:10px;
}
.ai-quick-actions button{
  padding:7px 8px;
  border:1px solid #303030;
  border-radius:999px;
  background:#131313;
  color:#aaa;
  font-size:7px;
  cursor:pointer;
}
.ai-quick-actions button:hover{
  border-color:rgba(255,106,0,.35);
  color:#fff;
}
.ai-typing>div{
  display:flex;
  gap:4px;
  align-items:center;
  min-height:29px;
}
.ai-typing i{
  width:5px;height:5px;
  border-radius:50%;
  background:#777;
  animation:aiDot .9s infinite alternate;
}
.ai-typing i:nth-child(2){animation-delay:.18s}
.ai-typing i:nth-child(3){animation-delay:.36s}
@keyframes aiDot{to{transform:translateY(-4px);background:#ff6a00}}

.ai-chat-compose{
  display:grid;
  grid-template-columns:1fr 38px;
  gap:7px;
  align-items:end;
  padding:9px 10px;
  border-top:1px solid #242424;
  background:#111;
}
.ai-chat-compose textarea{
  width:100%;
  min-height:38px;
  max-height:100px;
  resize:none;
  border:1px solid #303030;
  border-radius:11px;
  outline:0;
  background:#171717;
  color:#fff;
  padding:10px;
  font:inherit;
  font-size:9px;
  line-height:1.35;
}
.ai-chat-compose textarea:focus{border-color:rgba(255,106,0,.5)}
.ai-chat-compose button{
  width:38px;height:38px;
  border:0;
  border-radius:11px;
  background:#ff6a00;
  color:#090909;
  font-size:15px;
  font-weight:950;
  cursor:pointer;
}
.ai-chat-compose button:disabled{opacity:.45;cursor:wait}
.ai-chat-foot{
  padding:6px 10px 8px;
  background:#111;
  color:#545454;
  font-size:6.5px;
  text-align:center;
}

/* En desktop el carrito queda derecha, IA izquierda */
@media(max-width:800px){
  .hero.hero-final{
    min-height:auto!important;
    padding:40px 16px 37px!important;
  }
  .hero.hero-final h1{
    font-size:clamp(38px,11.5vw,57px)!important;
    margin-bottom:13px!important;
  }
  .hero.hero-final>div>p,.hero-final-inner>p{
    font-size:13px!important;
    margin-bottom:18px!important;
  }
  .brand-strip-section{padding:12px 10px 14px}
  .rep-compact-head{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
  .rep-compact-head>small{text-align:left}
  .representatives-compact{padding:25px 10px!important}
  .rep-compact-grid{grid-template-columns:1fr}
  .ai-launcher{
    left:12px;
    bottom:135px;
    min-width:0;
    width:44px;height:44px;
    padding:5px;
    border-radius:50%;
  }
  .ai-launcher-mark{width:32px;height:32px;border-radius:50%}
  .ai-launcher-copy{display:none}
  .ai-chat{
    left:8px;right:8px;
    bottom:73px;
    width:auto;
    height:min(590px,calc(100dvh - 100px));
    border-radius:18px;
  }
}
@media(max-width:430px){
  .hero-proof{font-size:7px;gap:6px}
  .rep-compact-grid article{
    grid-template-columns:34px 1fr auto;
    gap:8px;
  }
  .rep-mini-avatar{width:34px;height:34px}
  .rep-compact-grid article>a{padding:6px 7px;font-size:6.5px}
}


/* =========================================================
   V5.0.1 — HOME MINIMAL / E-COMMERCE FIRST
   ========================================================= */

.hero.hero-final.hero-ultra{
  min-height:360px!important;
  padding:46px clamp(18px,7vw,110px) 42px!important;
  background:
    radial-gradient(circle at 82% 38%,rgba(255,106,0,.085),transparent 28%),
    linear-gradient(145deg,#080808,#0d0d0d)!important;
}
.hero-ultra .hero-final-inner{width:min(1000px,100%)}
.hero.hero-final.hero-ultra h1{
  max-width:900px!important;
  margin:0 0 22px!important;
  font-size:clamp(42px,5.8vw,76px)!important;
  line-height:.98!important;
}
.hero-ultra .actions{margin:0 0 14px!important}
.hero-micro{
  color:#666;
  font-size:8px;
  font-weight:750;
  letter-spacing:.02em;
}

/* Sección única: compra + mayoreo */
.commerce-compact{
  position:relative;
  width:min(1440px,calc(100% - 36px));
  margin:18px auto 14px;
  overflow:hidden;
  border:1px solid #292929;
  border-radius:16px;
  background:#111;
}
.anchor-offset{
  position:absolute;
  top:-120px;
}
.commerce-compact-main{
  min-height:82px;
  display:grid;
  grid-template-columns:minmax(250px,.9fr) minmax(430px,1.4fr);
  gap:24px;
  align-items:center;
  padding:15px 18px 13px;
}
.commerce-copy .eyebrow{font-size:6px}
.commerce-copy h2{
  margin:3px 0 3px;
  font-size:clamp(18px,2vw,27px);
  line-height:1.08;
}
.commerce-copy p{
  margin:0;
  color:#696969;
  font-size:8px;
}
.commerce-steps{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  color:#999;
  white-space:nowrap;
}
.commerce-steps span{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:8px;
  font-weight:800;
}
.commerce-steps span b{
  width:21px;height:21px;
  display:inline-flex;
  align-items:center;justify-content:center;
  border:1px solid #353535;
  border-radius:7px;
  background:#171717;
  color:#ff7620;
  font-size:7px;
}
.commerce-steps>i{
  color:#444;
  font-size:9px;
  font-style:normal;
}
.tier-inline{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  border-top:1px solid #252525;
}
.tier-inline>span{
  min-width:0;
  padding:9px 12px;
  border-right:1px solid #242424;
  background:#0f0f0f;
}
.tier-inline>span:last-child{border-right:0}
.tier-inline small{
  display:block;
  color:#626262;
  font-size:6.5px;
  font-weight:800;
}
.tier-inline b{
  display:block;
  margin-top:2px;
  color:#b8b8b8;
  font-size:9px;
}
.tier-inline .accent b{color:#e3e3e3}
.tier-inline .strongest{
  background:rgba(255,106,0,.045);
}
.tier-inline .strongest b{color:#ff7620}
.tier-inline .local{
  background:rgba(255,106,0,.025);
}
.tier-inline .local small{color:#8c643f}
.tier-inline .local b{color:#c58b58}

/* Marcas: todavía presentes, pero como micro-franja */
.brand-strip-section{
  padding:8px 18px 10px!important;
  border-top:0!important;
}
.brand-strip-section .brand-showcase-label{
  display:none!important;
}
.brand-strip-section .brand-pill{
  min-height:28px!important;
  padding:0 10px!important;
  font-size:7px!important;
  opacity:.72;
}

/* Representantes pasan a ser una pequeña barra post-catálogo */
.reps-ultra{
  width:min(1440px,calc(100% - 36px));
  margin:16px auto 30px;
  padding:12px 14px!important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border:1px solid #262626;
  border-radius:14px;
  background:#0f0f0f!important;
}
.reps-ultra-label{
  min-width:220px;
}
.reps-ultra-label .eyebrow{font-size:6px}
.reps-ultra-label b{
  display:block;
  margin-top:2px;
  font-size:9px;
}
.reps-ultra-list{
  display:flex;
  align-items:center;
  gap:7px;
}
.reps-ultra-list>a{
  min-width:240px;
  display:grid;
  grid-template-columns:32px 1fr auto;
  align-items:center;
  gap:8px;
  padding:7px 8px;
  border:1px solid #282828;
  border-radius:10px;
  background:#131313;
  color:#fff;
  text-decoration:none;
}
.reps-ultra-list .rep-mini-avatar{
  width:32px;height:32px;
  border-radius:8px;
  font-size:7px;
}
.reps-ultra-list small{
  display:block;
  color:#696969;
  font-size:6px;
}
.reps-ultra-list b{
  display:block;
  margin-top:1px;
  font-size:8px;
}
.reps-ultra-list em{
  color:#777;
  font-size:6.5px;
  font-style:normal;
  white-space:nowrap;
}

/* Catálogo empieza visualmente antes */
.catalog{
  padding-top:34px!important;
}

@media(max-width:900px){
  .commerce-compact-main{
    grid-template-columns:1fr;
    gap:10px;
  }
  .commerce-steps{
    justify-content:flex-start;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .commerce-steps::-webkit-scrollbar{display:none}
  .tier-inline{
    grid-template-columns:repeat(5,minmax(118px,1fr));
    overflow-x:auto;
  }
  .reps-ultra{
    align-items:flex-start;
    flex-direction:column;
  }
  .reps-ultra-list{width:100%}
  .reps-ultra-list>a{min-width:0;flex:1}
}

@media(max-width:700px){
  .hero.hero-final.hero-ultra{
    min-height:auto!important;
    padding:34px 15px 30px!important;
  }
  .hero.hero-final.hero-ultra h1{
    font-size:clamp(36px,11vw,52px)!important;
    margin-bottom:18px!important;
  }
  .hero-micro{font-size:7px}
  .commerce-compact{
    width:calc(100% - 20px);
    margin:10px auto;
    border-radius:13px;
  }
  .commerce-compact-main{
    min-height:0;
    padding:12px;
  }
  .commerce-copy h2{font-size:19px}
  .commerce-copy p{font-size:7px}
  .commerce-steps{
    gap:6px;
  }
  .commerce-steps span{font-size:7px}
  .commerce-steps span b{
    width:18px;height:18px;
  }
  .tier-inline{
    display:flex;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .tier-inline::-webkit-scrollbar{display:none}
  .tier-inline>span{
    flex:0 0 118px;
    padding:8px 10px;
  }
  .brand-strip-section{
    padding:6px 10px 8px!important;
  }
  .reps-ultra{
    width:calc(100% - 20px);
    margin:12px auto 82px;
    padding:10px!important;
  }
  .reps-ultra-label{min-width:0}
  .reps-ultra-list{
    flex-direction:column;
    align-items:stretch;
  }
  .reps-ultra-list>a{width:100%}
}

@media(max-width:430px){
  .hero-ultra .actions{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    gap:7px;
  }
  .hero-ultra .actions .btn{
    width:100%;
    padding-left:8px;
    padding-right:8px;
  }
}

/* V6 — acceso a ficha individual de producto */
.product-detail-link{
  display:inline-block;
  margin-top:5px;
  color:#777;
  text-decoration:none;
  font-size:11px;
  font-weight:700;
}
.product-detail-link:hover{color:#ff6a00}


/* =========================================================
   SAFE BROWSING — transparencia de pedido y pago
   ========================================================= */
.checkout-safety-notice{
  display:grid;grid-template-columns:34px 1fr;gap:10px;
  margin-top:12px;padding:12px;border:1px solid rgba(91,198,139,.22);
  border-radius:12px;background:rgba(91,198,139,.045)
}
.checkout-safety-notice .safe-mark{
  width:30px;height:30px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:rgba(91,198,139,.10);color:#69d99a;font-weight:950
}
.checkout-safety-notice b{display:block;color:#eee;font-size:12px}
.checkout-safety-notice span{display:block;margin-top:4px;color:#858585;font-size:11px;line-height:1.5}
.checkout-safety-notice strong{color:#aaa}
.checkout-safety-notice a{display:inline-block;margin-top:6px;color:#ff7a22;text-decoration:none;font-size:10px;font-weight:800}

.safe-payment-identity{
  margin:12px 0;padding:11px;border:1px solid rgba(255,106,0,.20);
  border-radius:10px;background:rgba(255,106,0,.035)
}
.safe-payment-identity span,.safe-payment-identity small{display:block;color:#777;font-size:10px}
.safe-payment-identity b{display:block;margin:2px 0;color:#fff;font-size:13px}
.receipt-privacy{line-height:1.5}
.receipt-privacy b{color:#ddd}

.public-trust-bar{
  width:min(1280px,calc(100% - 32px));margin:34px auto 0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px
}
.public-trust-bar>div{padding:13px;border:1px solid #252525;border-radius:12px;background:#101010}
.public-trust-bar b{display:block;color:#ddd;font-size:11px}
.public-trust-bar span{display:block;margin-top:4px;color:#666;font-size:10px;line-height:1.4}

@media(max-width:760px){
  .public-trust-bar{grid-template-columns:1fr}
}


/* V6.3 · Legibilidad y acciones por producto */
body{font-size:16px;line-height:1.5}
.top-strip,.shop-brand span,.nav a,.nav button,.business-levels,.hero-proof,.tier-flow,.tier-steps,.meta,.wholesale-hint,.availability-badge{font-size:max(12.5px,.82rem)}
.header-search input,.filters input,.filters select,.catalog-toolbar input,.catalog-toolbar select,button,a{letter-spacing:.005em}
.product-card-links{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
.product-share-link{border:0;background:transparent;color:#bdbdbd;padding:4px 0;font-size:12.5px;font-weight:750;cursor:pointer}.product-share-link:hover{color:#ff6a00}
.card h3{font-size:15.5px;line-height:1.28}.card .brand-name{font-size:12px}.card .meta{font-size:13px;line-height:1.35}.card .wholesale-hint{font-size:12.5px}.catalog-add{font-size:14px}
.search-suggestions button b,.shop-search-suggestions button b{font-size:14px}.search-suggestions small,.shop-search-suggestions small{font-size:12.5px}
@media(min-width:1000px){.main-nav a,.main-nav button{font-size:13.5px}.shop-brand b{font-size:15px}.business-levels{font-size:12.5px}}


/* =========================================================
   V6.3.2 · LEGIBILIDAD ALTA — TIENDA
   ========================================================= */
body{font-size:16px!important;line-height:1.55!important}

/* Franja superior */
.shop-announcement,
.shop-announcement span,
.shop-announcement a{
  font-size:12.5px!important;
  line-height:1.35!important;
}
.shop-announcement-inner{min-height:35px!important}

/* Header */
.shop-brand-copy b{font-size:17px!important}
.shop-brand-copy small{font-size:12px!important;line-height:1.3!important}
.shop-search input{font-size:14px!important}
.shop-search button{font-size:13px!important;min-width:76px}
.shop-action small{font-size:10.5px!important;line-height:1.25!important}
.shop-action b{font-size:12.5px!important;line-height:1.25!important}
.shop-header-nav nav a{
  font-size:13px!important;
  line-height:1.3!important;
}
.shop-wholesale-note span{font-size:9.5px!important}
.shop-wholesale-note b{font-size:11.5px!important}
.shop-category-menu small{font-size:11px!important}
.shop-category-menu b{font-size:15px!important}

/* Hero */
.hero-micro{font-size:12px!important;line-height:1.4!important}
.hero .btn{font-size:16px!important}

/* Mayoreo compacto de la captura */
.commerce-copy .eyebrow{font-size:11px!important}
.commerce-copy h2{font-size:30px!important}
.commerce-copy p{font-size:13px!important;line-height:1.45!important}
.commerce-steps span{
  font-size:12px!important;
  line-height:1.35!important;
  white-space:nowrap;
}
.commerce-steps span b{font-size:11px!important}
.tier-inline span{padding:12px 15px!important}
.tier-inline small{
  font-size:11px!important;
  line-height:1.3!important;
}
.tier-inline b{
  font-size:13px!important;
  line-height:1.3!important;
}

/* Marcas */
.brand-showcase-label b{font-size:11px!important}
.brand-pill{
  font-size:11.5px!important;
  line-height:1.2!important;
  padding:10px 15px!important;
}

/* Catálogo */
.section-head .eyebrow,.section-head.mini .eyebrow{font-size:11.5px!important}
.section-head p,.availability{font-size:12.5px!important}
.filters input,.filters select,.catalog-toolbar input,.catalog-toolbar select{
  font-size:13.5px!important;
}
.card .brand-name{font-size:11.5px!important}
.card h3{font-size:15.5px!important}
.card .meta{font-size:12.5px!important}
.card .wholesale-hint{font-size:12px!important}
.product-detail-link,.product-share-link{font-size:12.5px!important}
.catalog-add{font-size:13px!important}
.catalog-tier-progress span{font-size:11px!important}
.catalog-tier-progress b{font-size:12px!important}
.search-suggestions b,.header-search-suggestions b{font-size:13px!important}
.search-suggestions small,.header-search-suggestions small{font-size:11.5px!important}

/* Cómo comprar / confianza / Acámbaro */
.premium-trust b{font-size:13px!important}
.premium-trust small{font-size:11.5px!important}
.buy-steps b{font-size:17px!important}
.buy-steps p{font-size:12.5px!important}
.acambaro-highlight p{font-size:12.5px!important}

/* Carrito */
#cartDrawer .tier-status>div:first-child{font-size:13px!important}
#cartDrawer .tier-status small{font-size:11px!important}
#cartDrawer .special-order-toggle strong{font-size:12px!important}
#cartDrawer .special-order-toggle small{font-size:11px!important}
#cartDrawer .special-payment-head h3{font-size:14px!important}
#cartDrawer .special-order-payment>p{font-size:11.5px!important}
#cartDrawer .special-payment-totals span,
#cartDrawer .bank-card span{font-size:10.5px!important}
#cartDrawer .special-payment-totals b,
#cartDrawer .bank-card b{font-size:12.5px!important}
#cartDrawer .receipt-upload>span{font-size:12px!important}
#cartDrawer .receipt-upload small,
#cartDrawer .receipt-privacy{font-size:10.5px!important}

/* Asistente flotante */
.ai-launcher b{font-size:13px!important}
.ai-launcher small{font-size:11.5px!important}

/* Footer */
footer,footer a,.privacy-link{font-size:12.5px!important}

/* Desktop: mantener jerarquía sin volver microscópica */
@media(min-width:901px){
  .shop-header-main{min-height:82px!important}
  .shop-header-nav{min-height:48px!important}
}
@media(max-width:900px){
  .shop-announcement,.shop-announcement span,.shop-announcement a{font-size:11px!important}
  .shop-header-nav nav a{font-size:12px!important}
  .tier-inline small{font-size:10.5px!important}
  .tier-inline b{font-size:12px!important}
  .brand-pill{font-size:10.5px!important}
}


/* =========================================================
   V6.3.3 · CLIENT FLOW
   Objetivo: una sola acción persistente (carrito flotante),
   menos ruido, mejor jerarquía y navegación más comprensible.
   ========================================================= */

html{
  scroll-behavior:smooth;
  scroll-padding-top:110px;
}
body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* ---------- Una sola experiencia de carrito ---------- */

/* Se conservan en el DOM por compatibilidad, pero ya no compiten visualmente. */
.mobile-nav{
  display:none!important;
}
.shop-cart-action{
  display:none!important;
}

/* El carrito flotante es ahora la única acción persistente de compra. */
.floating-cart{
  min-width:310px!important;
  grid-template-columns:36px minmax(110px,1fr) auto auto!important;
  gap:10px!important;
  padding:10px 12px!important;
  border:1px solid rgba(255,106,0,.42)!important;
  border-radius:18px!important;
  background:rgba(16,16,16,.96)!important;
  box-shadow:0 16px 44px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.025) inset!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.floating-cart:hover{
  transform:translateY(-2px);
  border-color:rgba(255,106,0,.72)!important;
  box-shadow:0 20px 52px rgba(0,0,0,.56)!important;
}
.floating-cart-icon{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:11px;
  background:linear-gradient(135deg,#ff6a00,#ff8a35);
  color:#090909;
  font-size:20px;
  font-weight:1000;
}
.floating-cart-copy{min-width:0;text-align:left!important}
.floating-cart-copy b{
  display:block!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.2!important;
}
.floating-cart-copy small{
  display:block!important;
  margin-top:3px!important;
  color:#9b9b9b!important;
  font-size:11px!important;
  line-height:1.2!important;
}
.floating-cart>strong{
  font-size:21px!important;
  line-height:1!important;
  color:#fff;
}
.floating-cart>em{
  color:#ff8a35!important;
  font-size:11px!important;
}

/* ---------- Header más simple ---------- */
.shop-header{
  border-bottom:1px solid #1f1f1f;
}
.shop-header-main{
  gap:18px!important;
}
.shop-search{
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.shop-search:focus-within{
  border-color:rgba(255,106,0,.60)!important;
  box-shadow:0 0 0 3px rgba(255,106,0,.08);
  background:#111!important;
}
.shop-search input::placeholder{color:#707070}
.shop-action{
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.shop-action:hover{transform:translateY(-1px)}
.shop-header-nav nav a{
  min-height:44px;
  display:flex;
  align-items:center;
}

/* ---------- Hero: decisión rápida ---------- */
.hero-final-inner{
  max-width:980px!important;
}
.hero-final h1{
  max-width:880px;
  text-wrap:balance;
}
.hero-final .actions{
  gap:10px!important;
}
.hero-final .actions .btn{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding-left:20px!important;
  padding-right:20px!important;
}
.hero-micro{
  margin-top:12px!important;
  color:#969696!important;
}

/* ---------- Explicación de compra / mayoreo ---------- */
.commerce-compact{
  border-top:1px solid #1f1f1f;
  border-bottom:1px solid #1f1f1f;
}
.commerce-steps span{
  min-height:38px;
  display:flex!important;
  align-items:center;
  gap:7px;
}
.tier-inline span{
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.tier-inline span:hover{
  transform:translateY(-1px);
  border-color:#3c3c3c;
}

/* ---------- Catálogo: filtros y lectura ---------- */
.catalog{
  max-width:1500px;
  margin-left:auto;
  margin-right:auto;
}
.catalog .section-head{
  margin-bottom:16px!important;
}
.catalog .search-panel{
  background:#0d0d0d!important;
  border-color:#2a2a2a!important;
  border-radius:16px!important;
  padding:12px!important;
  box-shadow:0 10px 35px rgba(0,0,0,.15);
}
.searchbox{
  min-height:48px;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.searchbox:focus-within{
  border-color:rgba(255,106,0,.55)!important;
  background:#111!important;
  box-shadow:0 0 0 3px rgba(255,106,0,.07);
}
.filters select{
  min-height:44px;
  cursor:pointer;
}
.chip,.quick-filter{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.catalog-tier-progress{
  border-radius:12px!important;
}

/* ---------- Cards: jerarquía más clara ---------- */
.card{
  border-color:#242424!important;
  box-shadow:0 4px 18px rgba(0,0,0,.10);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  content-visibility:auto;
  contain-intrinsic-size:360px;
}
@media(hover:hover){
  .card:hover{
    transform:translateY(-3px);
    border-color:#383838!important;
    box-shadow:0 14px 34px rgba(0,0,0,.30);
  }
}
.card-visual{
  overflow:hidden;
}
.card-visual .product-image{
  transition:transform .22s ease;
}
@media(hover:hover){
  .card:hover .card-visual .product-image{transform:scale(1.025)}
}
.card-body{
  gap:7px!important;
}
.card .brand-name{
  color:#ff8a35!important;
}
.card h3{
  letter-spacing:-.01em;
}
.price-row{
  margin-top:5px!important;
  align-items:center!important;
}
.price-row strong{
  font-size:25px!important;
  letter-spacing:-.035em;
}
.price-row del{
  opacity:.78;
}
.wholesale-hint{
  color:#9d9d9d!important;
}
.product-card-links{
  padding-top:3px;
  border-top:1px solid #222;
}
.product-detail-link{
  color:#d0d0d0!important;
  text-decoration:none;
}
.product-detail-link:hover,.product-share-link:hover{color:#ff8a35!important}

/* Estado en carrito: pequeño badge, no otra barra. */
.card-cart-status{
  min-height:0!important;
  width:max-content;
  max-width:100%;
  margin-top:3px!important;
  padding:0!important;
  border-radius:999px;
  color:#65dda2!important;
  font-size:11px!important;
  line-height:1.25!important;
}
.card-cart-status.visible{
  padding:4px 7px!important;
  background:rgba(84,220,152,.08);
  border:1px solid rgba(84,220,152,.18);
}

/* Botones táctiles y una acción principal evidente. */
.catalog-add{
  min-height:44px!important;
  border-radius:10px!important;
}
.catalog-buy-row button{
  touch-action:manipulation;
}
button,a,select,input{
  -webkit-tap-highlight-color:transparent;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid #ff7a17!important;
  outline-offset:2px;
}

/* ---------- Carrito / checkout: menos distracciones ---------- */
#cartDrawer .drawer-head{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(11,11,11,.97);
  backdrop-filter:blur(12px);
}
#cartDrawer .cart-section-head{
  padding-top:3px;
}
#cartDrawer .cart-section-head b{
  font-size:13px!important;
}
#cartDrawer .cart-section-head span{
  color:#787878!important;
  font-size:11px!important;
}
#cartDrawer .cart-block{
  border-color:#262626!important;
  background:#0f0f0f!important;
}
#cartDrawer .cart-block-title>span{
  background:#1c130d!important;
  color:#ff8a35!important;
}
#cartDrawer #sendOrder{
  min-height:52px!important;
  font-size:15px!important;
  box-shadow:0 8px 26px rgba(255,106,0,.14);
}

/* ---------- Confianza: más ligera ---------- */
.public-trust-bar>div{
  transition:border-color .16s ease,background .16s ease;
}
.public-trust-bar>div:hover{
  border-color:#353535;
  background:#121212;
}

/* ---------- Asistente: no compite con carrito ---------- */
.ai-launcher{
  transition:bottom .18s ease,transform .18s ease,box-shadow .18s ease;
}
.floating-cart:not([hidden]) ~ .ai-launcher{
  bottom:92px!important;
}

/* =========================================================
   MÓVIL · una sola barra inferior: carrito flotante
   ========================================================= */
@media(max-width:800px){
  :root{--mobile-bottom-nav-space:0px!important}

  body{
    padding-bottom:0!important;
  }

  /* Header móvil: logo + búsqueda. El carrito vive abajo. */
  .shop-header-main{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:10px 12px 9px!important;
  }
  .shop-brand{
    grid-column:1!important;
  }
  .shop-actions{
    display:none!important;
  }
  .shop-search-wrap{
    grid-column:1!important;
    grid-row:auto!important;
  }
  .shop-search{
    height:46px!important;
    grid-template-columns:36px 1fr 70px!important;
    border-radius:13px!important;
  }
  .shop-search input{
    font-size:16px!important;
  }
  .shop-search button{
    width:auto!important;
    min-width:64px!important;
    height:34px!important;
    margin-right:5px!important;
    padding:0 10px!important;
    border-radius:9px!important;
    font-size:12px!important;
  }
  .shop-search button::after{content:none!important}

  .shop-header-nav{
    height:42px!important;
    padding:0 10px!important;
  }
  .shop-header-nav nav a{
    min-height:42px!important;
    padding:0 11px!important;
    font-size:12px!important;
  }
  .shop-wholesale-note{
    display:none!important;
  }

  /* Hero compacto: se entiende antes y se llega antes al catálogo. */
  .hero{
    min-height:auto!important;
    padding:38px 15px 32px!important;
  }
  .hero-final h1{
    font-size:clamp(34px,10vw,46px)!important;
    line-height:1.02!important;
  }
  .hero-final .actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%;
  }
  .hero-final .actions .btn{
    min-width:0!important;
    min-height:46px!important;
    padding:10px 12px!important;
    font-size:14px!important;
  }

  /* Mayoreo deja de verse comprimido en cinco columnas. */
  .commerce-compact{
    padding:28px 14px!important;
  }
  .commerce-compact-main{
    gap:16px!important;
  }
  .commerce-copy h2{
    font-size:26px!important;
    line-height:1.08!important;
  }
  .commerce-copy p{
    font-size:13px!important;
  }
  .commerce-steps{
    display:flex!important;
    overflow-x:auto!important;
    gap:8px!important;
    padding-bottom:4px!important;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  .commerce-steps::-webkit-scrollbar{display:none}
  .commerce-steps>i{display:none!important}
  .commerce-steps span{
    flex:0 0 auto!important;
    min-width:145px;
    padding:9px 11px!important;
    border:1px solid #292929;
    border-radius:11px;
    background:#111;
    scroll-snap-align:start;
  }
  .tier-inline{
    display:flex!important;
    overflow-x:auto!important;
    gap:8px!important;
    padding:8px 0 3px!important;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  .tier-inline::-webkit-scrollbar{display:none}
  .tier-inline span{
    flex:0 0 136px!important;
    min-width:136px!important;
    padding:12px 13px!important;
    border-radius:12px!important;
    scroll-snap-align:start;
  }

  /* Catálogo más fácil de filtrar. */
  .catalog{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .catalog .section-head h2{
    font-size:27px!important;
    line-height:1.08!important;
  }
  .catalog .search-panel{
    padding:10px!important;
    border-radius:14px!important;
  }
  .search-main-row{
    grid-template-columns:1fr!important;
  }
  .clear-filters{
    width:max-content;
    min-height:34px!important;
    justify-self:end;
  }
  .filters{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }
  #sortFilter{
    grid-column:1/-1!important;
  }
  .filters select{
    min-height:45px!important;
    font-size:14px!important;
  }
  .chips{
    margin-left:-1px;
    margin-right:-1px;
  }
  .chip{
    min-height:38px!important;
    padding:8px 12px!important;
    font-size:12px!important;
  }

  /* Cards: dos columnas, pero con menos botones y mayor claridad. */
  .product-grid,#productGrid{
    gap:9px!important;
    padding-bottom:24px!important;
  }
  .card{
    border-radius:16px!important;
  }
  .card-visual{
    height:auto!important;
    aspect-ratio:1/1!important;
  }
  .card-body{
    padding:11px!important;
  }
  .card .brand-name{
    font-size:10.5px!important;
  }
  .card h3{
    font-size:14px!important;
    min-height:36px!important;
    line-height:1.27!important;
  }
  .card .meta{
    font-size:11.5px!important;
    min-height:30px;
  }
  .price-row strong{
    font-size:22px!important;
  }
  .wholesale-hint{
    font-size:11px!important;
  }
  .catalog-buy-row{
    grid-template-columns:82px minmax(0,1fr) 38px!important;
    gap:6px!important;
  }
  .catalog-buy-row .quick{
    display:grid!important;
    place-items:center;
    width:38px!important;
    min-width:38px!important;
    height:42px!important;
  }
  .catalog-qty{
    min-width:82px!important;
    grid-template-columns:27px 28px 27px!important;
  }
  .catalog-qty button{
    min-width:27px!important;
  }
  .catalog-add{
    height:42px!important;
    min-height:42px!important;
    font-size:12.5px!important;
  }
  .product-card-links{
    gap:6px!important;
    align-items:center!important;
  }
  .product-detail-link,.product-share-link{
    font-size:11px!important;
  }

  /* Carrito flotante compacto y accesible con una mano. */
  .floating-cart{
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    min-width:0!important;
    min-height:60px;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    gap:9px!important;
    padding:9px 11px!important;
    border-radius:18px!important;
  }
  .floating-cart-icon{
    width:34px;height:34px;
  }
  .floating-cart-copy b{
    font-size:12.5px!important;
  }
  .floating-cart-copy small{
    font-size:10.5px!important;
  }
  .floating-cart>strong{
    font-size:20px!important;
  }
  .floating-cart>em{
    display:none!important;
  }

  /* El contenido nunca queda tapado por el carrito. */
  main{
    padding-bottom:92px!important;
  }
  .site-footer{
    padding-bottom:120px!important;
  }

  /* IA arriba del carrito, nunca encima de él. */
  .ai-launcher{
    left:12px!important;
    right:auto!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
  }
  .floating-cart:not([hidden]) ~ .ai-launcher{
    bottom:calc(84px + env(safe-area-inset-bottom))!important;
  }

  /* En checkout no distraer con recomendados. */
  #cartDrawer .cart-related{
    display:none!important;
  }

  /* Confianza: carrusel horizontal compacto en vez de tres cajas largas. */
  .public-trust-bar{
    display:flex!important;
    overflow-x:auto!important;
    gap:8px!important;
    padding:0 2px 4px!important;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  .public-trust-bar::-webkit-scrollbar{display:none}
  .public-trust-bar>div{
    flex:0 0 78vw;
    scroll-snap-align:start;
  }
}

/* Teléfonos muy angostos: conservar claridad. */
@media(max-width:370px){
  .hero-final .actions{
    grid-template-columns:1fr!important;
  }
  .card h3{font-size:13.5px!important}
  .product-detail-link{display:none!important}
  .floating-cart{
    left:8px!important;
    right:8px!important;
  }
}

/* Movimiento más suave pero respetando preferencias del usuario. */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .floating-cart,.card,.shop-action,.tier-inline span{transition:none!important}
}

/* V6.3.13 · Pago integrado al carrito */
.cart-payment-cutoff{margin:12px 0 14px;padding:12px 13px;border:1px solid #4a321d;border-radius:12px;background:#17100a}
.cart-payment-cutoff>span{display:block;color:#ff8a35;font-size:9px!important;font-weight:950;letter-spacing:.12em}
.cart-payment-cutoff>b{display:block;margin-top:3px;font-size:13px!important}
.cart-payment-cutoff>small{display:block;margin-top:4px;color:#9b9b9b;font-size:10.5px!important;line-height:1.4}
.cart-payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:13px}
.cart-payment-method{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid #2e2e2e;border-radius:12px;background:#101010;cursor:pointer}
.cart-payment-method.selected{border-color:#ff6a00;background:#17100c}
.cart-payment-method input{position:absolute;opacity:0;pointer-events:none}
.cart-payment-method .method-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#1d1d1d;color:#ff8a35;font-weight:900}
.cart-payment-method.selected .method-icon{background:#ff6a00;color:#090909}
.cart-payment-method b{display:block;font-size:11.5px!important}.cart-payment-method small{display:block;margin-top:2px;color:#888;font-size:9.8px!important;line-height:1.35}
.cart-payment-totals{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cart-payment-totals .payment-due{border-color:#53331d!important;background:#1b110b!important}.cart-payment-totals .payment-due b{color:#ff8a35!important}
.cart-branch-panel{margin-top:12px;padding:14px;border:1px solid #3f3428;border-radius:12px;background:#13100d}.cart-branch-panel>span{color:#ff8a35;font-size:9px!important;font-weight:950;letter-spacing:.12em}.cart-branch-panel h4{margin:4px 0 10px;font-size:15px}.cart-branch-hours{display:grid;grid-template-columns:1fr 1fr;gap:7px}.cart-branch-hours b{padding:10px;border:1px solid #2e2a25;border-radius:9px;background:#0d0d0d;font-size:11.5px;text-align:center}.cart-branch-panel p{margin:10px 0 0;color:#929292;font-size:10.5px;line-height:1.4}
.cart-payment-closed{margin-top:12px;padding:12px;border:1px solid #66352a;border-radius:11px;background:#21120f}.cart-payment-closed b{display:block;color:#ff9c91;font-size:11.5px}.cart-payment-closed span{display:block;margin-top:4px;color:#b38f89;font-size:10.5px;line-height:1.4}
@media(max-width:800px){.cart-payment-methods{grid-template-columns:1fr}.cart-payment-totals{grid-template-columns:1fr 1fr!important}}
@media(max-width:430px){.cart-payment-totals{grid-template-columns:1fr!important}.cart-branch-hours{grid-template-columns:1fr}}


/* V6.3.25 · única diferencia visual en /acambaro/: indicador dentro de la tarjeta */
.acambaro-card-discount{margin-left:auto;align-self:center;color:#ff7a1a;font-size:10.5px;font-weight:900;line-height:1.15;white-space:nowrap}
@media(max-width:520px){.acambaro-card-discount{font-size:9px;white-space:normal;text-align:right;max-width:104px}}

/* V6.3.27 — WhatsApp siempre visible */
.whatsapp-float{
  position:fixed;right:18px;bottom:88px;z-index:115;
  display:flex;align-items:center;gap:8px;text-decoration:none;
  padding:9px 12px;border-radius:999px;background:#111;color:#fff;
  border:1px solid rgba(37,211,102,.55);box-shadow:0 10px 30px rgba(0,0,0,.35);
  font-size:11px;font-weight:900;
}
.whatsapp-float span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#25d366;color:#08120c;font-size:10px;font-weight:1000}
.whatsapp-float:hover{transform:translateY(-1px);border-color:#25d366}
@media(max-width:800px){
  .whatsapp-float{right:10px;bottom:78px;padding:7px 9px}
  .whatsapp-float b{display:none}
  .whatsapp-float span{width:34px;height:34px}
}

/* =========================================================
   V6.3.28 — UX CLEAN / CHECKOUT SEPARADO
   ========================================================= */
:root{--ux-panel:#101010;--ux-line:#292929;--ux-soft:#171717;--ux-text:#f3f3f3;--ux-muted:#8d8d8d}
.hero-ultra{padding-top:54px;padding-bottom:48px}.hero-final-inner{max-width:980px}.hero-final h1{letter-spacing:-.035em}
.search-panel{border-radius:18px}.searchbox{min-height:50px}.quick-filters{gap:7px}.chips{gap:7px}.chip-more{border-color:rgba(255,106,0,.32)!important;color:#ff8b37!important}
.filters{grid-template-columns:1.1fr 1.1fr 1fr 1fr!important}
.availability-badge.is-available{color:#78c995}.availability-badge.is-special{color:#ff994f}
.ux-card .card-body{display:flex;flex-direction:column}.ux-card .product-name-link h3{min-height:2.7em}.ux-card .price-row{margin-top:8px}.ux-card .catalog-buy-row{margin-top:9px}.ux-secondary-links{display:flex!important;align-items:center;justify-content:space-between;margin-top:7px;padding-top:7px;border-top:1px solid #242424}.ux-secondary-links a,.ux-secondary-links button{border:0;background:none;color:#8d8d8d;font-size:9px;font-weight:800;padding:3px 0;cursor:pointer;text-decoration:none}.ux-secondary-links a:hover,.ux-secondary-links button:hover{color:#ff7a22}.acambaro-card-discount{display:inline-flex!important;align-self:flex-start;margin-top:6px;padding:4px 7px;border-radius:999px;background:rgba(255,106,0,.08);border:1px solid rgba(255,106,0,.22);color:#ff8b37!important;font-size:8px!important;font-weight:900!important;letter-spacing:.02em}.wholesale-hint{margin-top:6px!important;color:#777!important;font-size:8px!important}
.empty-search-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:12px}

/* Carrito: solo productos + resumen */
.cart-clean-drawer .drawer-panel{max-width:520px}.cart-clean-scroll{padding-bottom:18px!important}.cart-clean-drawer .cart-related{display:none!important}.tier-status-clean{border-bottom:1px solid #202020}.cart-simple-actions{position:sticky;bottom:0;padding:12px;background:linear-gradient(180deg,rgba(12,12,12,.82),#0c0c0c 25%);border-top:1px solid #242424;z-index:4}.cart-simple-actions .btn{min-height:48px}.cart-simple-actions small{display:block;margin-top:7px;color:#777;text-align:center;font-size:9px;line-height:1.4}.cart-clean-drawer .cart-item{padding:12px 10px}.cart-clean-drawer .summary-lines .total{padding-top:11px;margin-top:7px;border-top:1px solid #303030}.cart-clean-drawer .summary-lines .total strong{font-size:23px}

/* Checkout */
.checkout-modal,.order-confirm-modal{position:fixed;inset:0;z-index:1400;display:none}.checkout-modal.open,.order-confirm-modal.open{display:block}.checkout-modal-backdrop,.order-confirm-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(8px)}
.checkout-modal-panel{position:relative;width:min(920px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:16px auto;background:#0e0e0e;border:1px solid #2b2b2b;border-radius:22px;box-shadow:0 28px 90px rgba(0,0,0,.58);overflow:hidden;display:flex;flex-direction:column}.checkout-modal-head{display:flex;justify-content:space-between;gap:16px;padding:20px 22px 14px;border-bottom:1px solid #222}.checkout-modal-head h2{margin:4px 0 5px;font-size:25px}.checkout-modal-head p{margin:0;color:#888;font-size:11px}.checkout-modal-head .close{width:38px;height:38px;border:1px solid #303030;background:#171717;color:#fff;border-radius:50%;font-size:21px;cursor:pointer}.checkout-stepper{display:flex;align-items:center;gap:9px;padding:10px 22px;border-bottom:1px solid #1f1f1f;background:#0b0b0b}.checkout-stepper span{display:flex;align-items:center;gap:6px;color:#a0a0a0;font-size:9px;font-weight:900;white-space:nowrap}.checkout-stepper span.active{color:#fff}.checkout-stepper span.muted{color:#616161}.checkout-stepper b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#252525;color:#bbb}.checkout-stepper .active b{background:#ff6a00;color:#111}.checkout-stepper i{height:1px;flex:1;background:#282828}.checkout-modal-body{padding:16px 22px 22px;overflow:auto;display:grid;grid-template-columns:1.1fr .9fr;gap:14px;align-items:start}.checkout-card{background:#131313;border:1px solid #292929;border-radius:16px;padding:14px}.checkout-card.customer-block{grid-column:1}.checkout-card.checkout-payment-panel{grid-column:1}.checkout-review-card{grid-column:2;grid-row:1/span 2;position:sticky;top:0}.checkout-modal .checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkout-modal .field-wide{grid-column:1/-1}.checkout-modal .field-group span{display:block;color:#929292;font-size:9px;font-weight:800;margin-bottom:5px}.checkout-modal input,.checkout-modal select{width:100%;min-height:42px;border:1px solid #333;background:#0d0d0d;color:#eee;border-radius:10px;padding:9px 10px;outline:none}.checkout-modal input:focus,.checkout-modal select:focus{border-color:#ff6a00}.checkout-modal .order-contact{margin-top:10px}.checkout-modal-actions{padding:12px 22px 18px;border-top:1px solid #222;background:#0b0b0b;display:grid;grid-template-columns:1fr 180px;gap:9px}.checkout-order-preview{margin-top:8px}.checkout-preview-list{display:grid;gap:8px}.checkout-preview-list>div{display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid #252525}.checkout-preview-list span{min-width:0}.checkout-preview-list b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.checkout-preview-list small{display:block;margin-top:3px;color:#777;font-size:8px}.checkout-preview-list strong{font-size:10px;white-space:nowrap}.checkout-preview-total{display:flex;justify-content:space-between;align-items:end;padding-top:12px}.checkout-preview-total span{color:#999;font-size:9px}.checkout-preview-total b{font-size:23px;color:#fff}.checkout-modal .checkout-safety-notice{margin-top:10px}.checkout-modal .special-order-payment{margin-top:0}.checkout-modal .bank-card{grid-template-columns:.65fr 1.35fr auto!important}

/* Confirmación */
.order-confirm-panel{position:relative;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:16px auto;background:#101010;border:1px solid #303030;border-radius:22px;padding:26px;box-shadow:0 28px 90px rgba(0,0,0,.6)}.order-confirm-close{position:absolute;right:16px;top:16px;width:36px;height:36px;border-radius:50%;border:1px solid #333;background:#171717;color:#fff;font-size:20px;cursor:pointer}.order-confirm-check{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#ff6a00;color:#111;font-size:24px;font-weight:1000;margin-bottom:13px}.order-confirm-panel h2{font-size:27px;margin:5px 0}.order-confirm-panel>p{color:#8d8d8d;font-size:11px;line-height:1.5}.order-confirm-id{margin:13px 0;padding:10px 12px;border-radius:11px;background:#161616;border:1px solid #292929;color:#888;font-size:10px}.order-confirm-id b{color:#fff;font-size:12px;margin-left:4px}.order-confirm-items{display:grid;gap:0;border:1px solid #292929;border-radius:13px;overflow:hidden}.order-confirm-items>div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#121212;border-bottom:1px solid #252525}.order-confirm-items>div:last-child{border-bottom:0}.order-confirm-items b{display:block;font-size:10px}.order-confirm-items small{display:block;color:#777;font-size:8px;margin-top:3px}.order-confirm-items strong{font-size:10px;white-space:nowrap}.order-confirm-totals{margin-top:12px;padding:12px;border-radius:13px;background:#151515}.order-confirm-totals>div{display:flex;justify-content:space-between;padding:5px 0;color:#aaa;font-size:10px}.order-confirm-totals .discount b{color:#ff8b37}.order-confirm-totals .grand{border-top:1px solid #303030;margin-top:5px;padding-top:10px;color:#fff}.order-confirm-totals .grand b{font-size:19px}.order-confirm-actions{display:grid;gap:8px;margin-top:14px}.order-confirm-actions a{text-align:center;text-decoration:none;display:grid;place-items:center}.order-confirm-panel>small{display:block;margin-top:10px;color:#666;font-size:8px;line-height:1.5;text-align:center}

@media(max-width:780px){
 .shop-header-main{grid-template-columns:auto 1fr auto!important}.shop-brand-copy,.shop-categories-action,.shop-fav-action{display:none!important}.shop-search-wrap{grid-column:2!important}.shop-cart-action{min-width:54px!important}.shop-cart-action>span:last-child{display:none!important}.shop-header-nav nav a:nth-child(n+3){display:none}.shop-wholesale-note{font-size:8px}.hero-ultra{padding:34px 16px 28px}.hero-final h1{font-size:clamp(30px,10vw,48px)}.brand-strip-section{display:none}.commerce-compact{margin-top:0}.filters{grid-template-columns:1fr 1fr!important}.filters #sortFilter{grid-column:1/-1}.catalog{padding-top:22px}.section-head{align-items:flex-start}.availability{display:none}.product-grid{gap:9px}.ux-card .product-name-link h3{min-height:0}.ux-secondary-links{font-size:9px}.floating-cart{bottom:66px!important}
 .checkout-modal-panel{width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0}.checkout-modal-head{padding:14px 15px 10px}.checkout-modal-head h2{font-size:22px}.checkout-stepper{padding:9px 15px;overflow:auto}.checkout-stepper i{min-width:20px}.checkout-modal-body{display:block;padding:12px 12px 92px}.checkout-card{margin-bottom:10px}.checkout-review-card{position:static}.checkout-modal .checkout-fields{grid-template-columns:1fr}.checkout-modal .field-wide{grid-column:auto}.checkout-modal-actions{position:fixed;left:0;right:0;bottom:0;padding:9px 12px calc(9px + env(safe-area-inset-bottom));grid-template-columns:1fr;background:rgba(10,10,10,.96);backdrop-filter:blur(12px);z-index:4}.checkout-modal-actions .btn.text{display:none}.checkout-modal .bank-card{grid-template-columns:1fr!important}
 .order-confirm-panel{width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:22px 14px 100px}.order-confirm-actions{position:sticky;bottom:-84px;background:linear-gradient(180deg,transparent,#101010 18%);padding-top:22px}
}
@media(max-width:480px){.filters{grid-template-columns:1fr!important}.filters #sortFilter{grid-column:auto}.shop-announcement-points span:first-child,.shop-announcement-points i:first-of-type{display:none}.shop-header-nav{padding-inline:10px}.quick-filters{overflow:auto;flex-wrap:nowrap}.quick-filters::-webkit-scrollbar{display:none}.chips{overflow:auto;flex-wrap:nowrap}.chips::-webkit-scrollbar{display:none}.chip{white-space:nowrap}.cart-clean-drawer .drawer-panel{width:100%!important}.cart-clean-drawer .drawer-head h2{font-size:20px!important}.checkout-preview-total b{font-size:20px}}


/* V6.3.29 — Referencias de clientes */
.customer-references-section{
  padding:64px 24px;
  background:linear-gradient(180deg,#0b0b0b 0%,#101010 100%);
  border-top:1px solid rgba(255,255,255,.06);
}
.references-wrap{max-width:1380px;margin:0 auto}
.references-head{
  display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px
}
.references-head h2{margin:6px 0 8px;font-size:clamp(28px,3vw,44px);letter-spacing:-.035em}
.references-head p{margin:0;max-width:700px;color:#a8a8a8;line-height:1.55}
.customer-reference-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px
}
.customer-reference-card{
  border:1px solid rgba(255,255,255,.09);border-radius:20px;background:#121212;overflow:hidden;
  box-shadow:0 18px 44px rgba(0,0,0,.16)
}
.customer-reference-photo{aspect-ratio:4/3;background:#181818;overflow:hidden}
.customer-reference-photo img{width:100%;height:100%;object-fit:cover;display:block}
.customer-reference-copy{padding:16px}
.customer-reference-copy b{display:block;font-size:15px;margin-bottom:4px}
.customer-reference-copy small{display:block;color:#ff7a00;margin-bottom:10px}
.customer-reference-copy p{margin:0;color:#c8c8c8;font-size:13px;line-height:1.5}
.reference-empty{
  grid-column:1/-1;padding:30px;border:1px dashed rgba(255,255,255,.12);border-radius:18px;
  display:flex;flex-direction:column;gap:6px;color:#aaa;text-align:center
}
.reference-empty b{color:#f5f5f5}
.reference-submit-card{
  margin-top:22px;padding:24px;border:1px solid rgba(255,122,0,.25);border-radius:22px;
  background:linear-gradient(135deg,rgba(255,122,0,.08),rgba(255,255,255,.025));
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:28px
}
.reference-submit-card[hidden]{display:none!important}
.reference-submit-copy h3{font-size:26px;margin:7px 0 10px}
.reference-submit-copy p{color:#aaa;line-height:1.55;margin:0}
.reference-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.reference-form label{display:flex;flex-direction:column;gap:7px;color:#ddd;font-size:13px;font-weight:700}
.reference-form label span small{font-weight:500;color:#777}
.reference-form input,.reference-form textarea{
  width:100%;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:#0b0b0b;
  color:#fff;padding:13px 14px;outline:none;font:inherit
}
.reference-form input:focus,.reference-form textarea:focus{border-color:#ff7a00;box-shadow:0 0 0 3px rgba(255,122,0,.1)}
.reference-comment,.reference-photo-input,.reference-form-actions,.reference-form-status{grid-column:1/-1}
.reference-photo-input input{padding:10px}
.reference-photo-input small{color:#777;font-weight:500}
.reference-form-actions{display:flex;align-items:center;gap:10px}
.reference-form-status{min-height:20px;margin:0;color:#9e9e9e;font-size:13px}
.reference-form-status.ok{color:#55d98b}
.reference-form-status.error{color:#ff8279}

@media(max-width:1000px){
  .customer-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reference-submit-card{grid-template-columns:1fr}
}
@media(max-width:680px){
  .customer-references-section{padding:46px 16px}
  .references-head{align-items:stretch;flex-direction:column}
  .references-head .btn{width:100%}
  .customer-reference-grid{grid-template-columns:1fr 1fr;gap:10px}
  .customer-reference-copy{padding:12px}
  .customer-reference-copy p{font-size:12px}
  .reference-submit-card{padding:18px;border-radius:18px}
  .reference-form{grid-template-columns:1fr}
  .reference-form label{grid-column:1/-1}
}
@media(max-width:430px){
  .customer-reference-grid{grid-template-columns:1fr}
}


/* =========================================================
   V6.3.36 · WhatsApp CTA visible + separación del carrito
   ========================================================= */
.whatsapp-float{
  right:18px!important;
  bottom:20px!important;
  max-width:min(310px,calc(100vw - 36px));
  gap:9px!important;
  padding:9px 13px 9px 9px!important;
  transition:bottom .18s ease,transform .18s ease,border-color .18s ease;
}
.whatsapp-float b{
  display:block!important;
  max-width:220px;
  font-size:12px!important;
  line-height:1.15;
  white-space:normal;
  text-align:left;
}
.floating-cart:not([hidden]) ~ .whatsapp-float{
  bottom:92px!important;
}
@media(max-width:800px){
  .whatsapp-float{
    right:12px!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    max-width:calc(100vw - 80px);
    padding:7px 10px 7px 7px!important;
    gap:7px!important;
  }
  .whatsapp-float span{
    width:34px!important;
    height:34px!important;
    flex:0 0 34px;
  }
  .whatsapp-float b{
    display:block!important;
    max-width:155px;
    font-size:10.5px!important;
    line-height:1.12;
  }
  .floating-cart:not([hidden]) ~ .whatsapp-float{
    bottom:calc(84px + env(safe-area-inset-bottom))!important;
  }
}
@media(max-width:370px){
  .whatsapp-float{right:8px!important;max-width:190px}
  .whatsapp-float b{max-width:135px;font-size:9.8px!important}
}


/* =========================================================
   V6.3.37 · WhatsApp apilado arriba del carrito en móvil
   ========================================================= */
@media(max-width:800px){
  .floating-cart:not([hidden]) ~ .whatsapp-float{
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    justify-content:flex-start!important;
    bottom:calc(108px + env(safe-area-inset-bottom))!important;
  }
  .floating-cart:not([hidden]) ~ .whatsapp-float b{
    max-width:none!important;
  }
}
@media(max-width:430px){
  .floating-cart:not([hidden]) ~ .whatsapp-float{
    left:10px!important;
    right:10px!important;
    bottom:calc(112px + env(safe-area-inset-bottom))!important;
  }
}

/* =========================================================
   V6.3.38 · STACK MÓVIL: IA + WhatsApp + carrito sin solapes
   Orden visual: IA / WhatsApp / Carrito
   ========================================================= */
@media(max-width:800px){
  /* Carrito: siempre es la barra inferior principal. */
  .floating-cart{
    left:12px!important;
    right:12px!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    min-height:60px!important;
  }

  /* WhatsApp: CTA completo, separado del borde inferior cuando no hay carrito. */
  .whatsapp-float{
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    justify-content:flex-start!important;
    min-height:50px!important;
  }
  .whatsapp-float b{
    display:block!important;
    max-width:none!important;
    font-size:11px!important;
    line-height:1.15!important;
  }

  /* IA: cuando no hay carrito, queda arriba de WhatsApp. */
  .ai-launcher{
    left:12px!important;
    right:auto!important;
    bottom:calc(78px + env(safe-area-inset-bottom))!important;
  }

  /* Con carrito visible, apilar controles con separación real. */
  .floating-cart:not([hidden]) ~ .whatsapp-float{
    bottom:calc(88px + env(safe-area-inset-bottom))!important;
  }
  .floating-cart:not([hidden]) ~ .ai-launcher{
    bottom:calc(154px + env(safe-area-inset-bottom))!important;
  }

  /* Espacio de respiración al final para que los flotantes no oculten contenido. */
  main{padding-bottom:210px!important}
  .site-footer{padding-bottom:230px!important}
}

@media(max-width:430px){
  .floating-cart,
  .whatsapp-float{
    left:10px!important;
    right:10px!important;
  }
  .floating-cart:not([hidden]) ~ .whatsapp-float{
    bottom:calc(90px + env(safe-area-inset-bottom))!important;
  }
  .floating-cart:not([hidden]) ~ .ai-launcher{
    bottom:calc(158px + env(safe-area-inset-bottom))!important;
  }
}
