/* Top Menu Background Image Styles */
.aiz-category-menu {
    position: relative;
    min-height: 50px;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

.aiz-category-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.aiz-category-menu .container-fluid {
    position: relative;
    z-index: 2;
}

.aiz-category-menu .text-primary {
    color: var(--primary) !important;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.aiz-category-menu .cat-image {
    filter: brightness(0) saturate(100%) invert(58%) sepia(69%) saturate(1180%) hue-rotate(21deg) brightness(96%) contrast(91%) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3)) !important;
}

/* Remove any borders from header and category menu */
header {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

header .aiz-category-menu {
    border: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure no white space after header */
header + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove any default spacing */
.aiz-main-wrapper {
    gap: 0 !important;
}

/* Slider Membership Button Styles */
.slider-membership-btn {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.slider-membership-btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4) !important;
    color: white !important;
}

.slider-membership-btn:active {
    transform: translateY(0) !important;
}

/* Responsive adjustments for button */
@media (max-width: 768px) {
    .slider-membership-btn {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
}

@media (max-width: 480px) {
    .slider-membership-btn {
        font-size: 12px !important;
        padding: 10px 16px !important;
    }
}

/* Pulse animation for the membership button */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    }
}

.slider-membership-btn {
    animation: pulse 2s infinite;
}

.slider-membership-btn:hover {
    animation: none;
}

/* Remove subcategory background shadows */
.sub-cat-menu.wrapper-catagoris-inner-class {
    background-color: transparent !important;
    box-shadow: none !important;
}

.sub-cat-menu {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* OVERRIDE ICON FILTER - Make icons orange and visible */
.aiz-category-menu .cat-image {
    filter: brightness(0) saturate(100%) invert(58%) sepia(69%) saturate(1180%) hue-rotate(21deg) brightness(96%) contrast(91%) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3)) !important;
}

header .aiz-category-menu .cat-image {
    filter: brightness(0) saturate(100%) invert(58%) sepia(69%) saturate(1180%) hue-rotate(21deg) brightness(96%) contrast(91%) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3)) !important;
}

/* SPECIFIC FIX FOR SUBCATEGORY ICON SHADOWS */
.sub-cat-menu .cat-image,
.sub-cat-menu img.cat-image {
    filter: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    text-shadow: none !important;
}

/* Keep subcategory cards but remove icon shadows */
.sub-cat-menu .cat-image:before,
.sub-cat-menu .cat-image:after {
    display: none !important;
}

/* SPECIFIC FIX - Remove ONLY subcategory icon shadows, keep card backgrounds */
.sub-cat-menu .cat-image,
.sub-cat-menu img.cat-image {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
}

/* Ensure subcategory cards keep their background */
.sub-cat-menu.wrapper-catagoris-inner-class {
    background-color: #000000 !important;
}

.sub-cat-menu {
    background-color: #000000 !important;
}

/* FINAL FIX - Remove icon shadows but keep card backgrounds */
.sub-cat-menu img[class*="cat-image"] {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    border: none !important;
    outline: none !important;
}

/* Ensure main category icons are orange */
header .aiz-category-menu .cat-image {
    filter: hue-rotate(30deg) saturate(1.5) brightness(1.3) contrast(1.2) !important;
}

/* FORCE ALL CATEGORY ICONS TO BE ORANGE */
.aiz-category-menu .cat-image,
.aiz-category-menu img.cat-image,
header .aiz-category-menu .cat-image {
    filter: hue-rotate(30deg) saturate(1.5) brightness(1.3) contrast(1.2) !important;
    -webkit-filter: hue-rotate(30deg) saturate(1.5) brightness(1.3) contrast(1.2) !important;
}

/* REMOVE ALL SUBCATEGORY ICON BACKGROUNDS */
.sub-cat-menu .cat-image,
.sub-cat-menu img.cat-image,
.sub-cat-menu .cat-image img {
    background-color: transparent !important;
    background-image: none !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
    backdrop-filter: none !important;
}

/* ULTIMATE FIX FOR ALL CATEGORY ICONS */
.aiz-category-menu .cat-image,
.aiz-category-menu img.cat-image,
.category-nav-element .cat-image,
.category-nav-element img.cat-image {
    filter: brightness(0) saturate(100%) invert(58%) sepia(69%) saturate(1180%) hue-rotate(21deg) brightness(96%) contrast(91%) !important;
    -webkit-filter: brightness(0) saturate(100%) invert(58%) sepia(69%) saturate(1180%) hue-rotate(21deg) brightness(96%) contrast(91%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* REMOVE ALL SUBCATEGORY ICON BACKGROUNDS */
.sub-cat-menu .cat-image,
.sub-cat-menu img.cat-image {
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    text-shadow: none !important;
}
