.overlay-black {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* menu */


.menu-card {
    padding: 15px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.menu-thumb img {
    width: 105px;
    height: 105px;
    object-fit: cover;
}

.menu-content {
    min-width: 0;
}

.menu-divider {
    height: 1px;
    border-bottom: 1px dashed #dcdcdc;
}

.menu-action {
    min-width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-to-cart {
    width: 50px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid transparent;
    /* background-color: transparent; */
      background-color: rgba(231, 76, 60, 0.08);
    color: #e74c3c;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.add-to-cart:hover {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.08);
    transform: scale(1.05);
}
/* .add-to-cart {
    width: 50px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: transparent;
    color: #e74c3c;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart:hover {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.08);
    transform: scale(1.05);
} */

.add-to-cart.active {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.12);
}

@media (max-width: 575px) {
    .menu-action {
        margin-top: 12px;
        justify-content: flex-end;
    }

    .menu-thumb img {
        width: 90px;
        height: 90px;
    }
}

/* gallery */

.gallery-item {
    height: 320px; 
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.gallery-item img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}



/* cart quantity */

.quantity-group {
    max-width: 100px;
    display: flex;
    margin: 0 15px;
}

.quantity-group .btn {
    flex: 1;
    padding: 0;
    min-width: 0;
    line-height: 1.5;
    height: 28px; 
    background-color: #e0e0e0;
    color: #333;
    border: 1px solid #999;
    font-weight: bold;
    font-size: 1.1rem;
}

.quantity-group .btn:first-child {
    border-radius: 5px 0 0 5px; 
}

.quantity-group .btn:last-child {
    border-radius: 0 5px 5px 0;
}

.quantity-group .qty-input , .cart-qty-input {
    flex: 1;
    height: 28px; 
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    border-left: none;
    border-right: none;
    padding: 0;
    text-align: center;
    font-size: 1rem;
}



/* dish name */

.dish-name {
    max-width: 90%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}



.dish-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    max-width: 90%;
}

.dish-desc.expanded {
    -webkit-line-clamp: unset;
}

.read-more {
    font-size: 13px;
    color: #007bff;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .dish-desc {
        -webkit-line-clamp: 3;
    }
}



/* Custom Css */

.nav-tabs-carousel {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    scroll-behavior: smooth;
}

.nav-tabs-wrapper::-webkit-scrollbar {
    height: 6px;
    display: none;
}

.nav-tabs.flex-nowrap {
    flex-wrap: nowrap !important;
}

.nav-tabs .nav-item {
    flex: 0 0 auto;       /* prevents shrinking */
    min-width: 120px;     /* adjust as needed */
}

.nav-tabs .nav-link {
    white-space: nowrap;  /* prevent wrapping inside links */
}

.nav-carousel-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.left-btn { left: 0; }
.right-btn { right: 0; }

/* Only show arrows on small screens */
@media (min-width: 992px) {
    .nav-carousel-btn { display: none; }
}


@media (max-width: 575.98px) { /* Bootstrap sm and below */
    .menutabItems:first-child {
        padding-left: 3rem !important; /* ps-5 */
    }
}


.custom-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.rounded-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Mobile polish */
@media (max-width: 768px) {
    .custom-card {
        padding: 8px;
        border-radius: 14px;
    }

    .rounded-img {
        border-radius: 10px;
    }
}


.custom-carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg,#FF6B6B,#FFD93D);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index:10;
    box-shadow:0 6px 15px rgba(0,0,0,0.25);
    border:none;
    transition: all 0.3s ease;
}

.custom-carousel-btn:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow:0 8px 20px rgba(0,0,0,0.35);
}

.carousel-control-prev { left: -35px; }
.carousel-control-next { right: -35px; }