/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/
.tnp-subscription .tnp-field-email label
{
color:#fff !important;
}
.footer-text
{
color:#fff !important;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner a
{
color:#fff !important;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner a:hover
{
color:#dca54a !important;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner a
color:#fff !important;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner a:hover
{
color:#dca54a !important;
}
.widget-title{
color:#fff !important;
}
.bx {
color:#fff !important;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"].footer-widget-area-inner a
{
color:#fff !important;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"].footer-widget-area-inner a:hover
{
color:#dca54a !important;
}
/* Hide variations on category archives */
.archive.tax-product_cat .cfvsw-shop-variations,
.woocommerce-page.archive .cfvsw-shop-variations {
    display: none !important;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner a {
color:#fff !important;
}
.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner a:hover {
color:#dca54a !important;

}
/*Preloader*/
/* Black Preloader Styles */
#ast-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; /* Black background */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#ast-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.ast-preloader-content {
    text-align: center;
    will-change: transform;
    color: #ffffff; /* White text color for contrast */
}

/* Black-themed spinner */
.ast-loader {
    border: 4px solid rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    border-top: 4px solid #ffffff; /* White spinner */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 15px;
    will-change: transform;
    backface-visibility: hidden;
}

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

/* Optional: Add text below spinner */
.ast-preloader-text {
    color: #ffffff;
    font-size: 14px;
    margin-top: 15px;
}
/*Header Login*/
/* Style account link to match cart button */
.ast-header-account-link {
    display: inline-flex;
    align-items: center;  
    border-radius: 4px !important;
    background-color: #000000 !important; /* Match cart button color */
    color: #ffffff !important; /* Match cart button text color */   
    font-weight: 500 !important;    
    font-size: 12px !important;
    margin-left: 10px !important;
    transition: all 0.3s ease !important;
}

/* Hover effect to match cart button */
.ast-header-account-link:hover {
    background-color: #333333 !important; /* Slightly lighter on hover */
    color: #ffffff !important;
}

/* Remove background from text span */
.ast-account-text {
    background-color: transparent !important;
}
.ast-header-account-link .dashicons {
    font-size: 20px;
    width: auto;
    height: auto;
    color: #fff;
}