@import 'font.css';

:root {
    --vip-gold-primary: #D4AF37;
    --vip-gold-light: #F3E5AB;
    --vip-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #AA7C11 100%);
    --vip-gold-glow: rgba(212, 175, 55, 0.25);
    --vip-dark-obsidian: #141416;
    --vip-dark-card-gradient: linear-gradient(135deg, #141416 0%, #232228 50%, #1a1820 100%);
}

/* 👑 Body & Global VIP Modifiers */
body.vip-theme-active .vip-only-element {
    display: flex !important;
}

body:not(.vip-theme-active) .vip-only-element {
    display: none !important;
}

/* 👑 Navbar & Header VIP Enhancements */
.header-user-pill.is-vip {
    background: linear-gradient(135deg, #1e1b24 0%, #2a2433 100%) !important;
    border: 1.5px solid var(--vip-gold-primary) !important;
    box-shadow: 0 3px 14px var(--vip-gold-glow) !important;
    position: relative;
    padding: 5px 14px 5px 8px !important;
    min-width: auto !important;
    gap: 8px !important;
}

.header-user-pill.is-vip .user-pill-avatar {
    background: var(--vip-gold-gradient) !important;
    color: #000 !important;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
    width: 28px !important;
    height: 28px !important;
}

.header-user-pill.is-vip .user-pill-name {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 12.5px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.header-user-pill.is-vip .user-pill-phone {
    color: var(--vip-gold-light) !important;
    font-weight: 600 !important;
    font-size: 10px !important;
}

/* 👑 VIP Badge Pill */
.vip-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(45deg, #D4AF37, #F3E5AB);
    color: #141416;
    font-weight: 850;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 14px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.35);
    white-space: nowrap;
    text-transform: uppercase;
    animation: vipBadgeShimmer 3s infinite ease-in-out;
}

.vip-badge-pill .vip-txt-mob {
    display: none;
}

.vip-badge-pill .vip-txt-desk {
    display: inline;
}

@keyframes vipBadgeShimmer {

    0%,
    100% {
        box-shadow: 0 2px 6px rgba(212, 175, 55, 0.35);
    }

    50% {
        box-shadow: 0 2px 14px rgba(243, 229, 171, 0.65);
    }
}

/* 📱 Responsive VIP Header Pill on Mobile */
@media (max-width: 640px) {
    .header-user-pill.is-vip {
        padding: 3px 8px 3px 5px !important;
        gap: 5px !important;
        max-width: 135px !important;
        border-radius: 16px !important;
    }

    .header-user-pill.is-vip .user-pill-avatar {
        width: 24px !important;
        height: 24px !important;
    }

    .header-user-pill.is-vip .user-pill-avatar svg {
        width: 12px !important;
        height: 12px !important;
    }

    .header-user-pill.is-vip .user-pill-name {
        font-size: 11px !important;
        max-width: 60px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .header-user-pill.is-vip .user-pill-phone {
        display: none !important;
    }

    .vip-badge-pill {
        font-size: 8.5px !important;
        padding: 1px 4px !important;
        gap: 2px !important;
    }

    .vip-badge-pill svg {
        width: 9px !important;
        height: 9px !important;
    }

    .vip-badge-pill .vip-txt-desk {
        display: none !important;
    }

    .vip-badge-pill .vip-txt-mob {
        display: inline !important;
    }
}

/* 👑 VIP Royal Profile Card (Inside User Profile Modal - Compact & Modern) */
.vip-user-card {
    background: var(--vip-dark-card-gradient);
    border: 1px solid var(--vip-gold-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-user-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.vip-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.vip-card-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-crown-icon-wrap {
    width: 30px;
    height: 30px;
    background: var(--vip-gold-gradient);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #141416;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
}

.vip-crown-icon-wrap svg {
    color: #141416;
}

.vip-card-title-group h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.vip-card-title-group p {
    margin: 1px 0 0 0;
    font-size: 10.5px;
    color: var(--vip-gold-light);
    font-weight: 600;
}

/* Stats Row in VIP Card */
.vip-card-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 8px 0;
    position: relative;
    z-index: 2;
}

.vip-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 9px;
    padding: 6px 4px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.vip-stat-box .stat-val {
    display: block;
    font-size: 14px;
    font-weight: 850;
    color: var(--vip-gold-light);
    line-height: 1.1;
}

.vip-stat-box .stat-lbl {
    display: block;
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* VIP Privileges List */
.vip-privileges-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
    position: relative;
    z-index: 2;
}

.vip-privilege-item {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.vip-privilege-item svg {
    color: var(--vip-gold-primary);
    width: 11px;
    height: 11px;
}

/* ⚡ VIP Express Priority Banner (Cart & Checkout) */
.vip-priority-shipping-banner {
    background: linear-gradient(135deg, #18161e 0%, #241d2d 100%);
    border: 1.5px solid var(--vip-gold-primary);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
    position: relative;
    overflow: hidden;
}

.vip-priority-shipping-banner::after {
    content: 'VIP';
    position: absolute;
    left: -15px;
    bottom: -15px;
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(212, 175, 55, 0.04);
    pointer-events: none;
    line-height: 1;
}

.vip-priority-icon {
    width: 44px;
    height: 44px;
    background: var(--vip-gold-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #141416;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.vip-priority-content {
    flex: 1;
}

.vip-priority-content h4 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-priority-content p {
    margin: 4px 0 0 0;
    font-size: 12.5px;
    color: var(--vip-gold-light);
    line-height: 1.5;
}

/* 👑 Loyalty Page VIP Tier Highlights */
body.vip-theme-active .loyalty-tier-badge.gold {
    background: var(--vip-gold-gradient) !important;
    color: #141416 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.5) !important;
}

body.vip-theme-active .loyalty-card {
    border: 1.5px solid var(--vip-gold-primary) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(212, 175, 55, 0.2) !important;
}

/* 📱 Responsive Adjustments */
@media (max-width: 768px) {
    .vip-user-card {
        padding: 16px;
    }

    .vip-card-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .vip-stat-box {
        padding: 8px 4px;
    }

    .vip-stat-box .stat-val {
        font-size: 14px;
    }

    .vip-stat-box .stat-lbl {
        font-size: 9.5px;
    }

    .vip-priority-shipping-banner {
        padding: 14px;
        gap: 10px;
    }

    .vip-priority-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .vip-priority-content h4 {
        font-size: 13.5px;
    }

    .vip-priority-content p {
        font-size: 11.5px;
    }
}