/* ==========================================================
   MEGRELIA MENU ENGINE
   Version: 1.0
========================================================== */

:root{

    --bg:#612126;
    --card:#6B272C;
    --gold:#C9A56A;
    --text:#F7F2EB;
    --text-light:rgba(247,242,235,.78);

    --radius:18px;

    --shadow:
        0 10px 30px rgba(0,0,0,.18);

    --container:1200px;

    --transition:.28s ease;

}

/* ==========================================================
   RESET
========================================================== */

#megrelia-menu{

    background:var(--bg);
    color:var(--text);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    min-height:100vh;

    padding:80px 20px;

    box-sizing:border-box;

}

#megrelia-menu *{

    box-sizing:border-box;

}

/* ==========================================================
   CONTAINER
========================================================== */

.meg-container{

    width:100%;
    max-width:var(--container);

    margin:auto;

}

/* ==========================================================
   CATEGORY
========================================================== */

.meg-category{

    margin:80px 0 60px;

}

.meg-category:first-child{

    margin-top:0;

}

.meg-category-title{

    text-align:center;

    color:var(--gold);

    text-transform:uppercase;

    letter-spacing:6px;

    font-size:42px;

    font-weight:600;

    margin-bottom:16px;

}

.meg-category-line{

    width:120px;

    height:2px;

    background:var(--gold);

    opacity:.4;

    margin:0 auto 50px;

}

/* ==========================================================
   GRID
========================================================== */

.meg-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:32px;

}

/* ==========================================================
   CARD
========================================================== */

.meg-card{

    display:flex;

    gap:24px;

    align-items:flex-start;

    background:var(--card);

    border-radius:var(--radius);

    padding:22px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.meg-card:hover{

    transform:translateY(-4px);

}

/* ==========================================================
   IMAGE
========================================================== */

.meg-image{

    width:170px;

    height:170px;

    flex-shrink:0;

    overflow:hidden;

    border-radius:14px;

}

.meg-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.45s;

    display:block;

}

.meg-card:hover img{

    transform:scale(1.05);

}

/* ==========================================================
   CONTENT
========================================================== */

.meg-content{

    flex:1;

    display:flex;

    flex-direction:column;

}

/* ==========================================================
   HEADER
========================================================== */

.meg-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:16px;

}

.meg-name{

    font-size:28px;

    font-weight:600;

    color:var(--text);

    line-height:1.25;

}

.meg-price{

    white-space:nowrap;

    color:var(--gold);

    font-size:28px;

    font-weight:700;

}

/* ==========================================================
   DESCRIPTION
========================================================== */

.meg-description{

    margin-top:12px;

    color:var(--text-light);

    line-height:1.6;

    font-size:16px;

}

/* ==========================================================
   FOOTER
========================================================== */

.meg-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:auto;

    padding-top:20px;

}

.meg-weight{

    color:var(--gold);

    font-size:15px;

    letter-spacing:1px;

}

/* ==========================================================
   EMPTY IMAGE
========================================================== */

.meg-no-image{

    width:100%;
    height:100%;

    background:rgba(255,255,255,.06);

}

/* ==========================================================
   LOADER
========================================================== */

.meg-loading{

    text-align:center;

    color:var(--gold);

    font-size:18px;

    padding:100px 0;

}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:991px){

    .meg-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:767px){

    #megrelia-menu{

        padding:40px 14px;

    }

    .meg-category{

        margin:50px 0;

    }

    .meg-category-title{

        font-size:30px;

        letter-spacing:4px;

    }

    .meg-card{

        flex-direction:column;

        padding:18px;

    }

    .meg-image{

        width:100%;
        height:230px;

    }

    .meg-header{

        flex-direction:column;

        gap:6px;

    }

    .meg-name{

        font-size:24px;

    }

    .meg-price{

        font-size:24px;

    }

    .meg-description{

        font-size:15px;

    }

}

@media(max-width:480px){

    .meg-image{

        height:200px;

    }

    .meg-category-title{

        font-size:26px;

    }

}