.drawer-backdrop { position: fixed; inset: 0; z-index: 180; background: rgba(1,2,5,.7); backdrop-filter: blur(7px); }
.basket-drawer { position: fixed; inset: 0 0 0 auto; z-index: 200; display: flex; width: min(500px, 100%); flex-direction: column; border-left: 1px solid var(--line-bright); background: rgba(6,8,13,.98); box-shadow: -25px 0 80px rgba(0,0,0,.55); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.75,.2,1); }
.basket-drawer[aria-hidden="false"] { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 110px; border-bottom: 1px solid var(--line); padding: 24px 28px; }
.drawer-head h2 { margin: 5px 0 0; font-size: 1.55rem; }
.icon-button { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); cursor: pointer; }
.icon-button:hover { border-color: var(--line-bright); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px 28px; }
.drawer-footer { border-top: 1px solid var(--line); padding: 24px 28px 28px; background: rgba(10,13,20,.95); }
.cart-empty { display: flex; min-height: 480px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty > span { display: grid; width: 70px; height: 70px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); background: radial-gradient(circle, rgba(25,215,248,.1), transparent); }
.cart-empty > span .icon { width: 27px; height: 27px; }
.cart-empty h3 { margin: 23px 0 10px; font-size: 1rem; }
.cart-empty p { max-width: 290px; margin-bottom: 24px; color: var(--muted); line-height: 1.45; }
.cart-line { position: relative; display: grid; grid-template-columns: 95px 1fr auto; gap: 15px; border-bottom: 1px solid var(--line); padding: 20px 0; }
.cart-line > a { height: 125px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.cart-line img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info { min-width: 0; }
.cart-line > div > span { color: var(--cyan); font-size: .63rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cart-line h3 { margin: 5px 0 0; font-size: .82rem; line-height: 1.25; }
.cart-line-meta { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.cart-line-meta > strong { flex: 0 0 auto; font-family: var(--display); font-size: .74rem; line-height: 1; white-space: nowrap; }
.remove-line { align-self: start; padding: 3px; color: var(--muted); background: none; cursor: pointer; }
.remove-line:hover { color: var(--red); }
.remove-line .icon { width: 17px; }
.quantity-control { display: inline-flex; min-height: 25px; align-items: center; border: 1px solid rgba(35,181,224,.22); border-radius: 999px; padding: 3px 8px; color: #63dff3; background: rgba(25,215,248,.045); font-size: .62rem; font-weight: 800; line-height: 1; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.coupon-panel { margin-bottom: 22px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: linear-gradient(135deg, rgba(25,215,248,.045), rgba(129,80,255,.035)); }
.coupon-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.coupon-heading label { color: #dce5f1; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.coupon-heading button { padding: 0; color: var(--muted); background: transparent; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .2s ease; }
.coupon-heading button:hover { color: var(--red); }
.coupon-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.coupon-entry input { width: 100%; min-width: 0; height: 42px; border: 1px solid rgba(148,174,214,.17); border-radius: 9px; padding: 0 12px; outline: none; color: white; background: rgba(3,5,10,.65); font-family: var(--display); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; transition: border-color .2s ease, box-shadow .2s ease; }
.coupon-entry input::placeholder { color: #596274; font-family: var(--body); letter-spacing: .04em; text-transform: none; }
.coupon-entry input:focus { border-color: rgba(25,215,248,.48); box-shadow: 0 0 0 3px rgba(25,215,248,.07); }
.coupon-entry button { min-width: 78px; border: 1px solid rgba(25,215,248,.25); border-radius: 9px; padding: 0 13px; color: #dffbff; background: rgba(25,215,248,.09); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.coupon-entry button:hover { border-color: rgba(25,215,248,.55); background: rgba(25,215,248,.15); transform: translateY(-1px); }
.coupon-entry button:disabled, .coupon-entry input:disabled { cursor: wait; opacity: .62; }
.coupon-entry button:disabled:hover { border-color: rgba(25,215,248,.25); background: rgba(25,215,248,.09); transform: none; }
.coupon-status { display: flex; align-items: center; gap: 6px; margin-top: 9px; color: var(--muted); font-size: .68rem; font-weight: 600; line-height: 1.3; }
.coupon-status.is-saved { color: #8bd7c0; }
.coupon-status.is-error { color: #ff8ba0; }
.coupon-status .icon { width: 13px; height: 13px; color: var(--green); }
.coupon-status.is-error .icon { flex: 0 0 auto; color: var(--red); }
.coupon-spinner { width: 12px; height: 12px; flex: 0 0 auto; border: 1.5px solid rgba(25,215,248,.22); border-top-color: var(--cyan); border-radius: 50%; animation: spin .7s linear infinite; }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.cart-total span { color: var(--soft); font-weight: 700; }
.cart-total strong { font-family: var(--display); font-size: 1.15rem; }
.cart-total-prices { display: flex; align-items: baseline; justify-content: flex-end; gap: 9px; }
.cart-total-prices del { color: #697486; font-family: var(--body); font-size: .72rem; font-weight: 700; }
.cart-total-prices span { color: #ecfbff; font-family: var(--display); font-weight: 700; text-shadow: 0 0 18px rgba(25,215,248,.16); }
.drawer-footer > p { margin-bottom: 18px; color: var(--muted); font-size: .78rem; }
.checkout-proof { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; color: var(--muted); font-size: .72rem; }
.checkout-proof .icon { width: 14px; color: var(--green); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 300; display: flex; width: min(390px, calc(100% - 48px)); align-items: center; gap: 12px; border: 1px solid var(--line-bright); border-radius: 12px; padding: 15px 17px; color: white; background: rgba(10,14,22,.96); box-shadow: 0 20px 55px rgba(0,0,0,.5); backdrop-filter: blur(16px); animation: toast-in .3s ease; }
.toast[hidden] { display: none; }
.toast > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--cyan); background: rgba(25,215,248,.1); }
.toast[data-type="success"] > span { color: var(--green); background: rgba(83,230,170,.1); }
.toast[data-type="error"] { border-color: rgba(255,107,134,.35); }
.toast[data-type="error"] > span { color: var(--red); background: rgba(255,107,134,.1); }
.toast .icon { width: 15px; }
.toast p { margin: 0; font-size: .9rem; font-weight: 600; line-height: 1.35; }

