/**
 * MLM Cart Wizard - Complete Styles
 * 
 * Comprehensive CSS for cart/checkout wizard redesign
 * Includes progress bar, tabs, product cards, and mobile optimization
 * 
 * @package MLM
 * @since 1.0.0
 */

/* ==========================================
   CSS VARIABLES (Color Palette)
   ========================================== */
:root {
    --mlm-primary: #F97316;        /* Orange */
    --mlm-primary-light: #FDBA74;
    --mlm-primary-dark: #EA580C;
    --mlm-secondary: #6B7280;      /* Gray */
    --mlm-secondary-light: #9CA3AF;
    --mlm-secondary-dark: #374151;
    --mlm-success: #10B981;        /* Green */
    --mlm-success-light: #6EE7B7;
    --mlm-danger: #EF4444;         /* Red */
    --mlm-danger-light: #FCA5A5;
    --mlm-white: #FFFFFF;
    --mlm-black: #1F2937;
    --mlm-gray-50: #F9FAFB;
    --mlm-gray-100: #F3F4F6;
    --mlm-gray-200: #E5E7EB;
    --mlm-gray-300: #D1D5DB;
    --mlm-border-radius: 12px;
    --mlm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   WIZARD PROGRESS BAR
   ========================================== */
.mlm-wizard-progress-bar {
    background: var(--mlm-white);
    padding: 45px 0 30px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--mlm-gray-200);
    position: relative;
}

.mlm-wizard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .mlm-wizard-container {
        padding: 0 15px;
    }
}

.mlm-wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.mlm-wizard-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 0;
}

.mlm-wizard-step-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 3;
    transition: var(--mlm-transition);
    width: 100%;
}

.mlm-wizard-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--mlm-gray-100);
    border: 3px solid var(--mlm-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--mlm-transition);
    position: relative;
}

.mlm-wizard-step-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--mlm-secondary);
    transition: var(--mlm-transition);
}

.mlm-wizard-step-icon {
    width: 28px;
    height: 28px;
    color: var(--mlm-white);
}

.mlm-wizard-step-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--mlm-secondary);
    text-align: center;
    transition: var(--mlm-transition);
}

/* Step Line */
.mlm-wizard-step-line {
    position: absolute;
    top: 30px; /* Half of circle height (60px / 2) */
    right: calc(50% - 30px); /* Start from right edge of circle (50% - radius) */
    height: 3px;
    background: var(--mlm-gray-300);
    transform: translateY(-50%);
    transition: var(--mlm-transition);
    z-index: 1;
}

/* Calculate line width: from right edge of current circle to left edge of next circle */
/* Line starts at right edge of current step's circle, extends through full next step to reach left edge of next circle */
.mlm-wizard-step:not(:last-child) .mlm-wizard-step-line {
    width: calc(150% - 30px); /* 100% (full current step) + 50% (half of next step to reach next circle's left edge) - 30px (radius) */
}

/* Last step before final - shorter line to not overflow from left side */
.mlm-wizard-step:nth-last-child(2) .mlm-wizard-step-line {
    width: calc(119% - 30px); /* Slightly longer than step width, but not full 150% to avoid overflow */
}

.mlm-wizard-step-line::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: var(--mlm-primary);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active Step */
.mlm-wizard-step.active .mlm-wizard-step-circle {
    background: var(--mlm-primary);
    border-color: var(--mlm-primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.1);
    animation: pulse-orange 2s infinite;
}

.mlm-wizard-step.active .mlm-wizard-step-number {
    color: var(--mlm-white);
}

.mlm-wizard-step.active .mlm-wizard-step-label {
    color: var(--mlm-primary);
    font-weight: 700;
}

/* Completed Step */
.mlm-wizard-step.completed .mlm-wizard-step-circle {
    background: var(--mlm-success);
    border-color: var(--mlm-success);
}

.mlm-wizard-step.completed .mlm-wizard-step-label {
    color: var(--mlm-success);
}

.mlm-wizard-step.completed .mlm-wizard-step-line::before {
    width: 100%;
}

/* Hover Effect for Clickable Steps */
.mlm-wizard-step.completed .mlm-wizard-step-link:hover .mlm-wizard-step-circle {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Pulse Animation */
@keyframes pulse-orange {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.1);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(249, 115, 22, 0.05);
    }
}

/* ==========================================
   TAB SYSTEM (Cart / Next Cart)
   ========================================== */
.mlm-cart-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--mlm-gray-200);
}

.mlm-cart-tab {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--mlm-secondary);
    cursor: pointer;
    transition: var(--mlm-transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mlm-cart-tab:hover {
    color: var(--mlm-primary);
    background: var(--mlm-gray-50);
}

.mlm-cart-tab.active {
    color: var(--mlm-primary);
    border-bottom-color: var(--mlm-primary);
}

.mlm-cart-tab-badge {
    background: var(--mlm-primary);
    color: var(--mlm-white);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

.mlm-cart-tab.active .mlm-cart-tab-badge {
    animation: bounce-badge 0.5s ease;
}

@keyframes bounce-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Tab Content */
.mlm-cart-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.mlm-cart-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   PRODUCT CARD
   ========================================== */
.mlm-cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mlm-cart-product-card {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 20px;
    transition: var(--mlm-transition);
    position: relative;
    overflow: hidden;
}

.mlm-cart-product-card:hover {
    border-color: var(--mlm-primary);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.1);
    transform: translateX(-4px);
}

.mlm-cart-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--mlm-primary);
    transition: height 0.3s ease;
}

.mlm-cart-product-card:hover::before {
    height: 100%;
}

/* Card Layout */
.mlm-cart-product-inner {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    align-items: start;
}

/* Product Image */
.mlm-cart-product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.mlm-cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mlm-cart-product-card:hover .mlm-cart-product-image img {
    transform: scale(1.05);
}

.mlm-cart-product-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--mlm-danger);
    color: var(--mlm-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 1;
}

/* Product Details */
.mlm-cart-product-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mlm-cart-product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-black);
    line-height: 1.4;
    margin: 0;
}

.mlm-cart-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mlm-cart-product-title a:hover {
    color: var(--mlm-primary);
}

/* Vendor Info */
.mlm-cart-product-vendor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlm-cart-vendor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--mlm-gray-200);
}

.mlm-cart-vendor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlm-cart-vendor-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--mlm-secondary);
    transition: color 0.3s ease;
}

.mlm-cart-vendor-name:hover {
    color: var(--mlm-primary);
}

/* Price */
.mlm-cart-product-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mlm-cart-price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--mlm-primary);
}

.mlm-cart-price-original {
    font-size: 16px;
    font-weight: 500;
    color: var(--mlm-secondary-light);
    text-decoration: line-through;
}

/* Technical Details */
.mlm-cart-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mlm-cart-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--mlm-secondary);
    background: var(--mlm-gray-50);
    padding: 6px 12px;
    border-radius: 6px;
}

.mlm-cart-meta-icon {
    width: 16px;
    height: 16px;
    color: var(--mlm-primary);
}

/* Preview Button */
.mlm-cart-product-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--mlm-gray-100);
    color: var(--mlm-secondary-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--mlm-transition);
}

.mlm-cart-product-preview:hover {
    background: var(--mlm-primary);
    color: var(--mlm-white);
    transform: translateX(-3px);
}

/* Product Actions (Right Column) */
.mlm-cart-product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

/* Quantity Stepper */
.mlm-cart-quantity-stepper {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--mlm-gray-50);
    border-radius: 8px;
    padding: 4px;
}

.mlm-cart-qty-btn {
    width: 36px;
    height: 36px;
    background: var(--mlm-white);
    border: 1px solid var(--mlm-gray-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--mlm-transition);
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-secondary);
}

.mlm-cart-qty-btn:hover:not(:disabled) {
    background: var(--mlm-primary);
    border-color: var(--mlm-primary);
    color: var(--mlm-white);
    transform: scale(1.05);
}

.mlm-cart-qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mlm-cart-qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--mlm-gray-300);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--mlm-black);
}

/* Action Buttons */
.mlm-cart-action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--mlm-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mlm-cart-action-btn-primary {
    background: var(--mlm-primary);
    color: var(--mlm-white);
}

.mlm-cart-action-btn-primary:hover {
    background: var(--mlm-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.mlm-cart-action-btn-secondary {
    background: var(--mlm-gray-100);
    color: var(--mlm-secondary-dark);
}

.mlm-cart-action-btn-secondary:hover {
    background: var(--mlm-secondary);
    color: var(--mlm-white);
}

.mlm-cart-action-btn-danger {
    background: var(--mlm-gray-100);
    color: var(--mlm-danger);
}

.mlm-cart-action-btn-danger:hover {
    background: var(--mlm-danger);
    color: var(--mlm-white);
}

/* ==========================================
   EMPTY CART DESIGN
   ========================================== */
.mlm-cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--mlm-white);
    border-radius: var(--mlm-border-radius);
    border: 2px dashed var(--mlm-gray-300);
}

.mlm-cart-empty-animation {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.mlm-cart-empty-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--mlm-secondary-dark);
    margin-bottom: 12px;
}

.mlm-cart-empty-text {
    font-size: 16px;
    color: var(--mlm-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.mlm-cart-empty-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mlm-cart-empty-btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--mlm-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mlm-cart-empty-btn-primary {
    background: var(--mlm-primary);
    color: var(--mlm-white);
}

.mlm-cart-empty-btn-primary:hover {
    background: var(--mlm-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.mlm-cart-empty-btn-secondary {
    background: var(--mlm-gray-100);
    color: var(--mlm-secondary-dark);
}

.mlm-cart-empty-btn-secondary:hover {
    background: var(--mlm-secondary);
    color: var(--mlm-white);
}

/* ==========================================
   TIERED DISCOUNT PROGRESS BAR
   ========================================== */
.mlm-tiered-discount-progress {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 2px solid var(--mlm-primary-light);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

/* Remove background from tiered discount wrapper in checkout */
body.woocommerce-checkout .mlmch.glass .mlm-tiered-discount-progress {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.mlm-tiered-discount-progress::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    animation: rotate-gradient 10s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mlm-tiered-discount-inner {
    position: relative;
    z-index: 1;
}

.mlm-tiered-discount-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-black);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlm-tiered-discount-icon {
    width: 28px;
    height: 28px;
    color: var(--mlm-primary);
}

/* Progress Track */
.mlm-tiered-discount-track {
    position: relative;
    height: 12px;
    background: var(--mlm-white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mlm-tiered-discount-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mlm-primary-light) 0%, var(--mlm-primary) 100%);
    border-radius: 20px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mlm-tiered-discount-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Tier Points */
.mlm-tiered-discount-points {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.mlm-tiered-discount-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.mlm-tiered-discount-point-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mlm-white);
    border: 3px solid var(--mlm-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: var(--mlm-transition);
    position: relative;
    z-index: 2;
}

.mlm-tiered-discount-point.active .mlm-tiered-discount-point-circle {
    background: var(--mlm-primary);
    border-color: var(--mlm-primary);
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.2);
    animation: pulse-tier 1.5s infinite;
}

.mlm-tiered-discount-point.completed .mlm-tiered-discount-point-circle {
    background: var(--mlm-success);
    border-color: var(--mlm-success);
}

@keyframes pulse-tier {
    0%, 100% {
        box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.2);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0.1);
    }
}

.mlm-tiered-discount-point-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--mlm-secondary);
    text-align: center;
    margin-bottom: 4px;
}

.mlm-tiered-discount-point-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--mlm-primary);
    background: var(--mlm-white);
    padding: 4px 8px;
    border-radius: 6px;
}

/* Next Tier Message */
.mlm-tiered-discount-next {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: var(--mlm-white);
    border-radius: 8px;
    border: 1px dashed var(--mlm-primary);
}

.mlm-tiered-discount-next-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--mlm-secondary-dark);
}

.mlm-tiered-discount-next-amount {
    color: var(--mlm-primary);
    font-weight: 700;
}

/* ==========================================
   CART SUMMARY
   ========================================== */
.mlm-cart-summary {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    position: sticky;
    top: 20px;
}

.mlm-cart-summary-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mlm-black);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mlm-gray-200);
}

.mlm-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
}

.mlm-cart-summary-label {
    color: var(--mlm-secondary);
    font-weight: 500;
}

.mlm-cart-summary-value {
    color: var(--mlm-black);
    font-weight: 600;
}

.mlm-cart-summary-discount .mlm-cart-summary-value {
    color: var(--mlm-success);
}

.mlm-cart-summary-total {
    border-top: 2px solid var(--mlm-gray-200);
    padding-top: 15px;
    margin-top: 10px;
}

.mlm-cart-summary-total .mlm-cart-summary-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-black);
}

.mlm-cart-summary-total .mlm-cart-summary-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--mlm-primary);
}

.mlm-cart-summary-checkout-btn,
.mlm-cart-summary-checkout-btn.button,
.mlm-cart-summary-checkout-btn.button.alt,
.mlm-cart-summary-checkout-btn.wc-forward,
.woocommerce-cart .mlm-cart-summary-checkout-btn,
.woocommerce-cart .mlm-cart-summary-checkout-btn.button,
.woocommerce-cart .mlm-cart-summary-checkout-btn.button.alt,
.woocommerce-cart .mlm-cart-summary-checkout-btn.wc-forward,
.woocommerce .mlm-cart-summary-checkout-btn,
.woocommerce .mlm-cart-summary-checkout-btn.button,
.woocommerce .mlm-cart-summary-checkout-btn.button.alt,
.woocommerce .mlm-cart-summary-checkout-btn.wc-forward {
    width: 100% !important;
    min-height: 64px !important;
    height: 64px !important;
    padding: 18px 32px !important;
    background: var(--mlm-primary) !important;
    color: var(--mlm-white) !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    transition: var(--mlm-transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

.mlm-cart-summary-checkout-btn svg {
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 !important;
    align-self: center !important;
}

.mlm-cart-summary-checkout-btn:hover {
    background: var(--mlm-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* ==========================================
   SUGGESTED PRODUCTS
   ========================================== */
.mlm-cart-suggested {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--mlm-gray-200);
}

.mlm-cart-suggested-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--mlm-black);
    margin-bottom: 25px;
}

.mlm-cart-suggested-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.mlm-cart-suggested-product {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 0;
    transition: var(--mlm-transition);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    min-height: 150px;
}

.mlm-cart-suggested-product:hover {
    border-color: var(--mlm-primary);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
    transform: translateY(-2px);
}

.mlm-cart-suggested-image {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    min-width: 150px;
    overflow: hidden;
    background: var(--mlm-gray-100);
}

.mlm-cart-suggested-image a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.mlm-cart-suggested-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mlm-cart-suggested-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--mlm-primary);
    color: var(--mlm-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    line-height: 1;
}

.mlm-cart-suggested-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    gap: 10px;
}

.mlm-cart-suggested-product h4.mlm-cart-suggested-product-title,
.mlm-cart-suggested-product-title,
.mlm-cart-suggested-product h4,
.mlm-cart-suggested-content h4 {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.mlm-cart-suggested-product h4.mlm-cart-suggested-product-title a,
.mlm-cart-suggested-product-title a,
.mlm-cart-suggested-product h4 a,
.mlm-cart-suggested-content h4 a {
    color: var(--mlm-black) !important;
    text-decoration: none !important;
    transition: var(--mlm-transition) !important;
    font-size: 12px !important;
}

.mlm-cart-suggested-product-title a:hover {
    color: var(--mlm-primary) !important;
}

.mlm-cart-suggested-product-price {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.mlm-cart-suggested-price-original,
.mlm-cart-suggested-price-original *,
.mlm-cart-suggested-price-original span,
.mlm-cart-suggested-price-original .amount,
.mlm-cart-suggested-price-original del {
    font-size: 11px !important;
    color: var(--mlm-gray-500) !important;
    text-decoration: line-through !important;
}

.mlm-cart-suggested-price-current,
.mlm-cart-suggested-price-current *,
.mlm-cart-suggested-price-current span,
.mlm-cart-suggested-price-current .amount,
.mlm-cart-suggested-price-current ins,
.mlm-cart-suggested-price-current bdi {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--mlm-primary) !important;
}

.mlm-cart-suggested-price-current del,
.mlm-cart-suggested-price-current del * {
    font-size: 11px !important;
    color: var(--mlm-gray-500) !important;
    text-decoration: line-through !important;
}

.mlm-cart-suggested-add-to-cart {
    width: 100%;
    min-height: 44px;
    padding: 12px 20px;
    background: var(--mlm-primary) !important;
    color: var(--mlm-white) !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: var(--mlm-transition) !important;
    margin-top: auto;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.mlm-cart-suggested-add-to-cart:hover {
    background: var(--mlm-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.mlm-cart-suggested-add-to-cart:disabled,
.mlm-cart-suggested-add-to-cart.loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================
   LAYOUT
   ========================================== */
.mlm-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1024px) {
    .mlm-cart-layout {
        grid-template-columns: 1fr 320px;
        gap: 20px;
    }
    
    .mlm-cart-product-inner {
        grid-template-columns: 100px 1fr auto;
        gap: 15px;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
    /* Progress Bar */
    .mlm-wizard-progress-bar {
        padding: 35px 0 20px 0;
    }
    
    .mlm-wizard-step-circle {
        width: 50px;
        height: 50px;
    }
    
    .mlm-wizard-step-number {
        font-size: 20px;
    }
    
    .mlm-wizard-step-label {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .mlm-wizard-step-line {
        top: 25px; /* Half of circle height (50px / 2) */
        right: calc(50% - 25px); /* Start from right edge of circle (50% - radius for 50px circle) */
    }
    
    .mlm-wizard-step:not(:last-child) .mlm-wizard-step-line {
        width: calc(150% - 25px); /* 100% (full current step) + 50% (half of next step) - 25px (radius) to reach next circle */
    }
    
    /* Last step before final - shorter line on mobile */
    .mlm-wizard-step:nth-last-child(2) .mlm-wizard-step-line {
        width: calc(119% - 25px); /* Slightly longer on mobile, but not full 150% */
    }
    
    /* Layout */
    .mlm-cart-layout {
        grid-template-columns: 1fr;
    }
    
    .mlm-cart-summary {
        position: static;
        order: -1;
    }
    
    /* Product Card */
    .mlm-cart-product-inner {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mlm-cart-product-image {
        margin: 0 auto;
        max-width: 200px;
    }
    
    .mlm-cart-product-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Tabs */
    .mlm-cart-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .mlm-cart-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .mlm-cart-tab {
        white-space: nowrap;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Empty Cart */
    .mlm-cart-empty-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .mlm-cart-empty-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Suggested Products */
    .mlm-cart-suggested-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .mlm-cart-suggested-product {
        flex-direction: row;
        min-height: 140px;
    }
    
    .mlm-cart-suggested-image {
        width: 120px;
        min-width: 120px;
    }
    
    .mlm-cart-suggested-content {
        padding: 12px;
        gap: 8px;
    }
}

/* ==========================================
   MOBILE TOUCH OPTIMIZATIONS
   ========================================== */
@media (max-width: 480px) {
    /* Suggested Products - Mobile */
    .mlm-cart-suggested-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .mlm-cart-suggested-product {
        flex-direction: row;
        min-height: 130px;
    }
    
    .mlm-cart-suggested-image {
        width: 110px;
        min-width: 110px;
    }
    
    .mlm-cart-suggested-content {
        padding: 10px;
        gap: 6px;
    }
    
    .mlm-cart-suggested-product-title,
    .mlm-cart-suggested-product-title a,
    .mlm-cart-suggested-content h4,
    .mlm-cart-suggested-content h4 a {
        font-size: 11px !important;
    }
    
    .mlm-cart-suggested-price-current,
    .mlm-cart-suggested-price-current *,
    .mlm-cart-suggested-price-current span,
    .mlm-cart-suggested-price-current .amount {
        font-size: 13px !important;
    }
    
    .mlm-cart-suggested-add-to-cart {
        min-height: 40px;
        padding: 10px 16px;
        font-size: 13px !important;
    }
    
    .mlm-wizard-container {
        padding: 0 15px;
    }
    
    .mlm-cart-product-card {
        padding: 15px;
    }
    
    .mlm-cart-qty-btn,
    .mlm-cart-qty-input {
        height: 44px; /* Touch-friendly */
    }
    
    .mlm-cart-action-btn {
        padding: 12px 16px;
        font-size: 13px;
        min-height: 44px; /* Touch-friendly */
    }
}

/* ==========================================
   ANIMATIONS & UTILITIES
   ========================================== */
.mlm-fade-in {
    animation: fadeIn 0.4s ease;
}

.mlm-slide-up {
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mlm-loading {
    opacity: 0.6;
    pointer-events: none;
}

.mlm-hidden {
    display: none !important;
}

/* ==========================================
   CHECKOUT PAGE STYLES
   ========================================== */

/* WooCommerce Notices - Override default styles */
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
.mlm-wizard-container .woocommerce-error,
.mlm-wizard-container .woocommerce-info,
.mlm-wizard-container .woocommerce-message,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    list-style: none !important;
}

/* Custom error notice styling */
body.woocommerce-checkout .woocommerce-error li,
body.woocommerce-checkout .woocommerce-info li,
body.woocommerce-checkout .woocommerce-message li,
.mlm-wizard-container .woocommerce-error li,
.mlm-wizard-container .woocommerce-info li,
.mlm-wizard-container .woocommerce-message li {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin: 0 0 12px 0 !important;
    color: #374151 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    list-style: none !important;
    position: relative !important;
}

/* Error notice specific styling */
body.woocommerce-checkout .woocommerce-error li,
.mlm-wizard-container .woocommerce-error li {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    border-right: 4px solid #ef4444 !important;
    color: #991b1b !important;
}

/* Error notice icon */
body.woocommerce-checkout .woocommerce-error li::before,
.mlm-wizard-container .woocommerce-error li::before {
    content: "⚠" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: #ef4444 !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* Info notice specific styling */
body.woocommerce-checkout .woocommerce-info li,
.mlm-wizard-container .woocommerce-info li {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    border-right: 4px solid #3b82f6 !important;
    color: #1e40af !important;
}

/* Success message specific styling */
body.woocommerce-checkout .woocommerce-message li,
.mlm-wizard-container .woocommerce-message li {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    border-right: 4px solid #10b981 !important;
    color: #065f46 !important;
}

/* Remove default WooCommerce notice wrapper styling */
body.woocommerce-checkout .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-error::after,
body.woocommerce-checkout .woocommerce-info::after,
body.woocommerce-checkout .woocommerce-message::after {
    display: none !important;
}

/* Override WooCommerce notice inline styles and attributes */
body.woocommerce-checkout .woocommerce-error[style],
body.woocommerce-checkout .woocommerce-info[style],
body.woocommerce-checkout .woocommerce-message[style],
.mlm-wizard-container .woocommerce-error[style],
.mlm-wizard-container .woocommerce-info[style],
.mlm-wizard-container .woocommerce-message[style] {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

/* Ensure list items don't have default WooCommerce styling */
body.woocommerce-checkout .woocommerce-error ul,
body.woocommerce-checkout .woocommerce-info ul,
body.woocommerce-checkout .woocommerce-message ul,
.mlm-wizard-container .woocommerce-error ul,
.mlm-wizard-container .woocommerce-info ul,
.mlm-wizard-container .woocommerce-message ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any WooCommerce default margins/paddings from notice containers */
body.woocommerce-checkout .woocommerce .woocommerce-error,
body.woocommerce-checkout .woocommerce .woocommerce-info,
body.woocommerce-checkout .woocommerce .woocommerce-message,
.mlm-wizard-container .woocommerce .woocommerce-error,
.mlm-wizard-container .woocommerce .woocommerce-info,
.mlm-wizard-container .woocommerce .woocommerce-message {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    color: inherit !important;
}

/* Prevent horizontal overflow on checkout page */
body.woocommerce-checkout,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Checkout Section */
.mlm-checkout-section {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    margin-bottom: 20px;
    transition: var(--mlm-transition);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.mlm-checkout-section:hover {
    border-color: var(--mlm-gray-300);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mlm-checkout-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mlm-gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlm-checkout-section-title svg {
    width: 24px;
    height: 24px;
    color: var(--mlm-primary);
}

/* Checkout Fields */
.mlm-checkout-fields {
    display: block;
    width: 100%;
}

/* Form rows - full width */
.mlm-checkout-fields .form-row {
    margin: 0 0 16px 0;
    width: 100%;
    display: block;
}

/* Order Review inside checkout section */
.mlm-checkout-section .woocommerce-checkout-review-order,
.mlm-checkout-section #order_review {
    display: block !important;
    width: 100%;
}

.mlm-checkout-fields .form-row {
    margin: 0;
}

.mlm-checkout-fields .form-row-wide {
    width: 100%;
    display: block;
}

.mlm-checkout-fields label {
    font-size: 14px;
    font-weight: 600;
    color: var(--mlm-secondary-dark);
    margin-bottom: 8px;
    display: block;
}

.mlm-checkout-fields .required {
    color: var(--mlm-danger);
    margin-right: 3px;
}

.mlm-checkout-fields input[type="text"],
.mlm-checkout-fields input[type="email"],
.mlm-checkout-fields input[type="tel"],
.mlm-checkout-fields input[type="number"],
.mlm-checkout-fields input[type="password"],
.mlm-checkout-fields input[type="date"],
.mlm-checkout-fields textarea,
.mlm-checkout-fields select,
.mlm-checkout-section input[type="text"],
.mlm-checkout-section input[type="email"],
.mlm-checkout-section input[type="tel"],
.mlm-checkout-section input[type="number"],
.mlm-checkout-section input[type="password"],
.mlm-checkout-section input[type="date"],
.mlm-checkout-section textarea,
.mlm-checkout-section select,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-billing-fields input,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-billing-fields select,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-billing-fields textarea,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-shipping-fields input,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-shipping-fields select,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-shipping-fields textarea,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-additional-fields input,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-additional-fields textarea,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-input-wrapper input,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-input-wrapper select,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-input-wrapper textarea,
body.woocommerce-checkout #billing_country,
body.woocommerce-checkout #billing_state,
body.woocommerce-checkout #shipping_country,
body.woocommerce-checkout #shipping_state,
body.woocommerce-checkout select#billing_country,
body.woocommerce-checkout select#billing_state,
body.woocommerce-checkout select#shipping_country,
body.woocommerce-checkout select#shipping_state {
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    padding: 0 20px !important;
    border: 1px solid #d8dfee !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    color: #111827 !important;
    transition: all .2s ease !important;
    background-color: #f9fafb !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.mlm-checkout-fields input:focus,
.mlm-checkout-fields textarea:focus,
.mlm-checkout-fields select:focus,
.mlm-checkout-section input:focus,
.mlm-checkout-section textarea:focus,
.mlm-checkout-section select:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-billing-fields input:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-billing-fields select:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-billing-fields textarea:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-shipping-fields input:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-shipping-fields select:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-shipping-fields textarea:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-additional-fields input:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-additional-fields textarea:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-input-wrapper input:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-input-wrapper select:focus,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-input-wrapper textarea:focus,
body.woocommerce-checkout #billing_country:focus,
body.woocommerce-checkout #billing_state:focus,
body.woocommerce-checkout #shipping_country:focus,
body.woocommerce-checkout #shipping_state:focus {
    outline: none !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12) !important;
    background-color: #fff !important;
}

.mlm-checkout-fields textarea,
.mlm-checkout-section textarea,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-billing-fields textarea,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-shipping-fields textarea,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-additional-fields textarea {
    min-height: 100px !important;
    resize: vertical !important;
    padding: 20px !important;
    border-radius: 14px !important;
    height: auto !important;
}

/* Select dropdown styling */
.mlm-checkout-fields select,
.mlm-checkout-section select,
body.woocommerce-checkout #billing_country,
body.woocommerce-checkout #billing_state,
body.woocommerce-checkout #shipping_country,
body.woocommerce-checkout #shipping_state,
body.woocommerce-checkout select#billing_country,
body.woocommerce-checkout select#billing_state,
body.woocommerce-checkout select#shipping_country,
body.woocommerce-checkout select#shipping_state,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-billing-fields select,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-shipping-fields select,
body.woocommerce-checkout .mlm-checkout-section .woocommerce-input-wrapper select,
body.woocommerce-checkout .mlm-checkout-fields .form-row select,
body.woocommerce-checkout .mlm-checkout-section .form-row select,
body.woocommerce-checkout .mlm-checkout-section .form-row-wide select,
body.woocommerce-checkout .mlm-checkout-section .form-row-first select,
body.woocommerce-checkout .mlm-checkout-section .form-row-last select,
body.woocommerce-checkout .woocommerce-billing-fields select,
body.woocommerce-checkout .woocommerce-shipping-fields select,
body.woocommerce-checkout .woocommerce-billing-fields .select2-container--default .select2-selection--single,
body.woocommerce-checkout .woocommerce-shipping-fields .select2-container--default .select2-selection--single,
body.woocommerce-checkout .mlm-checkout-section .select2-container--default .select2-selection--single {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 20px center !important;
    padding-right: 20px !important;
    padding-left: 40px !important;
    height: 60px !important;
    border-radius: 14px !important;
    border: 1px solid #d8dfee !important;
    background-color: #f9fafb !important;
    font-size: 15px !important;
    color: #111827 !important;
}

/* Select2 container styling for country/state fields - STRONG SELECTORS */
body.woocommerce-checkout .select2-container,
body.woocommerce-checkout .select2-container--default,
body.woocommerce-checkout .select2-container.select2-container--default,
body.woocommerce-checkout .mlm-checkout-section .select2-container,
body.woocommerce-checkout .mlm-checkout-section .select2-container--default,
body.woocommerce-checkout .mlm-checkout-section .select2-container.select2-container--default,
body.woocommerce-checkout .woocommerce-billing-fields .select2-container,
body.woocommerce-checkout .woocommerce-billing-fields .select2-container--default,
body.woocommerce-checkout .woocommerce-billing-fields .select2-container.select2-container--default,
body.woocommerce-checkout .woocommerce-shipping-fields .select2-container,
body.woocommerce-checkout .woocommerce-shipping-fields .select2-container--default,
body.woocommerce-checkout .woocommerce-shipping-fields .select2-container.select2-container--default,
body.woocommerce-checkout .form-row .select2-container,
body.woocommerce-checkout .form-row .select2-container--default,
body.woocommerce-checkout .form-row .select2-container.select2-container--default {
    width: 100% !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.woocommerce-checkout .select2-container.select2-container--default .select2-selection--single,
body.woocommerce-checkout .mlm-checkout-section .select2-container--default .select2-selection--single,
body.woocommerce-checkout .mlm-checkout-section .select2-container.select2-container--default .select2-selection--single,
body.woocommerce-checkout .woocommerce-billing-fields .select2-container--default .select2-selection--single,
body.woocommerce-checkout .woocommerce-billing-fields .select2-container.select2-container--default .select2-selection--single,
body.woocommerce-checkout .woocommerce-shipping-fields .select2-container--default .select2-selection--single,
body.woocommerce-checkout .woocommerce-shipping-fields .select2-container.select2-container--default .select2-selection--single,
body.woocommerce-checkout .form-row .select2-container--default .select2-selection--single,
body.woocommerce-checkout .form-row .select2-container.select2-container--default .select2-selection--single {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    border-radius: 14px !important;
    border: 1px solid #d8dfee !important;
    background-color: #f9fafb !important;
    padding: 0 !important;
    transition: all .2s ease !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
body.woocommerce-checkout .mlm-checkout-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 60px !important;
    padding-right: 20px !important;
    padding-left: 40px !important;
    font-size: 15px !important;
    color: #111827 !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 60px !important;
    right: 20px !important;
    left: auto !important;
    width: 20px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #666 transparent transparent transparent !important;
    border-width: 6px 6px 0 6px !important;
    margin-top: -3px !important;
    margin-right: -6px !important;
}

body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .mlm-checkout-section .select2-container--default.select2-container--focus .select2-selection--single,
body.woocommerce-checkout .mlm-checkout-section .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12) !important;
    background-color: #fff !important;
}

body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #666 transparent !important;
    border-width: 0 6px 6px 6px !important;
    margin-top: -3px !important;
}

/* Select2 dropdown styling */
body.woocommerce-checkout .select2-container--default .select2-dropdown,
body.woocommerce-checkout .mlm-checkout-section .select2-container--default .select2-dropdown {
    border: 1px solid #d8dfee !important;
    border-radius: 14px !important;
    margin-top: 5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    background-color: #fff !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option {
    padding: 12px 20px !important;
    font-size: 15px !important;
    color: #111827 !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted {
    background-color: #f9fafb !important;
    color: #111827 !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f59e0b !important;
    color: #fff !important;
}

body.woocommerce-checkout .select2-search--dropdown .select2-search__field {
    border: 1px solid #d8dfee !important;
    border-radius: 14px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    margin: 10px !important;
    width: calc(100% - 20px) !important;
}

body.woocommerce-checkout .select2-search--dropdown .select2-search__field:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12) !important;
    outline: none !important;
}

/* Override primary.css styles for checkout fields - already handled above */

body.woocommerce-checkout .mlm-checkout-section .form-row {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

body.woocommerce-checkout .mlm-checkout-section .woocommerce-input-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Coupon Section */
.mlm-checkout-coupon-section {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 2px solid var(--mlm-primary-light);
    border-radius: var(--mlm-border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.mlm-checkout-coupon-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mlm-checkout-coupon-title svg {
    width: 20px;
    height: 20px;
    color: var(--mlm-primary);
}

.mlm-checkout-coupon-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.mlm-checkout-coupon-input {
    flex: 1;
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 20px !important;
    border: 1px solid #d8dfee !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    color: #111827 !important;
    background-color: #f9fafb !important;
    transition: all .2s ease !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.mlm-checkout-coupon-input:focus {
    outline: none !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12) !important;
    background-color: #fff !important;
}

.mlm-checkout-coupon-input::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

.mlm-checkout-coupon-button {
    padding: 0 32px !important;
    height: 60px !important;
    min-height: 60px !important;
    background: #f59e0b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all .2s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.mlm-checkout-coupon-button:hover {
    background: #d97706 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.mlm-checkout-coupon-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12) !important;
}

/* Cashback Section */
.mlm-checkout-cashback-section {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 2px solid var(--mlm-success-light);
    border-radius: var(--mlm-border-radius);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mlm-checkout-cashback-icon {
    width: 50px;
    height: 50px;
    background: var(--mlm-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mlm-checkout-cashback-icon svg {
    width: 28px;
    height: 28px;
    color: var(--mlm-white);
}

.mlm-checkout-cashback-content {
    flex: 1;
}

.mlm-checkout-cashback-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mlm-secondary);
    margin: 0 0 5px 0;
}

.mlm-checkout-cashback-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--mlm-success);
    margin: 0 0 3px 0;
}

.mlm-checkout-cashback-expiry {
    font-size: 12px;
    color: var(--mlm-secondary);
    margin: 0;
}

/* ==========================================
   CHECKOUT LOGIN/REGISTER FORM - DEMO 1 SYNC WITH DEMO 2
   ========================================== */

/* Login/Register Form Wrapper - Demo 1 Checkout Page */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .mb-3 {
    margin-bottom: 20px;
}

/* Form Wrapper */
body.woocommerce-checkout .mlm-form-wrapper,
body.woocommerce-checkout .mlm-login-form-wrapper,
body.woocommerce-checkout .mlm-simple-form-wrapper {
    margin: 0 !important;
    width: 100%;
}

/* Simple Content Wrap */
body.woocommerce-checkout .simple-content-wrap,
body.woocommerce-checkout form[name="mlm-simple-login"] .simple-content-wrap {
    width: 100%;
}

/* Form Groups */
body.woocommerce-checkout .mlm-form-wrapper .form-group,
body.woocommerce-checkout .simple-content-wrap .form-group {
    margin-bottom: 22px !important;
}

/* Labels */
body.woocommerce-checkout .mlm-form-wrapper label,
body.woocommerce-checkout .simple-content-wrap label,
body.woocommerce-checkout form[name="mlm-simple-login"] label {
    display: block !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
}

/* Input Fields - Match Demo 2 Style */
body.woocommerce-checkout .mlm-form-wrapper .form-control,
body.woocommerce-checkout .simple-content-wrap .form-control,
body.woocommerce-checkout form[name="mlm-simple-login"] .form-control,
body.woocommerce-checkout .mlm-form-wrapper input[type="text"],
body.woocommerce-checkout .mlm-form-wrapper input[type="email"],
body.woocommerce-checkout .mlm-form-wrapper input[type="password"],
body.woocommerce-checkout .simple-content-wrap input[type="text"],
body.woocommerce-checkout .simple-content-wrap input[type="email"],
body.woocommerce-checkout .simple-content-wrap input[type="password"] {
    height: 60px !important;
    border-radius: 14px !important;
    border: 1px solid #d8dfee !important;
    background-color: #f9fafb !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    color: #111827 !important;
    transition: all .2s ease !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Input Focus State */
body.woocommerce-checkout .mlm-form-wrapper .form-control:focus,
body.woocommerce-checkout .simple-content-wrap .form-control:focus,
body.woocommerce-checkout form[name="mlm-simple-login"] .form-control:focus,
body.woocommerce-checkout .mlm-form-wrapper input[type="text"]:focus,
body.woocommerce-checkout .mlm-form-wrapper input[type="email"]:focus,
body.woocommerce-checkout .mlm-form-wrapper input[type="password"]:focus,
body.woocommerce-checkout .simple-content-wrap input[type="text"]:focus,
body.woocommerce-checkout .simple-content-wrap input[type="email"]:focus,
body.woocommerce-checkout .simple-content-wrap input[type="password"]:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12) !important;
    background-color: #fff !important;
    outline: none !important;
}

/* Input Placeholder */
body.woocommerce-checkout .mlm-form-wrapper .form-control::placeholder,
body.woocommerce-checkout .simple-content-wrap .form-control::placeholder,
body.woocommerce-checkout form[name="mlm-simple-login"] .form-control::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

/* Input Group (for OTP/Resend) */
body.woocommerce-checkout .mlm-form-wrapper .input-group,
body.woocommerce-checkout .simple-content-wrap .input-group {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    border: 1px solid #d8dfee !important;
    border-radius: 14px !important;
    background: #f9fafb !important;
    overflow: hidden !important;
    height: 60px !important;
}

body.woocommerce-checkout .mlm-form-wrapper .input-group .form-control,
body.woocommerce-checkout .simple-content-wrap .input-group .form-control {
    border: none !important;
    background: transparent !important;
    padding: 0 20px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 100% !important;
    border-radius: 0 !important;
}

body.woocommerce-checkout .mlm-form-wrapper .input-group .input-group-append,
body.woocommerce-checkout .simple-content-wrap .input-group .input-group-append {
    display: flex !important;
    align-items: stretch !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

body.woocommerce-checkout .mlm-form-wrapper .input-group .input-group-append .btn,
body.woocommerce-checkout .simple-content-wrap .input-group .input-group-append .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    background: rgba(37, 99, 235, 0.08) !important;
    color: #1d4ed8 !important;
    font-weight: 600 !important;
    padding: 0 20px !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    transition: all .2s ease !important;
}

body.woocommerce-checkout .mlm-form-wrapper .input-group .input-group-append .btn:hover,
body.woocommerce-checkout .simple-content-wrap .input-group .input-group-append .btn:hover {
    background: rgba(37, 99, 235, 0.12) !important;
}

/* Submit Button - Match Demo 2 Style */
body.woocommerce-checkout .mlm-form-wrapper .btn-primary,
body.woocommerce-checkout .simple-content-wrap .btn-primary,
body.woocommerce-checkout form[name="mlm-simple-login"] .btn-primary,
body.woocommerce-checkout .mlm-form-wrapper button[type="submit"],
body.woocommerce-checkout .simple-content-wrap button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 60px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    box-shadow: 0 18px 40px -20px rgba(245, 158, 11, 0.7) !important;
    transition: all .2s ease !important;
    cursor: pointer !important;
}

body.woocommerce-checkout .mlm-form-wrapper .btn-primary:hover,
body.woocommerce-checkout .mlm-form-wrapper .btn-primary:focus,
body.woocommerce-checkout .simple-content-wrap .btn-primary:hover,
body.woocommerce-checkout .simple-content-wrap .btn-primary:focus,
body.woocommerce-checkout form[name="mlm-simple-login"] .btn-primary:hover,
body.woocommerce-checkout form[name="mlm-simple-login"] .btn-primary:focus,
body.woocommerce-checkout .mlm-form-wrapper button[type="submit"]:hover,
body.woocommerce-checkout .mlm-form-wrapper button[type="submit"]:focus,
body.woocommerce-checkout .simple-content-wrap button[type="submit"]:hover,
body.woocommerce-checkout .simple-content-wrap button[type="submit"]:focus {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%) !important;
    box-shadow: 0 20px 40px -20px rgba(245, 158, 11, 0.8) !important;
    color: #fff !important;
}

/* Row and Column Spacing */
body.woocommerce-checkout .mlm-form-wrapper .row > [class*="col"],
body.woocommerce-checkout .simple-content-wrap .row > [class*="col"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

body.woocommerce-checkout .mlm-form-wrapper .row,
body.woocommerce-checkout .simple-content-wrap .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

/* Clearfix */
body.woocommerce-checkout .mlm-form-wrapper .clearfix,
body.woocommerce-checkout .simple-content-wrap .clearfix {
    clear: both;
}

/* Modern Form Header (if exists) */
body.woocommerce-checkout .mlm-form-wrapper .modern-form-header {
    text-align: center;
    margin-bottom: 24px;
}

body.woocommerce-checkout .mlm-form-wrapper .modern-form-title {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

body.woocommerce-checkout .mlm-form-wrapper .modern-form-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Payment Methods - Modern Card Design */
#payment {
    /* Make payment container look like glass review card */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0;
    margin-top: 20px;
}

/* Remove gray background from any mlmch wrapper inside payment */
#payment .mlmch,
#payment .mlmch.glass {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

#payment .payment_methods li {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    margin: 0 0 24px 0 !important; /* spacing between gateway cards - increased */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

/* Override primary.css margin */
body.woocommerce-checkout #payment .payment_method,
body.woocommerce-checkout #payment .payment_methods li {
    margin-bottom: 24px !important;
    margin-top: 0 !important;
}

#payment .payment_methods li:last-child,
body.woocommerce-checkout #payment .payment_method:last-child,
body.woocommerce-checkout #payment .payment_methods li:last-child {
    margin-bottom: 0 !important;
}

#payment .payment_methods li:hover {
    border-color: var(--mlm-primary);
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

#payment .payment_methods li.payment_method_selected {
    border-color: var(--mlm-primary);
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.18);
}

/* Hide default radio */
#payment .payment_methods li input[type="radio"] {
    display: none;
}

/* Label Container */
#payment .payment_methods li label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    gap: 12px; /* space between icon and text */
    cursor: pointer;
    margin: 0;
    width: 100%;
    position: relative;
}

/* Gateway Logo - Right aligned (before text in RTL) */
#payment .payment_methods li label img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: var(--mlm-white);
    padding: 6px;
    border-radius: 10px;
    border: 1px solid var(--mlm-gray-200);
    flex-shrink: 0;
    order: -1;            /* place icon first (right side in RTL) */
    margin-left: 12px;    /* gap between icon and following text */
    margin-right: 0;
}

/* Ensure label content is properly aligned */
#payment .payment_methods li label {
    flex-direction: row;  /* Keep RTL direction */
}

/* Text content wrapper */
#payment .payment_methods li label strong,
#payment .payment_methods li label .payment_box_title {
    flex: 1;
    text-align: right;    /* RTL text alignment */
}

/* Gateway Text Structure */
#payment .payment_methods li label .payment_box_title,
#payment .payment_methods li label strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--mlm-black);
    display: block;
    margin-bottom: 4px;
}

#payment .payment_methods li label .about_paypal {
    font-size: 13px;
    color: var(--mlm-secondary);
    display: block;
    margin-top: 4px;
}

/* Custom Radio Button (Right Side) */
#payment .payment_methods li label::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid var(--mlm-gray-300);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--mlm-white);
    position: relative;
}

#payment .payment_methods li.payment_method_selected label::after {
    background: var(--mlm-primary);
    border-color: var(--mlm-primary);
}

#payment .payment_methods li.payment_method_selected label::before {
    content: '';
    position: absolute;
    right: 28px;
    width: 8px;
    height: 8px;
    background: var(--mlm-white);
    border-radius: 50%;
    z-index: 1;
}

/* Payment Box (Additional Fields) - Styled like checkout sections */
#payment .payment_box {
    background: transparent !important;
    border-radius: 0;
    border: none !important;
    border-top: 1px solid var(--mlm-gray-200) !important;  /* separator line above dialog */
    padding: 16px 0 0 0;
    margin: 16px 0 0 0;
    font-size: 14px;
    color: var(--mlm-black);
    line-height: 1.6;
    box-shadow: none !important;
}

#payment .payment_box p {
    margin: 0 0 8px 0;
    color: var(--mlm-secondary);
}

#payment .payment_box p:last-child {
    margin-bottom: 0;
}

#payment .payment_box ul,
#payment .payment_box ol {
    margin: 8px 0;
    padding-right: 20px;
}

#payment .payment_box li {
    margin-bottom: 4px;
    color: var(--mlm-secondary);
}

/* Place Order Button */
#place_order {
    width: 100%;
    padding: 16px;
    background: var(--mlm-success);
    color: var(--mlm-white);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--mlm-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#place_order:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

#place_order::before {
    content: '🔒';
    font-size: 20px;
}

/* Order Review Container */
#order_review,
.woocommerce-checkout-review-order {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure review card wrapper is visible */
.mlmch.review-card.glass {
    display: block !important;
    visibility: visible !important;
}

/* Remove gray background from review card in checkout */
.mlm-checkout-section .mlmch.review-card.glass,
.mlm-checkout-section .mlmch.review-card,
.mlm-checkout-section .mlmch {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Order Review Table - Styled like checkout sections */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border: none;
    margin: 0;
    display: table !important;
    border-collapse: collapse;
    border-spacing: 0;
    background: transparent;
}

/* Hide thead completely */
.woocommerce-checkout-review-order-table thead {
    display: none !important;
}

.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tfoot {
    display: table-row-group !important;
}

/* All rows with separators */
.woocommerce-checkout-review-order-table tr {
    display: table-row !important;
    border-bottom: 1px solid var(--mlm-gray-200);
}

.woocommerce-checkout-review-order-table tr:last-child {
    border-bottom: none;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 14px 0;
    border: none;
    display: table-cell !important;
    background: transparent;
    vertical-align: top;
}

.woocommerce-checkout-review-order-table th {
    text-align: right;
    font-weight: 500;
    color: var(--mlm-secondary);
    padding-left: 20px;
}

.woocommerce-checkout-review-order-table td {
    text-align: left;
}

.woocommerce-checkout-review-order-table .cart_item {
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .cart_item .product-name {
    font-weight: 600;
    color: var(--mlm-black);
    line-height: 1.5;
}

.woocommerce-checkout-review-order-table .cart_item .product-total {
    font-weight: 600;
    color: var(--mlm-black);
    text-align: left;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .product-quantity {
    margin-right: 8px;
    color: var(--mlm-secondary);
    font-weight: 600;
}

/* Vendor styling in review table */
.woocommerce-checkout-review-order-table .vendor {
    margin-top: 6px;
}

.woocommerce-checkout-review-order-table .vendor .muted {
    font-size: 12px;
    color: var(--mlm-secondary);
}

.woocommerce-checkout-review-order-table .vendor strong {
    font-weight: 600;
    color: var(--mlm-black);
}

/* Ensure all text in cells is visible */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color: var(--mlm-black) !important;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .cart-subtotal td {
    font-weight: 500;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .order-total th {
    font-size: 16px;
    font-weight: 700;
    color: var(--mlm-black);
    padding-top: 16px;
}

.woocommerce-checkout-review-order-table .order-total td {
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-primary);
    padding-top: 16px;
}

/* Coupon rows */
.woocommerce-checkout-review-order-table .cart-discount th,
.woocommerce-checkout-review-order-table .cart-discount td {
    font-weight: 500;
    font-size: 14px;
    color: var(--mlm-success);
}

/* Tax rows */
.woocommerce-checkout-review-order-table .tax-rate th,
.woocommerce-checkout-review-order-table .tax-rate td,
.woocommerce-checkout-review-order-table .tax-total th,
.woocommerce-checkout-review-order-table .tax-total td {
    font-weight: 500;
    font-size: 14px;
}

/* Hidden Fields (Smart Checkout) */
.mlm-checkout-fields .mlm-field-hidden {
    display: none !important;
}

/* Responsive - Checkout */
@media (max-width: 768px) {
    .mlm-checkout-fields {
        display: block;
        width: 100%;
    }
    
    .mlm-checkout-fields .form-row,
    .mlm-checkout-fields .form-row-wide {
        width: 100% !important;
        display: block !important;
    }
    
    .mlm-checkout-fields input,
    .mlm-checkout-fields select,
    .mlm-checkout-fields textarea,
    .mlm-checkout-section input,
    .mlm-checkout-section select,
    .mlm-checkout-section textarea {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .mlm-checkout-coupon-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .mlm-checkout-coupon-input {
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
    }
    
    .mlm-checkout-coupon-button {
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
    }
    
    .mlm-checkout-cashback-section {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   THANK YOU PAGE STYLES
   ========================================== */

/* Hero Section */
.mlm-thankyou-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.mlm-thankyou-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mlm-thankyou-icon svg {
    width: 60px;
    height: 60px;
    color: var(--mlm-white);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.mlm-thankyou-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 15px 0;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.mlm-thankyou-subtitle {
    font-size: 18px;
    color: var(--mlm-secondary);
    line-height: 1.6;
    margin: 0;
    animation: fadeInUp 0.6s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Cards Grid */
.mlm-thankyou-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.mlm-thankyou-info-card {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--mlm-transition);
    animation: fadeInUp 0.6s ease both;
}

.mlm-thankyou-info-card:nth-child(1) { animation-delay: 0.1s; }
.mlm-thankyou-info-card:nth-child(2) { animation-delay: 0.2s; }
.mlm-thankyou-info-card:nth-child(3) { animation-delay: 0.3s; }
.mlm-thankyou-info-card:nth-child(4) { animation-delay: 0.4s; }

.mlm-thankyou-info-card:hover {
    border-color: var(--mlm-primary);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

.mlm-thankyou-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mlm-thankyou-info-icon svg {
    width: 28px;
    height: 28px;
    color: var(--mlm-primary);
}

.mlm-thankyou-info-content {
    flex: 1;
}

.mlm-thankyou-info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--mlm-secondary);
    margin-bottom: 5px;
}

.mlm-thankyou-info-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-black);
}

/* Cashback */
.mlm-thankyou-cashback {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 2px solid var(--mlm-success-light);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.mlm-thankyou-cashback-icon {
    width: 70px;
    height: 70px;
    background: var(--mlm-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mlm-thankyou-cashback-icon svg {
    width: 40px;
    height: 40px;
    color: var(--mlm-white);
}

.mlm-thankyou-cashback-content {
    flex: 1;
}

.mlm-thankyou-cashback-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mlm-secondary);
    margin: 0 0 8px 0;
}

.mlm-thankyou-cashback-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--mlm-success);
    margin: 0 0 5px 0;
}

.mlm-thankyou-cashback-expiry {
    font-size: 14px;
    color: var(--mlm-secondary);
    margin: 0;
}

/* Section Title */
.mlm-thankyou-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mlm-gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlm-thankyou-section-title svg {
    width: 24px;
    height: 24px;
    color: var(--mlm-primary);
}

/* Timeline */
.mlm-thankyou-timeline {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    margin-bottom: 30px;
}

.mlm-timeline {
    position: relative;
    padding-right: 30px;
}

.mlm-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 9px;
    width: 2px;
    height: calc(100% - 60px);
    background: var(--mlm-gray-300);
}

.mlm-timeline-item {
    position: relative;
    padding-bottom: 40px;
    display: flex;
    gap: 20px;
}

.mlm-timeline-item:last-child {
    padding-bottom: 0;
}

.mlm-timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--mlm-gray-200);
    border: 3px solid var(--mlm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: var(--mlm-transition);
}

.mlm-timeline-marker-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--mlm-secondary);
}

.mlm-timeline-item.completed .mlm-timeline-marker {
    background: var(--mlm-success);
    animation: pulse 1s ease;
}

.mlm-timeline-item.completed .mlm-timeline-marker svg {
    color: var(--mlm-white);
}

.mlm-timeline-item.pending .mlm-timeline-marker {
    background: var(--mlm-gray-100);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.mlm-timeline-content {
    flex: 1;
    padding-top: 5px;
}

.mlm-timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 5px 0;
}

.mlm-timeline-desc {
    font-size: 14px;
    color: var(--mlm-secondary);
    margin: 0 0 5px 0;
    line-height: 1.5;
}

.mlm-timeline-time {
    font-size: 13px;
    color: var(--mlm-secondary-light);
}

/* Downloads */
.mlm-thankyou-downloads {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    margin-bottom: 30px;
}

.mlm-downloads-grid {
    display: grid;
    gap: 15px;
}

.mlm-download-item {
    background: var(--mlm-gray-50);
    border: 2px solid var(--mlm-gray-200);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--mlm-transition);
}

.mlm-download-item:hover {
    border-color: var(--mlm-primary);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

.mlm-download-icon {
    width: 60px;
    height: 60px;
    background: var(--mlm-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mlm-download-icon svg {
    width: 32px;
    height: 32px;
    color: var(--mlm-primary);
}

.mlm-download-content {
    flex: 1;
}

.mlm-download-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 5px 0;
}

.mlm-download-remaining,
.mlm-download-expiry {
    font-size: 13px;
    color: var(--mlm-secondary);
    margin: 0;
}

.mlm-download-button {
    padding: 12px 24px;
    background: var(--mlm-primary);
    color: var(--mlm-white);
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: var(--mlm-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.mlm-download-button:hover {
    background: var(--mlm-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Order Items */
.mlm-thankyou-order-items {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    margin-bottom: 30px;
}

.mlm-thankyou-order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--mlm-gray-200);
}

.mlm-thankyou-order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mlm-thankyou-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.mlm-thankyou-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlm-thankyou-item-details {
    flex: 1;
}

.mlm-thankyou-item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 5px 0;
}

.mlm-thankyou-item-quantity {
    font-size: 14px;
    color: var(--mlm-secondary);
    margin: 0;
}

.mlm-thankyou-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-primary);
}

/* Actions */
.mlm-thankyou-actions {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    margin-bottom: 20px;
}

.mlm-thankyou-actions-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mlm-gray-200);
}

.mlm-thankyou-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--mlm-transition);
    margin-bottom: 10px;
}

.mlm-thankyou-action-btn:last-child {
    margin-bottom: 0;
}

.mlm-action-btn-primary {
    background: var(--mlm-primary);
    color: var(--mlm-white);
}

.mlm-action-btn-primary:hover {
    background: var(--mlm-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.mlm-action-btn-secondary {
    background: var(--mlm-gray-100);
    color: var(--mlm-secondary-dark);
}

.mlm-action-btn-secondary:hover {
    background: var(--mlm-secondary);
    color: var(--mlm-white);
}

/* Responsive - Thank You */
@media (max-width: 768px) {
    .mlm-thankyou-hero {
        padding: 30px 15px;
    }
    
    .mlm-thankyou-title {
        font-size: 24px;
    }
    
    .mlm-thankyou-subtitle {
        font-size: 16px;
    }
    
    .mlm-thankyou-info-grid {
        grid-template-columns: 1fr;
    }
    
    .mlm-thankyou-cashback {
        flex-direction: column;
        text-align: center;
    }
    
    .mlm-timeline {
        padding-right: 20px;
    }
    
    .mlm-download-item {
        flex-wrap: wrap;
    }
    
    .mlm-download-button {
        width: 100%;
    }
    
    .mlm-thankyou-order-item {
        flex-wrap: wrap;
    }
    
    .mlm-thankyou-item-price {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   DEAL TIMER STYLES (Phase 7)
   ========================================== */

.mlm-deal-timer {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 2px solid var(--mlm-primary);
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    animation: fadeInUp 0.3s ease;
}

.mlm-deal-timer-message {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mlm-primary);
}

.mlm-deal-timer-message svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.mlm-deal-timer-countdown {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mlm-timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.mlm-timer-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--mlm-primary);
    line-height: 1;
    font-family: 'Courier New', monospace;
}

.mlm-timer-label {
    font-size: 11px;
    color: var(--mlm-secondary);
    margin-top: 3px;
}

.mlm-timer-separator {
    font-size: 20px;
    font-weight: 700;
    color: var(--mlm-primary);
    line-height: 1;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

/* Urgent Style */
.mlm-deal-timer-urgent {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    border-color: var(--mlm-danger);
    animation: urgentPulse 1s infinite;
}

.mlm-deal-timer-urgent .mlm-deal-timer-message,
.mlm-deal-timer-urgent .mlm-timer-value,
.mlm-deal-timer-urgent .mlm-timer-separator {
    color: var(--mlm-danger);
}

@keyframes urgentPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

/* Minimal Style */
.mlm-deal-timer-minimal {
    background: transparent;
    border: none;
    padding: 8px 0;
}

.mlm-deal-timer-minimal .mlm-deal-timer-message {
    font-size: 13px;
}

.mlm-deal-timer-minimal .mlm-timer-value {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 480px) {
    .mlm-deal-timer {
        flex-direction: column;
        gap: 10px;
    }
    
    .mlm-timer-segment {
        min-width: 40px;
    }
    
    .mlm-timer-value {
        font-size: 18px;
    }
}

/* ==========================================
   CROSS-SELL (SMART BUNDLING) STYLES (Phase 7.2)
   ========================================== */

.mlm-cross-sell-offers {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: var(--mlm-border-radius);
    padding: 25px;
    margin: 30px 0;
}

.mlm-cross-sell-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mlm-black);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mlm-gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlm-cross-sell-title svg {
    width: 24px;
    height: 24px;
    color: var(--mlm-primary);
}

.mlm-cross-sell-offer {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 2px solid var(--mlm-primary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.mlm-cross-sell-offer:last-child {
    margin-bottom: 0;
}

.mlm-cross-sell-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mlm-cross-sell-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.mlm-cross-sell-badge {
    background: var(--mlm-primary);
    color: var(--mlm-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.mlm-cross-sell-message {
    font-size: 15px;
    font-weight: 600;
    color: var(--mlm-secondary-dark);
    flex: 1;
}

.mlm-cross-sell-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mlm-cross-sell-product {
    background: var(--mlm-white);
    border: 2px solid var(--mlm-gray-200);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 12px;
    transition: var(--mlm-transition);
}

.mlm-cross-sell-product:hover {
    border-color: var(--mlm-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.mlm-cross-sell-product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.mlm-cross-sell-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlm-cross-sell-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mlm-cross-sell-product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--mlm-black);
    margin: 0 0 5px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mlm-cross-sell-product-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--mlm-primary);
}

.mlm-cross-sell-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 15px;
    border-top: 2px dashed var(--mlm-primary);
    position: relative;
    z-index: 1;
}

.mlm-cross-sell-price {
    flex: 1;
}

.mlm-cross-sell-price-label {
    font-size: 13px;
    color: var(--mlm-secondary);
    margin-bottom: 5px;
}

.mlm-cross-sell-price-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlm-cross-sell-original-price {
    font-size: 16px;
    color: var(--mlm-secondary);
    text-decoration: line-through;
}

.mlm-cross-sell-final-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--mlm-success);
}

.mlm-cross-sell-add-btn {
    padding: 12px 24px;
    background: var(--mlm-primary);
    color: var(--mlm-white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--mlm-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.mlm-cross-sell-add-btn:hover {
    background: var(--mlm-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.mlm-cross-sell-add-btn:disabled {
    background: var(--mlm-gray-300);
    cursor: not-allowed;
    transform: none;
}

.mlm-cross-sell-add-btn svg {
    width: 20px;
    height: 20px;
}

/* Loading State */
.mlm-cross-sell-add-btn.loading {
    position: relative;
    color: transparent;
}

.mlm-cross-sell-add-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--mlm-white);
    animation: spin 0.6s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .mlm-cross-sell-products {
        grid-template-columns: 1fr;
    }
    
    .mlm-cross-sell-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mlm-cross-sell-add-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mlm-cross-sell-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================
   SOCIAL PROOF STYLES (Phase 7.3)
   ========================================== */

.mlm-social-proof-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.mlm-social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    animation: fadeInUp 0.3s ease;
}

.mlm-social-proof-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.mlm-social-proof-icon svg {
    width: 16px;
    height: 16px;
}

.mlm-social-proof-text {
    line-height: 1;
}

/* Color Variations */
.mlm-social-proof-success {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid var(--mlm-success);
    color: #059669;
}

.mlm-social-proof-info {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #3B82F6;
    color: #2563EB;
}

.mlm-social-proof-warning {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1px solid var(--mlm-primary);
    color: #EA580C;
}

/* Pulse Animation for Active Viewers */
.mlm-social-proof-viewers {
    animation: subtlePulse 2s infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .mlm-social-proof-badges {
        flex-direction: column;
    }
    
    .mlm-social-proof-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .mlm-wizard-progress-bar,
    .mlm-cart-tabs,
    .mlm-cart-product-actions,
    .mlm-cart-summary-checkout-btn,
    .mlm-cart-suggested,
    .mlm-checkout-coupon-section,
    #payment,
    .mlm-thankyou-actions,
    #mlm-confetti-canvas {
        display: none !important;
    }
}

