/* =====================================================
   FOOD DETAIL
===================================================== */

.food-detail-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 25px 20px 60px;
}


/* =====================================================
   HERO
===================================================== */

.food-hero {
    display: grid;

    grid-template-columns:
        minmax(280px, 420px)
        1fr;

    gap: 30px;

    background: #ffffff;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(
            0,
            0,
            0,
            0.07
        );

    margin-bottom: 20px;
}


.food-hero-image {
    min-height: 330px;

    background: #fff1ea;

    display: flex;

    align-items: center;

    justify-content: center;
}


.food-hero-image img {
    width: 100%;
    height: 100%;

    min-height: 330px;

    object-fit: cover;

    display: block;
}


.food-no-image {
    font-size: 90px;
}


.food-hero-info {
    padding: 35px 35px 35px 0;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.food-label {
    color: #e65c22;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 8px;
}


.food-hero-info h1 {
    margin: 0 0 12px;

    color: #173c42;

    font-size: 38px;

    line-height: 1.15;
}


.food-origin {
    color: #667b7e;

    font-size: 15px;

    margin-bottom: 12px;
}


.food-detail-price {
    color: #e65c22;

    font-size: 20px;

    font-weight: 700;

    margin-bottom: 15px;
}


.food-description {
    color: #555;

    line-height: 1.7;

    margin: 0;
}


/* =====================================================
   STATS
===================================================== */

.food-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 25px;
}


.food-stat {
    background: #ffffff;

    border-radius: 16px;

    padding: 18px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(
            0,
            0,
            0,
            0.05
        );
}


.food-stat strong {
    display: block;

    color: #173c42;

    font-size: 24px;

    margin-bottom: 4px;
}


.food-stat span {
    color: #777;

    font-size: 13px;
}


/* =====================================================
   SECTION
===================================================== */

.food-map-section,
.food-posts-section {
    background: #ffffff;

    border-radius: 20px;

    padding: 25px;

    margin-bottom: 25px;

    box-shadow:
        0 5px 25px rgba(
            0,
            0,
            0,
            0.05
        );
}


.section-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 18px;
}


.section-header small {
    color: #e65c22;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;
}


.section-header h2 {
    margin: 5px 0 0;

    color: #173c42;

    font-size: 22px;
}


/* =====================================================
   MAP
===================================================== */

.food-detail-map {
    width: 100%;

    height: 430px;

    border-radius: 16px;

    overflow: hidden;
}


.food-map-popup {
    min-width: 180px;

    font-size: 13px;
}


.food-map-popup strong {
    display: block;

    color: #173c42;

    font-size: 15px;

    margin-bottom: 5px;
}


.food-map-popup small {
    display: block;

    color: #777;

    margin: 5px 0 8px;
}


.food-map-popup a {
    color: #e65c22;

    text-decoration: none;

    font-weight: 600;
}


/* =====================================================
   SHARE BUTTON
===================================================== */

.food-share-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 15px;

    border-radius: 10px;

    background: #e65c22;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;
}


.food-share-button:hover {
    opacity: 0.9;
}


/* =====================================================
   POSTS
===================================================== */

.food-post-list {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.food-post-card {
    border: 1px solid #eeeeee;

    border-radius: 16px;

    padding: 18px;

    background: #ffffff;
}


.food-post-header {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;
}


.food-post-avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #fff1ea;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;
}


.food-post-author strong {
    display: block;

    color: #173c42;

    font-size: 14px;
}


.food-post-author small {
    color: #888;

    font-size: 11px;
}


.food-post-content {
    color: #333;

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 12px;

    white-space: normal;
}


.food-post-location {
    display: inline-block;

    color: #e65c22;

    text-decoration: none;

    font-size: 13px;

    margin-bottom: 12px;
}

/* =========================================================
   FOOD STATS
========================================================= */

.food-stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin-bottom: 25px;
}


.food-stat {

    background: #ffffff;

    border-radius: 16px;

    padding: 20px;

    text-align: center;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.05);

}


.food-stat strong {

    display: block;

    font-size: 28px;

    color: #173c42;

    line-height: 1.2;

}


.food-stat span {

    display: block;

    margin-top: 5px;

    color: #888;

    font-size: 13px;

}


@media (max-width: 600px) {

    .food-stats {

        gap: 8px;

    }


    .food-stat {

        padding: 15px 8px;

    }


    .food-stat strong {

        font-size: 22px;

    }


    .food-stat span {

        font-size: 11px;

    }

}
/* =====================================================
   POST IMAGES
===================================================== */

.food-post-images {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 7px;

    margin-top: 8px;
}


.food-post-images a {
    display: block;

    overflow: hidden;

    border-radius: 10px;
}


.food-post-images img {
    width: 100%;

    height: 230px;

    object-fit: cover;

    display: block;

    transition:
        transform 0.2s ease;
}


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


.food-post-footer {
    margin-top: 14px;

    padding-top: 12px;

    border-top: 1px solid #eeeeee;
}


.food-post-footer a {
    color: #e65c22;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;
}


/* =====================================================
   EMPTY
===================================================== */

.food-empty {
    text-align: center;

    padding: 50px 20px;

    color: #777;
}


.food-empty > div {
    font-size: 60px;

    margin-bottom: 10px;
}


.food-empty h3 {
    color: #173c42;

    margin: 0 0 8px;
}


.food-empty p {
    margin-bottom: 20px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (
    max-width: 750px
) {

    .food-detail-page {
        padding:
            15px
            10px
            40px;
    }


    .food-hero {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .food-hero-image {
        min-height: 250px;
    }


    .food-hero-image img {
        min-height: 250px;

        max-height: 350px;
    }


    .food-hero-info {
        padding: 22px;
    }


    .food-hero-info h1 {
        font-size: 30px;
    }


    .food-stats {
        gap: 8px;
    }


    .food-stat {
        padding: 13px 8px;
    }


    .food-stat strong {
        font-size: 20px;
    }


    .food-map-section,
    .food-posts-section {
        padding: 16px;
    }


    .food-detail-map {
        height: 330px;
    }


    .section-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .food-post-images {
        grid-template-columns: 1fr;
    }


    .food-post-images img {
        height: auto;

        max-height: 450px;
    }

}
/* =====================================================
   RESTAURANTS
===================================================== */

.food-restaurants-section {
    background: #ffffff;

    border-radius: 20px;

    padding: 25px;

    margin-bottom: 25px;

    box-shadow:
        0 5px 25px rgba(
            0,
            0,
            0,
            0.05
        );
}


.restaurant-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.restaurant-card {
    display: flex;

    gap: 14px;

    padding: 16px;

    border: 1px solid #eeeeee;

    border-radius: 15px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.restaurant-card:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px rgba(
            0,
            0,
            0,
            0.07
        );
}


.restaurant-card-icon {
    width: 50px;

    height: 50px;

    min-width: 50px;

    border-radius: 12px;

    background: #fff1ea;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;
}


.restaurant-card-info {
    flex: 1;
}


.restaurant-card-info h3 {
    margin: 0 0 6px;

    color: #173c42;

    font-size: 17px;
}


.restaurant-address {
    color: #666;

    font-size: 13px;

    line-height: 1.5;
}


.restaurant-city {
    color: #888;

    font-size: 12px;

    margin-top: 3px;
}


.restaurant-rating {
    color: #e65c22;

    font-size: 13px;

    font-weight: 700;

    margin-top: 8px;
}


.restaurant-rating span {
    color: #888;

    font-weight: 400;
}


.restaurant-map-button {
    border: none;

    background: none;

    padding: 0;

    margin-top: 8px;

    color: #e65c22;

    cursor: pointer;

    font-size: 12px;

    font-weight: 600;
}


.restaurant-map-button:hover {
    text-decoration: underline;
}


@media (
    max-width: 750px
) {

    .restaurant-grid {
        grid-template-columns: 1fr;
    }

}

