body,
html {
    background: white;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    min-width: 400px;
    user-select: none;
    -webkit-user-select: none;
    letter-spacing: 0.2px;

}

/* Categories */
.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    white-space: nowrap;
    padding: 10px 0;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    padding: 8px 3px;
    border-radius: 12px;
    transition: 0.2s;
}

.category-item.active {
    background: #ddddddbd;
}

.category-item.active img {
    transform: scale(1.05);
}

.category-item:hover {
    background: #f2f2f2;
}

.category-title {
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.2px;
}

/* Filters */
.filter-btn {
    border-radius: 50px;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    margin: 0px;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.2px;
}

/* FOOD SCROLL */
.food-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    white-space: nowrap;
    padding-bottom: 10px;
}

.food-scroll::-webkit-scrollbar {
    display: none;
}

.food-item {
    flex: 0 0 auto;
    width: 280px;
    margin-bottom: 20px;
}

/* CARDS */
.food-card {
    overflow: hidden;
}

.food-card:hover img {
    transform: scale(1.03);
}

.food-card .card-img-top {
    width: 100%;
    height: 140px;
    object-fit: cover;
}




.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: clamp(140px, 18vw, 250px);
}

.carousel-item .d-flex {
    height: 100%;
    gap: 12px;
}




.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 1;
    z-index: 10;
    transition: all 0.25s ease;
}

.carousel-control-prev {
    left: 16px;
}

.carousel-control-next {
    right: 16px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    transform: translateY(-50%) scale(1.08);
    background: #fff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0.45);
    width: 16px;
    height: 16px;
}

*/ img {
    mix-blend-mode: multiply;
}

.light-divider {
    height: 1px;
    background-color: #dcdddd;
    width: 100%;
}

.light-divider-modal {
    height: 1px;
    background-color: #dcdddd;
    margin: 0 20px;
}
.businessTitle {
    margin-top: 10px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.scroll-arrow {
    display: flex;
    gap: 10px;
}

.scroll-arrow i:hover {
    background: #e5e5e5;
    transform: scale(1.05);
}

.scroll-arrow i {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f1f1f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
    margin-left: 8px;
}


.scroll-arrow i.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.businessLocation {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.text-muted {
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.2px;
}

.mb-1 {
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #414141;
    letter-spacing: 0.2px;
}

.image-wrapper {
    overflow: hidden;
    border-radius: 10px;
}

.image-wrapper img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.food-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.food-card:hover {
    cursor: pointer;
}



.main-layout {
    display: flex;
    gap: 30px;
}

/* =========================
   SEARCH
========================= */

.search-wrapper {
    position: sticky;
    top: 62px;
    padding: 10px 0;
    width: 100%;
    margin: 0 0 10px 0;
    z-index: 1001;
}

/* Ensure the wrapper stacks correctly when you interact with it */
.search-wrapper:focus-within {
    z-index: 1001;
    border: 0;
    /* Keeps dropdown and clear button interactive and on top */
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    z-index: 2;
}

.search-bar {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 3px;
    background: #f8f9fa;
    padding: 0 20px 0 50px;
    font-size: 15px;
    cursor: text;
}

.search-bar:focus {
    outline: none;
    border: none;
    box-shadow: none;
    background-color: #f8f9fa;

}


.search-bar::placeholder {
    color: #8b8b8b;
}



.search-thumb {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

/* =========================
   CLOSE BUTTON CLEAR SEARCH DESKTOP
========================= */
.clear-search {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #e5e5e5;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 999;
    display: none;
}

.clear-search.show {
    display: flex;
}

.clear-search i {
    font-size: 18px;
    line-height: 1;
}

.clear-search:hover {
    background: #d9d9d9;
}

.clear-search.show {
    display: flex;
}



/* =========================
   OVERLAY (Desktop)
========================= */

.search-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    pointer-events: none;
}

.search-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================
   DESKTOP DROPDOWN
========================= */

.search-dropdown {
    position: absolute;
    top: calc(84%);
    left: 0;
    width: 100%;
    max-height: 300px;
    background: #f8f9fa;
    overflow-y: auto;

    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s;
}

.search-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background .15s;
    font-family: 'Poppins', sans-serif;
}

.search-item:hover {
    background: #f7f7f7;
}

.search-item i {
    color: #9ca3af;
}


.category-toggle::-webkit-scrollbar {
    display: none;
}

.categories {
    position: sticky;
    top: 0;
    z-index: 100;
}

.category-toggle-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;

    background: white;
    border-radius: 15px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 8px 24px rgba(0, 0, 0, 0.04);

    overflow: hidden;
}


.category-toggle {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;

    padding: 10px 55px 10px 10px;
    margin-left: 15px;
    white-space: nowrap;
    flex-wrap: nowrap;
    justify-content: flex-start;

    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;

}

.category-toggle::-webkit-scrollbar {
    display: none;
}

/* =========================
   ARROWS
========================= */

.cat-arrow {
    width: 38px;
    height: 38px;
    border-radius: 40%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);

    cursor: pointer;
    flex-shrink: 0;
    z-index: 10;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.cat-arrow i {
    font-size: 16px;
    color: black;

}

/* Left arrow */
.left-cat-arrow {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

/* Right arrow */
.right-cat-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}


/* Hover */
.left-cat-arrow:hover,
.right-cat-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Hidden */
.cat-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Disabled */
.cat-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* CATEGORY BUTTONS */
.category-toggle button {
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #643f3f;
    background: rgb(255, 255, 255);
    cursor: pointer;
}

.category-toggle button.active {
    background: black;
    color: white;
}


.left-arrow,
.right-arrow {
    visibility: hidden;
}

#clearFilterBtn:hover {
    text-decoration: underline;
}


#clearFilterBtn.btn-sm {
    background-color: transparent;
    border: none;
    padding: 0px;
}

.index-effect {
    opacity: 0;
    transition: opacity .3s ease;
}

.index-effect.loaded {
    opacity: 1;
}

.image-wrapper {
    position: relative;
}

.shop-closed .card-img-top {
    filter: grayscale(100%);
    opacity: 0.45;
}


.closed-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}


.closed-overlay span {
    background: rgba(0,0,0,0.75);
    color: white;

    padding: 6px 18px;
    border-radius: 20px;

    font-size: 14px;
    font-weight: 700;

    z-index: 2;
}


.closed-overlay::after {
    content: "";

    position: absolute;

    width: 120%;
    height: 4px;

    background: red;

    transform: rotate(-35deg);
}

.search-logo-wrapper {
    position: relative;
}


.search-closed-overlay {
    position: absolute;
    inset: 0;

    pointer-events: none;
}


.search-closed-overlay::after {
    content: "";

    position: absolute;

    width: 120%;
    height: 3px;

    background: red;

    top: 50%;
    left: -10%;

    transform: rotate(-35deg);
}