/*
Theme Name: Bootstrap Neat
Theme URI: https://axault.com/themes/boostrapneat/
Author: Axault Systems
Author URI: https://axault.com
Description: A modern WordPress theme using Bootstrap default styling
Version: 1.0.0
License: EULA
License URI: https://axault.com/themes/licenses/eula.html
Text Domain: boostrapneat
*/
#btn-cta .dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
}
#menu-offcanvas{
    z-index: 2000;
}

/* Offcanvas collapsible menu styles */
.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    color: var(--bs-body-color);
    background-color: transparent;
    border: 0;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.btn-toggle:hover,
.btn-toggle:focus {
    color: var(--bs-link-hover-color);
    background-color: var(--bs-tertiary-bg);
}

.btn-toggle::after {
    display: inline-block;
    margin-left: auto;
    content: "";
}

.btn-toggle.collapsed::after {
    transform: rotate(-90deg);
}

.btn-toggle-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    margin: 0 -0.75rem;
    color: var(--bs-body-color);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
    color: var(--bs-link-hover-color);
    background-color: var(--bs-tertiary-bg);
}

.offcanvas-body .list-unstyled {
    margin-bottom: 0;
}

.offcanvas-body .mb-1 {
    margin-bottom: 0.5rem !important;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer ul li a {
    text-decoration: none;
}

.text-secondary a {
    text-decoration: none;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.form-check-input:checked {
    background-color: var(--bs-blue) !important; /* Example: Red background */
  }
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block !important;
        margin-top: 0;
    }
    
    /* Ensure dropdown menus are visible and properly positioned */
    #primary-menu .dropdown-menu {
        z-index: 1000 !important;
        display: none !important;
    }
    
    #primary-menu .dropdown.show > .dropdown-menu {
        display: block !important;
    }
    
    /* Additional fix: ensure dropdown is visible on hover even without .show class */
    #primary-menu .dropdown:hover > .dropdown-menu {
        display: block !important;
    }
}

/* Global dropdown fixes for all screen sizes */
.dropdown-menu {
    z-index: 1000 !important;
    min-width: 200px !important;
}

/* Ensure dropdown items are clickable */
.dropdown-item {
    position: relative;
    z-index: 1001;
}

/* ULTIMATE DROPDOWN VISIBILITY FIX - Override everything */
#primary-menu .dropdown-menu,
.navbar-nav .dropdown-menu,
.dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#primary-menu .dropdown.show > .dropdown-menu,
#primary-menu .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown.show > .dropdown-menu,
.navbar-nav .dropdown:hover > .dropdown-menu,
.dropdown.show > .dropdown-menu,
.dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.bi {
    vertical-align: -0.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

#primary-menu {
    max-width: 65%;
}

.btn-share-toggle::after {
    display: none !important;
}

#btn-cart-el .dropdown-toggle::after,
#btn-user-el .dropdown-toggle::after {
    display: none !important;
}

.featured-post-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.featured-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
    border-radius: inherit;
}

.featured-overlay h1,
.featured-overlay p,
.featured-overlay a {
    position: relative;
    z-index: 1;
}

.language-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.language-menu a {
    color: var(--bs-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.language-menu a:hover {
    color: var(--bs-primary);
}

[data-bs-theme="dark"] .language-menu a {
    color: var(--bs-light);
}

[data-bs-theme="dark"] .language-menu a:hover {
    color: var(--bs-primary);
}

#search-products-check {
    cursor: pointer;
    width: 1.2em;
    height: 1.2em;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

#search-products-check:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

.form-check-label {
    user-select: none;
    cursor: pointer;
    pointer-events: auto !important;
}

.form-check {
    pointer-events: auto !important;
}
