/* farial.uz — корзина */
.cart-btn{position:relative;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#fff;transition:.25s}
.cart-btn:hover{background:rgba(255,255,255,.16)}
.cart-btn svg,.fab-cart svg{width:21px;height:21px;fill:currentColor}
.cart-n{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--mint);color:var(--ink);font-size:11px;font-weight:800;display:grid;place-items:center;transform:scale(0);transition:.3s cubic-bezier(.3,1.6,.5,1)}
.cart-n.on{transform:scale(1)}
.bump{animation:cbump .5s cubic-bezier(.3,1.6,.5,1)}@keyframes cbump{40%{transform:scale(1.22)}}
.fab-cart{position:relative;width:58px;height:58px;border-radius:50%;background:var(--ink);color:#fff;display:none;place-items:center;box-shadow:0 14px 30px -10px rgba(0,0,0,.5)}
.fab-cart.on{display:grid}
@media (min-width:721px){.fab-cart.on{display:none}}
.cart-fly{position:fixed;z-index:120;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff,var(--mint) 45%,var(--green));box-shadow:0 0 18px var(--mint);pointer-events:none}
.cart{position:fixed;inset:0;z-index:90;background:rgba(5,12,13,.55);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:.35s}
.cart.open{opacity:1;visibility:visible}
.cart-lock body{overflow:hidden}
.cart-panel{position:absolute;top:0;right:0;bottom:0;width:min(460px,100%);background:#fff;display:flex;flex-direction:column;border-radius:28px 0 0 28px;transform:translateX(100%);transition:.45s cubic-bezier(.2,.8,.2,1);box-shadow:-30px 0 60px -30px rgba(0,0,0,.5)}
.cart.open .cart-panel{transform:none}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 14px}
.cart-head h3{font-size:26px}
.cart-x{font-size:30px;line-height:1;width:40px;height:40px;border-radius:50%;background:var(--light)}
.cart-body{flex:1;overflow:auto;padding:4px 26px 16px}
.cart-foot{padding:16px 26px 24px;border-top:1px solid rgba(15,28,29,.08);display:grid;gap:12px}
.cart-foot .btn{width:100%}
.ci{display:grid;grid-template-columns:72px 1fr auto;gap:14px;padding:14px;margin-bottom:10px;border-radius:18px;background:var(--light);transition:.25s}
.ci.out{opacity:0;transform:translateX(30px)}
.ci img{width:72px;height:72px;object-fit:contain;background:#fff;border-radius:14px}
.ci h4{font-size:15px;font-family:var(--fh)}
.ci-meta{font-size:12px;color:var(--muted);margin:2px 0 8px}
.ci-row{display:flex;align-items:center;gap:10px}
.ci-m{font-size:12px;color:var(--muted)}
.ci-right{display:grid;align-content:space-between;justify-items:end}
.ci-right b{font-family:var(--fh);font-size:15px;white-space:nowrap}
.ci-del{font-size:12px;color:var(--muted);text-decoration:underline}
.stepper{display:flex;align-items:center;background:#fff;border-radius:999px;border:1.5px solid rgba(15,28,29,.12)}
.stepper button{width:30px;height:30px;font-size:18px;font-weight:700;color:var(--green)}
.stepper input{width:36px;text-align:center;border:0;font:inherit;font-weight:800;outline:none;background:none}
.cart-note{font-size:12px;color:var(--muted);margin-top:8px}
.cart-sum{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;font-size:14px}
.cart-sum div{display:flex;justify-content:space-between}.cart-sum span{color:var(--muted)}
.cart-sum .cs-total{grid-column:1/-1;align-items:baseline;padding-top:6px}
.cs-total b{font-family:var(--fh);font-size:24px;color:var(--green)}
.cart-empty,.cart-done{text-align:center;padding:50px 10px;display:grid;justify-items:center;gap:10px;color:var(--muted)}
.cart-empty svg{width:64px;height:64px;fill:rgba(15,28,29,.15)}
.cart-empty h4,.cart-done h4{font-size:22px;color:var(--ink);font-family:var(--fh)}
.cd-ok{width:76px;height:76px;border-radius:50%;background:var(--green);display:grid;place-items:center;animation:cbump .6s}
.cd-ok svg{width:40px;fill:#fff}
.cart-done .big-phone{font-family:var(--fh);font-weight:700;font-size:22px;color:var(--ink)}
.cart-form{display:grid;gap:12px}
.cart-form label{display:grid;gap:6px;font-weight:700;font-size:13px;color:var(--muted)}
.cart-form input:not([type=radio]),.cart-form textarea{font:inherit;font-size:16px;font-weight:600;color:var(--ink);padding:13px 15px;border-radius:14px;border:1.5px solid rgba(15,28,29,.14);outline:none;resize:vertical}
.cart-form input:focus,.cart-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 4px rgba(0,123,117,.12)}
.cart-form .err{border-color:#e0454b!important}
.cart-form fieldset{border:0;display:grid;gap:8px}.cart-form legend{font-weight:700;font-size:13px;color:var(--muted);margin-bottom:6px}
.cart-form .opt{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:14px;border:1.5px solid rgba(15,28,29,.12);cursor:pointer;color:var(--ink)}
.cart-form .opt:has(input:checked){border-color:var(--green);background:rgba(0,123,117,.05)}
.cart-form .opt input{accent-color:var(--green);margin-top:3px}
.cart-form .opt small{display:block;font-weight:500;color:var(--muted)}
.cart-form .hide{display:none}
.cart-back{justify-self:start;font-size:13px;font-weight:700;color:var(--green)}
.cart-err{color:#e0454b;font-size:13px;font-weight:600;min-height:1em}
.cart-toast{position:fixed;left:50%;bottom:24px;z-index:95;display:flex;align-items:center;gap:12px;background:var(--ink);color:#fff;padding:12px 14px 12px 16px;border-radius:18px;box-shadow:0 20px 50px -15px rgba(0,0,0,.6);transform:translate(-50%,140%);transition:.45s cubic-bezier(.2,.8,.2,1);max-width:calc(100% - 32px)}
.cart-toast.on{transform:translate(-50%,0)}
.cart-toast svg{width:24px;height:24px;fill:var(--mint);flex:none}
.cart-toast span{display:grid;font-size:13px;color:rgba(255,255,255,.75)}.cart-toast b{color:#fff;font-size:14px}
.cart-toast button{background:var(--green);color:#fff;font-weight:700;font-size:13px;padding:9px 14px;border-radius:999px;white-space:nowrap}
.add-btn.added{background:var(--ink)}
@media (max-width:720px){.cart-panel{border-radius:0}.cart-btn{width:38px;height:38px}.ci{grid-template-columns:56px 1fr;}.ci img{width:56px;height:56px}.ci-right{grid-column:2;grid-auto-flow:column;justify-content:space-between;align-items:center}}
@media (max-width:720px){.cart-toast{left:12px;right:12px;bottom:auto;top:74px;transform:translateY(-160%);max-width:none}.cart-toast.on{transform:none}.cart-toast span{flex:1}}
.cart-toast{opacity:0;visibility:hidden;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s,visibility 0s .45s}
.cart-toast.on{opacity:1;visibility:visible;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s}
.cart.open~.cart-toast{opacity:0;visibility:hidden}
