/* =========================================================
   SAMPLE MENU PAGE
========================================================= */

.kcal-sample-menu-page {
    width: 100%;
    background: #fff;
    padding: 0;
    color: #292929;
}

.kcal-sample-menu-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.kcal-sample-menu-header {
    margin-bottom: 24px;
}

.kcal-sample-menu-header h1 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #292929;
}

.kcal-sample-menu-description {
    max-width: 700px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.kcal-sample-menu-description p {
    margin: 0;
}


/* =========================================================
   MENU SCROLL
========================================================= */

.kcal-sample-menu-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}


/* =========================================================
   MENU TABLE
========================================================= */

.kcal-sample-menu-table {
    width: 100%;
    min-width: 850px;
}


/* =========================================================
   DAY HEADER
========================================================= */

.kcal-sample-menu-header-row {
    display: grid;

    grid-template-columns:
        32px
        repeat(5, minmax(0, 1fr));

    min-height: 44px;
}

.kcal-sample-menu-corner {
    background: transparent;
}


/* =========================================================
   DAY HEADERS
========================================================= */

.kcal-sample-day-header {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 8px;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    text-transform: uppercase;
    text-align: center;

    color: #35404a;

    border-right: 1px solid rgba(255,255,255,.6);
}


/* Day colours */

.kcal-day-1 {
    background: #ffd080;
}

.kcal-day-2 {
    background: #91d2a8;
}

.kcal-day-3 {
    background: #dec5df;
}

.kcal-day-4 {
    background: #82d0cc;
}

.kcal-day-5 {
    background: #ffb4b0;
}


/* =========================================================
   OCCASION ROW
========================================================= */

.kcal-sample-menu-row {
    display: grid;

    grid-template-columns:
        32px
        repeat(5, minmax(0, 1fr));

    border-bottom: 1px solid #68c8c5;
}


/* =========================================================
   MEAL TYPE
========================================================= */

.kcal-sample-meal-type {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 132px;

    background: #76968e;

    overflow: hidden;
}

.kcal-sample-meal-type span {
    display: block;

    color: #fff;

    font-size: 10px;
    line-height: 1;

    font-weight: 700;

    text-transform: uppercase;
    white-space: nowrap;

    transform: rotate(-90deg);
}


/* =========================================================
   DAY CELL
========================================================= */

.kcal-sample-menu-cell {
    min-width: 0;
    min-height: 132px;

    background: #fff;

    border-right: 1px solid #68c8c5;

    overflow: hidden;
}


.kcal-sample-menu-card {
    padding: 10px;
}
.menu-header {
    display: flex;
    gap: 10px;
}
.menu-header h3 {
    font-size:14px;
}

.kcal-sample-menu-nutrition {
    display: flex;
    gap: 5px;
    padding-top: 5px;
}

.kcal-sample-menu-nutrition-item {
    font-size: 14px;
    background-color:#E9F8F5;
    border: 1px solid  #8edbd0;
    border-radius: 3px;
    padding: 3px;
}

details.kcal-sample-menu-ingredients {
    font-size: 12px;
}


/* =========================================================
   IMAGE
========================================================= */

.kcal-sample-menu-image {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    margin-top: 1px;

    border-radius: 50%;

    background: #eee;

    overflow: hidden;
}

.kcal-sample-menu-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   CARD BODY
========================================================= */

.kcal-sample-menu-card-body {
    min-width: 0;
    flex: 1;
}


/* =========================================================
   MEAL / PRODUCT TITLE
========================================================= */

.kcal-sample-menu-card-body h3 {
    margin: 1px 0 7px;

    font-size: 11px;
    line-height: 1.35;

    font-weight: 700;

    color: #292929;
}


/* =========================================================
   DESCRIPTION
   DIRECTLY BELOW PRODUCT TITLE
========================================================= */

.kcal-sample-menu-description-small {
    margin: 0;

    font-size: 9px;
    line-height: 1.4;

    color: #555;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;

    overflow: hidden;
}


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

.kcal-sample-menu-empty-cell {
    min-height: 132px;
    background: #fff;
}


/* =========================================================
   OCCASION WRAPPER
========================================================= */

.kcal-sample-menu-occasions {
    width: 100%;
}

.kcal-sample-menu-section {
    width: 100%;
}

.kcal-sample-menu-section-header {
    display: none;
}


/* =========================================================
   GRID
========================================================= */

.kcal-sample-menu-grid {
    display: contents;
}


/* =========================================================
   CTA
========================================================= */

.kcal-sample-menu-cta {
    padding: 25px 0;
    text-align: center;
}

.kcal-sample-menu-build-button {
    display: inline-block;

    padding: 12px 25px;

    background: #222;
    color: #fff;

    border-radius: 4px;

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

    text-decoration: none;

    transition: opacity .2s ease;
}

.kcal-sample-menu-build-button:hover {
    opacity: .85;
    color: #fff;
}


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

.kcal-sample-menu-empty {
    padding: 30px;
    text-align: center;
}

.kcal-sample-menu-empty p {
    margin: 0;
    color: #666;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.kcal-sample-menu-scroll::-webkit-scrollbar {
    height: 5px;
}

.kcal-sample-menu-scroll::-webkit-scrollbar-track {
    background: #f2f2f2;
}

.kcal-sample-menu-scroll::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .kcal-sample-menu-container {
        max-width: 100%;
    }

    .kcal-sample-menu-header {
        padding: 0 15px;
    }
}


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

@media (max-width: 767px) {

    .kcal-sample-menu-header {
        padding: 0 15px;
        margin-bottom: 18px;
    }

    .kcal-sample-menu-header h1 {
        font-size: 18px;
    }

    .kcal-sample-menu-description {
        font-size: 12px;
        line-height: 1.5;
    }

    .kcal-sample-menu-table {
        min-width: 850px;
    }

    .kcal-sample-menu-card {
        gap: 7px;
        padding: 8px 7px;
        min-height: 120px;
    }

    .kcal-sample-menu-cell,
    .kcal-sample-meal-type,
    .kcal-sample-menu-empty-cell {
        min-height: 120px;
    }

    .kcal-sample-menu-image {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }

    .kcal-sample-menu-card-body h3 {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .kcal-sample-menu-description-small {
        font-size: 8.5px;
        line-height: 1.35;
        -webkit-line-clamp: 4;
    }
}