/* ============= GOOGLE FONTS ============= */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

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

/* ============= VARIÁVEIS CSS ============= */
:root {
    /* Cores principais */
    --color-primary: #e056fd;
    --color-secondary: #C2ACBF;
    --color-header: #F08F92;
    --color-header-text: #fff;
    --color-background: rgb(240, 242, 245);
    --color-text: #312b45;
    --color-price: #d724fc;
    --color-ml: #FFE600;
    --color-shopee: #EE4D2D;
    --color-white: #fff;
    --color-gray: #999;
    --color-gray-dark: #666;

    /* Sombras */
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);

    /* Bordas */
    --border-radius: 8px;
    --border-radius-full: 99px;

    /* Container */
    --container-max-width: 1326px;
}

/* ============= GLOBAL ============= */
body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============= CONTAINER ============= */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= HEADER ============= */
.header {
    background: var(--color-header);
    height: 65px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-header-text);
    font-weight: 900;
    font-size: 1.3rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: none; /* Oculto no mobile por padrão */
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: var(--color-header-text);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.nav-menu a.active {
    border-bottom: 3px solid var(--color-header-text);
    padding-bottom: 2px;
}

.search-icon {
    font-size: 1.2rem;
    color: var(--color-header-text);
    cursor: pointer;
}

.menu-hamburger {
    display: block; /* Visível no mobile por padrão */
    font-size: 1.5rem;
    color: var(--color-header-text);
    cursor: pointer;
}

/* ============= MENU MOBILE ============= */

/* Overlay - desfoca o conteúdo atrás */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(224, 86, 253, 0.5); /* Roxo semi-transparente */
    backdrop-filter: blur(4px); /* DESFOQUE no conteúdo atrás */
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu lateral - metade da tela */
.menu-mobile {
    position: fixed;
    top: 0;
    left: -50%; /* Escondido */
    width: 50%; /* METADE da tela */
    height: 100%;
    background: #F08F92;
    z-index: 999;
    padding: 20px;
    transition: left 0.3s ease; /* Animação suave */
}

.menu-mobile.active {
    left: 0;
}

/* Logo no menu */
.menu-mobile .menu-logo {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Links do menu */
.menu-mobile nav {
    display: flex;
    flex-direction: column;
}

.menu-mobile nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: padding-left 0.2s ease;
}

.menu-mobile nav a:hover {
    padding-left: 10px;
}

/* ============= HERO / PAGE HEADER ============= */
.page-header {
    background: linear-gradient(135deg, #F08F92 0%, #E891A6 100%);
    padding: 3rem 0;
    text-align: center;
    color: var(--color-header-text);
}

.page-header h1 {
    font-size: 1.8rem; /* Mobile: menor */
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1rem; /* Mobile: menor */
    font-weight: 400;
}

/* ============= FILTROS ============= */
.filtros-container {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filtros-abas {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%; /* Mobile: largura total */
}

.filtro-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-full);
    background: transparent;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center; /* Mobile: centralizado */
    flex: 1; /* Mobile: ocupa espaço igual */
    gap: 0.6rem;
}

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

.filtro-btn.active {
    background: var(--color-white);
    color: var(--color-price);
    box-shadow: var(--shadow-card);
}

/* Logo nos filtros */
.filtro-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
}

/* ============= GRID DE PRODUTOS ============= */
/* Mobile-first: começa com 2 colunas (mobile) */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.produto-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    cursor: pointer;
    display: block;
}

.produto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.produto-imagem-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.produto-imagem-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-desconto {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.3rem 0.7rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.85rem;
}

.produto-loja-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.produto-loja-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.produto-card-body {
    padding: 1rem;
}

.produto-tempo {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.produto-titulo {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.produto-cupom-usado {
    background: #f0f0f0;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-gray-dark);
    margin-bottom: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.produto-precos {
    margin-top: 0.7rem;
}

.preco-riscado {
    font-size: 0.85rem;
    color: var(--color-gray);
    text-decoration: line-through;
    margin-bottom: 0.2rem;
}

.preco-atual {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-price);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.link-icon {
    font-size: 0.9rem;
}

/* ============= CUPONS ============= */
.cupons-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cupom-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: auto 1fr; /* Mobile: 2 colunas */
    gap: 1rem; /* Mobile: gap menor */
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.cupom-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cupom-loja-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}

.cupom-loja-icon.shopee {
    background: rgba(238, 77, 45, 0.1);
}

.cupom-loja-icon.mercadolivre {
    background: rgba(255, 230, 0, 0.2);
}

.cupom-loja-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cupom-content {
    flex: 1;
}

.cupom-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.cupom-descricao {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    margin-bottom: 0.3rem;
}

.cupom-valor {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-price);
}

.cupom-action {
    grid-column: 1 / -1; /* Mobile: ocupa linha completa */
    display: flex;
    flex-direction: row; /* Mobile: horizontal */
    justify-content: space-between; /* Mobile: espaçado */
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}

.cupom-tempo {
    font-size: 0.75rem;
    color: var(--color-gray);
}

.btn-pegar-cupom {
    background: linear-gradient(135deg, #FF6B9D 0%, #e056fd 100%);
    color: var(--color-white);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(224, 86, 253, 0.3);
}

.btn-pegar-cupom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 86, 253, 0.4);
}

/* ============= MODAL CUPOM ============= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-cupom {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
}

.modal-cupom .cupom-loja-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    font-size: 3rem;
}

.modal-cupom h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.modal-cupom p {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
}

.modal-linha-tracejada {
    border-top: 2px dashed #ddd;
    margin: 1.5rem 0;
}

.modal-cupom-codigo {
    background: #f8f8f8;
    border: 2px dashed var(--color-primary);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
}

.btn-copiar-cupom {
    background: linear-gradient(135deg, #FF6B9D 0%, #e056fd 100%);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(224, 86, 253, 0.3);
    width: 100%;
}

.btn-copiar-cupom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 86, 253, 0.4);
}

/* ============= PRODUTO DETALHES ============= */
.produto-detalhes-grid {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.produto-loja-indicador {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: var(--border-radius-full);
    margin-bottom: 1.5rem;
}

.loja-icon {
    font-size: 1.5rem;
}

.loja-nome {
    font-weight: 700;
    color: var(--color-text);
}

.produto-imagem-grande {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.produto-imagem-grande img {
    width: 100%;
    border-radius: var(--border-radius);
}

.produto-titulo-grande {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.produto-precos-detalhes {
    margin: 1.5rem 0;
}

.preco-riscado-grande {
    font-size: 1.1rem;
    color: var(--color-gray);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.preco-atual-grande {
    font-size: 2rem; /* Mobile: menor */
    font-weight: 900;
    color: var(--color-price);
    margin-bottom: 0.5rem;
}

.badge-desconto-grande {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
}

.cupom-card-produto {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    width: fit-content;
}

.cupom-codigo {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.btn-copiar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #e056fd;
    border-radius: 5px;
    color: #e056fd;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copiar:hover {
    background: #e056fd;
    color: #fff;
}

.cupom-info {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
}

.percentual-desconto {
    color: #00A650;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.btn-pegar-promocao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 16px 32px;
    background: linear-gradient(135deg, #e056fd 0%, #c2acbf 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(224, 86, 253, 0.3);
}

.btn-pegar-promocao:hover {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(224, 86, 253, 0.4);
}

.produto-aviso {
    font-size: 0.85rem;
    color: var(--color-gray);
    font-style: italic;
}

/* ============= CARROSSEL ============= */
.carrossel-container {
    position: relative;
    padding: 0 50px; /* Espaço para as setas no desktop */
}

.carrossel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.carrossel::-webkit-scrollbar {
    display: none;
}

.carrossel-item {
    flex: 0 0 250px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.carrossel-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.carrossel-item-body {
    padding: 1rem;
}

.produto-titulo-mini {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 2.6rem; /* 2 linhas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carrossel-btn {
    display: none; /* Oculto no mobile por padrão */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    font-size: 1.2rem;
    color: var(--color-text);
    z-index: 10;
    transition: all 0.3s;
}

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

.carrossel-prev {
    left: -20px;
}

.carrossel-next {
    right: -20px;
}

/* ============= FOOTER ============= */
footer {
    background: var(--color-white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

footer p {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
}

footer .small {
    font-size: 0.75rem;
    color: var(--color-gray);
}

/* ============= UTILITÁRIOS ============= */
.text-center {
    text-align: center;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--color-gray);
    font-size: 1.1rem;
}

.erro {
    text-align: center;
    padding: 3rem;
    color: #d32f2f;
    font-size: 1.1rem;
}

/* ============= ANIMAÇÕES ============= */
.shake {
    animation: shake 2s infinite linear;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    3% { transform: rotate(1deg); }
    6% { transform: rotate(0deg); }
    9% { transform: rotate(-1deg); }
    12% { transform: rotate(0deg); }
}

/* ============= RESPONSIVIDADE (MOBILE-FIRST) ============= */

/* MOBILE (base styles já definidos acima) */
/* - Grid: 1 coluna
   - Menu: hamburger visível
   - Títulos menores
   - Botões do carrossel ocultos */

/* TABLET (481px+) - 3 colunas */
@media (min-width: 481px) {
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .cupom-card {
        grid-template-columns: auto 1fr auto;
        gap: 1.5rem;
    }

    .cupom-action {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-end;
    }
}

/* DESKTOP PEQUENO (769px+) - Mostra menu desktop */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
    }

    .menu-hamburger {
        display: none;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .carrossel-btn {
        display: flex;
    }

    .filtros-abas {
        width: auto;
    }

    .filtro-btn {
        flex: 0;
        justify-content: flex-start;
    }

    .preco-atual-grande {
        font-size: 2.5rem;
    }
}

/* DESKTOP GRANDE (993px+) - 4 colunas */
@media (min-width: 993px) {
    .produtos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============= TOAST NOTIFICATIONS ============= */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* ============================================
   MOBILE RESPONSIVO - ATÉ 768px
   ============================================ */

@media (max-width: 768px) {

  /* Reset de fontes para mobile */
  html {
    font-size: 14px; /* Base menor no mobile */
  }

  /* Header */
  .header {
    padding: 0.8rem 0;
  }

  .logo span:last-child {
    font-size: 1.2rem;
  }

  .logo-icon {
    font-size: 1.3rem;
  }

  /* Page header */
  .page-header {
    padding: 2rem 0;
  }

  .page-header h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .page-header p {
    font-size: 0.9rem;
  }

  /* Produto detalhes - PÁGINA DE PRODUTO */
  .produto-titulo-grande {
    font-size: 1.3rem !important;
    line-height: 1.3;
  }

  .produto-tempo {
    font-size: 0.75rem;
  }

  .preco-riscado-grande {
    font-size: 0.9rem !important;
  }

  .preco-atual-grande {
    font-size: 1.8rem !important;
  }

  .percentual-desconto {
    font-size: 0.85rem;
  }

  .btn-pegar-promocao {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }

  /* Cupom card produto */
  .cupom-card-produto {
    padding: 0.8rem 1rem;
    flex-direction: column;
    gap: 0.8rem;
  }

  .cupom-codigo {
    font-size: 1.1rem;
  }

  .btn-copiar {
    width: 100%;
    font-size: 0.9rem;
  }

  .cupom-info {
    font-size: 0.75rem;
  }

  /* Cards de produto grid */
  .produto-card {
    font-size: 0.9rem;
  }

  .produto-titulo {
    font-size: 0.95rem;
    min-height: 2.8rem;
  }

  .preco-riscado {
    font-size: 0.8rem;
  }

  .preco-atual {
    font-size: 1.1rem;
  }

  /* Cupom cards */
  .cupom-card {
    padding: 1rem;
    gap: 0.8rem;
  }

  .cupom-titulo {
    font-size: 1rem;
  }

  .cupom-descricao {
    font-size: 0.85rem;
  }

  .cupom-valor {
    font-size: 0.9rem;
  }

  .btn-pegar-cupom {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }

  /* Carrossel - mostrar 2 items no tablet */
  .carrossel-item {
    flex: 0 0 180px;
  }

  .produto-titulo-mini {
    font-size: 0.85rem;
  }

  .carrossel-btn {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  /* Filtros */
  .filtro-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  /* Footer */
  footer {
    font-size: 0.85rem;
    padding: 1.5rem 0;
  }

  footer .small {
    font-size: 0.75rem;
  }

  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Modal cupom */
  .modal-cupom h3 {
    font-size: 1.2rem;
  }

  .modal-cupom p {
    font-size: 0.9rem;
  }

  .modal-cupom-codigo {
    font-size: 1.3rem;
    padding: 0.8rem;
  }

  .btn-copiar-cupom {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }
}

/* ============================================
   MOBILE PEQUENO - ATÉ 480px
   ============================================ */

@media (max-width: 480px) {

  /* Reset de fontes ainda menor */
  html {
    font-size: 13px;
  }

  /* Header */
  .logo span:last-child {
    font-size: 1.1rem;
  }

  .logo-icon {
    font-size: 1.2rem;
  }

  /* Page header */
  .page-header h1 {
    font-size: 1.3rem;
  }

  .page-header p {
    font-size: 0.85rem;
  }

  /* Produto página */
  .produto-titulo-grande {
    font-size: 1.2rem !important;
  }

  .preco-atual-grande {
    font-size: 1.6rem !important;
  }

  .btn-pegar-promocao {
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
  }

  /* Cards menores */
  .produto-titulo {
    font-size: 0.9rem;
  }

  .preco-atual {
    font-size: 1rem;
  }

  /* Carrossel - 1.5 items visíveis em mobile pequeno */
  .carrossel-container {
    padding: 0 30px;
  }

  .carrossel-item {
    flex: 0 0 160px;
  }

  .produto-titulo-mini {
    font-size: 0.8rem;
  }

  .carrossel-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  /* Cupom card compacto */
  .cupom-card {
    padding: 0.8rem;
  }

  .cupom-titulo {
    font-size: 0.95rem;
  }

  .cupom-descricao {
    font-size: 0.8rem;
  }

  .cupom-valor {
    font-size: 0.85rem;
  }

  /* Filtros compactos */
  .filtro-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }

  /* Container mais estreito */
  .container {
    padding: 0 0.8rem;
  }

  /* Grid de produtos - garantir 1 coluna */
  .produtos-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}
