/* Product catalog (all-food) theme overrides */
.product-empty-state {
    padding: 48px 16px;
    text-align: center;
}

.product-empty-state p {
    font-size: 1.125rem;
    color: #4D5461;
    margin: 0;
}

.food-details .featured-item-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.food-details .popular-item-box-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.food-details-btn-search-box .food-details-btn-search-btn button.icon {
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.food-details .popular-item-box-text h3 a {
    color: inherit;
    text-decoration: none;
}

.food-details .popular-item-box-text h3 a:hover {
    color: #FE724C;
}

.logo img {
    max-height: 48px;
    width: auto;
}

.mobile-header .logo img {
    max-height: 40px;
}

/* Product details (foods-details) */
.food-details-section .slider-for-img img,
.food-details-section .slider-nav-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-details-section .slider-for-img {
    max-height: 480px;
    overflow: hidden;
    border-radius: 12px;
}

.food-details-section .slider-nav-img {
    height: 90px;
    overflow: hidden;
    border-radius: 8px;
}

.food-details-section .food-details-text img {
    max-width: 100%;
    height: auto;
}

.product-details-together .product-details-price h4 {
    margin: 0;
    color: #FE724C;
    font-size: 1.35rem;
}

.product-details-together .product-details-specs ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-details-together .product-details-specs li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    color: #4D5461;
}

.product-details-together .product-details-specs li span {
    font-weight: 600;
    color: #1F2937;
    margin-left: 4px;
}

.product-details-together .product-details-request-form .form-control {
    width: 100%;
    margin-bottom: 4px;
}

.product-details-together .together-box-inner-btn-btm {
    margin-top: 12px;
}

.product-details-together .together-box-inner-btn-btm .main-btn-six,
.product-details-together .together-box-inner-btn-btm .main-btn-four {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
}

.product-details-extra-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-details-video {
    position: relative;
}

.product-details-video .product-video-empty {
    margin-top: 16px;
    text-align: center;
    color: #4D5461;
}

.food-details-two .featured-item-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.food-details-section .comment-alert {
    margin-bottom: 12px;
}

.food-details-section .food-details-text {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.food-details-section .food-details-text table {
    max-width: 100%;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Tablet: stack list cards before phone breakpoint */
@media (max-width: 991px) {
    .food-details .popular-item-box {
        display: block;
        padding-right: 0;
    }

    .food-details .popular-item-box-img img {
        width: 100%;
    }
}

/* Phone: keep product pagination visible (theme hides .blog-mt-48px) */
@media (max-width: 767px) {
    .food-details .blog-mt-48px {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .food-details .blog-mt-48px > [class*="col-"] {
        width: 100%;
        max-width: 100%;
    }

    .food-details-section .slider-for-img {
        max-height: 320px;
    }

    .food-details-section .slider-nav-img {
        height: 64px;
    }
}

@media (max-width: 575px) {
    .food-details-section .nav {
        gap: 12px 16px;
    }

    .food-details-section .nav-link {
        font-size: 15px;
    }
}
