@media (max-width: 767px) {
    .ac-shop .wc-block-product-template__responsive {
        display: flex;
        flex-direction: column;
    }

    .catalog__heading-title-wrapper .sale_badge {
        padding: 0;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        color: #0082FF;
        background: none !important;
        text-wrap: wrap;
        text-align: left;
    }
}

@media (min-width: 767.98px) {
    .brand-logos-grid .brand-logo {
        width: calc(33% - 5px);
    }
}

@media (min-width: 992px) {

    .brands-group {
        flex-direction: row;
        height: 368px;
        width: unset;
    }

    .brands-group.brands-group-full {
        height: auto;
    }

    #brands-catalog .category-card {
        min-width: 300px; /* fill that 380px track */
        min-height: 368px;
        height: 100%
    }

    .brand-logos-grid .brand-logo {
        width: 215px;
    }

    section:first-of-type, main {
        margin-top: 80px;
    }

    .single-post-page.page {
        margin-top: 120px;
    }
}

@media (min-width: 1140px) {
    #contacts .menu {
        --bs-gutter-x: 155px;
    }
    .brands-group-full {
        grid-template-columns: repeat(10, 1fr) !important;
    }
}

@media (min-width: 1200px) {
    .col-xl-25 {
        flex: 0 0 auto;
        width: 20%;
    }

    .col-xl-45 {
        flex: 0 0 auto;
        width: 40%;
    }

    #brands-catalog .category-card {
        min-width: 318px; /* fill that 380px track */
    }
}

@media (min-width: 1440px) {
    #brands-catalog .category-card {
        min-width: 320px; /* fill that 380px track */
        min-height: 368px;
        height: 100%
    }
    .brand-logos-grid .brand-logo {
        width: 215px;
    }
}

@media (max-width: 767px) {
    #cat-products-accent .product-card {
        transition-delay: 0s;
    }
  .shop-item__price {
    flex-wrap: wrap;
    gap: 5px;
  }
  .product-card .product-card-inner, .wc-block-product {
    padding: 7px;
  }
  .card-img-container, .wc-block-components-product-image a {
    padding-left: 20px;
    padding-right: 20px;
  }
  .shop-item__badges {
    left: 20px;
  }
}

@media (min-width: 576px) {
    #benefits .benefit {
        height: 445px;
        padding: 50px;
        gap: 0;
    }

    #benefits .benefit img {
        max-height: 200px;
    }

    #benefits .benefit div {
        font-size: 2rem;
    }
}


/* Mobile menu styles */

.navbar-toggler {
    border: 0;
    padding: 0;
}

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #0D3459;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

#closeMobileMenu {
    font-size: 2rem;
}

.mobile-menu.open {
    transform: translateX(0);
    overflow-y: auto; /* allow internal scroll if needed */
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-nav {
    padding: 0;
    margin: 0;
}

.mobile-menu-nav .nav-item {
    list-style: none;
}

.mobile-menu-nav .nav-link {
    display: block;
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #fff;
    text-decoration: none;
}

.mobile-menu-nav .submenu-parent {
    display: flex;
    align-items: center;
}

.mobile-menu-nav .submenu-parent::after {
    content: '';
    display: block;
    height: 1em;
    width: 6px;
    background-image: url(../images/icons/dropdown-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 8px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.mobile-menu-nav .submenu-parent:hover::after {
    transform: translateX(2px);
}

.mobile-menu-nav .submenu-parent[aria-expanded=true]::after {
    transform: rotate(90deg);
    transform-origin: center;
    /*margin-left: 8px;*/
    margin-bottom: 0;
}

.mobile-menu-nav .submenu {
    padding-left: 1rem;
}

.mobile-menu-nav .submenu .nav-link:before {
    content: '-';
    margin-right: 5px;
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-footer .header-icons {
    justify-content: space-between;
    column-gap: unset;
}

@media (min-width: 1440px) {
    .header-fibo-search {
        display: flex !important;
    }
}