/* Radiator Funnels - Modern Cart Drawer Styles (v2.0.0) */

.rf-mc-floating-btn {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rf-mc-accent, #0284c7);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
    cursor: pointer;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-mc-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rf-mc-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 99995;
}

.rf-mc-backdrop.open {
    display: block;
}

.rf-mc-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 390px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    transition: right 0.25s ease;
    display: flex;
    flex-direction: column;
}

.rf-mc-drawer.open {
    right: 0;
}

.rf-mc-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rf-mc-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rf-mc-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.rf-mc-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}

.rf-mc-shipping-bar {
    padding: 10px 20px;
    background: #f0f9ff;
    border-bottom: 1px solid #e0f2fe;
}

.rf-mc-shipping-text {
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 6px;
}

.rf-mc-shipping-text.rf-mc-unlocked {
    color: #15803d;
}

.rf-mc-progress-track {
    height: 6px;
    background: #bae6fd;
    border-radius: 3px;
    overflow: hidden;
}

.rf-mc-progress-fill {
    height: 100%;
    background: var(--rf-mc-accent, #0284c7);
    transition: width 0.3s ease;
}

.rf-mc-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.rf-mc-empty {
    text-align: center;
    padding: 50px 20px;
    color: #64748b;
    font-size: 14px;
}

.rf-mc-item {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.rf-mc-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.rf-mc-info {
    flex: 1;
}

.rf-mc-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.rf-mc-price {
    font-size: 13px;
    color: #475569;
    margin: 3px 0 6px;
}

.rf-mc-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rf-mc-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

.rf-mc-remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #dc2626;
    font-size: 12px;
    cursor: pointer;
}

.rf-mc-upsell-box {
    padding: 12px 20px;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
}

.rf-mc-upsell-heading {
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 6px;
}

.rf-mc-upsell-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.rf-mc-add-upsell-btn {
    background: #16a34a;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.rf-mc-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.rf-mc-coupon-row {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.rf-mc-coupon-input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.rf-mc-coupon-btn {
    background: #334155;
    color: #ffffff;
    border: none;
    padding: 0 14px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.rf-mc-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 12px;
}

.rf-mc-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: var(--rf-mc-accent, #0284c7);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 800;
    box-sizing: border-box;
}
