:root {
    --primary: #ff4757;
    --secondary: #2f3542;
    --bg-color: #f1f2f6;
    --white: #fff;
    --text: #2f3542;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text);
    padding-bottom: 80px; /* Espaço para o carrinho flutuante */
}

.container {
    max-width: 600px; /* Foco mobile */
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: var(--white);
    padding-bottom: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.header-bg {
    height: 100px;
    background: url('https://images.unsplash.com/photo-1550547660-d9450f859349?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
}

.header-content {
    text-align: center;
    margin-top: -40px;
}

.logo-area {
    position: relative;
}

.logo-img {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 4px solid var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: var(--secondary);
}

.header p {
    color: #747d8c;
    font-size: 0.9rem;
}

.status {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status.open {
    background-color: #2ed573;
    color: var(--white);
}

/* Nav */
.category-nav {
    background-color: var(--bg-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow-x: auto;
}

.category-nav ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0 15px;
}

.category-nav li {
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 600;
    color: #747d8c;
    border: 1px solid #dfe4ea;
    cursor: pointer;
}

.category-nav li.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Menu */
.category-section h2 {
    margin: 20px 0 15px;
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 800;
}

.product-item {
    background-color: var(--white);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.product-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.product-info .desc {
    font-size: 0.8rem;
    color: #747d8c;
    margin-bottom: 10px;
    line-height: 1.3;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-add {
    background-color: var(--white);
    border: 1px solid #dfe4ea;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Floating Cart */
.cart-float {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 580px;
    background-color: var(--primary);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
}

.cart-info {
    display: flex;
    flex-direction: column;
}

.cart-info span:first-child {
    font-size: 0.8rem;
    opacity: 0.9;
}

.cart-info span:last-child {
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-checkout {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}
