* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

}



body {

    background-color: #f8f8f8;

    color: #111;

    padding-bottom: 70px;

}



/* Header & Nav */

header {

    background: #fff;

    padding: 8px 0 0;

    position: sticky;

    top: 0;

    z-index: 999;

}



.top-nav {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 12px;

    gap: 10px;

}



.nav-links {

    display: flex;

    align-items: center;

    gap: 15px;

    flex: 1;

    justify-content: center;

    font-size: 14px;

    color: #888;

    white-space: nowrap;

}



.city-text {

    color: #222;

    font-weight: 500;

}



.following {

    position: relative;

}



.red-dot {

    position: absolute;

    top: -2px;

    right: -6px;

    width: 6px;

    height: 6px;

    background: #ff2d55;

    border-radius: 50%;

}



.active-tab {

    color: #000;

    font-weight: bold;

    border-bottom: 2px solid #000;

    padding-bottom: 2px;

}



/* LIVE Icon */

.nav-icon-live {

    text-align: center;

    line-height: 1;

}



.live-label {

    font-size: 8px;

    font-weight: 900;

    display: block;

    margin-top: -2px;

}



/* Busca */

.search-container {

    padding: 10px 12px;

}



.search-bar {

    display: flex;

    border: 1.5px solid #000;

    border-radius: 8px;

    overflow: hidden;

    height: 38px;

}



.input-area {

    flex: 1;

    display: flex;

    align-items: center;

    padding-left: 10px;

}



.input-area input {

    border: none;

    outline: none;

    width: 100%;

    padding: 0 8px;

    font-size: 14px;

    color: #333;

}



.btn-procurar {

    background: #000;

    color: #fff;

    border: none;

    padding: 0 15px;

    font-weight: bold;

    font-size: 14px;

}



/* Categorias */

.categories-bar {

    display: flex;

    gap: 20px;

    padding: 5px 15px 10px;

    overflow-x: hidden;

}



.cat-active {

    color: #000;

    font-weight: bold;

    border-bottom: 2px solid #000;

}



.cat-disabled {

    color: #ccc;

}



/* Grid de Produtos */

.product-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    padding: 10px;

    min-height: 200px;

    /* Garante que o container apareça */

}



.product-img {

    width: 100%;

    /* Em vez de 'cover', use 'contain' para ver a imagem inteira */

    /* Ou ajuste a altura para não achatar */

    aspect-ratio: 1 / 1;

    object-fit: contain;

    /* Isso garante que a imagem apareça toda sem cortes */

    background-color: #fff;

    /* Fundo branco caso a imagem seja menor que o card */

    padding: 5px;

    /* Cria um respiro nas bordas da imagem */

}



.product-card {

    background: #fff;

    border-radius: 8px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    /* Ajuste a largura se quiser que os cards fiquem mais estreitos */

    border: 1px solid #f0f0f0;

}



.info {

    padding: 10px;

    flex: 1;

}



.product-title {

    font-size: 13px;

    line-height: 1.3;

    height: 34px;

    overflow: hidden;

    margin-bottom: 5px;

}



.price-row {

    color: #ff2d55;

    font-size: 18px;

    font-weight: bold;

}



.old-price {

    font-size: 12px;

    color: #999;

    text-decoration: line-through;

    margin-left: 5px;

}



/* Oferta Relampago */

.flash-tag {

    background: #fe2c55;

    color: #fff;

    font-size: 11px;

    padding: 3px 6px;

    border-radius: 3px;

    display: inline-flex;

    align-items: center;

    margin-top: 5px;

}



/* Footer Imagem */

.static-footer {

    position: fixed;

    bottom: 0;

    width: 100%;

    height: 90px;

    background: #fff;

    border-top: 1px solid #eee;

    pointer-events: none;

}



.static-footer img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



/* =========================================

   BANNERS & CUPONS (NOVO)

   ========================================= */



.promo-container {

    width: 100%;

    max-width: 480px;
    /* Largura máxima mobile */

    margin: 10px auto;

}



/* Banner de Promoção */

.promo-banner {

    width: 100%;

    margin-bottom: 15px;

    padding: 0 12px;

}



.promo-banner img {

    width: 100%;

    border-radius: 12px;

    display: block;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

}



/* Banner de Cupons */

.coupons-section {

    background: linear-gradient(135deg, #ff2d55 0%, #ff5b7f 100%);

    margin: 0 12px 10px;

    border-radius: 12px;

    padding: 15px;

    color: white;

    box-shadow: 0 4px 10px rgba(255, 45, 85, 0.2);

}



.coupons-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

}



.coupons-title {

    font-size: 18px;

    font-weight: 800;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}



.btn-redeem {

    background: white;

    color: #ff2d55;

    border: none;

    padding: 6px 16px;

    border-radius: 20px;

    font-weight: 700;

    font-size: 13px;

    cursor: pointer;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    transition: transform 0.1s active;

}



.btn-redeem:active {

    transform: scale(0.95);

}



/* Lista de Cupons */

.coupons-list {

    display: flex;

    overflow-x: auto;

    gap: 10px;

    padding-bottom: 5px;

    scrollbar-width: none;
    /* Firefox */

}

.coupons-list::-webkit-scrollbar {

    display: none;
    /* Chrome/Safari */

}



.coupon-card {

    background: white;

    min-width: 130px;

    height: 80px;

    border-radius: 8px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 10px;

    color: #333;

    flex-shrink: 0;

    position: relative;

    /* Efeito de picote lateral */

    border-left: 4px dotted #ff2d55;

}



.coupon-card::before,
.coupon-card::after {

    content: "";

    position: absolute;

    left: -6px;

    width: 12px;

    height: 12px;

    background: #ff2d55;
    /* Mesma cor do fundo da seção */

    border-radius: 50%;

}

.coupon-card::before {
    top: -6px;
}

.coupon-card::after {
    bottom: -6px;
}



/* Destaque (Frete Grátis) */

.coupon-highlight {

    background: #e0f2f1;

    color: #00695c;

    border-left: 4px dotted #00695c;

}

.coupon-highlight::before,
.coupon-highlight::after {

    background: #ff2d55;
    /* Fundo sai vermelho ainda */

}



.cp-title {

    font-weight: 900;

    font-size: 16px;

    line-height: 1.2;

}



.cp-desc {

    font-size: 10px;

    font-weight: 500;

    opacity: 0.8;

    margin-top: 2px;

}



/* Toast Notification */

.toast-container {

    position: fixed;

    top: 20px;

    left: 0;

    width: 100%;

    display: flex;

    justify-content: center;

    pointer-events: none;

    z-index: 2000;

    opacity: 0;

    transform: translateY(-20px);

    transition: all 0.3s ease;

}



.toast-container.show {

    opacity: 1;

    transform: translateY(0);

}



.toast-message {

    background: rgba(0, 0, 0, 0.85);

    color: white;

    padding: 10px 20px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 600;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    display: flex;

    align-items: center;

    gap: 8px;

}