@font-face {
    font-family: 'Red Hat Display';
    src: url('RedHatDisplay.ttf') format('truetype');
    font-weight: 300 900;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Red Hat Display';
    src: url('RedHatDisplay-Italic.ttf') format('truetype');
    font-weight: 300 900;
    font-style: italic;
    font-display: block;
}

*,
*::before,
*::after {
    font-family: 'Red Hat Display', sans-serif;
    letter-spacing: 0.5px;
}

.container-fluid {
    padding-left: 3.2rem;
    padding-right: 3.2rem;

}

.cat-featured-banner-overlay {
    background: unset !important;
}

.cat-featured-banner-body {
    justify-content: center !important;
    max-width: 50%;
}

.cat-featured-banner-desc {
    font-size: 18px !important;
}

.productItem .commentSummary .point,
.productItem .commentSummary .count {
    display: none;
}

.toggler-icon {
    height: 2px;
}

.navbar-toggler .top-bar {
    transform: rotate(45deg) translate(4px, 4px);
}

.search-component ul li {
    padding: 5px 20px;
    background-color: #f5f5f5;
    margin-bottom: 7px;
    border-radius: 30px;
}

.search-component ul li:hover {
    background-color: #ebebeb;
}

.desktop-search input {
    padding-left: 20px;
    padding-right: 20px;
}

header {
    min-height: 80px;
}

.first-header {
    min-height: 83px;
}

@media (min-width: 992px) {


    .container {
        margin: 0;
        padding-left: 3.2rem;
        padding-right: 3.2rem;
        max-width: 100%;
    }

    header.sticky-lg-top {
        z-index: 1019 !important;
    }
}

@media (max-width: 992px) {
    .storeNotice {
        font-size: 13px !important;
    }

    header {
        min-height: initial !important;
    }

    .first-header {
        min-height: initial !important;
    }

    header {
        height: 0;
        overflow: hidden;
        min-height: 0;
    }

    .carousel-caption h5 {
        font-size: 20px !important;
    }

    #slider .slide-desc,
    #slider .slide-desc2 {
        display: none;
    }

    .carousel-caption {
        max-width: 42% !important;
        left: 40px !important;
    }

    div#slider {
        margin-top: 0;
        margin-left: -15px;
        margin-right: -15px;
    }

    .slideButton {
        padding: 4px 20px !important;
        font-size: 13px !important;
    }

    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

body {
    font-family: 'Red Hat Display', sans-serif;
}

.search-component {
    width: 60%;
}

.search-component .form-control {
    border: 2px solid var(--primaryColor);
    min-height: 50px;
    border-radius: 30px;
}

.search-component .form-control:focus {
    background-color: #f3f3f3 !important;
}

.search-component .form-control:focus-visible {
    outline: 2px solid transparent !important;
    outline-offset: 2px !important
}

.desktop-search img {
    right: 1px !important;
    background-color: var(--primaryColor) !important;
    padding: 13px;
    width: 45px;
    height: 46px;
    top: 2px !important;
    border-radius: 0 30px 30px 0;
}

.topHeader {
    background-color: var(--secondaryColor);
    color: #fff;

}

.topHeader * {
    font-size: 14px;
}

.storeNotice {
    margin: 0 !important;
}

.header *,
.header-phone,
.profileMenu a {
    color: #222222;
    font-size: 15px;

}

.profileMenu a>span {
    font-weight: 400 !important;
}

.header-phone {
    white-space: nowrap;
}

header .justify-content-end.offcanvas-body.p-0 {
    justify-content: start !important;
}



.btn:focus,
.btn:active,
.btn:focus-visible,
.btn:focus-within,
.btn:focus:not(:focus-visible) {
    background-color: #f3f4f6;
    border-color: transparent !important;
}


.carousel-item {
    background-color: white !important;
}


.featured-cat-box {
    height: 100%;
    background-position: center;
    border-radius: 7px;
    padding: 35px 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-size: 100%;
    transition: background-size .6s ease-in-out;

}

.featured-cat-box:hover {
    background-size: 110%;


}

.featured-cat-box * {
    color: white;
}

.featured-cat-name {
    font-size: 17px;
    font-weight: 400;
}

.featured-cat-desc {
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    display: block;

}

.featured-cat-box--left {
    text-align: left;
    justify-content: center;
    padding: 35px 35px;
}

.featured-cat-box--left .featured-cat-body {
    max-width: 50%;
}

.counter input {
    min-width: 3ch;
}

.title h5 {
    font-size: 30px;
    font-weight: 600;
}

.menu ul li:hover>a {
    color: var(--primaryColor) !important;
}

.nav-pills {
    gap: 12px;
}

.nav-pills .nav-link {
    background-color: white;
    font-weight: 600;
}

.nav-pills .nav-link a {
    display: none;
}

@media (max-width: 991.98px) {
    .title h5 {
        font-size: 25px;

    }

    .stars {
        font-size: 13px;
    }

    .productItem.card .addBasketButton {
        font-size: 15px;
        padding: 4px 10px;
    }

    /* Stacked layout: each featured box needs its own intrinsic height */
    .featured-cat-box {
        height: auto;
        min-height: 180px;
        background-size: cover;
        padding: 28px 18px;
    }

    .featured-cat-box:hover {
        background-size: cover;
    }

    /* Only the FIRST featured boxes (left column, not --left variant) need
       a readability overlay on mobile */
    .featured-cat-box:not(.featured-cat-box--left) {
        position: relative;
        overflow: hidden;
    }

    .featured-cat-box:not(.featured-cat-box--left)::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 100%);
        z-index: 0;
        border-radius: inherit;
        pointer-events: none;
    }

    .featured-cat-box:not(.featured-cat-box--left) .featured-cat-body {
        position: relative;
        z-index: 1;
    }

    .featured-cat-box:not(.featured-cat-box--left) * {
        text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
    }

    .featured-cat-box--left {
        padding: 28px 22px;
        min-height: 200px;
    }

    .featured-cat-box--left .featured-cat-body {
        max-width: 75%;
    }

    .featured-cat-desc {
        font-size: 20px;
    }

    .featured-cat-name {
        font-size: 15px;
    }

    /* Bootstrap row h-100 inside col is meaningless when stacked on mobile */
    .col-lg-6 .row.h-100,
    .col-lg-5.h-100,
    .col-lg-7.h-100 {
        height: auto !important;
    }
}

.featured-cat-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: background .25s, border-color .25s;
}

.featured-cat-box--left:hover .featured-cat-btn {
    background: rgba(255, 255, 255, 0.35);
    border-color: white;
}

.carousel-caption {
    top: 20px;
    bottom: 20px;
    left: 80px;
    text-align: start;
    max-width: calc(50% - 80px);
    z-index: 10;
    display: flex !important;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.carousel-caption h5 {
    font-size: 40px;
    color: #222222;
}

.carousel-control-next,
.carousel-control-prev {
    width: 8%;
}

.carousel-caption p {
    color: #222;
    font-size: 20px;
}

.slide-desc2 {
    margin: 10px 0px;
}

#slider .btn:not(.btn-sm) {
    padding: 8px 30px;
    border-radius: 25px !important;

}

/* ── Mega Menu ──────────────────────────────────────────── */
.mega-menu-panel {
    flex-direction: row;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    min-height: 420px;
    max-height: 72vh;
}

.mega-menu-panel.show {
    display: flex !important;
    top: 122%;
}

/* ── Left sidebar: root categories ──────────────────────── */
.mmp-sidebar {
    width: 230px;
    flex-shrink: 0;
    background: #f8f9fa;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    padding: 6px 0;
}

.mmp-root-item {
    cursor: pointer;
}

.mmp-root-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #374151;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
    line-height: 1.3;
}

.mmp-root-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(40%) opacity(.7);
    transition: filter .15s;
}

.mmp-root-icon-placeholder {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mmp-root-label {
    flex: 1;
}

.mmp-root-link .bi-chevron-right {
    font-size: 10px;
    opacity: .45;
    flex-shrink: 0;
}

.mmp-root-item:hover .mmp-root-link,
.mmp-root-item.active .mmp-root-link {
    background: #fff;
    color: var(--primaryColor);
    border-left-color: var(--primaryColor);
}

.mmp-root-item:hover .mmp-root-icon,
.mmp-root-item.active .mmp-root-icon {
    filter: grayscale(0%) opacity(1);
}

/* ── Right content area ──────────────────────────────────── */
.mmp-content {
    flex: 1;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.mmp-panel {
    display: none;
    padding: 22px 26px;
    animation: mmFadeIn .15s ease;
}

.mmp-panel.active {
    display: block;
}

@keyframes mmFadeIn {
    from {
        opacity: 0;
        transform: translateX(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Panel heading (category title + description) */
.mmp-panel-cover {
    width: 100%;
    height: 130px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.mmp-panel-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .05) 60%);
    border-radius: 10px;
}

.mmp-panel-cover-title {
    position: relative;
    z-index: 1;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.mmp-panel-cover-title:hover {
    text-decoration: underline !important;
}

.mmp-panel-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.mmp-panel-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primaryColor);
    text-decoration: none !important;
}

.mmp-panel-title:hover {
    text-decoration: underline !important;
}

.mmp-panel-desc {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    display: block;
}

.mmp-panel-desc-standalone {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
    margin-top: -8px;
}

/* Grid of sub-category columns */
.mmp-cols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 22px 18px;
}

/* Column header (level-1 subcategory) */
.mmp-col-title {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #111827;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .45px;
    margin-bottom: 9px;
    padding-bottom: 7px;
    border-bottom: 1px solid #e5e7eb;
    transition: color .15s;
}

.mmp-col-title:hover {
    color: var(--primaryColor);
}

/* Level-2 items */
.mmp-col-items {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mmp-col-items>li>a {
    font-size: 13px;
    color: #4b5563;
    text-decoration: none !important;
    font-weight: 500;
    transition: color .15s;
    display: block;
    padding: 2px 0;
}

.mmp-col-items>li>a:hover {
    color: var(--primaryColor);
}

/* Level-3 items (deep) */
.mmp-deep {
    list-style: none;
    padding: 3px 0 2px 10px;
    margin: 0;
    border-left: 2px solid #f3f4f6;
}

.mmp-deep li a {
    font-size: 11.5px;
    color: #9ca3af;
    text-decoration: none !important;
    transition: color .15s;
    display: block;
    padding: 1px 0;
}

.mmp-deep li a:hover {
    color: var(--primaryColor);
}