.cart-header-button { position: relative; display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 7px; border: 0; background: transparent; color: #262a35; cursor: pointer; }
.cart-header-button svg, .cart-head svg, .cart-remove svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -2px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid white; border-radius: 12px; background: #7660ce; color: white; font: 700 10px/15px Manrope; }
.card-actions { display: grid; grid-template-columns: 1fr 44px; gap: 4px; margin-top: auto; }
.card-actions .order-button { width: 100%; height: 44px; border-radius: 0; background: #cba354; color: white; }
.quick-cart { position: static; width: 44px; height: 44px; display: grid; place-items: center; padding: 10px; border: 0; border-radius: 0; background: #cba354; color: white; cursor: pointer; transition: background .18s, transform .18s; }
.quick-cart svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-actions .order-button:hover, .quick-cart:hover { background: #b58d41; transform: translateY(-1px); }
.cart-overlay { position: fixed; z-index: 98; inset: 0; background: #15172299; opacity: 0; transition: opacity .25s; }
.cart-overlay.open { opacity: 1; }
.cart-drawer { position: fixed; z-index: 99; top: 0; right: 0; width: min(440px, 100vw); height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; background: white; box-shadow: -18px 0 50px #15172226; transform: translateX(105%); transition: transform .28s ease; }
.cart-drawer.open { transform: translateX(0); }
.cart-is-open { overflow: hidden; }
.cart-head { min-height: 86px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7e7eb; }
.cart-head > div { display: flex; align-items: center; gap: 13px; }
.cart-head > div > svg { width: 29px; height: 29px; color: #7660ce; }
.cart-head small { color: #7660ce; font-size: 9px; font-weight: 800; letter-spacing: 2px; }
.cart-head h2 { margin: 2px 0 0; font: 800 24px Manrope; }
.cart-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f2f5; font-size: 28px; line-height: 1; cursor: pointer; }
.cart-items { padding: 10px 20px; overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid #ececef; }
.cart-item > img { width: 92px; height: 92px; object-fit: contain; border-radius: 8px; background: #f6f6f7; }
.cart-item-info h3 { margin: 0 0 4px; font: 700 14px Manrope; }
.cart-item-info p { margin: 0 0 7px; color: #737680; font-size: 12px; }
.cart-item-info strong { font-size: 14px; }
.cart-item-actions { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; }
.cart-quantity { display: grid; grid-template-columns: 30px 35px 30px; align-items: center; overflow: hidden; border: 1px solid #dcdde2; border-radius: 6px; text-align: center; }
.cart-quantity button { height: 30px; border: 0; background: #f5f5f7; cursor: pointer; font-size: 18px; }
.cart-quantity span { font-size: 12px; font-weight: 700; }
.cart-remove { width: 31px; height: 31px; padding: 7px; border: 0; background: transparent; color: #b34a55; cursor: pointer; }
.cart-footer { padding: 20px 22px 24px; border-top: 1px solid #e7e7eb; background: white; }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cart-total span { color: #666a74; }
.cart-total strong { font: 800 23px Manrope; }
.cart-checkout { width: 100%; padding: 16px; border: 0; border-radius: 7px; background: #20ad61; color: white; font-weight: 800; cursor: pointer; }
.cart-checkout:disabled { background: #bbbcc2; cursor: not-allowed; }
.cart-footer > small { display: block; margin-top: 9px; color: #777b84; text-align: center; }
.cart-empty { min-height: 50vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: #777b84; }
.cart-empty a { padding: 11px 17px; border-radius: 6px; background: #7660ce; color: white; font-weight: 700; font-size: 12px; }
@media (max-width: 900px) { .header { gap: 15px; } .cart-header-button { margin-left: auto; } .menu + .main-nav + .header-search + .cart-header-button, .header-search + .cart-header-button { margin-left: 0; } }
@media (max-width: 480px) { .cart-drawer { width: 100vw; } .cart-item { grid-template-columns: 78px 1fr; } .cart-item > img { width: 78px; height: 78px; } }
