/*your custom css goes here*/

/* Main wrapper background */
.aiz-main-wrapper.d-flex.flex-column.bg-white {
    background: #f3f2f2 !important;
}

/* ============================================
   Filter section (redesigned) - Metro home
   ============================================ */
/* Remove gap between hero and filter when filter is shown */
.home-banner-area:has(+ .filter-section--redesigned) {
    margin-bottom: 0 !important;
}

.filter-section--redesigned {
    background: #fff;
    padding: 28px 0 36px;
    position: relative;
    overflow: visible;
}

.filter-section--redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

[dir="rtl"] .filter-section--redesigned::before {
    left: auto;
    right: 0;
}

.filter-section--redesigned .filter-section__header {
    margin-bottom: 1.25rem;
}

.filter-section--redesigned .filter-section__title {
    color: var(--dark);
    margin: 0;
    gap: 0.5rem;
}

.filter-section--redesigned .filter-section__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--soft-primary);
    color: var(--primary);
}

.filter-section--redesigned .filter-section__title-icon i {
    font-size: 1.25rem;
}

.filter-section--redesigned .filter-section__field {
    margin-bottom: 0;
}

.filter-section--redesigned .filter-section__label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.filter-section--redesigned .filter-section__field-icon {
    color: var(--primary);
    font-size: 1rem;
    opacity: 0.95;
}

.filter-section--redesigned .bootstrap-select {
    width: 100%;
}

.filter-section--redesigned .bootstrap-select .dropdown-toggle {
    background-color: #fff !important;
    border: 1px solid var(--soft-light);
    border-radius: 6px;
    color: var(--dark);
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-section--redesigned .bootstrap-select .dropdown-toggle:hover {
    border-color: var(--gray);
}

.filter-section--redesigned .bootstrap-select .dropdown-toggle:focus,
.filter-section--redesigned .bootstrap-select.show .dropdown-toggle {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--soft-primary);
}

.filter-section--redesigned .bootstrap-select .dropdown-menu {
    border-radius: 6px;
    border: 1px solid var(--soft-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
}

/* Keep dropdown above all content when open */
.filter-section--redesigned .bootstrap-select.show {
    z-index: 9999;
    position: relative;
}
.filter-section--redesigned .bootstrap-select.show .dropdown-menu {
    z-index: 9999 !important;
}

.filter-section--redesigned .filter-section__actions {
    padding-top: 0.5rem;
}

.filter-section--redesigned .filter-section__btn-apply,
.filter-section--redesigned .filter-section__btn-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    min-height: 42px;
}

.filter-section--redesigned .filter-section__btn-apply i,
.filter-section--redesigned .filter-section__btn-clear i {
    font-size: 1.1rem;
}

@media (max-width: 575.98px) {
    .filter-section--redesigned {
        padding: 20px 0 28px;
    }
    .filter-section--redesigned .filter-section__title-icon {
        width: 32px;
        height: 32px;
    }
    .filter-section--redesigned .filter-section__title-icon i {
        font-size: 1.1rem;
    }
    .filter-section--redesigned .filter-section__btn-apply,
    .filter-section--redesigned .filter-section__btn-clear {
        margin-top: 0.25rem;
    }
}

/* ============================================
   Footer – Pages section (inside dark footer widget)
   ============================================ */
.footer-inner-pages-link__icon {
    width: 1.25rem;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--secondary-base, #ffc519);
}

[dir="ltr"] .footer-inner-pages-link__icon {
    margin-right: 0.5rem;
}

[dir="rtl"] .footer-inner-pages-link__icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Footer widgets: same row on desktop, equal width */
.footer-widgets-row {
    display: flex;
    flex-wrap: nowrap;
}
.footer-widgets-col {
    flex: 1 1 0;
    min-width: 0;
}
@media (max-width: 991.98px) {
    .footer-widgets-row {
        flex-wrap: wrap;
    }
    .footer-widgets-col {
        flex: none;
    }
}

/* ============================================
   Categories section (after filter & top) – circular images, no border
   ============================================ */
.categories-section-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.categories-section-after-filter .categories-section-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
@media (min-width: 768px) {
    .categories-section-after-filter .categories-section-img {
        width: 100px;
        height: 100px;
    }
}

/* ============================================
   Homepage sections – remove borders (Best Selling, New Products, Featured, Home Categories, Top Sellers)
   ============================================ */
#section_best_selling .carousel-box,
#section_newest .carousel-box,
#section_featured .carousel-box,
#section_home_categories .carousel-box {
    border: none !important;
}
#section_home_categories section.py-3,
#section_best_selling section,
#section_newest section,
#section_featured section {
    border: none !important;
}

/* ============================================
   Product card: action icons below price (always visible)
   ============================================ */
.aiz-product-actions-below-price {
    gap: 0.5rem;
}
.aiz-product-actions-below-price .aiz-action-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}

/* Mobile header: modern icon buttons */
.header-mobile-icons {
    gap: 0.5rem;
}
.header-mobile-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.header-mobile-icon-btn:active {
    opacity: 0.8;
    transform: scale(0.95);
}
.header-mobile-icon-btn i.las {
    font-size: 1.25rem;
    line-height: 1;
}
.header-mobile-icon-btn--flag {
    padding: 0;
    overflow: hidden;
}
.header-mobile-icon-btn--flag .lang-flag-mobile {
    width: 22px;
    height: 22px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}
.header-mobile-icon-btn--menu {
    cursor: pointer;
    font: inherit;
}
.lang-flag-mobile {
    width: 22px;
    height: 22px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    /* Header: remove all borders on mobile */
    header.z-1020,
    header.z-1020 .logo-bar-area {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
    }
    /* Header background on mobile */
    header.z-1020 .logo-bar-area {
        background: #2b473d !important;
    }
    header.z-1020 .logo-bar-area .header-mobile-icon-btn {
        color: #fff !important;
    }
    header.z-1020 .logo-bar-area .header-mobile-icon-btn i.las {
        color: inherit !important;
    }

    #section_best_selling .carousel-box,
    #section_newest .carousel-box,
    #section_featured .carousel-box {
        min-width: 0;
    }
    .carousel-box.px-3 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* ============================================
   FAB: single contact button (WhatsApp, Call) – expand on tap
   ============================================ */
.fab-wrap {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* On mobile: place FAB above the bottom nav bar */
@media (max-width: 1199.98px) {
    .fab-wrap {
        bottom: 92px; /* above .aiz-mobile-bottom-nav (72px) + margin + gap */
    }
}
.fab-main {
    order: 1;
}
.fab-actions {
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.fab-wrap--open .fab-actions {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
}
.fab-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fab-action:hover,
.fab-action:active {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.fab-action--whatsapp {
    background-color: #25d366;
}
.fab-action--whatsapp img {
    display: block;
    width: 28px;
    height: 28px;
}
.fab-action--call {
    background-color: #2b473d;
    font-size: 1.35rem;
}
.fab-main {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #2b473d 0%, #3d5c52 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.fab-main:active {
    transform: scale(0.96);
}
.fab-main .fab-main-icon {
    position: absolute;
    font-size: 1.5rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-main .fab-main-icon--close {
    opacity: 0;
    transform: rotate(-90deg);
}
.fab-wrap--open .fab-main .fab-main-icon:not(.fab-main-icon--close) {
    opacity: 0;
    transform: rotate(90deg);
}
.fab-wrap--open .fab-main .fab-main-icon--close {
    opacity: 1;
    transform: rotate(0);
}
