/* Category Navigation - Full Image Cards with Text Overlay */
.mbf-shop-minicart .woocommerce-mini-cart__buttons .button:nth-child(2):after, .mbf-shop-minicart .woocommerce-mini-cart__buttons .wp-element-button:nth-child(2):after,
.wc-block-featured-category .wc-block-featured-category__wrapper .wc-block-featured-category__title:after{
    transform: rotate(280deg);
}

.mbf-footer__topbar .mbf-footer__follow .mbf-footer__follow-button .mbf-button:after{
    transform: rotate(280deg);
}
.mbf-single-product .mbf-woocommerce-tabs > ul > li > a:after{
    transform: rotate(90deg);
}
.mbf-category-navigation {
    margin: 2rem auto;
    padding: 0;
    max-width: 100%;
    position: relative;
}

/* RTL Support */
.mbf-category-navigation.rtl {
    direction: rtl;
}

.mbf-category-navigation.rtl .mbf-category-scroll {
    direction: rtl;
}

/* Container with scroll indicators */
.mbf-category-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

/* Scrollable Container - Fixed for Desktop */
.mbf-category-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 2rem;
    flex: 1;
    width: 100%;
    direction: ltr; /* Default LTR */
    /* Force scrollbar on desktop for better UX */
    scrollbar-width: thin;
    scrollbar-color: rgba(93, 110, 113, 0.3) rgba(93, 110, 113, 0.1);
}

/* Custom scrollbar for webkit browsers */
.mbf-category-scroll::-webkit-scrollbar {
    height: 6px;
}

.mbf-category-scroll::-webkit-scrollbar-track {
    background: rgba(93, 110, 113, 0.1);
    border-radius: 10px;
}

.mbf-category-scroll::-webkit-scrollbar-thumb {
    background: rgba(93, 110, 113, 0.3);
    border-radius: 10px;
}

.mbf-category-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(93, 110, 113, 0.5);
}

/* RTL Scroll Direction */
.rtl .mbf-category-scroll {
    direction: rtl;
}

/* Scroll Indicators - Desktop Only */
@media (min-width: 768px) {
    /*.mbf-category-container::before,*/
    /*.mbf-category-container::after {*/
    /*    content: '';*/
    /*    position: absolute;*/
    /*    top: 0;*/
    /*    bottom: 0;*/
    /*    width: 60px;*/
    /*    pointer-events: none;*/
    /*    z-index: 2;*/
    /*    opacity: 0;*/
    /*    transition: opacity 0.3s ease;*/
    /*}*/

    /* Left gradient */
    .mbf-category-container::before {
        left: 0;
        background: linear-gradient(to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%);
    }

    /* Right gradient */
    .mbf-category-container::after {
        right: 0;
        background: linear-gradient(to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 100%);
    }

    /* Show gradients when scrollable */
    .mbf-category-container.has-scroll-left::before {
        opacity: 1;
    }

    .mbf-category-container.has-scroll-right::after {
        opacity: 1;
    }
}

/* Optional: Scroll Buttons for Desktop */
.mbf-scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(93, 110, 113, 0.2);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mbf-scroll-button:hover {
    background: var(--mbf-color-primary, #5d6e71);
    border-color: var(--mbf-color-primary, #5d6e71);
}

.mbf-scroll-button:hover svg {
    fill: white;
}

.mbf-scroll-button svg {
    width: 20px;
    height: 20px;
    fill: var(--mbf-color-primary, #5d6e71);
    transition: fill 0.3s ease;
}

.mbf-scroll-button.prev {
    left: 10px;
}

.mbf-scroll-button.next {
    right: 10px;
}

/* Show scroll buttons on desktop when there's overflow */
@media (min-width: 1024px) {
    .mbf-category-container.has-overflow .mbf-scroll-button {
        display: flex;
    }

    .mbf-category-container.has-overflow .mbf-category-scroll {
        padding: 1rem 0;
    }
}

/* Category Item */
.mbf-category-item {
    text-decoration: none;
    display: block;
    flex-shrink: 0;
    direction: rtl; /* Force RTL for Arabic text */
}

/* Category Card - New Full Image Style */
.mbf-category-card {
    position: relative;
    width: 140px;
    height: 160px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Category Image Background */
.mbf-category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Overlay with gradient for better text readability */
.mbf-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0.75rem 0.75rem;
    background: linear-gradient(to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    transition: background 0.3s ease;
}

/* Category Name with Shadow */
.mbf-category-name {
    font-family: var(--mbf-font-primary-family), 'Segoe UI', 'Arial Unicode MS', 'Tahoma', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    width: 100%;
    direction: rtl; /* Ensure Arabic text displays correctly */
}

/* Category Count Badge - Integrated with overlay */
.mbf-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: var(--mbf-font-primary-family), 'Segoe UI', 'Arial Unicode MS', sans-serif;
}

/* Back Button Card - Special Style */
.mbf-back-card {
    background: linear-gradient(135deg,
    var(--mbf-color-primary, #5d6e71) 0%,
    var(--mbf-color-accent, #8a9b9e) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mbf-back-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    color: #ffffff;
    opacity: 0.9;
}

.mbf-back-card .mbf-category-overlay {
    background: linear-gradient(to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    transparent 100%);
}

/* Arrow rotation for RTL */
.rtl .mbf-back-icon-wrapper svg {
    transform: scaleX(1); /* Keep arrow pointing right in RTL */
}

/* Hover Effects - More subtle */
.mbf-category-item:hover .mbf-category-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.mbf-category-item:hover .mbf-category-overlay {
    background: linear-gradient(to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    transparent 100%);
}

.mbf-category-item:hover .mbf-category-count {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Back button hover */
.mbf-back-item:hover .mbf-back-card {
    background: linear-gradient(135deg,
    var(--mbf-color-accent, #8a9b9e) 0%,
    var(--mbf-color-primary, #5d6e71) 100%);
}

.mbf-back-item:hover .mbf-back-icon-wrapper {
    transform: translate(-50%, -60%) scale(1.2);
}

/* Active State */
.mbf-category-item.active .mbf-category-card {
    box-shadow: 0 0 0 3px var(--mbf-color-primary, #5d6e71);
    transform: scale(1.05);
}

.mbf-category-item.active .mbf-category-overlay {
    background: linear-gradient(to top,
    var(--mbf-color-primary, #5d6e71) 0%,
    rgba(93, 110, 113, 0.7) 60%,
    transparent 100%);
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .mbf-category-navigation {
        margin: 1.5rem 0;
    }

    .mbf-category-scroll {
        padding: 0.75rem;
        gap: 0.75rem;
        /* Hide scrollbar on mobile for cleaner look */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mbf-category-scroll::-webkit-scrollbar {
        display: none;
    }

    .mbf-category-card {
        width: 110px;
        height: 130px;
    }

    .mbf-category-overlay {
        padding: 1.25rem 0.5rem 0.5rem;
    }

    .mbf-category-name {
        font-size: 0.825rem;
    }

    .mbf-category-count {
        font-size: 0.7rem;
        padding: 2px 6px;
        margin-top: 3px;
    }

    .mbf-back-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 1024px) {
    .mbf-category-card {
        width: 130px;
        height: 150px;
    }
}

/* Large Screens */
@media (min-width: 1440px) {
    .mbf-category-card {
        width: 160px;
        height: 180px;
    }

    .mbf-category-name {
        font-size: 1rem;
    }
}

/* Ensure images load smoothly */
.mbf-category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f3f5 0%, #dfe6e9 100%);
    z-index: -1;
}

/* Forced horizontal scroll on desktop - Important! */
@media (min-width: 768px) {
    .mbf-category-scroll {
        /* Ensure the container takes full width but items overflow */
        white-space: nowrap;
        max-width: 100%;
    }

    .mbf-category-item {
        display: inline-block;
        vertical-align: top;
    }
}

/* Contact Form 7 Fixes */
.mbf-footer__subscribe-form .wpcf7-form p {
    margin: 0;
    padding: 0;
    display: contents;
}

.mbf-footer__subscribe-form .wpcf7-form br {
    display: none;
}

.mbf-footer__subscribe-form-group {
    display: flex;
    align-items: center;
}

.mbf-footer__subscribe-form .wpcf7-form-control-wrap {
    display: contents;
}

.mbf-footer__subscribe-form .wpcf7-spinner {
    display: none;
}

/* Demo content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content h1 {
    margin-bottom: 20px;
    font-size: 2.5em;
    color: #2c3e50;
}

.content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Social Widget Styles */
.social-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.social-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}

/* Main toggle button */
.social-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5D6E71, #4a595c);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(93, 110, 113, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(93, 110, 113, 0.25);
    position: relative;
    z-index: 10;
}

.social-toggle:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #6d7f82, #5D6E71);
    box-shadow: 0 12px 48px rgba(93, 110, 113, 0.35);
}

.social-toggle.active {
    background: linear-gradient(135deg, #6d7f82, #5D6E71);
}

.social-toggle svg {
    width: 30px;
    height: 30px;
    fill: white;
    transition: all 0.3s ease;
}

.social-toggle.active svg {
    transform: scale(0.9);
}

/* Pulse animation for attention */
.social-toggle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(93, 110, 113, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Social buttons container */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-buttons.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Individual social buttons */
.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    animation: slideIn 0.5s ease backwards;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-btn:hover::before {
    width: 100px;
    height: 100px;
}

.social-btn:hover {
    transform: translateX(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Specific social media colors on hover */
.social-btn.waze:hover {
    background: #00bcd4;
}

.social-btn.facebook:hover {
    background: #1877f2;
}

.social-btn.whatsapp:hover {
    background: #25d366;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.social-btn.phone:hover {
    background: #4caf50;
}

.social-btn:hover svg {
    fill: white;
}

.social-btn svg {
    width: 24px;
    height: 24px;
    fill: #333;
    z-index: 1;
    position: relative;
    transition: fill 0.3s ease;
}

/* Animation delays for staggered effect */
.social-buttons.active .social-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.social-buttons.active .social-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.social-buttons.active .social-btn:nth-child(3) {
    animation-delay: 0.3s;
}

.social-buttons.active .social-btn:nth-child(4) {
    animation-delay: 0.4s;
}

.social-buttons.active .social-btn:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Tooltip */
.social-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%) translateX(-10px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social-widget {
        bottom: 20px;
        left: 20px;
    }

    .social-toggle {
        width: 55px;
        height: 55px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
    }

    .social-buttons {
        gap: 10px;
    }
}

/* ========================================
   Enhanced Language Switcher - Desktop
   ======================================== */

.mbf-lang-switcher {
    position: relative;

}

/* Current Language Button */
.mbf-lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    background: linear-gradient(135deg, rgba(93, 110, 113, 0.03) 0%, rgba(93, 110, 113, 0.08) 100%);
    border: 1.5px solid rgba(93, 110, 113, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mbf-lang-current::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 110, 113, 0.1) 0%, rgba(93, 110, 113, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mbf-lang-current:hover::before {
    opacity: 1;
}
.mbf-lang-current:hover .mbf-lang-chevron,
.mbf-lang-current:hover .mbf-lang-text,
.mbf-lang-current:hover .mbf-lang-icon{
    color:white !important;
}
.mbf-lang-current:hover {
    border-color: var(--mbf-color-primary, #5D6E71);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(93, 110, 113, 0.15);
    color:white;
}

.mbf-lang-icon {
    display: flex;
    align-items: center;
    color: var(--mbf-color-primary, #5D6E71);
    opacity: 0.8;
}

.mbf-lang-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--mbf-color-primary, #5D6E71);
    letter-spacing: 0.5px;
}

.mbf-lang-chevron {
    display: flex;
    align-items: center;
    color: var(--mbf-color-primary, #5D6E71);
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.mbf-lang-switcher.active .mbf-lang-chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.mbf-lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.mbf-lang-switcher.active .mbf-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mbf-lang-dropdown-inner {
    padding: 8px;
}

/* Language Options */
.mbf-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.mbf-lang-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--mbf-color-primary, #5D6E71);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mbf-lang-option:hover {
    background: linear-gradient(90deg, rgba(93, 110, 113, 0.05) 0%, rgba(93, 110, 113, 0.02) 100%);
    transform: translateX(2px);
}

.mbf-lang-option:hover::before {
    transform: translateX(0);
}

.mbf-lang-option.active {
    background: linear-gradient(90deg, rgba(93, 110, 113, 0.08) 0%, rgba(93, 110, 113, 0.03) 100%);
}

.mbf-lang-option-flag {
    width: 28px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mbf-lang-option-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mbf-lang-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mbf-lang-option-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
}

.mbf-lang-option-code {
    font-size: 11px;
    color: #8795a1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mbf-lang-option-check {
    display: flex;
    align-items: center;
    color: #10b981;
    margin-left: auto;
}

/* ========================================
   Mobile Language Switcher
   ======================================== */

.mbf-lang-mobile {
    position: relative;
    margin: 0 8px;
}

.mbf-lang-mobile-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(93, 110, 113, 0.05);
    border: 1.5px solid rgba(93, 110, 113, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.mbf-lang-mobile-btn:active {
    transform: scale(0.95);
}

.mbf-lang-mobile-btn img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.mbf-lang-mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: -10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 6px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
    z-index: 1000;
}

.mbf-lang-mobile.active .mbf-lang-mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mbf-lang-mobile-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mbf-lang-mobile-option:active {
    background: rgba(93, 110, 113, 0.1);
}

.mbf-lang-mobile-option img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mbf-lang-mobile-option span {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

/* ========================================
   Dark Mode Support
   ======================================== */

.mbf-scheme-dark .mbf-lang-current {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

.mbf-scheme-dark .mbf-lang-current:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mbf-scheme-dark .mbf-lang-icon,
.mbf-scheme-dark .mbf-lang-text,
.mbf-scheme-dark .mbf-lang-chevron {
    color: #fff;
}

.mbf-scheme-dark .mbf-lang-dropdown,
.mbf-scheme-dark .mbf-lang-mobile-menu {
    background: #1f2937;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.mbf-scheme-dark .mbf-lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mbf-scheme-dark .mbf-lang-option.active {
    background: rgba(255, 255, 255, 0.08);
}

.mbf-scheme-dark .mbf-lang-option-name,
.mbf-scheme-dark .mbf-lang-mobile-option span {
    color: #fff;
}

.mbf-scheme-dark .mbf-lang-option-code {
    color: #9ca3af;
}

.mbf-scheme-dark .mbf-lang-mobile-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ========================================
   RTL Support
   ======================================== */

[dir="rtl"] .mbf-lang-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .mbf-lang-option:hover {
    transform: translateX(-2px);
}

[dir="rtl"] .mbf-lang-option::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .mbf-lang-mobile-menu {
    right: auto;
    left: -10px;
}

/* ========================================
   Animation Keyframes
   ======================================== */

@keyframes langPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(93, 110, 113, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(93, 110, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(93, 110, 113, 0);
    }
}

.mbf-lang-current:focus {
    outline: none;
    animation: langPulse 1s;
}

.mbf-footer__nav > li > a {
    font-size: 1rem;
}

input#mce-EMAIL {
    text-align: right;
}

.wpml-ls-statics-footer.wpml-ls.wpml-ls-rtl.wpml-ls-legacy-list-horizontal {
    display: none;
}
li#tab-title-reviews{
    display: none;
}
@media only screen and (min-width: 1024px) {
    .home .mbf-site-content{
        margin-bottom: unset !important;
    }
    
    .cya11y-menu-btn{
        bottom: 104px !important;
        left: 34px !important;
        right: unset !important;
    }

    .page-id-4245 .is-style-mbf-flex-container {
        padding-right: unset !important;
        padding-left: unset !important;
    }
    .page-id-4245 .wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow {
        padding-right: 3rem;
    }
    .mbf-footer__subscribe .mbf-footer__subscribe-form-group {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: space-between;
        gap: 1rem;
    }
}
/* Full Border Around Entire Product Grid + Individual Product Borders */



/* Border for each individual product with small padding */
ul.products li.product {
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 10px;
    margin: 8px;
    background: #fff;
    transition: all 0.3s ease;
    text-align: center;
    padding: 0.5rem !important;
}

/* Optional: Hover effect for products */
ul.products li.product:hover {
    border-color: #bbb;
    background: #fafafa;
}
.mbf-scroll-button.prev,
.mbf-scroll-button.next{
    display: none !important;
}
.wc-block-components-checkbox__label a{
    text-decoration: underline;
    font-width: bold;
}