/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1f2937;
    line-height: 1.5;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: #ffffff;
    padding: 12px 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

/* Brand area: background image with dark overlay and circular logo (profissional) */
.header-brand {
    position: relative;
    display: flex;
    flex-direction: column; /* empilha logo, título e status */
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    min-height: 120px; /* espaço para logo maior + texto */
    background-image: url('imagens/pizza1.jpg');
    background-size: cover; /* imagem preenchendo o bloco por trás */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.45)); /* overlay escuro (gradiente) */
    z-index: 1; /* overlay acima da imagem */
    pointer-events: none;
}

/* Garantir que o título e o status fiquem sobre o overlay */
.header-brand h1 {
    color: #ffffff !important;
    z-index: 3;
    position: relative;
    font-size: 22px;
    text-align: center;
    margin: 0;
    line-height: 1.05;
    font-weight: 800;
}

.header-brand .info-pizzaria p {
    color: rgba(255,255,255,0.92);
    z-index: 3;
    position: relative;
    font-size: 13px;
    margin-top: 4px;
    text-align: center;
}

.header-logo {
    z-index: 3; /* acima do overlay */
    position: relative; /* parte da coluna, centralizada */
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* sem fundo branco */
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.header-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    background: transparent;
}

.header h1 {
    font-size: 20px;
    font-weight: 800;
    color: #e53e3e;
    text-align: center;
    margin-bottom: 8px;
}
.info-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.info-status p {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    justify-content: center;
    margin-bottom: 4px;
}


.info-pizzaria {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Opcional, se quiser centralizar verticalmente também */
    text-align: center;
}


.busca-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 8px;
}

.busca-container input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.busca-container input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

.icon-busca {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.busca-resultados {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 2000;
    margin-top: 4px;
    scrollbar-width: thin;
    scrollbar-color: #10b981 #f1f1f5;
}

.busca-resultados::-webkit-scrollbar {
    width: 6px;
}

.busca-resultados::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 3px;
}

.busca-resultados::-webkit-scrollbar-track {
    background: #f1f1f5;
}

/* Nav de categorias no topo */
.nav-categorias {
    display: flex;
    gap: 8px;
    padding: 6px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start; /* alinhada à esquerda */
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
}

/* Esconder barra de rolagem visual mantendo rolagem funcional */
.nav-categorias {
    -ms-overflow-style: none; /* IE 10+ */
    scrollbar-width: none; /* Firefox */
}
.nav-categorias::-webkit-scrollbar { height: 0; }

.nav-categorias .btn-nav {
    background: none;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
}
.nav-categorias .btn-nav.active { color: #10b981; }

/* Modern delivery/pickup cards in finalization modal */
.entrega-group { margin-top: 8px; }
.entrega-options { display:flex; gap:8px; margin-top:8px; }
.entrega-card {
    display:flex;
    gap:8px;
    align-items:center;
    padding:10px 12px;
    border-radius:8px;
    background:#f3f4f6;
    border:1px solid transparent;
    cursor:pointer;
    min-width:120px;
}
.entrega-card .entrega-icon { font-size:20px; }
.entrega-card .entrega-sub { display:block; font-size:11px; color:#6b7280; }
.entrega-card.selected { background:#10b981; color:white; border-color: #08976f; }
.entrega-card:focus { outline:2px solid rgba(16,185,129,0.2); }

.busca-resultado-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.busca-resultado-item:hover {
    background: #f1f1f5;
}

.busca-resultado-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
}

.busca-resultado-info {
    display: flex;
    flex-direction: column;
}

.busca-titulo {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.busca-titulo strong {
    color: #10b981;
}

.busca-preco {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
}

.nav-categorias {
    display: flex;
    justify-content: flex-start; /* botões alinhados à esquerda dentro do container */
    gap: 8px;
    padding: 6px 8px;
    margin: 0 auto; /* centraliza a barra no container maior */
    max-width: 1200px; /* no desktop a barra fica centralizada até esse tamanho */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* esconder a barra de rolagem visual, mantendo a rolagem funcional */
    -ms-overflow-style: none; /* IE 10+ */
    scrollbar-width: none; /* Firefox */
}

.nav-categorias::-webkit-scrollbar {
    height: 0px; /* esconder no WebKit */
}

.nav-categorias::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 8px;
}

.btn-nav {
    background: none;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.btn-nav:hover, .btn-nav.active {
    color: #10b981;
}

.btn-nav.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #10b981;
    animation: slideIn 0.2s ease-in-out;
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 100%; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* Seções */
.secao {
    margin-bottom: 24px;
    scroll-margin-top: 80px;
}

.secao h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.produtos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.produto {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.produto:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.produto-info {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.produto-imagem {
    flex: 0 0 120px;
    order: 2;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 0 8px 8px 0;
}

.produto-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.produto-info p {
    font-size: 13px;
    font-weight: 300;
    color: #6b7280;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.preco {
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
}

.sem-resultados {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    text-align: center;
    padding: 16px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 2000;
    overflow-y: auto;
}

.modal-conteudo {
    background: #ffffff;
    border-radius: 12px;
    max-width: 360px;
    width: 90%;
    padding: 16px;
    position: relative;
    animation: modalFade 0.2s ease-in-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.btn-fechar-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.btn-fechar-modal:hover {
    color: #1f2937;
}

.modal-conteudo img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}

.modal-conteudo h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.modal-conteudo p {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 8px;
}

.opcoes-produto {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sabores-container h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.sabores-lista {
    list-style: none;
    max-height: 180px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #10b981 #f1f1f5;
}

.sabores-lista::-webkit-scrollbar {
    width: 5px;
}

.sabores-lista::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 3px;
}

.sabores-lista::-webkit-scrollbar-track {
    background: #f1f1f5;
}

.sabor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
    background: #f1f1f5;
    border-radius: 6px;
    margin-bottom: 6px;
}

.sabor-item.sabor-especial {
    background: #fef3c7;
    border: 1px solid #d97706;
}

.sabor-item.sabor-especial span::after {
    content: 'Especial';
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    background: #d97706;
    color: #ffffff;
    font-size: 10px;
    border-radius: 4px;
}

.sabor-item span {
    font-size: 13px;
    font-weight: 400;
    color: #1f2937;
}

.sabor-controle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-sabor {
    background: #e5e7eb;
    border: none;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-sabor:hover {
    background: #10b981;
    color: #ffffff;
    transform: scale(1.1);
}

.quantidade-sabor {
    font-size: 13px;
    font-weight: 500;
    color: #10b981;
    min-width: 20px;
    text-align: center;
}

.indicador-rolagem {
    font-size: 11px;
    font-weight: 400;
    color: #6b7280;
    text-align: center;
    margin-top: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.aviso {
    font-size: 11px;
    font-weight: 400;
    color: #d97706;
    margin-top: 6px;
}

.observacao label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    display: block;
}

.observacao textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.2s;
}

.observacao textarea:focus {
    border-color: #10b981;
    outline: none;
}

.quantidade-controle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quantidade-controle label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-right: 8px;
}

.quantidade-input {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quantidade-controle input {
    width: 50px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
}

.quantidade-controle input:focus {
    border-color: #10b981;
    outline: none;
}

.btn-quantidade {
    background: #e5e7eb;
    border: none;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-quantidade:hover {
    background: #10b981;
    color: #ffffff;
    transform: scale(1.1);
}

.modal-footer {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Botões */
.btn {
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    flex: 1;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

.btn-desativado {
    background: #6b7280;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Carrinho */
.carrinho {
    margin-top: 24px;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.carrinho:hover {
    transform: translateY(-2px);
}

.carrinho h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.carrinho-vazio {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    text-align: center;
    padding: 16px;
    background: #f1f1f5;
    border-radius: 8px;
}

.carrinho-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background 0.2s, box-shadow 0.2s;
}

.carrinho-item:hover {
    background: #f1f1f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.carrinho-item-info {
    flex: 1;
}

.carrinho-item-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.carrinho-item-info .detalhe {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 2px;
}

.carrinho-item-detalhes {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carrinho-item-detalhes .quantidade-controle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.carrinho-item-detalhes .quantidade {
    font-size: 13px;
    font-weight: 500;
    color: #10b981;
    min-width: 20px;
    text-align: center;
}

.carrinho-item-detalhes .preco {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    min-width: 60px;
    text-align: right;
}

.btn-remover {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.btn-remover:hover {
    color: #dc2626;
    transform: scale(1.1);
}

.carrinho-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
}

.carrinho-footer .total {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.carrinho-footer .total span {
    color: #10b981;
}

.btn-finalizar {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-finalizar:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

/* Botão Flutuante */
.btn-carrinho-fixo {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #10b981;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    z-index: 1000;
}

.btn-carrinho-fixo:hover {
    background: #059669;
    transform: scale(1.1);
}

.carrinho-contador {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e53e3e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Cliente e Confirmação */
.cliente-modal, .confirmacao-modal {
    max-width: 360px;
    width: 90%;
    padding: 16px;
    max-height: 90vh;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    display: block;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #10b981;
    outline: none;
}

.form-group input#cep,
.form-group input#numero,
.form-group input#complemento {
    width: 100%;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    transition: border-color 0.2s;
}

.form-group input#cep:focus,
.form-group input#numero:focus,
.form-group input#complemento:focus {
    border-color: #10b981;
    outline: none;
}

.form-group input#cep:invalid {
    border-color: #ef4444;
}

.form-buttons {
    margin-top: 16px;
}

.resumo-pedido h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 12px 0 6px;
}

.resumo-pedido p {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    margin: 3px 0;
}

.resumo-pedido ul {
    list-style: none;
    margin: 6px 0;
}

.resumo-pedido li {
    font-size: 13px;
    font-weight: 400;
    color: #1f2937;
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
}

.resumo-pedido li:last-child {
    border-bottom: none;
}

/* Rodapé */
.rodape {
    margin-top: 24px;
    padding: 16px;
    background: #1f2937;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
}

.rodape p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 6px 0;
}

.rodape a {
    color: #10b981;
    text-decoration: none;
    transition: color 0.2s;
}

.rodape a:hover {
    color: #059669;
}

.status-pizzaria {
    font-weight: 600;
}

.status-aberto {
    color: #10b981;
}

.status-fechado {
    color: #ef4444;
}

/* Notificações */
.notificacao {
    position: fixed;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 3000;
    display: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notificacao.mostrar {
    display: flex;
    animation: slideInRight 0.2s ease-in-out;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.btn-notificacao {
    background: #ffffff;
    color: #10b981;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-notificacao:hover {
    background: #f1f1f5;
}

.erro {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 3000;
    display: none;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.erro.mostrar {
    display: block;
    animation: slideInDown 0.2s ease-in-out;
}

.erro a {
    color: #ffffff;
    text-decoration: underline;
}

.erro a:hover {
    color: #f1f1f5;
}

@keyframes slideInDown {
    from { transform: translate(-50%, -100%); }
    to { transform: translate(-50%, 0); }
}




/* Ícones */
.icon {
    width: 16px;
    height: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .produtos-container {
        grid-template-columns: 1fr;
    }

    .produto {
        flex-direction: row;
    }

    .produto-imagem {
        flex: 0 0 100px;
    }

    .produto-imagem img {
        border-radius: 0 8px 8px 0;
    }

    .produto-info h3 {
        font-size: 14px;
    }

    .produto-info p {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }

    .preco {
        font-size: 13px;
    }

    .carrinho {
        padding: 12px;
    }

    .carrinho-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .carrinho-item-detalhes {
        width: 100%;
        justify-content: space-between;
    }

    .carrinho-footer {
        flex-direction: column;
        gap: 12px;
        padding: 8px;
    }

    .btn-carrinho-fixo {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .modal-conteudo {
        max-width: 340px;
    }

    .modal-footer {
        flex-direction: row;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 18px;
    }

    .busca-container {
        max-width: 100%;
    }

    .secao h2 {
        font-size: 16px;
    }

    .produtos-container {
        grid-template-columns: 1fr;
    }

    .produto-imagem {
        flex: 0 0 80px;
    }

    .produto-info h3 {
        font-size: 13px;
    }

    .produto-info p {
        font-size: 11px;
    }

    .preco {
        font-size: 12px;
    }

    .modal-conteudo img {
        max-height: 120px;
    }

    .modal-conteudo h3 {
        font-size: 16px;
    }

    .sabor-item {
        padding: 6px;
    }

    .sabor-item span {
        font-size: 12px;
    }

    .modal-conteudo {
        max-width: 320px;
    }

    .carrinho-item-info h3 {
        font-size: 13px;
    }

    .c недавно-item-info .detalhe {
        font-size: 11px;
    }
}