/* Side cart + CFW notice styles (MVB Enhancements, includes/mvb-cart.php > mvb_cart_inline_styles()). Printed into every page's <head> until Nov 24, 2026 (BF row 39); now a cached file. No PHP in here. */
/* ══ CFW checkout notice alerts — slim & no view-cart button ══ */
#cfw-alert-container .cfw-alert {
    padding: 7px 12px !important;
    margin-bottom: 6px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}
#cfw-alert-container .cfw-alert .message {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}
#cfw-alert-container .cfw-alert .message p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}
#cfw-alert-container .cfw-alert a.button,
#cfw-alert-container .cfw-alert .wc-forward {
    display: none !important;
}
/* ═=====================================═ MVB Custom Cart ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

.mvb-cart-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.45); z-index: 99998;
}
.mvb-cart-overlay.active { display: block; }

/* top + bottom, not height: 100vh. On iPhone Safari 100vh is taller than the visible screen,
   so the checkout button sat under the browser toolbar. The drawer scrolls only when even the
   header and footer don't fit (landscape, large text), so checkout is always reachable. */
.mvb-cart-drawer {
    position: fixed; top: 0; bottom: 0; right: -100%;
    width: 100%; max-width: 420px;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.18);
    display: flex; flex-direction: column;
    z-index: 99999; transition: right 0.3s ease;
    overflow-x: hidden; overflow-y: auto;
}
.mvb-cart-drawer.open { right: 0; }

.mvb-cart-drawer .cart-header {
    flex-shrink: 0; padding: 14px 16px 12px;
    border-bottom: 1px solid #e5e7eb;
    display: flex; justify-content: space-between; align-items: center;
}
.mvb-cart-drawer .cart-header h2 { font-size: 17px; font-weight: 700; color: #111; margin:0; }
.mvb-cart-drawer .cart-close {
width: 36px;
height: 36px;
padding: 0;
border: 0;
border-radius: 50%;
background: #c2620c;
color: #ffffff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
line-height: 1;
font-weight: 700;
flex-shrink: 0;
transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mvb-cart-drawer .cart-close:hover {
background: #e5e7eb;
color: #111827;
}

.mvb-cart-drawer .cart-close:active {
transform: scale(0.94);
}

.mvb-cart-drawer .cart-close:focus-visible {
outline: 2px solid #111827;
outline-offset: 2px;
}
.mvb-cart-drawer .cart-progress {
    padding: 10px 14px 8px; border-bottom: 1px solid #f3f4f6; background: #fff; flex-shrink: 0;
    cursor: default;
}
.mvb-cart-drawer .cart-progress-msg {
    font-size: 11px; color: #374151; text-align: left; margin-bottom: 8px; line-height: 1.4;
}
.mvb-cart-drawer .cart-progress-msg strong { color: #111; }
/* Cart C: one bold line, sized to the drawer width by fitCartC() */
.mvb-cart-drawer .cart-progress--c .cart-progress-msg { overflow: hidden; }
.mvb-cart-drawer .cart-progress-headline {
    display: inline-block; width: max-content; white-space: nowrap;
    font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: #111;
}
.mvb-cart-drawer .cart-progress-headline.is-max { font-size: 16px; }
.mvb-cart-drawer .cart-progress-bar-wrap {
    position: relative; height: 8px; background: #e5e7eb;
    border-radius: 999px; overflow: visible; margin-bottom: 18px;
}
.mvb-cart-drawer .cart-progress-bar-fill {
    height: 100%; border-radius: 999px; background: #22c55e; transition: width 0.4s ease;
}
.mvb-cart-drawer .cart-progress-milestones {
    position: absolute; top: 25px; left: 0; right: 0; height: 0;
    pointer-events: none;
}
/* width: the last trophy sits at the bar's end (left: 100%), where it had no room and shrank to 2px */
.mvb-cart-drawer .trophy-milestone {
    position: absolute;
    width: max-content;
    white-space: nowrap;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    font-size: 14px;
    line-height: 1;
    transition: filter 0.3s, opacity 0.3s;
}
.mvb-cart-drawer .trophy-milestone.locked {
    opacity: 0.35;
    filter: grayscale(1) brightness(1.1);
}
.mvb-cart-drawer .trophy-milestone.unlocked {
    opacity: 1;
    filter: none;
}

.mvb-cart-drawer .cart-body {
    flex: 1; overflow-y: scroll;
     /* Padding for fixed footer with order bump */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mvb-cart-drawer .cart-body::-webkit-scrollbar,
.mvb-cart-drawer .cart-body::-webkit-scrollbar-track,
.mvb-cart-drawer .cart-body::-webkit-scrollbar-thumb { display: none; width: 0; height: 0; }

.mvb-cart-drawer .mvb-cart-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 9px 14px;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}
.mvb-cart-drawer .mvb-cart-item-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.mvb-cart-drawer .mvb-cart-thumb-wrap {
    position: relative; width: 64px; height: 64px; flex-shrink: 0;
    border-radius: 8px; overflow: visible; background: #f3f4f6;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; border: 1px solid #e5e7eb;
}
.mvb-cart-drawer .mvb-cart-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
/* Flex like .mvb-cart-thumb-wrap so the img stays a flex item and sizes exactly as before. */
.mvb-cart-drawer .mvb-cart-thumb-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.mvb-cart-drawer .mvb-cart-remove,
.mvb-cart-drawer .mvb-cart-adding-x {
    position: absolute; top: -7px; right: -7px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #111; color: #fff; border: none;
    font-size: 10px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; z-index: 2;
}
.mvb-cart-drawer .mvb-cart-main { flex: 1; min-width: 0; }
.mvb-cart-drawer .mvb-cart-title {
    font-size: 13px; font-weight: 600; color: #111827; line-height: 1.3; margin-bottom: 1px;
    display: block; text-decoration: none;
}
.mvb-cart-drawer a.mvb-cart-title:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .mvb-cart-drawer .mvb-cart-title {
        font-size: 11px;
    }
}
.mvb-cart-drawer .mvb-cart-meta { font-size: 11px; color: #6b7280; margin-bottom: 4px; line-height: 1.3; }
.mvb-cart-drawer .mvb-cart-eligibility { 
    font-size: 12px; 
    color: #16a34a; 
    margin-top: 4px; 
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Single Product Page Savings Display */
.mvb-single-product-savings {
    margin: 8px 0;
    padding: 6px 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 6px;
}
.mvb-single-product-savings .mvb-savings-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}
.mvb-single-product-savings .mvb-savings-icon {
    font-size: 14px;
    color: #16a34a;
    font-weight: bold;
}
.mvb-single-product-savings .mvb-savings-text {
    font-size: 12px;
    color: #166534;
    font-weight: 600;
}
.mvb-single-product-savings .mvb-savings-amount {
    font-size: 13px;
    font-weight: 700;
    color: #15803d;
}
.mvb-single-product-savings .mvb-savings-qty {
    font-size: 11px;
    color: #16a34a;
    font-weight: 500;
    margin-left: 3px;
}
.mvb-single-product-savings .mvb-savings-breakdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #374151;
    margin-top: 2px;
}
.mvb-single-product-savings .mvb-original {
    text-decoration: line-through;
    color: #6b7280;
}
.mvb-single-product-savings .mvb-arrow {
    color: #16a34a;
    font-weight: bold;
}
.mvb-single-product-savings .mvb-discounted {
    font-weight: 700;
    color: #16a34a;
}

/* Discounted price styling on single product page */
.mvb-discounted-price {
    display: inline-block;
}
.mvb-discounted-price .woocommerce-Price-amount {
    color: #16a34a !important;
    font-weight: 700 !important;
    font-size: 1.2em;
}
.mvb-discounted-price del {
    color: #9ca3af !important;
    font-size: 0.85em;
    margin-left: 6px;
}

/* Dark mode support for single product savings */
@media (prefers-color-scheme: dark) {
    .mvb-single-product-savings {
        background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
        border-color: #22c55e;
    }
    .mvb-single-product-savings .mvb-savings-text {
        color: #86efac;
    }
    .mvb-single-product-savings .mvb-savings-amount {
        color: #4ade80;
    }
    .mvb-single-product-savings .mvb-savings-qty {
        color: #22c55e;
    }
    .mvb-single-product-savings .mvb-savings-breakdown {
        color: #d1d5db;
    }
    .mvb-single-product-savings .mvb-original {
        color: #9ca3af;
    }
    .mvb-single-product-savings .mvb-discounted {
        color: #4ade80;
    }
}
.mvb-cart-drawer .mvb-qty-row { display: flex; align-items: center; gap: 0; margin-top: 7px; }
.mvb-cart-drawer .qty-btn {
    width: 28px; height: 28px; border: 1px solid #d1d5db;
    background: #fff; cursor: pointer; font-size: 14px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    color: #374151; transition: background 0.15s;
}
.mvb-cart-drawer .qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f9fafb;
}
.mvb-cart-drawer .mvb-cart-stock-warning {
    display: none !important;
    margin-top: 8px;
    padding: 8px 10px;
    background: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: 6px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    animation: mvb-warning-fade-in 0.3s ease-in;
}
.mvb-cart-drawer .mvb-cart-stock-warning.visible {
    display: block !important;
}
@keyframes mvb-warning-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.mvb-cart-drawer .qty-btn:first-child { border-radius: 4px 0 0 4px; }
.mvb-cart-drawer .qty-btn:last-child  { border-radius: 0 4px 4px 0; }
.mvb-cart-drawer .qty-btn:hover { background: #f3f4f6; }
.mvb-cart-drawer .mvb-qty-spinner {
    width: 13px; height: 13px; margin-left: 7px;
    border: 2px solid #e5e7eb; border-top-color: #f59e0b;
    border-radius: 50%; animation: vault-spin 0.6s linear infinite;
    flex-shrink: 0;
}
.mvb-cart-drawer .qty-display {
    width: 36px; height: 28px;
    border-top: 1px solid #d1d5db; border-bottom: 1px solid #d1d5db;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; color: #111; background: #fff;
}
.mvb-cart-drawer .mvb-cart-price {
    font-size: 14px; font-weight: 600; color: #111827;
    white-space: nowrap; flex-shrink: 0; padding-top: 2px; text-align: right;
}
.mvb-cart-drawer .mvb-cart-price .price-orig {
    display: block; font-size: 13px; color: #9ca3af;
    text-decoration: line-through; font-weight: 400;
}
.mvb-cart-drawer .mvb-cart-price .price-discounted {
    display: block; font-size: 14px; color: #16a34a;
    font-weight: 700;
}
.mvb-cart-drawer .mvb-cart-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.mvb-cart-drawer .mvb-cart-price .price-orig .woocommerce-Price-amount { font-size: 13px; color: #9ca3af; }

/* Bundle Container */
.mvb-cart-drawer .mvb-bundle-container {
    background: #f1f5f9;
    border-radius: 8px;
    margin: 4px 0;
    overflow: hidden;
}
.mvb-cart-drawer .mvb-bundle-container .mvb-cart-item {
    border-bottom: 1px solid #e2e8f0;
}
.mvb-cart-drawer .mvb-bundle-container .mvb-cart-item:last-child {
    border-bottom: none;
}

/* BOGO/Tiered Reward Items Styling */
.mvb-cart-drawer .mvb-cart-reward-item {
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
}
.mvb-cart-drawer .mvb-cart-reward-item .mvb-cart-thumb-wrap {
    opacity: 0.85;
}
.mvb-cart-drawer .mvb-cart-reward-item .mvb-cart-title {
    color: #166534;
}
.mvb-cart-drawer .mvb-cart-reward-label {
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
    margin-top: 4px;
    font-style: italic;
}
.mvb-cart-drawer .mvb-cart-free-price {
    color: #16a34a !important;
    font-weight: 700 !important;
}

/* Bundle Child Items Styling */
.mvb-cart-drawer .mvb-bundle-child-item .mvb-cart-price {
    font-style: italic;
}

.mvb-cart-drawer .cart-subtotal { padding: 12px 14px 4px; }
.mvb-cart-drawer .subtotal-row { display: flex; justify-content: space-between; margin-bottom: 3px; }
.mvb-cart-drawer .subtotal-label  { font-size: 15px; font-weight: 700; color: #111; }
.mvb-cart-drawer .subtotal-amount { font-size: 15px; font-weight: 700; color: #111; }
.mvb-cart-drawer .subtotal-amount .woocommerce-Price-amount { font-size: 15px; font-weight: 700; color: #111; }
.mvb-cart-drawer .subtotal-micro  { font-size: 13px; color: #000000ff; margin-bottom: 10px; line-height: 1.4; }

.mvb-cart-drawer .vault-topline {
    background: #fffdf5; border: 1px solid #facc15;
    border-radius: 4px; padding: 8px 10px; margin: 0 0 12px;
}
.mvb-cart-drawer .vault-topline-text {
    display: block; font-size: 12px; font-weight: 700; color: #92400e; margin-bottom: 1px;
}
.mvb-cart-drawer .vault-topline-desc { font-size: 11px; font-weight: 700; color: #78350f; margin-bottom: 3px; }
.mvb-cart-drawer .vault-topline-sub {
    display: flex; align-items: center; gap: 6px; font-size: 11px; color: #4b5563;
}
.mvb-cart-drawer .mvb-vault-link {
    font-size: 11px; color: #2563eb; font-weight: 700;
    text-decoration: underline; cursor: pointer; white-space: nowrap;
}
.mvb-cart-drawer .vault-topline-note { color: #6b7280; font-size: 11px; white-space: nowrap; }

.mvb-cart-drawer .vault-detail-panel {
    background: #fff;
}

/* ── vault-block (new design) ── */
.mvb-cart-drawer .vault-block {
    background: #fffdf5;
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
    padding: 10px 14px 10px;
}
.mvb-cart-drawer .vault-block-header {
    margin-bottom: 10px;
}
.mvb-cart-drawer .vault-block-title {
    font-size: 14px; font-weight: 700; color: #92400e;
    margin-bottom: 4px;
}
.mvb-cart-drawer .vault-block-desc {
    font-size: 11px; color: #78350f; line-height: 1.35;
    margin-bottom: 8px;
}
.mvb-cart-drawer .vault-status {
    font-size: 12px; line-height: 1.35;
    margin-bottom: 8px;
}
.mvb-cart-drawer .vault-status strong { font-weight: 700; }
.mvb-cart-drawer .vault-status .unlocked-text { color: #15803d; font-weight: 700; }
.mvb-cart-drawer .vault-status .nudge-text { color: #92400e; font-weight: 600; }
.mvb-cart-drawer .vault-status .empty-text { color: #6b7280; }
.mvb-cart-drawer .vault-auto-added {
    font-size: 11px; color: #065f46; font-weight: 600;
    background: #ecfdf5; border: 1px solid #a7f3d0;
    border-radius: 4px; padding: 4px 8px;
    margin-top: 4px; margin-bottom: 4px;
    line-height: 1.35;
}
.mvb-cart-drawer .vault-block-sub {
    font-size: 11px; color: #78350f; line-height: 1.35;
    margin-bottom: 8px;
}

/* ── vault toggle pills (horizontal) ── */
.mvb-cart-drawer .vault-toggle {
    display: flex; gap: 0; margin-bottom: 8px;
    border: 1.5px solid #d1d5db; border-radius: 6px;
    overflow: hidden;
}
.mvb-cart-drawer .vault-toggle-btn {
    flex: 1; padding: 8px 10px;
    font-size: 20px; font-weight: 600;
    text-align: center; cursor: pointer;
    background: #fff; color: #6b7280;
    border: none; font-family: inherit;
    transition: background 0.15s, color 0.15s;
    line-height: 1.3;
}
.mvb-cart-drawer .vault-toggle-btn + .vault-toggle-btn {
    border-left: 1.5px solid #d1d5db;
}
.mvb-cart-drawer .vault-toggle-btn.active,
.mvb-cart-drawer .vault-toggle-btn.is-selected {
    background: #fef3c7; color: #92400e;
}
.mvb-cart-drawer .vault-toggle-btn.active::before,
.mvb-cart-drawer .vault-toggle-btn.is-selected::before {
    content: "\2713\a0"; color: #f59e0b; font-weight: 700;
}
.mvb-cart-drawer .vault-toggle-btn.mvb-btn-loading { opacity: 0.6; pointer-events: none; }
.mvb-cart-drawer .mvb-choice-confirm { font-size: 11px; color: #10b981; font-weight: 600; margin-bottom: 6px; }

/* ── Loading overlay for vault tiers ───────────────── */
.mvb-cart-drawer .vault-detail-panel.vault-loading {
    position: relative;
    pointer-events: none;
    user-select: none;
}

.mvb-cart-drawer .vault-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
}

.mvb-cart-drawer .vault-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f4f6;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: vault-spin 0.8s linear infinite;
}

@keyframes vault-spin {
    to { transform: rotate(360deg); }
}

/* ── Cart item loading overlay ── */
.mvb-cart-drawer .mvb-item-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
}

.mvb-cart-drawer .mvb-item-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f4f6;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: vault-spin 0.8s linear infinite;
}

/* ── per-tier sections ── */
/* Unlocked tier with light background for better contrast */
.mvb-cart-drawer .vault-tier {
    background: #fefce8; /* Light yellow background for unlocked tiers */
    padding: 8px 10px;
    border-radius: 6px;
    position: relative; /* For icon positioning */
}
.mvb-cart-drawer .vault-tier:not(:last-child) {
    margin-bottom: 10px;
}
.mvb-cart-drawer .vault-tier:last-child {
    margin-bottom: 0;
}
.mvb-cart-drawer .vault-tier-head {
    font-size: 13px; font-weight: 600; color: #111827;
    line-height: 1.4; margin-bottom: 2px;
}

.mvb-cart-drawer .vault-tier-value {
    font-weight: 700;
    color: #6b7280;
}

.mvb-cart-drawer .vault-tier-head.reached .vault-tier-value {
    color: #16a34a;
}

.mvb-cart-drawer .vault-tier-head.locked .vault-tier-value {
    color: #6b7280;
}

.mvb-cart-drawer .vault-tier-head.reached { color: #15803d; }
.mvb-cart-drawer .vault-tier-head.reached::before { content: '✓ '; }
.mvb-cart-drawer .vault-tier-head.locked { color: #6b7280; }

/* Tier status icons (lock/unlock) in top right corner */
.mvb-cart-drawer .vault-tier-icon {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mvb-cart-drawer .vault-tier-icon svg {
    width: 16px;
    height: 16px;
}

/* Locked icon styling */
.mvb-cart-drawer .vault-tier-locked {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
}

.mvb-cart-drawer .vault-tier-locked svg {
    animation: lock-shake 2s ease-in-out infinite;
}

/* Closed side drawer (off-screen): the icons stop animating; they run again when it opens. /your-cart/ (#mvb-your-cart) is never "open" and stays animated. */
.mvb-cart-drawer:not(.open):not(#mvb-your-cart) .vault-tier-locked svg,
.mvb-cart-drawer:not(.open):not(#mvb-your-cart) .vault-tier:not(.locked-faded) .vault-tier-unlocked {
    animation-play-state: paused;
}

@keyframes lock-shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-5deg); }
    20%, 40% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
}

/* Unlocked icon styling */
.mvb-cart-drawer .vault-tier-unlocked {
    background: rgba(21, 128, 61, 0.15);
    color: #15803d;
}

.mvb-cart-drawer .vault-tier-unlocked svg {
    animation: unlock-bounce 0.6s ease-out;
}

@keyframes unlock-bounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    70% {
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Gentle pulse animation for unlocked tiers */
.mvb-cart-drawer .vault-tier:not(.locked-faded) .vault-tier-unlocked {
    animation: unlocked-pulse 3s ease-in-out infinite;
}

@keyframes unlocked-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(21, 128, 61, 0);
    }
}

/* Locked tier - normal visibility, just different styling */
.mvb-cart-drawer .vault-tier.locked-faded {
    opacity: 1;  /* Normal opacity - fully visible */
    background: #f3f4f6; /* Light gray background for locked tiers */
    pointer-events: none;
}
.mvb-cart-drawer .vault-tier.locked-faded .vault-tier-head { color: #4b5563; font-weight: 600; }
.mvb-cart-drawer .vault-tier.locked-faded .vault-tier-summary { color: #374151; }
.mvb-cart-drawer .vault-tier.locked-faded .vault-seed-row { color: #374151; }
.mvb-cart-drawer .vault-tier.locked-faded .vault-seed-strain { color: #374151; font-weight: 500; }
.mvb-cart-drawer .vault-tier.locked-faded .vault-seed-breeder { color: #6b7280; }

/* No overlay needed - using background colors instead */

/* Out-of-stock tier — still shown, just faded with a notice instead of seed rows. */
.mvb-cart-drawer .vault-tier--oos {
    opacity: .55;
    background: #f3f4f6;
}
.mvb-cart-drawer .vault-tier--oos .vault-tier-head { color: #4b5563; }
.mvb-cart-drawer .vault-oos-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #b45309;
    margin-top: 4px;
    padding: 6px 8px;
    background: #fef3c7;
    border-radius: 4px;
}
.mvb-cart-drawer .vault-oos-notice__icon {
    font-size: 13px;
}

/* Locked placeholder styling */
.mvb-cart-drawer .vault-tier-summary.locked-placeholder {
    font-style: italic;
    color: #6b7280;
}

/* Vault seed locked message */
.mvb-cart-drawer .vault-seed-locked {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
    padding: 4px 8px;
    background: #f9fafb;
    border-radius: 4px;
}
.mvb-cart-drawer .vault-seed-locked .lock-icon {
    font-size: 12px;
}

.mvb-cart-drawer .vault-tier-summary {
    font-size: 13px; color: #111827; margin-bottom: 4px; line-height: 1.4; font-weight: 700;
}
.mvb-cart-drawer .vault-seed-row {
    cursor: default;
    display: flex; justify-content: space-between;
    font-size: 13px; color: #1f2937; padding: 1px 0; line-height: 1.5;
}
.mvb-cart-drawer .vault-seed-strain { font-weight: 600; }
.mvb-cart-drawer .vault-seed-breeder { color: #6b7280; text-align: right; flex-shrink: 0; padding-left: 8px; font-weight: 500; }
.mvb-cart-drawer .vault-seed-row.is-active-variation .vault-seed-strain { color: #047857; font-weight: 700; }

.mvb-cart-drawer .cart-sticky-footer {
    flex-shrink: 0; background: #fff; border-top: 2px solid #e5e7eb; padding: 10px 10px 12px;
    position: sticky;
    bottom: 0;
    z-index: 100;
}
.mvb-cart-drawer .trust-line {
    font-size: 14px; color: #000000ff; text-align: center; margin-bottom: 8px; line-height: 1.4;
}
/* Cart C: the Customizer's "Additional CSS" fixes this footer at 100% width up to 768px, wider than the
   drawer (max 420px) on 421–768px screens, so the checkout button and bump ran off its edge. */
.mvb-cart-drawer .cart-sticky-footer--c { max-width: 420px; box-sizing: border-box; }
/* Cart C: 4G's item rows in the current cart's list, not 4G's full-height drawer root */
#mvb-cart-drawer .mvb4g.mvb-cart-c-items {
    display: block; height: auto; flex: none; min-height: 0; padding: 0 12px; background: transparent;
}
/* …a bit bigger than 4G's: between its size and the current cart's (54px image vs 42px / 64px) */
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-item { gap: 0 10px; padding: 8px 0; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-thumb { width: 54px; height: 54px; border-radius: 6px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-item-main { gap: 2px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-item-title { font-size: 16.5px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-item-sub { font-size: 14px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-item-side { gap: 5px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-price s { font-size: 13px; font-variant-numeric: tabular-nums; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-price span { font-size: 15.5px; font-variant-numeric: tabular-nums; }
/* The price after a crossed-out one, left-aligned in a slot as wide as the widest such price (fitCartC()): every
   crossed-out price ends at the same point and "Free" starts where "$80.00" does (client) */
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-price s + span { display: inline-block; text-align: left; }
/* No 4G loading line under a row that's saving: the spinning circle shows that (client) */
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-item.is-pending::after { content: none; }
/* + / trash boxes 28×28 and the number box 30×28: slim on every screen (client). The tap area stays 40×40
   (NEW-55): the ::after overlay grows 6px each side, left and right as well as top and bottom */
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-stepper .qty-btn { width: 28px; height: 28px; font-size: 16px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-stepper .qty-btn::after { left: -6px; right: -6px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-stepper:not(.is-fixed) .qty-display { height: 28px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-stepper .qty-btn svg { width: 12px; height: 12px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-stepper .qty-display { width: 30px; height: 28px; font-size: 14px; }
/* The current cart's spinning circle while a qty change saves (client), which 4G hides: shown whenever the
   current cart's JS shows it (its inline display:none gone), just left of the stepper */
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-stepper .mvb-qty-spinner:not([style*="none"]) {
    display: block !important; position: absolute; top: 50%; right: calc(100% + 7px); margin: -7px 0 0;
}
/* 4G stops every animation in its markup under "reduce motion"; the circle keeps spinning, as in the current cart */
@media (prefers-reduced-motion: reduce) {
    #mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-qty-spinner { animation-duration: 0.6s !important; animation-iteration-count: infinite !important; }
}
/* Shaded blocks, full drawer width, rows keeping the same sizes and edges as every other row: a bundle (or the
   bump) with its strains on one shade, and the free lines in one set per seed type, Photo (mint green) and
   Auto (lime green) told apart by their shade and edge lines */
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-group,
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-free { margin: 0 -12px; padding: 0 12px; }
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-group { background: #f3f5f8; border-top: 1px solid #e3e7ee; border-bottom: 1px solid #e3e7ee; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-c-group .mvb-cart-item { border-bottom-color: #e3e7ee; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-c-group .mvb-cart-item:last-child { border-bottom: 0; }
/* A small white gap before every shaded block, and after one */
#mvb-cart-drawer .mvb-cart-c-items > :is(.mvb-cart-c-group, .mvb-cart-c-free):not(:first-child),
#mvb-cart-drawer .mvb-cart-c-items > :is(.mvb-cart-c-group, .mvb-cart-c-free) + .mvb-cart-item { margin-top: 8px; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-reward-item { border-left: 0; background: transparent; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-c-free .mvb-cart-item:last-child { border-bottom: 0; }
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-free--photo { background: #f0fdf4; border-top: 1px solid #bbf7d0; border-bottom: 1px solid #bbf7d0; }
/* …with the current cart's bold green line down the left edge (client); the padding gives back its width so
   the rows stay aligned */
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-free--photo,
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-free--auto { border-left: 4px solid #22c55e; padding-left: 8px; }
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-free--auto { border-left-color: #84cc16; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-c-free--photo .mvb-cart-item { border-bottom-color: #dcfce7; }
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-free--auto { background: #f4fbe6; border-top: 1px solid #d3eca6; border-bottom: 1px solid #d3eca6; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-c-free--auto .mvb-cart-item { border-bottom-color: #e6f4cc; }
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-free--other { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-c-kids .mvb4g-price span { color: #15803d; }
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb-cart-c-kids .is-simple .mvb4g-item-main { align-self: center; }
/* The bundle's row folding away (trash): its strains go with it */
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-item.is-removing + .mvb-cart-c-kids,
#mvb-cart-drawer .mvb-cart-c-items .mvb-cart-c-group:has(> .mvb-cart-item.is-removing) { display: none; }
/* Fixed qty (free lines): as wide as a stepper, so the number sits under the stepper's own */
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-stepper.is-fixed { width: calc(28px * 2 + 30px + 2px); justify-content: center; }
/* …in a small box (client's sample), white with the stepper's grey border (no green tint, client) */
#mvb-cart-drawer .mvb4g.mvb-cart-c-items .mvb4g-stepper.is-fixed .qty-display {
    width: 30px; height: 28px; border: 1px solid #d1d5db; border-radius: 4px;
    background: #fff; color: #374151; font-weight: 600;
}
.mvb-cart-drawer .cart-checkout-btn {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 14px 18px;
    border-radius: 8px; background: #c2610a; color: #fff;
    font-size: 15px; font-weight: 700; border: none; cursor: pointer;
    transition: background 0.15s, transform 0.1s; font-family: inherit;
}
.mvb-cart-drawer .cart-checkout-btn:hover { background: #9a4d08; }
.mvb-cart-drawer .mvb-checkout-left {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
}
.mvb-cart-drawer .mvb-checkout-left svg { width: 17px; height: 17px; flex-shrink: 0; }
.mvb-cart-drawer .mvb-checkout-right {
    display: flex; align-items: center; gap: 7px;
}
.mvb-cart-drawer .mvb-checkout-original {
    text-decoration: line-through;
    font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,0.7);
}
.mvb-cart-drawer .mvb-checkout-discounted {
    font-size: 17px; font-weight: 800; color: #fff;
}
/* Cart C: a bigger button label and total */
.mvb-cart-drawer .cart-checkout-btn--c { padding: 16px 18px; }
.mvb-cart-drawer .cart-checkout-btn--c .mvb-checkout-left { font-size: 17px; }
.mvb-cart-drawer .cart-checkout-btn--c .mvb-checkout-right { font-size: 18px; font-weight: 800; }
.mvb-cart-drawer .cart-checkout-btn--c .mvb-checkout-original { font-size: 14px; }
.mvb-cart-drawer .cart-checkout-btn--c .mvb-checkout-discounted { font-size: 19px; }
.mvb-cart-drawer .cart-checkout-btn--c.is-empty { justify-content: center; }
/* An Add to Cart button waiting for its reply (product form, WooCommerce's AJAX buttons): a spinner drawn in CSS */
/* "Added to cart" toast: every Add to Cart answers the tap with it, just below the header's cart icon
   (drawAtcCard sets top and right from the icon) */
.mvb-atc-card {
    position: fixed; top: 12px; right: 16px; z-index: 90010; /* over the bundle popup (90000), under the drawer (99998) */
    width: 340px; max-width: calc(100vw - 24px); box-sizing: border-box; overflow: hidden;
    display: flex; align-items: center; gap: 12px; padding: 12px 14px 14px 12px;
    color: light-dark(#1a1a1a, #fff); background: light-dark(#fff, #211f1c);
    border: 1px solid light-dark(rgba(0,0,0,.08), rgba(255,255,255,.1)); border-radius: 14px;
    box-shadow: 0 14px 38px rgba(0,0,0,.24), 0 2px 8px rgba(0,0,0,.1);
    pointer-events: none; /* the page stays usable behind it */
    animation: mvb-atc-card-in .32s cubic-bezier(.2,.9,.25,1.08) both;
    transition: opacity .18s ease, transform .18s ease;
}
.mvb-atc-card.is-update { animation: none; } /* another add while it shows: same toast, new product */
.mvb-atc-card.is-leaving { animation: none; opacity: 0; transform: translateX(16px); }
.mvb-atc-card-media { position: relative; flex: 0 0 52px; width: 52px; height: 52px; }
.mvb-atc-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.mvb-atc-card-icon {
    position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; fill: #2fa35a; stroke: #fff;
    stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
.mvb-atc-card-icon circle { stroke: light-dark(#fff, #211f1c); stroke-width: 4; }
.mvb-atc-card-media--bare .mvb-atc-card-icon { position: static; width: 100%; height: 100%; stroke-width: 4; filter: none; }
.mvb-atc-card-media--bare .mvb-atc-card-icon circle { stroke: none; }
.mvb-atc-card--error .mvb-atc-card-icon { fill: #d64545; }
.mvb-atc-card--error { z-index: 100000; } /* over the drawer */
.mvb-atc-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mvb-atc-card-title { font-size: 15px; font-weight: 800; line-height: 1.25; }
.mvb-atc-card-text {
    font-size: 13px; line-height: 1.35; color: light-dark(#5c5c5c, #c4c0ba);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.mvb-atc-card-text:empty { display: none; }
/* Shows how long it stays */
.mvb-atc-card-time {
    position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #2fa35a; transform-origin: left;
    animation: mvb-atc-card-time linear both;
}
.mvb-atc-card--error .mvb-atc-card-time { background: #d64545; }
@keyframes mvb-atc-card-in { from { opacity: 0; transform: translateX(28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mvb-atc-card-time { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 600px) {
    /* Phones: the width of the screen, dropping down from under the header */
    .mvb-atc-card { left: 12px; right: 12px !important; width: auto; max-width: none; animation-name: mvb-atc-card-in-down; }
    .mvb-atc-card.is-leaving { transform: translateY(-10px); }
}
@keyframes mvb-atc-card-in-down { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .mvb-atc-card, .mvb-atc-card-time { animation: none; }
}
/* WooCommerce's own buttons: the side cart opens on the tap, so no spinner behind it. Still not tappable until the
   reply (.loading). In the drawer its buttons keep theirs. */
.ajax_add_to_cart.loading:not(#mvb-cart-drawer *) { opacity: 1 !important; }
.ajax_add_to_cart.loading:not(#mvb-cart-drawer *)::after { content: none !important; }
/* Add to Cart on its way: the item shows at once and the empty-cart message stays hidden until the add lands */
.mvb-cart-adding-on #mvb-cart-empty-msg { display: none; }
/* The free seeds an Add to Cart earns show at the top (the Adding row); the cart's own free-seed lines wait below */
.mvb-cart-drawer.mvb-cart-adding-rewards #mvb-cart-fragment > .mvb-cart-reward-item { display: none; }
.mvb-cart-drawer.mvb-cart-adding-rewards #mvb-cart-fragment > .mvb-cart-c-free:not(.mvb-cart-adding-el) { display: none; }
/* Cart C's Adding rows look like its lines but nothing in them is tappable (the reply replaces them) */
.mvb-cart-drawer .mvb-cart-adding-el { pointer-events: none; }
/* Secure Checkout waits for an Add to Cart to land (addPending in mvb-cart.php) */
/* Waiting (disabled): a solid, paler orange, not a see-through button, as Cart C's sticky button sits over the list */
.mvb-cart-drawer .cart-checkout-btn:disabled,
.mvb-cart-drawer .cart-checkout-btn:disabled:hover { background: #d79860; cursor: default; }
/* The Adding row's lines are the drawer's own item rows (mvb-cart-item etc.); its ✕ is not a remove button yet */
.mvb-cart-drawer .continue-shopping {
    display: block; text-align: center; font-size: 13px; color: #6b7280;
    padding-top: 9px; cursor: pointer; text-decoration: none;
}
.mvb-cart-drawer .continue-shopping:hover { color: #374151; }

.mvb-cart-drawer.mvb-cart-loading .cart-body { display: none; }

/* Reward items visual styling */
.mvb-cart-item.mvb-reward-item {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding-left: 10px;
}
.mvb-cart-item.mvb-reward-item .mvb-cart-title {
    font-weight: 600;
}
.mvb-cart-item.mvb-reward-item .mvb-cart-price span {
    color: #10b981;
    font-weight: 700;
}

#mvb-vaultPackFull {
    scrollbar-width: 3px !important;
    -ms-overflow-style: scrollbar !important;
}
#mvb-vaultPackFull::-webkit-scrollbar {
    display: none !important;
}

/* Make cart body scrollable */
#mvb-cart-body {
    max-height: calc(100vh - 240px);
    overflow-y: auto;
}

/* Cart body without seed multiplier (more space when no progress bar/vault) */
#mvb-cart-body.mvb-cart-body--no-rewards {
    max-height: calc(100vh - 200px);
}

/* Hide progress bar when seed multiplier is disabled */
.mvb-cart-drawer:has(#mvb-cart-body.mvb-cart-body--no-rewards) .cart-progress {
    display: none;
}

/* Slim scrollbar (Chrome, Edge, Safari) */
#mvb-cart-body::-webkit-scrollbar { width: 10px; }
#mvb-cart-body::-webkit-scrollbar-track { background: transparent; }
#mvb-cart-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
#mvb-cart-body::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Firefox */
#mvb-cart-body {
    scrollbar-width: thin;
    scrollbar-color: rgb(161,161,161) transparent;
}

/* ── Order bump inside checkout button block (fixed footer) ── */
#mvb-sticky-footer-bump {
    /* Wrapper for fragment targeting */
    display: contents;
}
.cart-sticky-footer .fkob-order-bump {
    position: relative;
    background: #fff;
    z-index: 10;
    border-radius: 8px 8px 0 0;
    margin-bottom: 8px;
    border: 1px solid #f3f4f6;
}
.cart-sticky-footer .fkob-order-bump .fkob-ob-checkbox-row,
.cart-sticky-footer .fkob-order-bump .fkob-ob-body {
    padding: 10px 12px;
}
.cart-sticky-footer .fkob-ob-header {
    padding: 6px 12px;
}
/* Cart C: "Yes! Add … to my order" as big as fits on one line, up to 18px (fitCartC()) */
.cart-sticky-footer .fkob-order-bump.fkob-c .fkob-ob-checkbox-row { align-items: center; gap: 8px; padding-left: 10px; padding-right: 8px; }
.cart-sticky-footer .fkob-order-bump.fkob-c .fkob-ob-checkbox-label {
    font-size: 14px; font-weight: 700; line-height: 1.35; white-space: nowrap;
    /* never wider than its row: unfitted, the one-line text widened the whole footer past the drawer */
    min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.cart-sticky-footer .fkob-order-bump.fkob-c .fkob-ob-check { width: 18px; height: 18px; margin-top: 0; }
.cart-sticky-footer .fkob-ob-timer-row {
    padding: 5px 12px;
}

/* A cart action still on its way to the server (syncCheckout), or a tap that is opening checkout: a small spinner after the label */
.mvb-cart-drawer .cart-checkout-btn.mvb-checkout-busy .mvb-checkout-left::after,
.mvb-cart-drawer .cart-checkout-btn.is-empty.mvb-checkout-busy::after,
.mvb-cart-drawer .cart-checkout-btn.mvb-checkout-opening .mvb-checkout-left::after,
.mvb-cart-drawer .cart-checkout-btn.is-empty.mvb-checkout-opening::after {
    content: '';
    width: 13px; height: 13px; flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mvb-checkout-busy-spin 0.6s linear infinite;
}
@keyframes mvb-checkout-busy-spin {
    to { transform: rotate(360deg); }
}
/* Pressed: the button answers the tap at once; the checkout page takes about a second to arrive */
.mvb-cart-drawer .cart-checkout-btn:active { transform: scale(0.985); }
#mvb-checkout-btn.mvb-checkout-opening { background: #d79860; cursor: progress; }
/* The button already shows the wait (disabled); the total only dims while checkout can still be tapped */
.mvb-cart-syncing #mvb-checkout-btn:not(:disabled) #mvb-checkout-btn-text { opacity: .6; transition: opacity .2s; }
