/* ============================================
   TRANSPARENT HOME HEADER - Complete Styles
   ============================================ */

/* Header Background - Transparent */
.transparent-header-active .site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
    transition: all 0.3s ease-in-out;
}

.transparent-header-active .ast-primary-header-bar {
    background: transparent !important;
    border-bottom: none !important;
    transition: all 0.3s ease-in-out;
}

/* Header Container */
.transparent-header-active .site-header .ast-container,
.transparent-header-active .site-header .ast-builder-grid-row {
    background: transparent !important;
}

/* Sticky/Scrolled State - Dark/Normal */
.transparent-header-active .site-header.scrolled {
    position: fixed !important;
    background: var(--transparent-sticky-bg, #ffffff) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    animation: slideDown 0.4s ease-in-out;
}

.transparent-header-active .site-header.scrolled .ast-primary-header-bar {
    background: var(--transparent-sticky-bg, #ffffff) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Hover State - Dark/Normal */
.transparent-header-active .site-header:hover {
    background: var(--transparent-hover-bg, #ffffff) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.transparent-header-active .site-header:hover .ast-primary-header-bar {
    background: var(--transparent-hover-bg, #ffffff) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* When both hover and scrolled - Keep sticky style */
.transparent-header-active .site-header.scrolled:hover {
    background: var(--transparent-sticky-bg, #ffffff) !important;
}

.transparent-header-active .site-header.scrolled:hover .ast-primary-header-bar {
    background: var(--transparent-sticky-bg, #ffffff) !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ensure hero section spacing */
.transparent-header-active .elementor-section:first-of-type,
.transparent-header-active .e-con:first-of-type {
    margin-top: 0 !important;
    padding-top: 100px !important;
}

@media (max-width: 768px) {
    .transparent-header-active .elementor-section:first-of-type,
    .transparent-header-active .e-con:first-of-type {
        padding-top: 70px !important;
    }
}

/* ============================================
   LOGO - WHITE (Default)
   ============================================ */
.transparent-header-active .custom-logo {
    filter: brightness(0) invert(1) !important;
    transition: filter 0.3s ease-in-out;
}

.transparent-header-active .site-header:hover .custom-logo,
.transparent-header-active .site-header.scrolled .custom-logo {
    filter: none !important;
}

/* ============================================
   MENU TEXT - WHITE (Default)
   ============================================ */
.transparent-header-active .main-header-menu .menu-link,
.transparent-header-active .main-header-menu a,
.transparent-header-active .ast-builder-menu-1 .menu-link,
.transparent-header-active .ast-builder-menu-1 a {
    color: #ffffff !important;
    transition: color 0.3s ease-in-out;
}

.transparent-header-active .main-header-menu .menu-link:hover,
.transparent-header-active .main-header-menu a:hover,
.transparent-header-active .ast-builder-menu-1 .menu-link:hover,
.transparent-header-active .ast-builder-menu-1 a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

.transparent-header-active .site-header:hover .main-header-menu .menu-link,
.transparent-header-active .site-header:hover .main-header-menu a,
.transparent-header-active .site-header:hover .ast-builder-menu-1 .menu-link,
.transparent-header-active .site-header:hover .ast-builder-menu-1 a,
.transparent-header-active .site-header.scrolled .main-header-menu .menu-link,
.transparent-header-active .site-header.scrolled .main-header-menu a,
.transparent-header-active .site-header.scrolled .ast-builder-menu-1 .menu-link,
.transparent-header-active .site-header.scrolled .ast-builder-menu-1 a {
    color: #000000 !important;
}

/* ============================================
   LOGIN / ACCOUNT ICON - WHITE (Default)
   ============================================ */
.transparent-header-active .ast-header-account .ahfb-svg-iconset svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    transition: all 0.3s ease-in-out;
}

.transparent-header-active .ast-header-account .ahfb-svg-iconset svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.transparent-header-active .ast-header-account:hover .ahfb-svg-iconset svg {
    fill: rgba(255, 255, 255, 0.7) !important;
    stroke: rgba(255, 255, 255, 0.7) !important;
}

/* Login Icon - Dark on Hover & Scroll */
.transparent-header-active .site-header:hover .ast-header-account .ahfb-svg-iconset svg,
.transparent-header-active .site-header.scrolled .ast-header-account .ahfb-svg-iconset svg {
    fill: #000000 !important;
    stroke: #000000 !important;
}

.transparent-header-active .site-header:hover .ast-header-account .ahfb-svg-iconset svg path,
.transparent-header-active .site-header.scrolled .ast-header-account .ahfb-svg-iconset svg path {
    fill: #000000 !important;
    stroke: #000000 !important;
}

/* ============================================
   CART ICON - WHITE (Default)
   ============================================ */
.transparent-header-active .ast-site-header-cart .astra-icon {
    color: #ffffff !important;
    transition: color 0.3s ease-in-out;
}

.transparent-header-active .ast-site-header-cart .astra-icon svg {
    fill: #ffffff !important;
    transition: fill 0.3s ease-in-out;
}

.transparent-header-active .ast-site-header-cart .astra-icon svg path {
    fill: #ffffff !important;
}

.transparent-header-active .ast-site-header-cart:hover .astra-icon {
    color: rgba(255, 255, 255, 0.7) !important;
}

.transparent-header-active .ast-site-header-cart:hover .astra-icon svg {
    fill: rgba(255, 255, 255, 0.7) !important;
}

/* Cart Icon - Dark on Hover & Scroll */
.transparent-header-active .site-header:hover .ast-site-header-cart .astra-icon,
.transparent-header-active .site-header.scrolled .ast-site-header-cart .astra-icon {
    color: #000000 !important;
}

.transparent-header-active .site-header:hover .ast-site-header-cart .astra-icon svg,
.transparent-header-active .site-header.scrolled .ast-site-header-cart .astra-icon svg {
    fill: #000000 !important;
}

.transparent-header-active .site-header:hover .ast-site-header-cart .astra-icon svg path,
.transparent-header-active .site-header.scrolled .ast-site-header-cart .astra-icon svg path {
    fill: #000000 !important;
}

/* Cart Count */
.transparent-header-active .ast-site-header-cart .ast-cart-menu-wrap .count {
    color: #ffffff !important;
    border-color: #ffffff !important;
    transition: all 0.3s ease-in-out;
}

.transparent-header-active .site-header:hover .ast-site-header-cart .ast-cart-menu-wrap .count,
.transparent-header-active .site-header.scrolled .ast-site-header-cart .ast-cart-menu-wrap .count {
    color: #000000 !important;
    border-color: #000000 !important;
}

/* ============================================
   SEARCH ICON - WHITE (Default)
   ============================================ */
.transparent-header-active .ast-search-icon .ast-icon,
.transparent-header-active .ast-search-icon svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    transition: all 0.3s ease-in-out;
}

.transparent-header-active .ast-search-icon .ast-icon path,
.transparent-header-active .ast-search-icon svg path {
    fill: #ffffff !important;
}

.transparent-header-active .ast-search-icon:hover .ast-icon,
.transparent-header-active .ast-search-icon:hover svg {
    color: rgba(255, 255, 255, 0.7) !important;
    fill: rgba(255, 255, 255, 0.7) !important;
}

/* Search Icon - Dark on Hover & Scroll */
.transparent-header-active .site-header:hover .ast-search-icon .ast-icon,
.transparent-header-active .site-header:hover .ast-search-icon svg,
.transparent-header-active .site-header.scrolled .ast-search-icon .ast-icon,
.transparent-header-active .site-header.scrolled .ast-search-icon svg {
    color: #000000 !important;
    fill: #000000 !important;
}

.transparent-header-active .site-header:hover .ast-search-icon .ast-icon path,
.transparent-header-active .site-header:hover .ast-search-icon svg path,
.transparent-header-active .site-header.scrolled .ast-search-icon .ast-icon path,
.transparent-header-active .site-header.scrolled .ast-search-icon svg path {
    fill: #000000 !important;
}

/* ============================================
   PROTECT SOCIAL ICONS (Footer & Header)
   ============================================ */
.transparent-header-active .ast-builder-social-element,
.transparent-header-active .ast-builder-social-element *,
.transparent-header-active .ast-builder-social-element svg,
.transparent-header-active .ast-builder-social-element .ahfb-svg-iconset,
.transparent-header-active .ast-builder-social-element .ahfb-svg-iconset svg,
.transparent-header-active .ast-builder-social-element .social-item-label,
.transparent-header-active .footer-social-item,
.transparent-header-active .footer-social-item *,
.transparent-header-active .footer-social-item svg,
.transparent-header-active .ast-footer-social-1-wrap *,
.transparent-header-active .site-footer-section *,
.transparent-header-active .site-primary-footer-wrap *,
.transparent-header-active footer * {
    color: inherit !important;
    fill: inherit !important;
    stroke: inherit !important;
    filter: none !important;
    transition: none !important;
    background: transparent !important;
}

.transparent-header-active .ast-builder-social-element:hover,
.transparent-header-active .ast-builder-social-element:hover *,
.transparent-header-active .ast-builder-social-element:hover svg,
.transparent-header-active .footer-social-item:hover,
.transparent-header-active .footer-social-item:hover *,
.transparent-header-active .footer-social-item:hover svg {
    color: inherit !important;
    fill: inherit !important;
    stroke: inherit !important;
    filter: none !important;
    transition: none !important;
    background: transparent !important;
}