/* ============================================================
   SHOPDENT — Landing page premium
   Paleta derivada del logo: teal profundo + acento naranja.
   Tipografía: Space Grotesk (display) + Inter (texto).
   ============================================================ */

:root{
  --teal-950:#04222b;
  --teal-900:#063846;
  --teal-800:#075064;
  --teal-700:#0a6b83;
  --teal-600:#0f86a1;
  --teal-100:#e4f2f4;
  --teal-50:#f2f8f9;
  --orange-600:#e46a1a;
  --orange-500:#fa842c;
  --orange-400:#ff9d52;
  --paper:#f7fafb;
  --white:#ffffff;
  --ink:#0e2429;
  --ink-soft:#3b5459;
  --slate:#647c81;
  --line:#e2ebec;
  --line-soft:#eef4f5;
  --shadow-sm: 0 1px 2px rgba(6,40,50,.06), 0 1px 1px rgba(6,40,50,.04);
  --shadow-md: 0 8px 24px -8px rgba(6,40,50,.18);
  --shadow-lg: 0 24px 48px -12px rgba(6,40,50,.28);
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --maxw:1240px;
  --header-h:76px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
}

body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}

h1,h2,h3,h4{
  font-family:'Space Grotesk',system-ui,sans-serif;
  color:var(--teal-950);
  margin:0;
  line-height:1.12;
  letter-spacing:-0.01em;
}

p{margin:0;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;}
ul{margin:0;padding:0;list-style:none;}

.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--orange-600);
}
.eyebrow::before{
  content:"";
  width:16px;height:2px;
  background:var(--orange-500);
  border-radius:2px;
}

.section{padding:88px 0;}
#catalogo-completo, #productos, #nosotros, #contacto{scroll-margin-top:var(--header-h);}
.section--tight{padding:56px 0;}
.section-head{
  max-width:640px;
  margin-bottom:44px;
}
.section-head h2{font-size:clamp(1.7rem,3.4vw,2.4rem);margin-top:10px;}
.section-head p{color:var(--slate);margin-top:14px;font-size:1.02rem;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

/* -------- Botones -------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:600;
  font-size:.95rem;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn:active{transform:scale(.97);}
.btn-primary{
  background:var(--orange-500);
  color:var(--white);
  box-shadow:0 10px 24px -8px rgba(250,132,44,.55);
}
.btn-primary:hover{background:var(--orange-600);transform:translateY(-1px);}
.btn-secondary{
  background:var(--white);
  color:var(--teal-900);
  border-color:var(--line);
  box-shadow:var(--shadow-sm);
}
.btn-secondary:hover{border-color:var(--teal-600);color:var(--teal-700);transform:translateY(-1px);}
.btn-ghost-light{
  background:rgba(255,255,255,.08);
  color:var(--white);
  border-color:rgba(255,255,255,.28);
}
.btn-ghost-light:hover{background:rgba(255,255,255,.16);}
.btn-block{width:100%;}
.btn-sm{padding:10px 16px;font-size:.85rem;}
.btn svg{width:18px;height:18px;flex:none;}

:focus-visible{outline:3px solid var(--teal-600);outline-offset:2px;}

/* ============ HEADER ============ */
.site-header{
  position:sticky;top:0;z-index:100;
  height:var(--header-h);
  background:rgba(247,250,251,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  height:100%;
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;
}
.brand{display:flex;align-items:center;gap:11px;}
.brand img{
  height:38px;width:auto;
  background:var(--white);
  border-radius:8px;
  padding:3px 6px;
}
.brand-word{font-family:'Space Grotesk';font-weight:700;font-size:1.18rem;color:var(--teal-950);}
.brand-word span{color:var(--orange-500);}

.nav-desktop{display:flex;align-items:center;gap:34px;}
.nav-desktop a{
  font-size:.92rem;font-weight:500;color:var(--ink-soft);
  position:relative;padding:6px 0;
}
.nav-desktop a::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:2px;
  background:var(--orange-500);transition:width .2s ease;
}
.nav-desktop a:hover{color:var(--teal-900);}
.nav-desktop a:hover::after{width:100%;}

.header-actions{display:flex;align-items:center;gap:12px;}
.hamburger{
  display:none;
  width:42px;height:42px;border-radius:10px;border:1px solid var(--line);
  background:var(--white);align-items:center;justify-content:center;
}
.hamburger span{display:block;width:18px;height:2px;background:var(--teal-950);position:relative;}
.hamburger span::before,.hamburger span::after{
  content:"";position:absolute;left:0;width:18px;height:2px;background:var(--teal-950);
}
.hamburger span::before{top:-6px;}
.hamburger span::after{top:6px;}

.mobile-menu{
  display:none;
  position:fixed;inset:var(--header-h) 0 0 0;
  background:var(--white);
  z-index:99;
  padding:28px 24px;
  overflow-y:auto;
}
.mobile-menu.open{display:block;}
.mobile-menu a{
  display:block;padding:16px 4px;font-size:1.1rem;font-weight:600;
  border-bottom:1px solid var(--line-soft);color:var(--teal-950);
}
.mobile-menu .btn{margin-top:24px;}

@media (max-width:920px){
  .nav-desktop{display:none;}
  .hamburger{display:flex;}
  .header-actions .btn-primary.header-cta{display:none;}
}

/* ============ HERO ============ */
.hero{
  position:relative;
  background:linear-gradient(165deg,var(--teal-950) 0%,var(--teal-800) 62%,var(--teal-700) 100%);
  overflow:hidden;
  padding:76px 0 0;
}
.hero-tooth-mark{
  position:absolute;
  opacity:.08;
  pointer-events:none;
}
.hero-tooth-mark.tm1{top:-60px;right:-80px;width:420px;}
.hero-tooth-mark.tm2{bottom:-40px;left:-100px;width:280px;transform:rotate(18deg);}

.hero .container{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:52px;
  align-items:center;
  position:relative;
  z-index:1;
  padding-bottom:64px;
}
.hero-copy .eyebrow{color:var(--orange-400);}
.hero-copy .eyebrow::before{background:var(--orange-400);}
.hero-copy h1{
  color:var(--white);
  font-size:clamp(2.1rem,4.4vw,3.4rem);
  margin-top:16px;
}
.hero-copy h1 em{
  font-style:normal;
  color:var(--orange-400);
}
.hero-copy .hero-sub{
  color:rgba(255,255,255,.78);
  font-size:1.08rem;
  margin-top:20px;
  max-width:520px;
}
.hero-actions{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap;}

.hero-visual{
  position:relative;
}
.hero-photo-card{
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  border:1px solid rgba(255,255,255,.14);
  aspect-ratio:4/3.1;
}
.hero-photo-card img{width:100%;height:100%;object-fit:cover;}
.hero-float-card{
  position:absolute;
  bottom:-26px;left:-26px;
  background:var(--white);
  border-radius:var(--radius-md);
  padding:18px 22px;
  box-shadow:var(--shadow-lg);
  display:flex;
  align-items:center;
  gap:14px;
  max-width:260px;
}
.hero-float-card .num{
  font-family:'Space Grotesk';font-weight:700;font-size:1.7rem;color:var(--teal-800);
}
.hero-float-card .lbl{font-size:.78rem;color:var(--slate);line-height:1.3;}

@media (max-width:960px){
  .hero .container{grid-template-columns:1fr;padding-bottom:56px;}
  .hero-visual{order:-1;max-width:420px;margin:0 auto;}
  .hero-float-card{left:12px;bottom:-20px;}
}

/* ============ TRUST BAR ============ */
.trust-bar{
  background:var(--teal-900);
  border-top:1px solid rgba(255,255,255,.08);
}
.trust-bar ul{
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.trust-bar li{
  text-align:center;
  padding:26px 12px;
  border-right:1px solid rgba(255,255,255,.08);
}
.trust-bar li:last-child{border-right:none;}
.trust-bar .t-num{
  font-family:'Space Grotesk';font-weight:700;color:var(--orange-400);
  font-size:1.5rem;
}
.trust-bar .t-lbl{
  color:rgba(255,255,255,.72);font-size:.78rem;margin-top:4px;
}
@media (max-width:820px){
  .trust-bar ul{grid-template-columns:repeat(2,1fr);}
  .trust-bar li{border-right:none;border-bottom:1px solid rgba(255,255,255,.08);}
}

/* ============ CATEGORÍAS ============ */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.cat-card{
  position:relative;
  border-radius:var(--radius-md);
  overflow:hidden;
  aspect-ratio:1/1.02;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--line);
  background:var(--teal-900);
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.cat-card img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .5s ease;
}
.cat-card:hover img{transform:scale(1.06);}
.cat-card::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg, rgba(4,34,43,.96) 0%, rgba(4,34,43,.82) 32%, rgba(4,34,43,.48) 60%, rgba(4,34,43,.12) 100%);
}
.cat-card-body{
  position:absolute;left:0;right:0;bottom:0;padding:18px;color:var(--white);
}
.cat-card-body .count{
  font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;
  color:var(--orange-400);font-weight:600;
  text-shadow:0 1px 6px rgba(0,0,0,.55);
}
.cat-card-body h3{
  color:var(--white);font-size:1.12rem;margin-top:4px;
  text-shadow:0 1px 8px rgba(0,0,0,.6);
}
.cat-card-body .go{
  display:inline-flex;align-items:center;gap:6px;
  font-size:.8rem;font-weight:600;margin-top:10px;color:rgba(255,255,255,.92);
  text-shadow:0 1px 6px rgba(0,0,0,.55);
}
.cat-card-body .go svg{width:14px;height:14px;transition:transform .2s ease;}
.cat-card:hover .go svg{transform:translateX(3px);}

@media (max-width:920px){.cat-grid{grid-template-columns:repeat(2,1fr);}}

/* ============ BUSCADOR + FILTROS ============ */
.finder{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow-sm);
}
.search-box{
  display:flex;align-items:center;gap:12px;
  border:1.5px solid var(--line);
  border-radius:999px;
  padding:13px 20px;
  transition:border-color .2s ease;
}
.search-box:focus-within{border-color:var(--teal-600);}
.search-box svg{width:20px;height:20px;color:var(--slate);flex:none;}
.search-box input{
  border:none;outline:none;flex:1;font-size:1rem;font-family:inherit;color:var(--ink);background:transparent;
}
.filter-pills{
  display:flex;flex-wrap:wrap;gap:9px;margin-top:16px;
}
.pill{
  padding:9px 17px;border-radius:999px;border:1px solid var(--line);
  background:var(--paper);font-size:.85rem;font-weight:500;color:var(--ink-soft);
  transition:all .18s ease;
}
.pill:hover{border-color:var(--teal-600);color:var(--teal-700);}
.pill.active{background:var(--teal-800);border-color:var(--teal-800);color:var(--white);}

.search-results-info{
  margin-top:14px;font-size:.85rem;color:var(--slate);min-height:20px;
  display:flex;align-items:center;flex-wrap:wrap;gap:12px;
}
.reset-filter-link{
  background:none;border:none;padding:0;
  color:var(--teal-700);font-weight:600;font-size:.85rem;
  text-decoration:underline;cursor:pointer;font-family:inherit;
}
.reset-filter-link:hover{color:var(--orange-600);}

/* ============ PRODUCT GRID ============ */
.prod-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:8px;
}
.prod-grid.featured{grid-template-columns:repeat(4,1fr);}

.prod-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  opacity:0;
  animation:cardIn .45s ease forwards;
}
@keyframes cardIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
.prod-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--teal-100);}
.prod-card-img{
  aspect-ratio:1/1;
  background:var(--teal-50);
  display:flex;align-items:center;justify-content:center;
  padding:14px;
  position:relative;
}
.prod-card-img img{width:100%;height:100%;object-fit:contain;}
.prod-card-cat{
  position:absolute;top:10px;left:10px;
  background:rgba(255,255,255,.92);
  color:var(--teal-700);
  font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  padding:4px 9px;border-radius:999px;
}
.prod-card-body{padding:14px 15px 16px;display:flex;flex-direction:column;gap:8px;flex:1;}
.prod-card-body h4{
  font-family:'Inter';font-weight:600;font-size:.92rem;color:var(--ink);
  line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.4em;
}
.prod-price{
  font-family:'Space Grotesk';font-weight:700;color:var(--teal-800);font-size:1.15rem;
}
.prod-price small{font-family:'Inter';font-weight:500;font-size:.7rem;color:var(--slate);display:block;margin-top:1px;}
.prod-card .btn:last-child{margin-top:auto;}

.qty-stepper{
  display:flex;align-items:center;justify-content:center;gap:10px;
  border:1px solid var(--line);border-radius:999px;
  padding:5px;align-self:center;
}
.qty-btn{
  width:26px;height:26px;border-radius:50%;border:none;
  background:var(--teal-50);color:var(--teal-800);
  font-weight:700;font-size:1rem;line-height:1;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s ease;
}
.qty-btn:hover{background:var(--teal-100);}
.qty-val{min-width:18px;text-align:center;font-weight:600;font-family:'Space Grotesk';font-size:.92rem;}

.add-cart-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
}
.add-cart-btn svg{width:16px;height:16px;flex:none;}
.add-cart-btn.added{background:var(--teal-700);color:var(--white);border-color:var(--teal-700);}

.no-results{
  text-align:center;padding:56px 20px;color:var(--slate);
}
.no-results p:first-child{color:var(--ink);font-weight:600;font-size:1.05rem;margin-bottom:6px;}
.no-results .btn{margin-top:18px;}

@media (max-width:960px){
  .prod-grid,.prod-grid.featured{grid-template-columns:repeat(2,1fr);}
}

/* ============ CATEGORY SECTION BLOCKS ============ */
.cat-block{padding:56px 0;}
.cat-block-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  margin-bottom:28px;flex-wrap:wrap;
  border-bottom:1px solid var(--line);
  padding-bottom:18px;
}
.cat-block-head .tag{
  font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--orange-600);
}
.cat-block-head h2{font-size:clamp(1.4rem,2.6vw,1.9rem);margin-top:4px;}
.cat-block-head .cnt{font-size:.86rem;color:var(--slate);}

/* CTA "no encuentras lo que buscas" — 3 variantes visuales */
.midcta{
  margin:16px 0 40px;
  border-radius:var(--radius-lg);
  padding:36px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
}
.midcta h3{font-size:1.25rem;}
.midcta p{color:var(--slate);margin-top:8px;max-width:460px;}
.midcta-a{background:var(--teal-50);border:1px solid var(--teal-100);}
.midcta-a h3{color:var(--teal-900);}
.midcta-b{background:var(--teal-900);}
.midcta-b h3{color:var(--white);}
.midcta-b p{color:rgba(255,255,255,.72);}
.midcta-c{
  background:linear-gradient(120deg,var(--orange-500),var(--orange-600));
  border:none;
}
.midcta-c h3,.midcta-c p{color:var(--white);}
.midcta-c p{color:rgba(255,255,255,.9);}

/* ============ PROFORMA ============ */
.proforma{
  background:var(--teal-950);
  position:relative;
  overflow:hidden;
}
.proforma .container{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;
  padding:76px 24px;
}
.proforma h2{color:var(--white);font-size:clamp(1.7rem,3.2vw,2.3rem);}
.proforma p{color:rgba(255,255,255,.72);margin-top:16px;font-size:1.02rem;max-width:480px;}
.proforma-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:30px;
  box-shadow:var(--shadow-lg);
}
.proforma-card ul{display:flex;flex-direction:column;gap:14px;margin-bottom:22px;}
.proforma-card li{display:flex;gap:12px;align-items:flex-start;font-size:.92rem;color:var(--ink-soft);}
.proforma-card li svg{width:20px;height:20px;color:var(--orange-500);flex:none;margin-top:1px;}
@media (max-width:900px){.proforma .container{grid-template-columns:1fr;}}

/* ============ SOBRE SHOPDENT ============ */
.about{
  display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;
}
.about-img{
  border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);
}
.about-list{margin-top:22px;display:flex;flex-direction:column;gap:14px;}
.about-list li{display:flex;gap:12px;align-items:flex-start;color:var(--ink-soft);font-size:.96rem;}
.about-list svg{width:20px;height:20px;color:var(--teal-700);flex:none;margin-top:2px;}
@media (max-width:920px){.about{grid-template-columns:1fr;}}

/* ============ UBICACIÓN + CONTACTO ============ */
.contact-grid{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px;
}
.info-card{
  min-width:0;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:32px;box-shadow:var(--shadow-sm);
}
.info-card h3{font-size:1.2rem;margin-bottom:6px;}
.info-card .addr{color:var(--slate);margin:10px 0 20px;line-height:1.6;}
.map-embed{
  border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--line);
  aspect-ratio:16/10;margin-top:18px;
}
.map-embed iframe{width:100%;height:100%;border:0;}
.contact-methods{display:flex;flex-direction:column;gap:14px;margin:18px 0 22px;}
.contact-method{
  display:flex;align-items:center;gap:14px;
  padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--paper);
}
.contact-method .ic{
  width:42px;height:42px;border-radius:10px;background:var(--teal-100);color:var(--teal-700);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.contact-method .ic svg{width:20px;height:20px;}
.contact-method .num{font-family:'Space Grotesk';font-weight:600;color:var(--ink);}
.contact-method .lbl{font-size:.76rem;color:var(--slate);}
@media (max-width:920px){.contact-grid{grid-template-columns:minmax(0,1fr);}}

/* ============ FOOTER ============ */
.site-footer{
  background:var(--teal-950);
  color:rgba(255,255,255,.7);
  padding:56px 0 26px;
}
.footer-grid{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;
  padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-word{color:var(--white);}
.footer-brand p{margin-top:14px;font-size:.9rem;line-height:1.6;max-width:280px;}
.footer-col h5{
  color:var(--white);font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;
  margin-bottom:14px;font-family:'Space Grotesk';
}
.footer-col ul{display:flex;flex-direction:column;gap:10px;}
.footer-col a{font-size:.9rem;transition:color .18s ease;}
.footer-col a:hover{color:var(--white);}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  padding-top:22px;font-size:.82rem;
}
.footer-note{
  font-size:.82rem;background:rgba(255,255,255,.06);padding:14px 18px;border-radius:var(--radius-sm);
  margin-top:26px;line-height:1.6;
}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr;}}

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float{
  position:fixed;right:20px;bottom:20px;z-index:200;
  width:60px;height:60px;border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 26px -6px rgba(37,211,102,.6);
  animation:waPulse 2.6s ease-in-out infinite;
}
.wa-float svg{width:30px;height:30px;color:var(--white);}
@keyframes waPulse{
  0%,100%{box-shadow:0 10px 26px -6px rgba(37,211,102,.6);}
  50%{box-shadow:0 10px 34px -4px rgba(37,211,102,.85);}
}
.wa-float:hover{transform:scale(1.06);}

/* ============ CARRITO FLOTANTE ============ */
.cart-float{
  position:fixed;right:20px;bottom:92px;z-index:198;
  display:flex;align-items:center;gap:10px;
  background:var(--teal-900);color:var(--white);
  border:none;border-radius:999px;
  padding:11px 16px 11px 12px;
  box-shadow:var(--shadow-lg);
  font-family:'Space Grotesk';font-weight:700;font-size:.88rem;
  transition:transform .18s ease, background .18s ease;
}
.cart-float:hover{transform:translateY(-2px);background:var(--teal-800);}
.cart-float .cf-icon{position:relative;display:flex;align-items:center;justify-content:center;width:22px;height:22px;}
.cart-float .cf-icon svg{width:20px;height:20px;}
.cart-float .cf-count{
  position:absolute;top:-9px;right:-10px;
  background:var(--orange-500);color:var(--white);
  min-width:17px;height:17px;border-radius:999px;
  font-size:.66rem;display:flex;align-items:center;justify-content:center;
  padding:0 3px;border:2px solid var(--teal-900);
}
.cart-float:hover .cf-count{border-color:var(--teal-800);}
.cart-float .cf-total{white-space:nowrap;}
.cart-float:not(.has-items) .cf-total{opacity:.75;}

/* ============ PANEL DEL CARRITO ============ */
.cart-overlay{
  position:fixed;inset:0;background:rgba(4,34,43,.55);
  z-index:300;opacity:0;pointer-events:none;transition:opacity .25s ease;
}
.cart-overlay.open{opacity:1;pointer-events:auto;}

.cart-panel{
  position:fixed;top:0;right:0;height:100%;width:420px;max-width:92vw;
  background:var(--white);z-index:301;box-shadow:var(--shadow-lg);
  transform:translateX(105%);transition:transform .32s ease;
  display:flex;flex-direction:column;
}
.cart-panel.open{transform:translateX(0);}

.cart-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 22px 18px;border-bottom:1px solid var(--line);flex:none;
}
.cart-header h3{font-size:1.15rem;}
.cart-count-label{font-size:.82rem;color:var(--slate);}
.cart-close{
  width:36px;height:36px;border-radius:50%;border:1px solid var(--line);
  background:var(--white);display:flex;align-items:center;justify-content:center;flex:none;
}
.cart-close svg{width:18px;height:18px;color:var(--ink-soft);}
.cart-close:hover{border-color:var(--teal-600);}

.cart-body{flex:1;overflow-y:auto;padding:10px 22px;}
.cart-empty{text-align:center;padding:60px 10px;color:var(--slate);}
.cart-empty p:first-child{font-weight:600;color:var(--ink);}

.cart-item{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line-soft);}
.cart-item img{
  width:58px;height:58px;object-fit:contain;background:var(--teal-50);
  border-radius:10px;flex:none;padding:6px;
}
.cart-item-info{flex:1;min-width:0;}
.cart-item-info h5{font-family:'Inter';font-weight:600;font-size:.86rem;line-height:1.3;color:var(--ink);}
.cart-item-price{font-size:.78rem;color:var(--slate);margin-top:2px;}
.cart-item-actions{display:flex;align-items:center;gap:14px;margin-top:9px;flex-wrap:wrap;}
.qty-stepper-sm{padding:3px;}
.qty-stepper-sm .qty-btn{width:23px;height:23px;font-size:.9rem;}
.cart-item-remove{
  background:none;border:none;padding:0;color:var(--slate);
  font-size:.76rem;text-decoration:underline;cursor:pointer;font-family:inherit;
}
.cart-item-remove:hover{color:#c0392b;}
.cart-item-subtotal{
  font-family:'Space Grotesk';font-weight:700;color:var(--teal-800);
  white-space:nowrap;flex:none;align-self:flex-start;
}

.cart-footer{border-top:1px solid var(--line);padding:18px 22px 24px;flex:none;}
.cart-total-row{
  display:flex;justify-content:space-between;align-items:baseline;
  font-family:'Space Grotesk';font-weight:700;font-size:1.2rem;color:var(--teal-950);
}
.cart-disclaimer{font-size:.74rem;color:var(--slate);line-height:1.5;margin:8px 0 14px;}
.cart-footer .btn{margin-top:9px;}
.cart-footer .btn:first-of-type{margin-top:0;}
.btn-disabled{opacity:.5;pointer-events:none;}
.btn-text-danger{
  display:block;width:100%;text-align:center;background:none;border:none;
  color:var(--slate);font-size:.82rem;padding:12px 0 0;cursor:pointer;font-family:inherit;
  text-decoration:underline;
}
.btn-text-danger:hover{color:#c0392b;}

body.no-scroll{overflow:hidden;}

@media (max-width:640px){
  .cart-panel{
    top:auto;bottom:0;left:0;right:0;width:100%;max-width:100%;
    height:auto;max-height:82vh;border-radius:22px 22px 0 0;
    transform:translateY(105%);
  }
  .cart-panel.open{transform:translateY(0);}
  .cart-float{
    right:14px;bottom:86px;padding:10px 14px 10px 10px;font-size:.82rem;
  }
  .wa-float{right:14px;bottom:16px;width:54px;height:54px;}
  .wa-float svg{width:26px;height:26px;}
}

/* ============ SCROLL REVEAL ============ */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1;transform:translateY(0);}

/* ============ RESPONSIVE TWEAKS ============ */
@media (max-width:640px){
  .section{padding:60px 0;}
  .container{padding:0 18px;}
  .hero{padding-top:56px;}
  .hero-actions .btn{flex:1;}
  .midcta{padding:26px;flex-direction:column;align-items:flex-start;}
  .midcta .btn{width:100%;}
  .proforma .container{padding:56px 18px;}
  .info-card{padding:24px;}
  .info-card .btn{white-space:normal;line-height:1.35;text-align:center;}
}
