/* ==========================================================================
   Black Friday Promo Additions (Unified & Optimized) - Black & Gold Version
   ========================================================================== */

/* 1. Top Header Section */
.title-and-lang {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title-and-lang h4 {
    color: #111111 !important; /* Changed from Brick Red to Black */
    font-weight: 800 !important;
    text-shadow: none !important;
    display: flex;
    align-items: center;
    margin: 0 !important;
}
.title-and-lang h4::before {
    content: "🛒" !important; /* Changed from Fire to Crown */
    font-size: 1.1em;
    margin-right: 12px !important;
}
.header-btn-mac {
    margin-right: 20px !important;
}
.header-btn-mac a {
    background-color: #111111 !important; /* Changed from Green to Black */
    color: #e8c37b !important; /* Added Gold text */
    border: 1px solid #e8c37b !important;
    transition: all 0.3s ease !important;
    padding: 8px 20px !important;
    border-radius: 30px !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.header-btn-mac a:hover {
    background-color: #e8c37b !important; /* Gold on hover */
    color: #111111 !important;
    box-shadow: 0 4px 10px rgba(232, 195, 123, 0.4) !important;
}
.header-btn-mac a img {
    margin-left: 8px !important;
}

/* 2. Price Cards (Plans) */
.plan {
    background: #ffffff !important;
    border: 1px solid #e5dfd3 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease;
}
.plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 101, 8, 0.15) !important;
    border-color: #e8c37b !important;
}
.plan.plan-highlight {
    border: 2px solid #111111 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* 3. Typography */
.plan-price {
    /* Sophisticated Dark Gold Gradient */
    background: linear-gradient(110deg, #2a1b02 0%, #6e4f0d 40%, #a67c1e 60%, #6e4f0d 85%, #2a1b02 100%) !important; 
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
}
.plan-price del {
    color: #a0a0a0 !important;
    -webkit-text-fill-color: #a0a0a0 !important;
}
.plan.plan-highlight {
    border: 2px solid #d4af37 !important; /* Highlight with gold border instead of black/green */
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2) !important;
}
/* ==========================================================================
   Change specific Plan Title to Brick Red
   ========================================================================== */

.plan-title {
    color: #d33f3f !important; /* Brick Red */
	font-weight: 800 !important; /* Added bold weight */
}

.plan-title::before {
    color: #d33f3f !important; /* Make the hourglass icon match the red text */
}
/* ==========================================================================
   4. Unified Purchase Buttons (Black & Gold)
   ========================================================================== */
.plan-button, 
.plan-button-recommended, 
.btn-buy-now {
    background: #111111 !important; /* Changed from Red Gradient to Black */
    color: #e8c37b !important; /* Gold text */
    border: 1px solid #111111 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    text-shadow: none !important;
}

.plan-button:hover, 
.plan-button-recommended:hover, 
.btn-buy-now:hover {
    background: #e8c37b !important; /* Gold on hover */
    color: #111111 !important;
    border-color: #e8c37b !important;
    box-shadow: 0 6px 15px rgba(232, 195, 123, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* 5. Discount Tags - Breathing Light */
.plan-recommended, .plan-recommended2, .discount-tip {
    background: #111111 !important; /* Changed from Red to Black */
    color: #e8c37b !important; /* Gold */
    font-weight: 900 !important;
    border: 1px solid #e8c37b !important;
    border-radius: 4px !important;
    animation: pulseBf 2s infinite alternate;
}
@keyframes pulseBf {
    0% { box-shadow: 0 0 0 0 rgba(232, 195, 123, 0.5); }
    100% { box-shadow: 0 0 0 8px rgba(232, 195, 123, 0); }
}

/* 6. Bundle Section (Standard) */
.bundle {
    border: 2px solid #e8c37b !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(232, 195, 123, 0.2) !important;
}
.bundle h3::before {
    content: "🎁 ";
    color: #e8c37b;
}

/* 7. All-In-One Bundle (Module 4) */
.module-4 .product-item {
    border: 1px solid #e8c37b !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}
.module-4 .product-item:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: #111111 !important; /* Black on hover */
}
.module-4 .product-item span {
    color: #333 !important; 
    font-weight: 600 !important;
}

.module-4 .bundle-title {
    color: #111111 !important; /* Changed to Black */
    font-weight: 900 !important;
}
.module-4 .bundle-title::before {
    content: "🔥 ";
    color: #e8c37b;
}
.module-4 .bundle-desc {
    color: #555555 !important;
}
.module-4 .bundle-price .discount {
    background: linear-gradient(90deg, #8b6508 0%, #e8c37b 50%, #8b6508 100%) !important; /* Changed to Gold */
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
    font-size: 40px !important;
}
.module-4 .bundle-price .orginal {
    color: #888888 !important;
    text-decoration: line-through !important;
}

/* Top Right Tag on Module 4 */
.module-4 .discount-tip {
    background: #111111 !important; /* Changed to Black */
    color: #e8c37b !important; /* Gold */
    border: 1px solid #e8c37b !important;
    border-radius: 0 0 0 12px !important;
    padding: 10px 20px !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Keep the Black Friday Sticker */
.module-4 .bundle-btns img {
    display: block !important; 
    position: absolute !important;
    margin-top: -15px !important; 
    margin-left: -25px !important;
    z-index: 2 !important;
}

/* Global Emojis */
.plan-title::before {
    content: "⏳ ";
    font-size: 0.9em;
    color: #e8c37b; /* Make hourglass gold */
}

/* ==========================================================================
   Light Theme Background Option 3: Pale Gold
   ========================================================================== */
.module-4 .bundle-box {
    background: linear-gradient(135deg, #fffcf5 0%, #fdf3e0 100%) !important; /* Very faint gold gradient */
    border: 1px solid #e8c37b !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(139, 101, 8, 0.1) !important;
}

.module-4 .product-item {
    background: #ffffff !important;
    border-color: #e5dfd3 !important;
}

@media (max-width: 768px) {
    .module-4, 
    .module-4 .bundle-box, 
    .module-4 .bundle-box.active,
    .module-4 .switch-rela {
        background: linear-gradient(135deg, #fffcf5 0%, #fdf3e0 100%) !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }
    .module-4 .bundle-content {
        background: transparent !important;
    }

    .module-4 .bundle-btns img {
        display: none !important; 
    }

    .module-4 .bundle-btns {
        display: flex !important;
        justify-content: center !important; 
        position: relative !important;
    }
    
    .module-4 .btn-buy-now {
        position: relative !important; 
    }

    .module-4 .btn-buy-now::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        
        top: -18px !important;   
        left: -15px !important;  
        
        background-image: url('/images/black-friday-3.png') !important; 
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        
        width: 55px !important; 
        height: 55px !important;
        transform: rotate(-15deg) !important; 
        z-index: 2 !important;
        pointer-events: none !important; 
    }
}

@media (max-width: 768px) {
    .title-and-lang {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .title-and-lang > div {
        width: 100% !important;
    }
    .header-btn-mac {
        margin: 0 !important;
        display: block !important; 
    }

    .header-btn-mac a {
        position: relative !important; 
        display: inline-flex !important; 
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important; 
        border: none !important;
        width: auto !important; 
        min-width: max-content !important; 
        padding: 8px 16px !important; 
        text-decoration: none !important;
        overflow: visible !important; 
        z-index: 1;
    }

    .header-btn-mac a {
        color: #e8c37b !important;
        font-size: 14px !important;
        white-space: nowrap !important; 
    }

    .header-btn-mac a::before {
        content: "" !important;
        position: absolute !important;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #111111 !important;
        border: 1px solid #e8c37b !important;
        border-radius: 30px !important; 
        z-index: -1; 
        transition: all 0.3s ease !important;
    }

    .header-btn-mac a img {
        width: 16px !important;
        height: auto !important;
        margin-right: 8px !important;
        margin-left: 0 !important;
        display: inline-block !important;
    }

    .header-btn-mac a img:last-child {
        display: none !important; 
    }
    .header-btn-mac a:hover::before {
        background: #e8c37b !important;
    }
    .header-btn-mac a:hover {
        color: #111111 !important;
    }
    .header-btn-mac a:hover img {
        filter: brightness(0) !important; 
    }
}
@media (min-width: 769px) {
    .module-4 .bundle-box {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 30px !important;
    }
    .module-4 .bundle-box > .bundle-content:first-child {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        min-width: 0 !important;
    }
    .module-4 .bundle-box > .bundle-content:last-child {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
}

@media (max-width: 768px) {
    .module-4 .bundle-box > .bundle-content:last-child {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }

    .module-4 .bundle-price {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important; 
        margin-bottom: 20px !important;
    }
    
    .module-4 .bundle-price .orginal {
        margin: 0 !important;
        display: inline-block !important;
    }

    .module-4 .bundle-btns {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 15px 0 !important;
    }

    .module-4 .btn-buy-now {
        margin: 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .module-4 .btn-buy-now::before {
        left: -15px !important; 
        top: -18px !important;
    }

    .module-4 .bundle-content:last-child p,
    .module-4 .bundle-content:last-child .license-text {
        text-align: center !important;
        margin-top: 15px !important;
        width: 100% !important;
    }
}

@media (min-width: 769px) {
    .module-4 .discount-tip {
        top: -20px !important;    
        right: -20px !important;  
        margin: 0 !important;
    }

    .module-4 .bundle-box > .bundle-content:last-child {
        padding-top: 25px !important;
    }

    .module-4 .bundle-title {
        margin-top: 10px !important;
    }
}
