/* ========================== */
/* BLEAK SNOWY MOUNTAIN THEME */
/* ========================== */

.mobile-cooks-section {
    display: none;
}

/* Background image */
body {
    margin: 0;
    font-family: 'Rye', cursive;
    color: #e0e0e0;
    text-align: center;
    cursor: url('images/pointer.png') 16 16, auto;

    background: url('images/bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

/* ========================== */
/* FINAL WORKING BANNER BLOCK */
/* ========================== */

.donner-banner {
    width: 100%;
    min-height: 550px;
    /* controls banner height */
    overflow: hidden;

    border: 5px solid #ffffff;
    border-radius: 15px;
    box-sizing: border-box;

    background-image: url("images/banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


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

header {
    background-color: rgba(25, 35, 50, 0.65);
    padding: 30px 10px;
    border-bottom: 4px solid #a0a0a0;
    position: relative;
}

header h1 {
    font-size: 3.75em;
    margin: 0;
    color: #cfdfff;
    text-shadow: 2px 2px #1a1a1a;
    line-height: 1.4;
}

header h1 .line1,
header h1 .line2 {
    display: block;
    line-height: 0;
}

header h1 .line2 {
    margin-top: -0.35em;
    margin-bottom: 1em;
    font-size: 90%;
}

header p {
    font-size: 1.2em;
    color: #e0e0e0;
}

/* ========================== */
/* CAROUSEL */
/* ========================== */

.carousel-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.carousel {
    position: relative;
    width: 600px;
    overflow: hidden;
    border: 5px solid #a0a0a0;
    border-radius: 15px;
    background-color: rgba(25, 35, 50, 0.7);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 15px;
    border: 4px solid #e0e0e0;
}

.carousel-item h3 {
    margin: 10px 0 0 0;
    color: #d0e8ff;
    font-size: 1.8em;
    text-shadow: 1px 1px #1a1a1a;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    background-color: rgba(25, 35, 50, 0.6);
    border: none;
    color: #d0e8ff;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel .prev {
    left: 10px;
}

.carousel .next {
    right: 10px;
}

.carousel-text {
    background-color: rgba(30, 40, 55, 0.85);
    border: 3px solid #607080;
    border-radius: 15px;
    padding: 25px;
    max-width: 400px;
    color: #e0e0ff;
    font-family: 'Rye', cursive;
    box-shadow: 0 0 20px rgba(60, 80, 100, 0.5);
    text-shadow: 1px 1px #000;
    font-size: 1.2em;
}

/* ========================== */
/* PRODUCTS */
/* ========================== */

.products {
    padding: 40px 10px;
    background-color: rgba(25, 35, 50, 0.7);
    border: 4px solid #607080;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(60, 80, 100, 0.5);
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.products h2 {
    display: inline-block;
    font-size: 2.8em;
    padding: 15px 45px;
    margin-bottom: 35px;
    color: #d0e8ff;
    text-shadow: 2px 2px 4px #000;
    background:
        radial-gradient(circle at 30% 40%, rgba(100, 120, 140, 0.7) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(100, 120, 140, 0.7) 0%, transparent 40%),
        linear-gradient(#2a3a50, #1b2535);
    border: 4px solid #607080;
    border-radius: 12px;
    box-shadow:
        0 0 25px rgba(60, 80, 100, 0.5),
        inset 0 0 20px rgba(10, 15, 25, 0.7);
    position: relative;
}

/* ========================== */
/* PRODUCT GRID FIXED WIDTH + WIDER CARDS */
/* ========================== */
/* ========================== */
/* PRODUCT GRID RESPONSIVE */
/* ========================== */

.products {
    padding: 40px 10px;
    background-color: rgba(25, 35, 50, 0.7);
    border: 4px solid #607080;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(60, 80, 100, 0.5);
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;

    /* make border cover full content */
    display: flex;
    flex-direction: column;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));*/
    gap: 20px;
    justify-items: center;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.product-card {
    background-color: rgba(25, 35, 50, 0.7);
    border: 3px solid #a0a0a0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    /* extra padding for text */
    width: 100%;
    max-width: 280px;
    /* optional: prevent cards from being too wide */
    box-sizing: border-box;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    /* subtle hover effect */
}

.product-card img,
.product-card h3,
.product-card p:not(.price) {
    margin-bottom: 10px;
}

.product-card .price {
    margin-top: auto;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #d0e8ff;
    text-shadow: 1px 1px #1a1a1a;
}

.product-card .add-to-cart {
    margin: 0 auto;
    background-color: #2a3a50;
    color: #d0e8ff;
    font-family: 'Rye', cursive;
    padding: 9px 18px;
    font-size: 0.75em;
    border: 3px solid #607080;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* ========================== */
/* FOOTER */
/* ========================== */

footer {
    padding: 20px;
    background-color: rgba(20, 30, 40, 0.7);
    border-top: 4px solid #a0a0a0;
}

p,
h1,
h2,
h3 {
    font-family: 'Rye', cursive;
}

/* ========================== */
/* PRODUCT MODAL */
/* ========================== */

#product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 30, 40, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-product-card {
    background-color: rgba(25, 35, 50, 0.95);
    border: 3px solid #607080;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    max-width: 80%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.modal-product-card .close {
    position: sticky;
    top: 10px;
    float: right;

    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;

    font-size: 22px;
    font-weight: bold;

    background: rgba(25, 35, 50, 0.95);
    border: 3px solid #607080;
    border-radius: 50%;

    color: #d0e8ff;
    cursor: pointer;

    box-shadow: 0 0 8px rgba(60, 80, 100, 0.6);
    z-index: 5;
}

.modal-product-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.modal-product-title {
    font-size: 1.5em;
    color: #cfdfff;
    margin-bottom: 10px;
}

.modal-product-price {
    font-size: 1.2em;
    color: #d0e8ff;
    margin-bottom: 15px;
}

.modal-product-card .add-to-cart {
    background-color: #2a3a50;
    color: #d0e8ff;
    border: 3px solid #607080;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.65em;
}

/* ========================== */
/* AUDIO PLAYER */
/* ========================== */

.audio-player {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    font-family: 'Rye', cursive;
    color: #d0e8ff;
    cursor: pointer;
}

#audio-toggle {
    width: auto;
    height: 50px;
    padding: 0 15px;
    border: 3px solid #607080;
    border-radius: 12px;
    background-color: #2a3a50;
    color: #d0e8ff;
    font-family: 'Rye', cursive;
    font-size: 1em;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(60, 80, 100, 0.5);
}

#audio-toggle:hover {
    background-color: #607080;
    box-shadow: 0 0 12px rgba(60, 80, 100, 0.7);
}

#audio-prev-next {
    width: auto;
    height: 40px;
    padding: 0 15px;
    border: 3px solid #607080;
    border-radius: 12px;
    background-color: #2a3a50;
    color: #d0e8ff;
    font-family: 'Rye', cursive;
    font-size: .6em;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(60, 80, 100, 0.5);
}

#audio-prev-next:hover {
    background-color: #607080;
    box-shadow: 0 0 12px rgba(60, 80, 100, 0.7);
}

.audio-player-container {
    position: relative;
    margin: 20px auto;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background-color: rgba(30, 40, 55, 0.85);
    border: 3px solid #607080;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 0 15px rgba(60, 80, 100, 0.5);
    z-index: 10;
}

.audio-player-container #audio-toggle {
    padding: 4px 12px;
    font-size: 0.7em;
}

.audio-player-container .slider-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.audio-player-container input[type="range"] {
    height: 4px;
    width: 80px;
}

.audio-time {
    display: flex;
    justify-content: space-between;
    width: 10%;
    /* reduce width to 25% so start & end are 75% closer */
    margin: 0 auto;
    /* center the time container */
    font-size: 0.75em;
    color: #d0e8ff;
}

.slider-container label {
    font-size: 0.7em;
    color: #d0e8ff;
}


.audio-playlist {
    margin-top: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(30, 40, 55, 0.85);
    border: 3px solid #607080;
    border-radius: 12px;
    padding: 10px;
    color: #d0e8ff;
    font-family: 'Rye', cursive;
    font-size: 14px;
}

.audio-playlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audio-playlist li {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.audio-playlist li:hover {
    background-color: rgba(60, 80, 100, 0.5);
}

.audio-playlist li.active {
    background-color: #607080;
}

.audio-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #1e90ff;
    border-radius: 4px;

    background: linear-gradient(to right,
            #1e90ff 0%,
            #1e90ff 0%,
            #444 0%,
            #444 100%);
}

/* Chrome / Edge / Safari */
.audio-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 24px;
    background: url("images/scrollbar/skull.png") no-repeat center;
    background-size: contain;
    cursor: pointer;
    border: none;
}

/* Firefox */
.audio-slider::-moz-range-thumb {
    width: 28px;
    height: 24px;
    background: url("images/scrollbar/skull.png") no-repeat center;
    background-size: contain;
    cursor: pointer;
    border: none;
}

/* ========================== */
/* OUR HORROR STORY */
/* ========================== */

.our-horror-story-section h2 {
    display: inline-block;
    font-size: 2.4em;
    padding: 30px 90px 20px 90px;
    /* original padding for stars to appear */
    margin-bottom: 0px;
    color: #d0e8ff;
    background: linear-gradient(#2a3a50, #1b2535);
    border: 4px solid #607080;
    border-radius: 12px;
    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.5);
    text-shadow: 2px 2px 4px #000;
    position: relative;
    /* required for ::before & ::after */
    z-index: 0;
}

.our-horror-story-section h2::before,
.our-horror-story-section h2::after {
    content: "★";
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    color: #d0e8ff;
    font-size: 1.2em;
    z-index: 1;
}

.our-horror-story-section h2::before {
    left: 10px;
}

.our-horror-story-section h2::after {
    right: 10px;
}

.our-horror-story-section {
    display: flex;
    flex-direction: column;
    /* stack children vertically */
    justify-content: center;
    /* vertical alignment */
    align-items: center;
    /* horizontal centering */
    padding: 80px 20px;
}

.story-background {
    background: rgba(25, 35, 50, 0.9);
    border: 4px solid #607080;
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    color: #d0e8ff;
    font-family: 'Rye', cursive;
    box-shadow: 0 0 30px rgba(60, 80, 100, 0.5);
    text-shadow: 1px 1px 2px #000;
}

.story-background h2 {
    font-size: 2.4em;
    margin-bottom: 25px;
}

.story-background p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ========================== */
/* MEAT OUR COOKS */
/* ========================== */

.meat-our-cooks-section {
    padding: 0;
    margin: 0;
}

.meat-our-cooks-section h2 {
    display: inline-block;
    font-size: 2.4em;
    padding: 30px 90px 20px 90px;
    margin-bottom: 0px;
    color: #d0e8ff;
    background: linear-gradient(#2a3a50, #1b2535);
    border: 4px solid #607080;
    border-radius: 12px;
    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.5);
    text-shadow: 2px 2px 4px #000;
    position: relative;
    z-index: 0;
}

.meat-our-cooks-section h2::before,
.meat-our-cooks-section h2::after {
    content: "★";
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    color: #d0e8ff;
    font-size: 1.2em;
    z-index: 1;
}

.meat-our-cooks-section h2::before {
    left: 10px;
}

.meat-our-cooks-section h2::after {
    right: 10px;
}

.cooks-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background-color: rgba(25, 35, 50, 0.7);

    /* ---- Add frame like story-background ---- */
    border: 4px solid #607080;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(60, 80, 100, 0.5);
    max-width: 1200px;
    margin: 0 auto;
    /* center section */
}

.cook {
    background-color: rgba(25, 35, 50, 0.7);
    border: 3px solid #a0a0a0;
    border-radius: 15px;
    width: 350px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    transition: transform 0.3s;
}

.cook img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.cook p {
    font-size: 0.95em;
    text-align: center;
    line-height: 1.4em;
}

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

body::-webkit-scrollbar {
    width: 30px;
    background: transparent;
}

body::-webkit-scrollbar-track {
    background-color: #202830;
}

body::-webkit-scrollbar-thumb {
    background-image: url('images/scrollbar/skullandspine.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border: 2px solid #202830;
    border-radius: 0;
}

body::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.2);
}

/* ========================== */
/* FREAKY FRONTIER MEATS */
/* ========================== */

.our-freaky-cannibal-meats-section h2,
.our-freaky-frontier-meats-section h2 {
    display: inline-block;
    font-size: 2.4em;
    padding: 30px 90px 20px 90px;
    /* original padding for stars to appear */
    margin-bottom: 0px;
    color: #d0e8ff;
    background: linear-gradient(#2a3a50, #1b2535);
    border: 4px solid #607080;
    border-radius: 12px;
    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.5);
    text-shadow: 2px 2px 4px #000;
    position: relative;
    /* required for ::before & ::after */
    z-index: 0;
}

.our-freaky-cannibal-meats-section h2::before,
.our-freaky-cannibal-meats-section h2::after,
.our-freaky-frontier-meats-section h2::before,
.our-freaky-frontier-meats-section h2::after {
    content: "★";
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    color: #d0e8ff;
    font-size: 1.2em;
    z-index: 1;
}

.our-freaky-cannibal-meats-section h2::before,
.our-freaky-frontier-meats-section h2::before {
    left: 10px;
}

.our-freaky-cannibal-meats-section h2::after,
.our-freaky-frontier-meats-section h2::after {
    right: 10px;
}

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

@media (max-width: 768px) {

    html,
    body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
        background-size: cover;
        background-position: center;
    }

    header h1 {
        font-size: 2em;
        color: #cfdfff;
        line-height: 1.2;
    }

    header h1 .line2 {
        font-size: 90%;
        margin-top: -0.2em;
    }

    header h2 {
        font-size: 1.4em;
        color: #cfdfff;
        line-height: 1.2;
    }

    .our-horror-story-section h2 {
        font-size: 1.3em;
        /* same as meat our cooks */
        line-height: 1.2em;
        /* optional: match line-height for consistency */
        padding: 20px 15%;
        /* adjust padding to match style */
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .audio-player-container {
        display: flex;
        /* switch from inline-flex */
        flex-direction: column;
        /* stack vertically */
        align-items: center;
        /* center all children horizontally */
        gap: 10px;
    }

    #audio-toggle {
        font-size: 0.8em;
        padding: 6px 12px;
        width: 25%;
        align-self: center;
    }

    .slider-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
    }

    .slider-container input[type="range"] {
        width: 100%;
        height: 4px;
    }

    .audio-time {
        font-size: 0.7em;
        width: 100%;
        color: #d0e8ff;
    }

    .slider-container label {
        font-size: 0.7em;
        color: #d0e8ff;
        text-align: left;
    }

    .carousel-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .carousel {
        width: 98%;
    }

    .carousel-text {
        max-width: 100%;
        font-size: 1em;
        padding: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .product-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .products h2 {
        font-size: 2.1em;
        padding: 20px 10%;
        max-width: 95%;
        margin: 0 auto 25px auto;
    }

    .our-freaky-frontier-meats-section h2 {
        font-size: 1.3em;
        /* choose consistent size */
        line-height: 1.2em;
        /* match line-height */
        padding: 20px 15%;
        /* equal padding for both */
        width: 100%;
        /* constrain width consistently */
        box-sizing: border-box;
        /* include padding in width */
    }

    .cooks-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .cook {
        width: 90%;
        max-width: 420px;
    }

    .story-background h2 {
        font-size: 1.4em;
    }

    .story-background p {
        font-size: 1em;
    }

    .donner-banner {
        position: relative;
        width: 100%;
        aspect-ratio: 1.5 / 1;
        overflow: hidden;
        border: 5px solid #ffffff;
        border-radius: 15px;
        box-sizing: border-box;
    }

    /* actual image layer */
    .donner-banner::before {
        content: "";
        position: absolute;
        top: 0%;
        left: 0;
        width: 100%;
        height: 100%;

        background-image: url("images/banner-mobile.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        transform: translateY(0);
        will-change: transform;
    }

    /* Container stacks vertically */
    .audio-player-container {
        display: flex;
        flex-direction: column;
        /* stack main sections */
        align-items: center;
        gap: 10px;
    }

    /* Play/Pause button styling */
    #audio-toggle {
        font-size: 0.8em;
        padding: 6px 12px;
        width: auto;
        align-self: center;
    }

    /* Slider container stacked for mobile */
    .slider-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
    }

    .slider-container input[type="range"] {
        width: 100%;
        height: 4px;
    }

    .audio-time {
        font-size: 0.7em;
        width: 100%;
        color: #d0e8ff;
        display: flex;
        justify-content: space-between;
    }

    .slider-container label {
        font-size: 0.7em;
        color: #d0e8ff;
        text-align: left;
    }

    .audio-player-container {
        display: flex;
        flex-direction: column;
        /* main sections stacked */
        align-items: center;
        gap: 12px;
    }

    .donner-banner {
        position: relative;
        width: 100%;
        min-height: 320px;
        /* controls mobile banner height */

        border: 5px solid #ffffff;
        border-radius: 15px;
        box-sizing: border-box;

        background-image: url("images/banner.png");
        background-size: contain;
        /* shows the full image */
        background-position: center;
        background-repeat: no-repeat;

        background-attachment: scroll;
        /* disables desktop parallax */
    }

    .our-horror-story-section {
        display: flex;
        flex-direction: column;
        /* stack children vertically */
        justify-content: center;
        /* vertical alignment */
        align-items: center;
        /* horizontal centering */
        padding: 0px 0px;
    }

    .cooks-row {
        display: none;
    }

    /* show mobile list */
    .mobile-cooks-section {
        display: block;
        width: 100%;
        background-color: rgba(25, 35, 50, 0.7);
        border: 4px solid #607080;
        border-radius: 20px;
        box-shadow: 0 0 30px rgba(60, 80, 100, 0.5);
        /* equal padding for both */
        width: 100%;
        /* constrain width consistently */
        box-sizing: border-box;
        /* include padding in width */
    }

    .mobile-cooks-list {
        list-style: none;
        padding: 0px;
        margin: 0 auto;
        max-width: 500px;
        /* equal padding for both */
        width: 100%;
        /* constrain width consistently */
        box-sizing: border-box;
        /* include padding in width */
        list-style: none;
    }

    .mobile-cooks-list li {
        background-color: rgba(25, 35, 50, 0.7);
        border: 3px solid #a0a0a0;
        border-radius: 15px;
        padding: 14px;
        margin-bottom: 6px;
        cursor: pointer;
        font-family: 'Rye', cursive;
        width: 100%;

        display: flex;
        /* use flexbox */
        align-items: center;
        /* vertically center text with image */
    }

    /* modal */
    #mobile-cook-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(20, 30, 40, 0.95);
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    /* modal box */
    .mobile-cook-modal-content {
        background: rgba(25, 35, 50, 0.95);
        border: 3px solid #607080;
        border-radius: 15px;
        padding: 20px;
        width: 90%;
        max-width: 500px;
        max-height: 80vh;
        overflow-y: auto;
        position: relative;
    }

    .close-cook-modal {
        position: sticky;
        top: 10px;
        float: right;

        width: 36px;
        height: 36px;
        line-height: 34px;
        text-align: center;

        font-size: 22px;
        font-weight: bold;

        background: rgba(25, 35, 50, 0.95);
        border: 3px solid #607080;
        border-radius: 50%;

        color: #d0e8ff;
        cursor: pointer;

        box-shadow: 0 0 8px rgba(60, 80, 100, 0.6);
        z-index: 5;
    }

    /* image */
    .mobile-cook-modal-content img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .mobile-cooks-list li img {
        width: 40%;
        /* desired width */
        height: 40px;
        /* desired height */
        object-fit: cover;
        /* crops image to fill the box */
        border-radius: 4px;
        /* optional: rounded corners */
        margin-right: 0px;
        vertical-align: middle;
        object-fit: cover;
        /* crop to fit square */
        border-radius: 4px;
        /* optional rounded corners */
        margin-right: 12px;
        /* space between image and text */
        flex-shrink: 0;
    }

    /* hide desktop cook cards */
    .cooks-row {
        display: none;
    }

    /* show mobile list */
    .mobile-cooks-section {
        display: block;
    }

    .meat-grid-section h2,
    .meat-our-cooks-section h2 {
        font-size: 1.3em;
        /* choose consistent size */
        line-height: 1.2em;
        /* match line-height */
        padding: 20px 15%;
        /* equal padding for both */
        width: 100%;
        /* constrain width consistently */
        box-sizing: border-box;
        /* include padding in width */
    }

    /* Scrollbar for mobile cook modal */
    .mobile-cook-modal-content::-webkit-scrollbar {
        width: 30px;
        /* make it wider */
        height: 10px;
        /* height matches the thumb */
    }

    .mobile-cook-modal-content::-webkit-scrollbar-track {
        background: rgba(25, 35, 50, 0.8);
        /* track background */
        border-radius: 20px;
        height: 10px;
        /* same as thumb height */
    }

    .mobile-cook-modal-content::-webkit-scrollbar-thumb {
        background-color: rgba(60, 80, 100, 0.5);
        /* base background */
        background-image: url("images/scrollbar/skullandspine.png");
        /* skull overlay */
        background-size: 100% 100%;
        /* fill thumb */
        background-repeat: no-repeat;
        background-position: center;

        border: 2px solid rgba(25, 35, 50, 0.8);
        border-radius: 15px;
        transform: scaleY(0.2);
        transform-origin: top;
    }

    .mobile-cook-modal-content::-webkit-scrollbar-thumb:hover {
        filter: brightness(1.2);
        max-height: 50vh;
        /* smaller modal viewport */
        overflow-y: auto;

    }
}