* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #ff4b1f;
    --orange-dark: #e83e15;
    --text: #17191c;
    --muted: #737980;
    --border: #e4e6e9;
    --background: #f7f7f8;
    --white: #ffffff;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text);
    padding-bottom: 110px;
}


/* =========================
   TOPO
========================= */

.topbar {
    height: 72px;

    background: white;

    border-bottom: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.restaurant {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant img {
    width: 230px;
    height: 65px;

    object-fit: contain;
}

.store-status {
    position: absolute;

    right: 6%;

    display: flex;
    align-items: center;
    gap: 7px;

    background: #eefaf2;

    color: #21864b;

    padding: 8px 13px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 600;
}

.store-status span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #27a65c;
}


/* =========================
   CABEÇALHO
========================= */

.page-header {
    width: calc(100% - 40px);

    max-width: 1200px;

    margin: 35px auto 20px;

    background: linear-gradient(
        135deg,
        #351008,
        #8d2d12
    );

    border-radius: 16px;

    padding: 38px 45px;

    color: white;
}

.page-label {
    color: #ff5a28;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .6px;
}

.page-header h1 {
    font-size: 34px;

    margin-top: 8px;
}

.page-header p {
    color: #dedede;

    font-size: 13px;

    margin-top: 7px;
}


/* =========================
   CATEGORIAS
========================= */

.categories {
    width: calc(100% - 40px);

    max-width: 1200px;

    margin: 0 auto 30px;

    display: flex;

    gap: 10px;

    overflow-x: auto;

    padding: 5px;
}

.category {
    min-width: 125px;

    height: 48px;

    padding: 0 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    color: #626970;

    text-decoration: none;

    font-size: 12px;

    font-weight: 500;

    transition: .2s;
}

.category:hover {
    border-color: var(--orange);

    color: var(--orange);
}

.category.active {
    background: var(--orange);

    border-color: var(--orange);

    color: white;

    font-weight: 700;
}


/* =========================
   MENU
========================= */

.menu {
    width: calc(100% - 40px);

    max-width: 1200px;

    margin: auto;
}

.section-title {
    margin-bottom: 18px;
}

.section-title h2 {
    font-size: 22px;
}

.section-title p {
    color: var(--muted);

    font-size: 12px;

    margin-top: 4px;
}


/* =========================
   PRODUTOS
========================= */

.products {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.product {
    background: white;

    border: 1px solid var(--border);

    border-radius: 10px;

    min-height: 145px;

    padding: 10px;

    display: flex;

    gap: 15px;

    transition: .2s;
}

.product:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .06);
}


/* =========================
   IMAGEM
========================= */

.product-image {
    width: 135px;
    height: 125px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 9px;

    background: #fafafa;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================
   INFORMAÇÕES
========================= */

.product-info {
    flex: 1;

    display: flex;

    flex-direction: column;
}

.product-info h3 {
    font-size: 15px;
}

.product-info p {
    color: var(--muted);

    font-size: 11px;

    line-height: 1.5;

    margin-top: 7px;

    max-width: 450px;
}

.product-bottom {
    margin-top: auto;

    padding-top: 10px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.product-bottom strong {
    color: var(--orange);

    font-size: 12px;
}

.add-product,
.add-product-agua {
    width: 35px;
    height: 35px;

    border: 0;

    border-radius: 9px;

    background: var(--orange);

    color: white;

    cursor: pointer;

    transition: .2s;
}

.add-product:hover,
.add-product-agua:hover {
    background: var(--orange-dark);

    transform: scale(1.05);
}


/* =========================
   CARRINHO
========================= */

.cart-button {
    position: fixed;

    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    min-width: 330px;

    height: 62px;

    padding: 0 18px;

    border: 0;

    border-radius: 12px;

    background: var(--orange);

    color: white;

    display: flex;

    align-items: center;

    gap: 12px;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(255, 75, 31, .3);

    z-index: 50;

    text-align: left;
}

.cart-icon {
    position: relative;

    font-size: 21px;
}

.cart-icon span {
    position: absolute;

    top: -10px;
    right: -10px;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: white;

    color: var(--orange);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 9px;
    font-weight: 700;
}

.cart-button div:nth-child(2) {
    flex: 1;
}

.cart-button strong {
    display: block;

    font-size: 12px;
}

.cart-button span {
    display: block;

    font-size: 10px;

    margin-top: 3px;
}

.cart-button > i {
    font-size: 12px;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 800px) {

    .products {
        grid-template-columns: 1fr;
    }

    .page-header {
        margin-top: 20px;

        padding: 30px;
    }

}

@media (max-width: 600px) {

    .restaurant img {
        width: 190px;
        height: 58px;
    }

    .store-status {
        right: 15px;

        font-size: 10px;

        padding: 7px 10px;
    }

    .page-header {
        width: calc(100% - 20px);

        padding: 28px 22px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .categories,
    .menu {
        width: calc(100% - 20px);
    }

    .product-image {
        width: 110px;
        height: 110px;
    }

    .product-info h3 {
        font-size: 13px;
    }

    .product-info p {
        font-size: 10px;
    }

    .cart-button {
        min-width: calc(100% - 30px);
    }

}

/* =====================================
   LOJA FECHADA (OVERLAY)
===================================== */

.loja-fechada-card {
    background: #fff;
    border-radius: 20px;

    max-width: 380px;
    width: 100%;

    padding: 40px 32px;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.loja-fechada-card i {
    font-size: 40px;
    color: var(--orange);

    margin-bottom: 16px;
}

.loja-fechada-card h2 {
    font-size: 20px;
    color: var(--text);

    margin-bottom: 10px;
}

.loja-fechada-card p {
    font-size: 14px;
    color: var(--muted);

    line-height: 1.5;
}
