/* ================================================================
   1. NAVIGATION BAR - MAIN & DROPDOWN (DESKTOP)
   ================================================================ */
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a,
#site-navigation li.current-menu-item > a,
.nav-menu li.current-menu-item > a {
    color: #ff0000 !important;
    font-weight: 800 !important;
}

.main-navigation ul li a, 
#site-navigation ul li a {
    color: #ffffff !important;
}

.main-navigation ul li, 
#site-navigation ul li {
    position: relative;
}

.main-navigation ul ul,
#site-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #000000 !important;
    min-width: 200px;
    padding: 10px 0 !important;
    border-top: 3px solid #ff0000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border-radius: 0 0 10px 10px;
    z-index: 9999;
}

.main-navigation ul li:hover > ul,
#site-navigation ul li:hover > ul {
    display: block;
    animation: navFadeIn 0.3s ease-in-out;
}

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

/* ================================================================
   2. PC PACKAGE CARDS & FORMINATOR
   ================================================================ */
.uagb-post-grid .uagb-post__inner-wrap {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.uagb-post-grid .uagb-post__inner-wrap:hover {
    transform: translateY(-10px);
    border-color: #ff0000 !important;
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3) !important;
}

.forminator-ui.forminator-custom-form {
    margin: 50px auto !important;
    max-width: 850px !important;
    background: #ffffff !important;
    padding: 45px !important;
    border-radius: 25px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7) !important;
}

/* ================================================================
   3. YITH PRODUCT ADD-ONS
   ================================================================ */
.yith-wapo-addon ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 0 !important;
    list-style: none !important;
}

.yith-wapo-option {
    position: relative;
    border: 2px solid #eee !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease-in-out !important;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    display: flex;
}

.yith-wapo-option label {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 18px 15px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.3;
    color: #333;
    z-index: 2;
}

.yith-wapo-option:not(:has(input:checked)) {
    opacity: 0.7;
}

.yith-wapo-option input[type="radio"], 
.yith-wapo-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yith-wapo-option:has(input:checked) {
    border: 3px solid #ff0000 !important;
    background: #fffafa !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.15) !important;
    transform: translateY(-2px);
    opacity: 1;
}

/* ================================================================
   4. SHOP & GLOBAL PRICE REPAIR
   ================================================================ */
.price, .price span, .price bdi, .price ins, 
.woocommerce-Price-amount, .woocommerce-Price-amount bdi,
.single-product p.price, .yith-wapo-order-total bdi {
    color: #ff0000 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product {
    background: #ffffff;
    border-radius: 20px !important;
    padding: 20px !important;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

/* ================================================================
   5. PRICE SUMMARY TABLE (DARK THEME)
   ================================================================ */
.yith-wapo-block .yith-wapo-order-info {
    background: #111 !important;
    color: #fff !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin-top: 30px !important;
    border: none !important;
}

/* ================================================================
   6. CART, CHECKOUT & FOOTER
   ================================================================ */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.single-product .cart .button {
    background: #ff0000 !important;
    border-radius: 50px !important;
    padding: 18px 30px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

/* ================================================================
   7. MY ACCOUNT & SIDEBAR
   ================================================================ */
.woocommerce-MyAccount-content {
    background: #fff !important;
    padding: 30px !important;
    border-radius: 0 15px 15px 15px;
    color: #333 !important;
}

aside.widget {
    background: #111 !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
}

/* ================================================================
   8. ABOUT US PAGE (Page ID: 1198)
   ================================================================ */
.page-id-1198 {
    background-color: #000000 !important;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px) !important;
    background-size: 50px 50px !important;
}

/* ================================================================
   9. UNIFIED POLICY PAGES 
   (Terms: 2044, Privacy: 14, Refund: 3, FAQ: 2005, Shipping: 2239)
   ================================================================ */
.page-id-2044, .page-id-14, .page-id-3, .page-id-2005, .page-id-2239 {
    background-color: #000000 !important;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px) !important;
    background-size: 30px 30px !important;
    color: #ffffff !important;
}

/* Unified Heading Style H1 to H6 */
.page-id-2044 h1, .page-id-2044 h2, .page-id-2044 h3, .page-id-2044 h4, .page-id-2044 h5, .page-id-2044 h6,
.page-id-14 h1, .page-id-14 h2, .page-id-14 h3, .page-id-14 h4, .page-id-14 h5, .page-id-14 h6,
.page-id-3 h1, .page-id-3 h2, .page-id-3 h3, .page-id-3 h4, .page-id-3 h5, .page-id-3 h6,
.page-id-2005 h1, .page-id-2005 h2, .page-id-2005 h3, .page-id-2005 h4, .page-id-2005 h5, .page-id-2005 h6,
.page-id-2239 h1, .page-id-2239 h2, .page-id-2239 h3, .page-id-2239 h4, .page-id-2239 h5, .page-id-2239 h6 {
    color: #ffffff !important;
    border-left: 5px solid #ff0000 !important;
    padding-left: 15px !important;
    font-style: italic !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    display: block;
}

.page-id-2044 p, .page-id-14 p, .page-id-3 p, .page-id-2005 p, .page-id-2239 p {
    color: #ffffff !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}
/* ================================================================
   10. UNIVERSAL MOBILE & TABLET MENU FIX (Final Force)
   ================================================================ */
/* Force Background to Black */
html body #ast-mobile-popup,
html body .ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
html body .ast-mobile-header-wrap .ast-mobile-popup-content {
    background-color: #000000 !important;
    background-image: none !important;
}

/* Force Menu Links to White Bold Text */
html body #ast-mobile-popup a,
html body .ast-mobile-popup-content .main-navigation a,
html body .ast-mobile-popup-inner a {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    display: block !important;
}

/* Force Active Link to Haztech Red */
html body #ast-mobile-popup .current-menu-item > a {
    color: #ff0000 !important;
    border-left: 5px solid #ff0000 !important;
}

/* Force Close Icon (X) Visibility */
html body .ast-mobile-popup-drawer .menu-toggle-close {
    color: #ff0000 !important;
}

/* Remove White Dividers */
html body #ast-mobile-popup li {
    border-bottom: 1px solid #1a1a1a !important;
}

/* ================================================================
   FINAL CLEAN-UP: FIXING THE ASTRA "WHITE BOX" & TEXT VISIBILITY
   ================================================================ */

/* 1. Kills that big white frame around your content */
.ast-separate-container, 
.ast-separate-container #primary, 
.ast-separate-container .site-content {
    background-color: #000000 !important;
    border: none !important;
}

/* 2. Fixes the 'invisible' white-on-white text in your options */
.yith-wapo-option label, 
.yith-wapo-option label span {
    color: #000000 !important; /* Change to #ffffff if you make the boxes dark */
    font-weight: 800 !important;
}

/* 3. Ensures the Price Summary table at the bottom matches your style */
.yith-wapo-order-info {
    border: 2px solid #ff0000 !important;
    border-radius: 10px;
}