/* ═══════════════ CART DRAWER ═══════════════ */
.blt-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #7A7A7A3B;
    background: #fff;
    cursor: pointer;
    color: #003750;
    transition: border-color 0.15s;
    text-decoration: none;
}
.blt-cart-icon-wrap:hover { border-color: #00B4AA; }
.blt-cart-icon-wrap svg { width: 18px; height: 18px; }
.blt-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #00B4AA;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.blt-cart-count.is-zero { display: none; }

.blt-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 55, 80, 0.45);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.blt-cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.blt-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 400px;
    max-width: 92vw;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    font-family: 'Inter', sans-serif;
}
.blt-cart-drawer.is-open { transform: translateX(0); }

.blt-cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.blt-cart-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: #003750;
}
.blt-cart-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.blt-cart-drawer-close:hover { background: #f8fafb; }
.blt-cart-drawer-close svg { width: 18px; height: 18px; }

.blt-cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 24px;
}

.blt-cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 14px;
}

.blt-cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.blt-cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #f8fafb;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blt-cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.blt-cart-item-info { flex: 1; min-width: 0; }
.blt-cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #003750;
    line-height: 1.4;
    margin-bottom: 4px;
    display: block;
    text-decoration: none;
}
.blt-cart-item-price {
    font-size: 13px;
    font-weight: 700;
    color: #003750;
    margin-bottom: 8px;
}
.blt-cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blt-cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}
.blt-cart-qty button {
    width: 26px;
    height: 26px;
    border: none;
    background: #fff;
    color: #003750;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blt-cart-qty button:hover { background: #f8fafb; }
.blt-cart-qty span {
    min-width: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #003750;
}
.blt-cart-item-remove {
    background: none !important;
    border: none !important;
    color: #9ca3af !important;
    cursor: pointer;
    font-size: 11px;
    text-decoration: underline;
    padding: 0 !important;
    box-shadow: none !important;
}
.blt-cart-item-remove:hover {
    background: none !important;
    border: none !important;
    color: #dc2626 !important;
    box-shadow: none !important;
}

.blt-cart-drawer-footer {
    flex-shrink: 0;
    padding: 20px 24px 24px;
    border-top: 1px solid #e5e7eb;
}
.blt-cart-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.blt-cart-subtotal-label { font-size: 13px; color: #6b7280; }
.blt-cart-subtotal-value { font-size: 18px; font-weight: 700; color: #003750; }
.blt-cart-drawer-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.15s;
    box-sizing: border-box;
}
.blt-cart-drawer-btn--primary {
    background: #00B4AA !important;
    color: #fff !important;
    border: none !important;
    margin-bottom: 10px;
}
.blt-cart-drawer-btn--primary:hover { background: #008F86 !important; color: #fff !important; }
.blt-cart-drawer-btn--ghost {
    background: #fff;
    color: #003750;
    border: 1.5px solid #e5e7eb;
}
.blt-cart-drawer-btn--ghost:hover { border-color: #003750; }

.blt-cart-loading { opacity: 0.5; pointer-events: none; transition: opacity 0.15s; }

@media (max-width: 480px) {
    .blt-cart-drawer { width: 100vw; max-width: 100vw; }
}