/* NeoFarma MX · Carrito visual premium · 15 oct 2026 */
body.cart-page .cart-screen{
  width:min(1180px,calc(100% - 32px))!important;
  margin:0 auto!important;
  padding:30px 0 112px!important;
  color:#183d4e!important;
  font-family:"IBM Plex Sans","Sora",system-ui,sans-serif!important
}
body.cart-page .cart-intro{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important;
  min-height:190px!important;padding:clamp(24px,4vw,44px)!important;
  color:#173d4e!important;
  background:linear-gradient(118deg,rgba(255,255,255,.86),rgba(242,251,249,.78))!important;
  border:1px solid rgba(30,137,154,.20)!important;border-radius:28px!important;
  box-shadow:0 18px 46px rgba(18,72,84,.09),inset 0 1px 0 rgba(255,255,255,.8)!important;
  backdrop-filter:blur(9px) saturate(118%)!important
}
.cart-intro::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(135deg,transparent 0 59%,rgba(25,150,177,.045) 59.1%,transparent 59.35%),
    linear-gradient(35deg,transparent 0 78%,rgba(50,185,126,.055) 78.1%,transparent 78.35%),
    linear-gradient(rgba(32,119,147,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(32,119,147,.035) 1px,transparent 1px);
  background-size:100% 100%,100% 100%,34px 34px,34px 34px;
  mask-image:linear-gradient(115deg,#000 0%,rgba(0,0,0,.74) 50%,transparent 100%)
}
.cart-intro__copy{position:relative;z-index:1;max-width:640px}
.cart-intro__copy>span,.cart-products__heading-copy>span,.cart-summary__top>div>span{
  display:block;color:#148b8a;font-family:"Michroma","IBM Plex Sans",sans-serif;
  font-size:.56rem;font-weight:700;letter-spacing:.15em
}
.cart-intro__copy h1{
  margin:10px 0 0;color:#143c50;font-family:"Sora",sans-serif;
  font-size:clamp(2.25rem,7vw,4.1rem);font-weight:780;line-height:.98;letter-spacing:-.065em
}
.cart-intro__copy p{max-width:530px;margin:13px 0 0;color:#5e7780;font-size:.9rem;line-height:1.6}
.cart-intro__visual{
  position:relative;z-index:1;flex:0 0 300px;display:flex;align-items:center;gap:13px;
  padding:11px 15px;border:1px solid rgba(29,145,157,.18);border-radius:22px;
  background:linear-gradient(115deg,rgba(255,255,255,.76),rgba(237,250,247,.72));
  box-shadow:0 12px 28px rgba(28,92,96,.08);overflow:hidden
}
.cart-intro__visual::after{
  content:"";position:absolute;right:-17px;top:-22px;width:92px;height:92px;border:1px solid rgba(36,181,162,.12);
  border-radius:50%;box-shadow:0 0 0 9px rgba(36,181,162,.035),0 0 0 20px rgba(35,145,194,.025);pointer-events:none
}
.cart-intro__mascot-wrap{
  position:relative;z-index:1;width:78px;height:78px;flex:0 0 78px;display:grid;place-items:center;
  overflow:hidden;border:1px solid rgba(20,156,167,.18);border-radius:25px;
  background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.98) 0 38%,rgba(225,248,244,.86) 76%,rgba(213,241,238,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 17px rgba(25,107,122,.07)
}
.cart-intro__mascot{position:relative;z-index:1;width:91px;height:91px;object-fit:contain;filter:drop-shadow(0 3px 5px rgba(17,75,91,.12))}
.cart-intro__message{position:relative;z-index:1;min-width:0;display:grid;gap:6px}
.cart-intro__message span{color:#118986;font-size:.46rem;font-weight:900;letter-spacing:.12em;line-height:1.45}
.cart-intro__message strong{max-width:180px;color:#254e5d;font-size:.76rem;line-height:1.35}
.cart-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.8fr);align-items:start;gap:22px;margin-top:22px}
body.cart-page .cart-products,body.cart-page .cart-summary{
  color:#1c4353!important;background:rgba(255,255,255,.79)!important;
  border:1px solid rgba(28,123,140,.19)!important;border-radius:24px!important;
  box-shadow:0 18px 48px rgba(22,73,83,.09),inset 0 1px 0 rgba(255,255,255,.78)!important;
  backdrop-filter:blur(8px) saturate(118%)!important
}
body.cart-page .cart-products{padding:clamp(18px,2.8vw,28px)!important}
.cart-products__heading{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:0 0 19px;border-bottom:1px solid rgba(32,105,120,.13)
}
.cart-products__heading-copy strong{display:block;margin-top:7px;color:#173d4f;font-family:"Sora",sans-serif;font-size:1.35rem;letter-spacing:-.035em}
.cart-products__heading-copy p{margin:5px 0 0;color:#71858a;font-size:.69rem;line-height:1.45}
.cart-products__actions{display:flex;align-items:center;gap:12px}
.cart-products__count{display:flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid rgba(22,143,153,.18);border-radius:999px;background:rgba(237,249,246,.76);color:#4b6d75;font-size:.62rem;font-weight:750;white-space:nowrap}
.cart-products__count b{color:#138c8c;font-size:.82rem}
.cart-products__heading button{
  min-height:36px;padding:0 12px;border:1px solid rgba(197,126,122,.24);border-radius:10px;
  background:rgba(255,249,248,.66);color:#a65350;font-size:.61rem;font-weight:800;cursor:pointer;
  transition:background .18s ease,border-color .18s ease,transform .18s ease
}
.cart-products__heading button:hover{background:#fff3f1;border-color:rgba(197,126,122,.42);transform:translateY(-1px)}
.cart-empty{
  display:grid;justify-items:center;align-content:center;min-height:330px;padding:38px 20px;
  text-align:center;border-radius:18px;background:rgba(248,252,250,.58)
}
.cart-empty__icon{
  width:68px;height:68px;display:grid;place-items:center;color:#168ca0;
  border:1px solid rgba(22,143,160,.20);border-radius:22px;
  background:radial-gradient(circle at 30% 20%,rgba(20,143,207,.14),transparent 58%),linear-gradient(145deg,rgba(255,255,255,.82),rgba(231,248,242,.72));
  box-shadow:0 12px 25px rgba(25,107,122,.08)
}
.cart-empty__icon svg{width:40px;height:40px}
.cart-empty__eyebrow{margin-top:17px;color:#168b88;font-size:.5rem;font-weight:900;letter-spacing:.15em}
.cart-empty>strong{margin-top:7px;color:#183f50;font-family:"Sora",sans-serif;font-size:1.13rem;letter-spacing:-.025em}
.cart-empty>p{max-width:315px;margin:8px 0 0;color:#6a8088;font-size:.72rem;line-height:1.55}
.cart-empty__cta{
  min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  margin-top:19px;padding:0 18px;border:1px solid rgba(17,145,157,.12);border-radius:13px;
  background:linear-gradient(105deg,#148ed0 0%,#12b5b8 56%,#31b877 100%);
  color:#fff;font-size:.72rem;font-weight:850;text-decoration:none;
  box-shadow:0 10px 24px rgba(18,153,156,.18);transition:transform .18s ease,box-shadow .18s ease
}
.cart-empty__cta svg{width:17px;height:17px}
.cart-empty__cta:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(18,153,156,.24)}
.cart-empty__search{margin-top:11px;color:#168b8a;font-size:.65rem;font-weight:800;text-decoration:none}
.cart-empty__search:hover{text-decoration:underline}
.cart-items{display:grid;gap:12px;padding-top:16px}
.cart-item{
  display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:14px;
  padding:13px;border:1px solid rgba(24,125,142,.15);border-radius:18px;
  color:#214756;background:rgba(255,255,255,.72);
  box-shadow:0 8px 24px rgba(24,77,89,.045);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease
}
.cart-item:hover{border-color:rgba(23,150,158,.30);box-shadow:0 12px 28px rgba(24,77,89,.075);transform:translateY(-1px)}
.cart-item__image{
  width:92px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;
  border:1px solid rgba(32,110,125,.10);border-radius:14px;
  background:linear-gradient(145deg,#fff,#f1f8f7);box-shadow:inset 0 1px 0 #fff
}
.cart-item__image img{width:100%;height:100%;object-fit:contain;padding:5px}
.cart-item__body{min-width:0;display:grid;align-content:center}
.cart-item__eyebrow{margin-bottom:5px;color:#168b88;font-size:.45rem;font-weight:900;letter-spacing:.12em}
.cart-item__body h2{margin:0;color:#173f50;font-family:"Sora",sans-serif;font-size:.82rem;font-weight:750;line-height:1.38;letter-spacing:-.015em}
.cart-item__body p{margin:5px 0 0;color:#71868b;font-size:.62rem;line-height:1.45}
.cart-item__unit{display:flex;align-items:baseline;gap:5px!important;color:#708488!important;font-size:.56rem!important}
.cart-item__unit strong{color:#315e67;font-size:.61rem;font-weight:800}
.cart-item__availability{display:inline-flex;width:fit-content;margin-top:7px!important;padding:5px 8px;border:1px solid rgba(192,131,58,.24);border-radius:8px;background:rgba(255,248,231,.72);color:#946e32!important;font-size:.51rem!important;font-weight:750}
.cart-item__controls{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:11px}
.cart-item__amount{display:grid;justify-items:end;gap:3px}
.cart-item__amount small{color:#809496;font-size:.44rem;font-weight:850;letter-spacing:.13em}
.cart-item__price{display:block;margin:0;color:#138b7b;font-family:"Sora",sans-serif;font-size:.95rem;font-weight:850;letter-spacing:-.025em}
.cart-qty{display:flex;align-items:center;overflow:hidden;padding:3px;border:1px solid rgba(20,142,153,.20);border-radius:12px;background:rgba(241,250,247,.88)}
.cart-qty button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#167e88;font-size:1rem;font-weight:850;cursor:pointer;transition:background .16s ease,transform .16s ease}
.cart-qty button:hover{background:rgba(32,171,164,.12)}
.cart-qty button:active{transform:scale(.93)}
.cart-qty span{min-width:31px;text-align:center;color:#244d59;font-size:.7rem;font-weight:850}
.cart-remove{min-height:32px;padding:0 7px;border:1px solid transparent;border-radius:9px;background:transparent;color:#8b6c68;font-size:.56rem;font-weight:750;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.cart-remove>span{margin-right:3px;color:#ab7770;font-size:.9rem;line-height:1}
.cart-remove:hover{color:#a74742;background:rgba(255,243,240,.86);border-color:rgba(197,126,122,.20)}
body.cart-page .cart-summary{position:sticky;top:96px;padding:22px!important}
.cart-summary__top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.cart-summary__top>div>span{font-size:.51rem}
body.cart-page .cart-summary h2{margin:6px 0 0;color:#173e50;font-family:"Sora",sans-serif;font-size:1.35rem;font-weight:760;letter-spacing:-.035em}
.cart-summary__signal{display:inline-flex;align-items:center;gap:6px;margin-top:3px;padding:7px 9px;border:1px solid rgba(18,148,126,.16);border-radius:999px;background:rgba(236,249,242,.78);color:#33836a;font-size:.44rem;font-weight:850;letter-spacing:.08em}
.cart-summary__signal i{width:6px;height:6px;border-radius:50%;background:#31b877;box-shadow:0 0 9px rgba(49,184,119,.42)}
.cart-minimum{
  margin:18px 0 15px!important;padding:14px!important;
  border:1px solid rgba(31,135,144,.17)!important;border-radius:16px!important;
  background:linear-gradient(135deg,rgba(237,249,247,.77),rgba(243,250,244,.62))!important;
  color:#486972!important;transition:border-color .2s ease,background .2s ease
}
.cart-minimum.is-ready{border-color:rgba(42,157,109,.30)!important;background:linear-gradient(135deg,rgba(231,248,237,.88),rgba(242,250,243,.72))!important;color:#267b59!important}
.cart-minimum.is-in-progress{border-color:rgba(20,149,176,.24)!important}
.cart-progress__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cart-progress__head>div{display:grid;gap:5px}
.cart-progress__head>div>span{color:#148984;font-size:.48rem;font-weight:900;letter-spacing:.13em}
.cart-progress__head strong{color:#244f5a;font-size:.64rem;font-weight:800;line-height:1.4}
.cart-minimum.is-ready .cart-progress__head strong{color:#247550}
.cart-progress__head>b{flex:0 0 auto;color:#11888a;font-family:"Sora",sans-serif;font-size:.73rem;font-weight:850}
.cart-progress__track{height:7px;overflow:hidden;margin-top:12px;border-radius:999px;background:rgba(29,111,123,.10)}
.cart-progress__track span{width:0;height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#168ed0,#12b5b8 56%,#31b877);box-shadow:0 0 12px rgba(29,170,155,.18);transition:width .35s ease}
.cart-minimum>p{margin:9px 0 0;color:#71888a;font-size:.55rem;line-height:1.45}
.cart-minimum.is-ready>p{color:#57826b}
.cart-summary__rows{padding:1px 0 10px}
.cart-summary__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid rgba(34,103,117,.11)}
.cart-summary__row small{color:#71838a;font-size:.67rem}
.cart-summary__row strong{color:#285061;font-size:.74rem;font-weight:800}
.cart-summary__total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0 8px}
.cart-summary__total small{color:#526f79;font-size:.7rem;font-weight:750}
.cart-summary__total strong{color:#143c50!important;font-family:"Sora",sans-serif;font-size:1.55rem;font-weight:850;letter-spacing:-.045em}
.cart-primary,.cart-secondary{
  width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:9px;
  border-radius:14px;font-family:"IBM Plex Sans",sans-serif;font-size:.71rem;font-weight:850;
  text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,opacity .18s ease
}
.cart-primary{
  border:0!important;color:#fff!important;background:linear-gradient(105deg,#148ed0 0%,#12b5b8 56%,#31b877 100%)!important;
  box-shadow:0 10px 24px rgba(18,153,156,.18)!important;cursor:pointer
}
.cart-primary svg{width:17px;height:17px}
.cart-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 28px rgba(18,153,156,.25)!important}
.cart-primary:disabled{cursor:not-allowed;opacity:.45;filter:saturate(.55)}
.cart-secondary{
  margin-top:10px;padding:0 12px;border:1px solid rgba(23,144,131,.20)!important;
  color:#24796d!important;background:rgba(239,249,245,.82)!important
}
.cart-secondary svg{width:19px;height:19px;flex:0 0 auto}
.cart-secondary:hover:not(.is-disabled){border-color:rgba(23,144,131,.36)!important;background:#f1fbf6!important;transform:translateY(-1px)}
.cart-secondary.is-disabled{pointer-events:none;opacity:.45;filter:saturate(.55);cursor:not-allowed}
.cart-primary.is-disabled{pointer-events:none;opacity:.45;filter:saturate(.55)}
.cart-note{margin:14px 2px 0;color:#75868a;font-size:.56rem;line-height:1.55}
.cart-count,.dock-cart-count{background:linear-gradient(120deg,#25b9c7,#42ca7c)!important;color:#fff!important}
.cart-summary__total strong{white-space:nowrap}
.cart-empty[hidden],.cart-clear[hidden]{display:none!important}
.cart-item__controls button:focus-visible,.cart-remove:focus-visible,.cart-primary:focus-visible,.cart-secondary:focus-visible,.cart-products__heading button:focus-visible,.cart-empty__cta:focus-visible,.cart-empty__search:focus-visible{
  outline:3px solid rgba(19,151,172,.25);outline-offset:3px
}
@media(min-width:760px){
  .cart-layout{grid-template-columns:minmax(0,1.55fr) minmax(310px,.8fr)}
  .cart-item{grid-template-columns:96px minmax(0,1fr) 145px;gap:15px;padding:14px}
  .cart-item__image{width:96px;grid-column:1;grid-row:1}
  .cart-item__body{grid-column:2;grid-row:1}
  .cart-item__body h2{font-size:.83rem}
  .cart-item__price{font-size:1.02rem}
  .cart-item__controls{grid-column:3;grid-row:1;display:grid;justify-items:end;gap:10px;margin:0}
  .cart-qty button{width:30px;height:30px}
}
@media(max-width:759px){
  body.cart-page .cart-screen{width:min(100% - 24px,620px)!important;padding-top:18px!important;padding-bottom:110px!important}
  body.cart-page .cart-intro{min-height:0!important;padding:22px 19px!important;border-radius:23px!important}
  .cart-intro__copy>span{font-size:.48rem;letter-spacing:.12em}
  body.cart-page .cart-intro{flex-direction:column!important;align-items:stretch!important;gap:12px!important}
  .cart-intro__copy h1{margin-top:8px;font-size:clamp(2.15rem,11vw,3.25rem)}
  .cart-intro__copy p{margin-top:9px;font-size:.74rem;line-height:1.5}
  .cart-intro__visual{display:flex;flex:0 0 auto;min-height:0;padding:7px 10px;gap:10px;border-radius:16px}
  .cart-intro__mascot-wrap{width:52px;height:52px;flex-basis:52px;border-radius:17px}
  .cart-intro__mascot{width:64px;height:64px}
  .cart-intro__message{gap:3px}
  .cart-intro__message span{font-size:.4rem;letter-spacing:.1em}
  .cart-intro__message strong{max-width:none;font-size:.65rem}
  .cart-layout{grid-template-columns:1fr;gap:14px;margin-top:15px}
  body.cart-page .cart-products{padding:16px!important;border-radius:20px!important}
  .cart-products__heading{align-items:flex-start;padding-bottom:14px}
  .cart-products__heading-copy strong{font-size:1.15rem}
  .cart-products__heading-copy p{max-width:200px;font-size:.6rem}
  .cart-products__actions{display:grid;justify-items:end;gap:7px}
  .cart-products__count{padding:7px 9px;font-size:.55rem}
  .cart-products__heading button{min-height:32px;padding:0 8px;font-size:.53rem}
  .cart-empty{min-height:290px;padding:30px 14px}
  .cart-items{gap:10px;padding-top:13px}
  .cart-item{grid-template-columns:72px minmax(0,1fr);gap:11px;padding:11px;border-radius:16px}
  .cart-item__image{width:72px;border-radius:12px}
  .cart-item__body h2{font-size:.74rem;line-height:1.35}
  .cart-item__body p{font-size:.57rem}
  .cart-item__price{margin-top:8px;font-size:.92rem}
  .cart-item__controls{grid-column:1 / -1;grid-row:2;display:flex;align-items:center;margin:0;padding-top:11px;border-top:1px solid rgba(32,105,120,.10)}
  .cart-qty button{width:30px;height:30px}
  .cart-remove{min-height:32px;padding:0 7px;font-size:.55rem}
  body.cart-page .cart-summary{position:relative;top:auto;padding:18px!important;border-radius:20px!important}
  body.cart-page .cart-summary h2{font-size:1.2rem}
  .cart-minimum{margin:14px 0 10px!important;padding:12px!important}
  .cart-summary__total strong{font-size:1.4rem}
  .cart-primary,.cart-secondary{min-height:48px;font-size:.68rem}
}
@media(prefers-reduced-motion:reduce){
  .cart-item,.cart-item:hover,.cart-empty__cta,.cart-empty__cta:hover,.cart-qty button,.cart-primary,.cart-secondary{transition:none}
  .cart-item:hover,.cart-empty__cta:hover,.cart-primary:hover:not(:disabled){transform:none}
  .cart-progress__track span{transition:none}
}