/*
Theme Name: WordPress Theme Bigbang
Template: astra
Description: Astra Child Theme - Bigbang (AF Style)
Version: 5.1
*/

/* ==========================================================================
   1. AF Design Tokens & Typography
   ========================================================================== */
:root {
    --ast-global-color-0: #0064d2;
    --ast-global-color-1: #0052ad;
    --ast-global-color-2: #0f172a;
    --ast-global-color-3: #334155;
    --ast-global-color-4: #ffffff;
    --ast-global-color-5: #f7f7f7;
    --ast-global-color-6: #0f172a;
    --ast-global-color-7: #e2e8f0;
    --ast-global-color-8: #0f172a;
    --ast-border-color: #e2e8f0;
    --ast-normal-container-width: 1280px;
}

html,
body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    background-color: #f7f7f7 !important;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

body.ast-separate-container,
body .site,
body #page,
body .site-content {
    background-color: #f7f7f7 !important;
}

/* AF Squared Geometry */
body #page *,
body #page *::before,
body #page *::after,
.astra-cart-drawer *,
#ast-scroll-top {
    border-radius: 0 !important;
}

/* ==========================================================================
   2. Sticky Minimal White Header (Astra Header Builder)
   ========================================================================== */
.site-header,
.ast-theme-transparent-header #masthead,
#masthead {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    z-index: 999 !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

#masthead .ast-primary-header-bar,
.ast-theme-transparent-header #masthead .ast-primary-header-bar {
    background-color: #ffffff !important;
    border-bottom: 0 !important;
    min-height: 68px !important;
}

#masthead .site-primary-header-wrap {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-height: 68px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

@media (min-width: 922px) {
    #ast-desktop-header .ast-mobile-menu-trigger-minimal,
    #masthead > .ast-main-header-wrap .ast-mobile-menu-trigger-minimal,
    #ast-desktop-header .ast-mobile-header-toggle,
    #masthead > .ast-main-header-wrap .ast-mobile-header-toggle,
    #ast-desktop-header .ast-button-wrap,
    #masthead > .ast-main-header-wrap .ast-button-wrap {
        display: none !important;
    }

    #ast-desktop-header .ast-builder-menu-1 .main-header-menu,
    #masthead > .ast-main-header-wrap .ast-builder-menu-1 .main-header-menu {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
}

#masthead .site-header-primary-section-right {
    gap: 10px;
}

header .custom-logo-link img.custom-logo,
.ast-theme-transparent-header #masthead .site-logo-img img.custom-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 180px !important;
    max-height: 44px !important;
    object-fit: contain !important;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 68px !important;
}

.ast-desktop .ast-primary-header-bar .ast-header-woo-cart {
    line-height: normal !important;
    min-height: 44px !important;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
.ast-theme-transparent-header .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
.ast-theme-transparent-header .main-header-menu > .menu-item > .menu-link {
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
.ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link,
.ast-theme-transparent-header .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
.ast-theme-transparent-header .ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link {
    color: #0f172a !important;
}

/* Squared 44x44 Header Action Tiles */
.ast-header-search .astra-search-icon,
.ast-theme-transparent-header .ast-header-search .astra-search-icon,
.ast-site-header-cart .cart-container,
.ast-theme-transparent-header .ast-site-header-cart .cart-container,
#ast-mobile-header .ast-mobile-menu-trigger-minimal {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    padding: 0 !important;
    border: 0 !important;
    transition: background-color 0.15s ease !important;
}

.ast-header-search .astra-search-icon:hover,
.ast-site-header-cart .cart-container:hover,
#ast-mobile-header .ast-mobile-menu-trigger-minimal:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

.ast-theme-transparent-header .ast-site-header-cart .ast-addon-cart-wrap,
.ast-theme-transparent-header .ast-site-header-cart .ast-icon,
.ast-site-header-cart .ast-addon-cart-wrap {
    color: #0f172a !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ast-theme-transparent-header .ast-site-header-cart svg,
.ast-theme-transparent-header .ast-header-search svg,
.ast-site-header-cart svg,
.ast-header-search svg {
    fill: currentColor !important;
}

#masthead .ast-site-header-cart i.astra-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 1 !important;
    padding: 0 !important;
    position: relative !important;
}

#masthead .ast-site-header-cart i.astra-icon .ast-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.ast-site-header-cart i.astra-icon:after,
.ast-theme-transparent-header .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after {
    background-color: #0064d2 !important;
    color: #ffffff !important;
    top: -6px !important;
    right: -7px !important;
    min-width: 17px !important;
    height: 17px !important;
    line-height: 17px !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    box-shadow: none !important;
}

.ast-header-search .slide-search .search-form {
    border: 1px solid #cbd5e1 !important;
    background-color: #f1f5f9 !important;
}

.ast-mobile-header-content {
    background-color: #ffffff !important;
    border-top: 1px solid #e2e8f0;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .menu-link,
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

/* ==========================================================================
   3. Homepage Framed Hero & Layout Isolation
   ========================================================================== */
body.home .site-content > .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    display: block !important;
}

.site-content .ast-container,
.site-content {
    display: flow-root !important;
}

.home #primary.af-home-primary {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

.home .af-home-article,
.home.ast-separate-container .af-home-article {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.af-hero-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 0;
    box-sizing: border-box;
}

.af-hero-frame {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.full-width-hero {
    width: 100%;
    position: relative;
    left: auto;
    right: auto;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: block;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
}

.hero-swiper,
.hero-single {
    width: 100%;
    height: auto;
    margin: 0;
    overflow: hidden;
}

.hero-swiper .swiper-wrapper {
    align-items: stretch;
}

.hero-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.hero-slide img,
.hero-single img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.hero-swiper .swiper-pagination {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: auto !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(15, 23, 42, 0.3);
    opacity: 1;
    margin: 0 !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #0f172a;
}

.hero-swiper .swiper-pagination-hidden {
    display: none !important;
}

.af-home-products {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 24px 72px;
    box-sizing: border-box;
}

/* ==========================================================================
   4. Shared Container & Standard Pages
   ========================================================================== */
.ast-woo-shop-archive:not(.home) .site-content > .ast-container,
.tax-product_cat .site-content > .ast-container,
.tax-product_tag .site-content > .ast-container,
.search .site-content > .ast-container,
.single-product .site-content > .ast-container,
.woocommerce-cart .site-content > .ast-container,
.woocommerce-checkout .site-content > .ast-container,
body.page:not(.home):not(.page-template-page-contact-us) .site-content > .ast-container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 28px 24px 64px !important;
}

.ast-plain-container .ast-woocommerce-container,
.ast-separate-container .ast-woocommerce-container {
    padding: 0 !important;
    background: transparent !important;
}

body.page:not(.home):not(.woocommerce-cart):not(.woocommerce-checkout):not(.page-template-page-contact-us) .ast-article-single {
    background: #ffffff;
    border: 1px solid #dedede;
    padding: 36px 44px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.page-template-page-contact-us .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-template-page-contact-us #primary {
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   5. Shop Grid & AF Product Cards
   ========================================================================== */
.woocommerce-products-header__title.page-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin-bottom: 12px;
}

.woocommerce ul.products {
    gap: 24px !important;
}

.woocommerce ul.products li.product {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    position: relative !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10) !important;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    margin-bottom: 0 !important;
    background-color: #f1f5f9;
    overflow: hidden;
    position: relative;
}

.woocommerce ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    background-color: #f8fafc;
    display: block;
    margin: 0 !important;
    transition: transform 0.45s ease !important;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.04);
}

/* Hide floating quick-bag hover icon on cards for clean AF look */
.ast-on-card-button:not(.ast-onsale-card) {
    display: none !important;
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product .ast-onsale-card,
.woocommerce div.product .onsale,
.woocommerce div.product .ast-onsale-card,
.woocommerce span.onsale {
    background-color: #e53238 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    z-index: 9 !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    margin: 0 !important;
}

.ast-woo-product-category {
    display: none !important;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding: 16px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .ast-loop-product__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.45 !important;
    min-height: 2.9em !important;
    max-height: 2.9em !important;
    margin: 0 0 8px !important;
}

.woocommerce ul.products li.product .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin-bottom: 14px !important;
}

.woocommerce ul.products li.product .price del {
    color: #94a3b8 !important;
    font-size: 0.86em !important;
    font-weight: 400 !important;
    text-decoration: line-through;
}

.woocommerce ul.products li.product .price del .woocommerce-Price-amount {
    color: #94a3b8 !important;
}

.woocommerce ul.products li.product .price ins {
    color: #e53238 !important;
    font-weight: 700 !important;
    font-size: 1.05em !important;
    text-decoration: none;
}

.woocommerce ul.products li.product .price ins .woocommerce-Price-amount {
    color: #e53238 !important;
    font-weight: 700 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .ast-loop-add-to-cart-btn {
    margin-top: auto !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    background-color: #0064d2 !important;
    color: #ffffff !important;
    border: 0 !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .ast-loop-add-to-cart-btn:hover {
    background-color: #0052ad !important;
}

/* ==========================================================================
   6. Single Product Page (AF Media + Sticky White Buybox)
   ========================================================================== */
.custom-desktop-breadcrumb {
    width: 100%;
    clear: both;
    display: block;
    box-sizing: border-box;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #64748b;
}

.custom-desktop-breadcrumb .woocommerce-breadcrumb {
    margin: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
}

.custom-desktop-breadcrumb a {
    color: #64748b !important;
    text-decoration: none;
}

.custom-desktop-breadcrumb a:hover {
    color: #0f172a !important;
}

.single-product .summary.entry-summary .woocommerce-breadcrumb,
.single-product .summary.entry-summary .single-product-category,
.woocommerce-variation-price {
    display: none !important;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 16px;
    box-sizing: border-box;
    max-height: none !important;
}

.woocommerce-product-gallery__wrapper img,
.woocommerce-product-gallery__image img {
    max-height: 520px !important;
    width: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.woocommerce div.product div.summary.entry-summary {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 28px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.single-product .product_title.entry-title {
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em;
    line-height: 1.25 !important;
    color: #0f172a !important;
    margin-bottom: 12px !important;
}

.woocommerce div.product p.price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 20px !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.woocommerce div.product p.price del {
    color: #94a3b8 !important;
    font-size: 0.72em !important;
    font-weight: 400 !important;
    text-decoration: line-through;
}

.woocommerce div.product p.price del .woocommerce-Price-amount {
    color: #94a3b8 !important;
}

.woocommerce div.product p.price ins {
    color: #e53238 !important;
    font-weight: 700 !important;
    font-size: 1.08em !important;
    text-decoration: none;
}

.woocommerce div.product p.price ins .woocommerce-Price-amount {
    color: #e53238 !important;
    font-weight: 700 !important;
}

.single-product form.cart .variations th.label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    padding-bottom: 6px;
}

.woocommerce select,
.single-product form.cart .variations select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 34px !important;
}

.single-product form.cart .variations select,
.single-product form.cart .quantity input.qty {
    min-height: 44px;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #0f172a;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    box-shadow: none !important;
}

.single-product form.cart .single_add_to_cart_button {
    background-color: #0064d2 !important;
    color: #ffffff !important;
    min-height: 48px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border: 0 !important;
    box-shadow: none !important;
}

.single-product form.cart .single_add_to_cart_button:hover {
    background-color: #0052ad !important;
}

.single-product .product_meta {
    margin-top: 20px;
    padding: 12px 14px;
    background: #f7f7f7;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Trust Signals Box (from functions.php) */
.custom-sales-wrapper {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    line-height: 1.65;
    clear: both;
}

.af-trust-views {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.af-trust-list {
    background: #f7f7f7;
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
    margin: 12px 0 0;
}

.af-trust-item {
    margin: 0 0 8px;
    font-size: 13.5px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.af-trust-item:last-child {
    margin-bottom: 0;
}

.af-trust-icon {
    font-size: 15px;
    flex-shrink: 0;
    line-height: 1.4;
}

.af-trust-checkout {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.af-trust-checkout-title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.af-trust-checkout-img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    opacity: 0.95;
    box-shadow: none;
}

/* Product Tabs & Tab Flicker Fix */
.woocommerce-js .woocommerce-tabs .panel { display: none; }
.woocommerce-js .woocommerce-tabs #tab-description,
.woocommerce-js .woocommerce-tabs .panel.active { display: block; }

.woocommerce div.product .woocommerce-tabs {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px 28px;
    margin-top: 32px;
}

/* ==========================================================================
   7. Cart, Checkout & Cart Drawer
   ========================================================================== */
.woocommerce-checkout .custom-premium-footer,
.woocommerce-checkout .ast-small-footer,
.woocommerce-checkout #colophon,
.woocommerce-checkout footer.site-footer {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden !important;
}

.wp-block-woocommerce-cart .wc-block-cart__main,
.wp-block-woocommerce-cart .wc-block-components-sidebar,
.woocommerce-cart table.shop_table,
.woocommerce-cart .cart_totals {
    background: #ffffff !important;
    border: 1px solid #d7d7d7 !important;
    padding: 20px !important;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar {
    border-color: #b8c4d2 !important;
}

.woocommerce-checkout .woocommerce-checkout-payment .wc-block-components-checkout-place-order-button,
.woocommerce-checkout button[type="submit"],
.woocommerce-checkout #place_order,
.woocommerce-checkout .wc-block-components-button,
.wc-block-cart .wc-block-components-button,
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #0064d2 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px 24px !important;
    min-height: 48px !important;
    line-height: 1.25 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.astra-cart-drawer .woocommerce-mini-cart-item a:not(.remove),
.astra-cart-drawer .woocommerce-mini-cart-item .variation {
    line-height: 1.6 !important;
    word-break: break-word !important;
    padding-right: 28px !important;
    box-sizing: border-box !important;
}

.astra-cart-drawer .astra-cart-drawer-close {
    z-index: 9999 !important;
    flex-shrink: 0 !important;
}

.astra-cart-drawer .astra-cart-drawer-header {
    display: flex !important;
    align-items: center !important;
}

.astra-cart-drawer .astra-cart-drawer-content {
    padding-top: 3.5em !important;
}

.astra-cart-drawer .woocommerce-mini-cart__buttons .button {
    background-color: #0064d2 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   8. Minimal White AF Footer
   ========================================================================== */
.site-footer > .ast-footer-copyright,
.site-footer > .site-below-footer-wrap,
.ast-builder-footer-element,
#page:has(.custom-premium-footer) .site-footer > .site-primary-footer-wrap,
#page:has(.custom-premium-footer) .site-footer > .site-above-footer-wrap {
    display: none !important;
}

#colophon .site-primary-footer-wrap {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
}

#colophon .site-primary-footer-wrap > .ast-builder-grid-row-container-inner {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 24px !important;
    box-sizing: border-box !important;
}

#colophon .ast-builder-footer-grid-columns {
    align-items: start !important;
    gap: 36px !important;
}

.custom-premium-footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 48px 0 40px;
    width: 100%;
    clear: both;
    box-sizing: border-box;
}

.footer-grid-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    box-sizing: border-box;
}

.footer-col h4 {
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2.1;
}

.footer-col ul li a,
.af-footer-contact a {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
}

.footer-col ul li a:hover,
.footer-col a:hover {
    color: #0064d2 !important;
    text-decoration: underline !important;
}

.af-footer-contact {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.af-footer-contact p {
    margin: 0 0 10px;
}

.af-footer-contact p:last-child {
    margin-bottom: 0;
}

.af-footer-guarantees {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.af-footer-trust-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 14px;
    opacity: 0.92;
    display: block;
}

.af-footer-badges {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ast-small-footer.ast-footer-copyright {
    background: #ffffff;
    padding: 18px 24px 26px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
}

.ast-small-footer.ast-footer-copyright p {
    margin: 0;
}

/* ==========================================================================
   9. Responsive & Mobile Fixes
   ========================================================================== */
@media (max-width: 768px) {
    [data-wvstooltip]::before,
    [data-wvstooltip]::after {
        display: none !important;
        content: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .variable-item-span.variable-item-span-button {
        white-space: normal !important;
        word-wrap: break-word !important;
        height: auto !important;
        min-height: auto !important;
        padding: 4px 8px !important;
        line-height: 1.25 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    li.variable-item {
        height: auto !important;
        margin-bottom: 4px !important;
    }
}

@media (max-width: 921px) {
    #masthead:has(#ast-mobile-header) > .ast-main-header-wrap {
        display: none !important;
    }

    #masthead .ast-mobile-header-wrap .site-primary-header-wrap {
        padding-left: 12px !important;
        padding-right: 12px !important;
        min-height: 60px !important;
    }

    #masthead .ast-mobile-header-wrap .site-header-primary-section-left {
        justify-content: flex-start !important;
    }

    #masthead .ast-mobile-header-wrap .site-header-primary-section-center {
        justify-content: center !important;
    }

    #masthead .ast-mobile-header-wrap .site-logo-img {
        padding-right: 0 !important;
    }

    #masthead .ast-mobile-header-wrap .site-logo-img img.custom-logo,
    .ast-theme-transparent-header #masthead .ast-mobile-header-wrap .site-logo-img img.custom-logo {
        max-width: 112px !important;
        max-height: 30px !important;
        width: auto !important;
        height: auto !important;
    }

    #masthead .ast-mobile-header-wrap .site-header-primary-section-right {
        gap: 6px !important;
    }

    #masthead .ast-mobile-header-wrap .ast-header-search .astra-search-icon,
    #masthead .ast-mobile-header-wrap .ast-site-header-cart .cart-container,
    #masthead .ast-mobile-header-wrap .ast-mobile-menu-trigger-minimal {
        width: 38px !important;
        height: 38px !important;
    }

    #masthead .ast-mobile-header-wrap .ast-site-header-cart i.astra-icon:after {
        top: -7px !important;
        right: -7px !important;
    }
}

@media (max-width: 767px) {
    html, body {
        overflow-x: hidden !important;
    }

    .af-hero-section {
        padding: 16px 16px 0;
    }

    .af-home-products {
        padding: 24px 16px 52px;
    }

    .ast-woo-shop-archive:not(.home) .site-content > .ast-container,
    .tax-product_cat .site-content > .ast-container,
    .search .site-content > .ast-container,
    .single-product .site-content > .ast-container,
    .woocommerce-cart .site-content > .ast-container,
    .woocommerce-checkout .site-content > .ast-container,
    body.page:not(.home):not(.page-template-page-contact-us) .site-content > .ast-container {
        padding: 20px 16px 48px !important;
    }

    body.page:not(.home):not(.woocommerce-cart):not(.woocommerce-checkout):not(.page-template-page-contact-us) .ast-article-single {
        padding: 24px 20px;
    }

    .woocommerce ul.products {
        gap: 12px !important;
    }

    .woocommerce ul.products li.product .astra-shop-summary-wrap {
        padding: 12px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product h2,
    .woocommerce ul.products li.product .ast-loop-product__title {
        font-size: 13.5px !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 13px !important;
        gap: 6px;
        margin-bottom: 10px !important;
    }

    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .ast-loop-add-to-cart-btn,
    .wc-block-grid__product .wp-block-button__link,
    .wc-block-grid__product .wc-block-components-product-button__button {
        font-size: 12px !important;
        padding: 9px 6px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .woocommerce ul.products li.product .onsale,
    .woocommerce ul.products li.product .ast-onsale-card,
    .ast-onsale-card {
        top: 6px !important;
        left: 6px !important;
        padding: 2px 6px !important;
        font-size: 10px !important;
    }

    .woocommerce div.product div.summary.entry-summary {
        padding: 20px;
    }

    .single-product .product_title.entry-title {
        font-size: 22px !important;
    }

    .woocommerce div.product p.price {
        font-size: 21px !important;
        gap: 8px;
    }

    .woocommerce div.product .woocommerce-tabs {
        padding: 18px 16px;
    }

    .hero-swiper .swiper-pagination {
        bottom: 8px;
        padding: 4px 8px;
        gap: 6px;
    }

    .hero-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .footer-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
        padding: 0 16px;
    }

    #colophon .site-primary-footer-wrap > .ast-builder-grid-row-container-inner {
        padding: 36px 16px !important;
    }

    .col-half { grid-column: span 1; }
    .col-full { grid-column: span 2; }

    .woocommerce-checkout .admin-bar #wpadminbar {
        display: none !important;
    }

    .woocommerce-checkout form input,
    .woocommerce-checkout form select,
    .woocommerce-checkout form textarea,
    .woocommerce-checkout .col2-set {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #ast-scroll-top {
        display: none !important;
    }
}
