.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1082;
    background: rgb(0 0 0 / 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.cart-drawer-overlay.open {
    opacity: 1;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1083;
    display: flex;
    flex-direction: column;
    width: min(390px, 100%);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    color: #0a2148;
    box-shadow: -10px 0 30px rgb(0 0 0 / 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow: hidden;
}
.cart-drawer.open {
    transform: translateX(0);
}
.cart-drawer-header {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid #e8ecf2;
    background: #fff;
}
.cart-drawer-icon {
    color: #0a2148;
    font-size: 1.12rem;
    line-height: 1;
}
.cart-drawer-title {
    margin: 0;
    color: #0a2148;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}
.cart-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    border: 1px solid #e8ecf2;
    border-radius: 999px;
    background: #fff;
    color: #0a2148;
    font-size: 1.05rem;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cart-drawer-close:hover,
.cart-drawer-close:focus-visible {
    border-color: #c9d3e0;
    background: #f6f8fb;
}
.cart-drawer-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
.cart-drawer-list {
    display: grid;
    padding: 8px 22px 0;
}
.cart-drawer-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f3f7;
}
.cart-drawer-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    background: #fafbfd;
    overflow: hidden;
}
.cart-drawer-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-drawer-item-info {
    min-width: 0;
    display: grid;
    gap: 6px;
}
.cart-drawer-item-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px;
    align-items: start;
}
.cart-drawer-item-title {
    display: -webkit-box;
    overflow: hidden;
    color: #0a2148;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cart-drawer-remove-form {
    margin: 0;
}
.cart-drawer-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #8a98aa;
    font-size: 0.9rem;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.cart-drawer-remove:hover,
.cart-drawer-remove:focus-visible {
    background: #f6f8fb;
    color: #0a2148;
}
.cart-drawer-item-variation {
    display: block;
    color: #8a98aa;
    font-size: 0.8rem;
    line-height: 1.2;
}
.quote-drawer-qty {
    margin: 0;
}
.quote-drawer-qty-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #617087;
    font-size: 0.8rem;
}
.quote-drawer-qty input[type='number'] {
    width: 64px;
    padding: 6px 8px;
    border: 1px solid #dce1e8;
    border-radius: 8px;
    color: #0a2148;
    font-size: 0.85rem;
    text-align: center;
}
.cart-drawer-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 48px 26px;
    text-align: center;
}
.cart-drawer-empty-icon {
    display: inline-flex;
    color: #0a2148;
    font-size: 3rem;
    line-height: 1;
}
.cart-drawer-empty strong {
    color: #0a2148;
    font-size: 0.98rem;
    font-weight: 600;
}
.cart-drawer-empty p {
    margin: 0 0 8px;
    color: #8a98aa;
    font-size: 0.86rem;
    line-height: 1.45;
}
.cart-drawer-footer {
    display: grid;
    gap: 10px;
    padding: 20px 22px 28px;
    border-top: 1px solid #e8ecf2;
    background: #fff;
}
.quote-drawer-note {
    margin: 0 0 4px;
    color: #8a98aa;
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
}
.cart-drawer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cart-drawer-button--primary {
    border: 0;
    background: #f5c400;
    color: #0a2148;
}
.cart-drawer-button--primary:hover,
.cart-drawer-button--primary:focus-visible {
    background: #ffd84a;
    color: #0a2148;
}
.cart-drawer-button--outline {
    border: 1px solid #dce1e8;
    background: #fff;
    color: #0a2148;
}
.cart-drawer-button--outline:hover,
.cart-drawer-button--outline:focus-visible {
    border-color: #0a2148;
    background: #f6f8fb;
    color: #0a2148;
}