/* VARIÁVEIS E RESET */
:root {
    --primary-yellow: #FFD700;
    --yellow-dark: #FFC400;
    --yellow-light: #FFF9C4;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #9E9E9E;
    --gray-dark: #616161;
    --black: #000000;
    --red: #F44336;
    --green: #4CAF50;
    --orange: #FF9800;
    --purple: #9C27B0;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-small: 6px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* POPUP DE IDADE MELHORADO */
#age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.age-content {
    background: var(--white);
    padding: 70px 30px 30px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideUp 0.6s ease;
    position: relative;
    margin: 20px;
}

.popup-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.popup-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--white);
    z-index: 1;
}

.age-content h2 {
    color: var(--black);
    margin-bottom: 15px;
    font-size: 24px;
    margin-top: 10px;
}

.age-content p {
    color: var(--gray-dark);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 15px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 14px 30px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.age-btn-yes {
    background-color: var(--primary-yellow);
    color: var(--black);
}

.age-btn-no {
    background-color: var(--gray-medium);
    color: var(--white);
}

.age-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.age-btn:active {
    transform: translateY(-1px);
}

/* HEADER FIXO - Layout: Logo | Localização | Carrinho */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

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

/* Logo no lado esquerdo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

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

/* Localização no centro */
.location-container {
    flex: 1;
    max-width: 400px;
    margin: 0 15px;
}

.location-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--gray-light);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    justify-content: center;
}

.location-display:hover {
    background: var(--yellow-light);
}

.location-icon {
    color: var(--primary-yellow);
    font-size: 16px;
}

.location-text {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-medium);
}

.location-loading i {
    animation: spin 1s linear infinite;
}

/* Carrinho no lado direito */
.cart-header-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

.cart-header-icon:hover {
    background: var(--yellow-light);
}

.cart-header-icon i {
    font-size: 22px;
    color: var(--black);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--white);
}

/* BANNER */
.banner-section {
    padding: 20px 0;
}

.main-banner {
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.main-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

/* CATEGORIAS - LADO A LADO */
.categories-section {
    padding: 25px 0;
}

.section-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-yellow);
}

.categories-horizontal {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-yellow) var(--gray-light);
}

.categories-horizontal::-webkit-scrollbar {
    height: 6px;
}

.categories-horizontal::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 10px;
}

.categories-horizontal::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 10px;
}

.category-item {
    flex: 0 0 auto;
    width: 110px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-item:hover {
    transform: translateY(-3px);
}

.category-image {
    width: 110px;
    height: 110px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--gray-light);
}

.category-item:hover .category-image {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
    font-size: 30px;
}

.category-name {
    font-weight: 600;
    color: var(--black);
    font-size: 14px;
    padding: 0 5px;
}

/* SEÇÃO DE CUPOM PROMOCIONAL - NOVO DESIGN EM FORMA DE TICKET */
.coupon-ticket {
    position: relative;
    margin: 25px 0;
    padding: 0;
    background: transparent;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px dashed var(--primary-yellow);
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.coupon-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-yellow),
        var(--primary-yellow) 10px,
        transparent 10px,
        transparent 20px
    );
}

.coupon-ticket::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-yellow),
        var(--primary-yellow) 10px,
        transparent 10px,
        transparent 20px
    );
}

.ticket-content {
    padding: 25px;
    text-align: center;
    position: relative;
}

.ticket-perforation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-around;
    pointer-events: none;
    z-index: 1;
}

.ticket-perforation::before,
.ticket-perforation::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transform: translateY(-50%);
    border: 2px dashed var(--primary-yellow);
}

.ticket-perforation::before {
    left: -10px;
}

.ticket-perforation::after {
    right: -10px;
}

.coupon-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coupon-code {
    background: var(--black);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 2px;
    margin: 15px 0;
    display: inline-block;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-family: monospace;
    position: relative;
    overflow: hidden;
}

.coupon-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

.coupon-description {
    font-size: 15px;
    color: var(--gray-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}

.apply-coupon-btn {
    background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-dark));
    color: var(--black);
    border: none;
    border-radius: 30px;
    padding: 14px 35px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apply-coupon-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* PRODUTOS - NOVO LAYOUT COM 2 PRODUTOS POR LINHA EM MOBILE */
.products-section {
    padding: 25px 0 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* CARD DE PRODUTO REDESENHADO */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-yellow);
}

/* CONTAINER DA IMAGEM - TAMANHO MAIOR E MELHOR POSICIONADO */
.product-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .product-image-container {
        height: 160px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .product-image-container {
        height: 140px;
        padding: 12px;
    }
}

.product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Badges - POSICIONAMENTO CORRIGIDO */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-yellow);
    color: var(--black);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.stock-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* INFORMAÇÕES DO PRODUTO - ÁREA DE CONTEÚDO */
.product-info {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* NOME E DESCRIÇÃO */
.product-name {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
    font-size: 16px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-description {
    color: var(--gray-dark);
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

/* PREÇOS */
.price-container {
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px dashed var(--gray-light);
}

.original-price {
    color: var(--gray-medium);
    font-size: 13px;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.current-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.currency {
    font-size: 15px;
    font-weight: 600;
}

.price-value {
    font-size: 24px;
}

.price-cents {
    font-size: 17px;
}

/* AVISO DE ESTOQUE BAIXO */
.stock-warning {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: #ffeaea;
    border-radius: 6px;
    margin-top: 10px;
}

.stock-warning i {
    font-size: 12px;
}

/* AÇÕES DO PRODUTO - ÁREA INFERIOR FIXA */
.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

/* Seletor de quantidade */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-light);
    border-radius: 20px;
    padding: 5px 12px;
    flex-shrink: 0;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-value {
    font-weight: 600;
    min-width: 25px;
    text-align: center;
    font-size: 16px;
}

/* Botão de carrinho - CORRIGIDO E MELHORADO */
.add-to-cart-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-yellow);
    border: none;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    position: relative;
    flex-shrink: 0;
}

.add-to-cart-btn:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn:disabled {
    background: var(--gray-medium);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Animação de pulso para o carrinho quando adiciona produto */
.cart-pulse {
    animation: cartPulse 0.6s ease-in-out;
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* SEÇÃO DE REVIEWS - CARROSSEL HORIZONTAL */
.reviews-section {
    padding: 50px 0 40px;
    background: linear-gradient(180deg, #fff8e1 0%, #ffffff 100%);
    margin-top: 30px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.reviews-title {
    font-size: 22px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow-light);
    padding: 8px 15px;
    border-radius: 20px;
}

.stars {
    color: var(--primary-yellow);
}

.reviews-count {
    color: var(--gray-dark);
    font-weight: 600;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 5px 30px;
    scroll-snap-type: x mandatory;
}

.reviews-container::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 auto;
    width: 300px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    scroll-snap-align: start;
    transition: var(--transition);
    border: 1px solid transparent;
}

.review-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.review-header {
    padding: 20px 20px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.review-profile {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-yellow);
}

.review-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 5px;
}

.review-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-medium);
    font-size: 14px;
}

.review-location i {
    color: var(--primary-yellow);
    font-size: 12px;
}

.review-rating {
    margin-top: 5px;
    color: var(--primary-yellow);
    font-size: 14px;
}

.review-body {
    padding: 15px 20px;
}

.review-text {
    color: var(--gray-dark);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-small);
    overflow: hidden;
    margin-top: 10px;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.review-card:hover .review-image img {
    transform: scale(1.05);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-yellow);
    border: none;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background: var(--yellow-dark);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
}

/* CARRINHO MELHORADO COM CUPOM */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    animation: fadeIn 0.3s ease;
}

.cart-overlay.active {
    display: block;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    max-width: 420px;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 2px solid var(--gray-light);
    background: var(--white);
    position: relative;
}

.cart-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
}

.close-cart {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-cart:hover {
    background: var(--gray-light);
}

.cart-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    background: var(--yellow-light);
    padding: 8px 12px;
    border-radius: var(--radius-small);
}

.cart-location i {
    color: var(--primary-yellow);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
    gap: 15px;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-small);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--white);
    position: relative;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--black);
    font-size: 15px;
}

.cart-item-price {
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 16px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.cart-item-qty-btn {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-small);
    border: none;
    background: var(--gray-light);
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.cart-item-qty {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.cart-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray-medium);
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--gray-light);
}

/* SEÇÃO DE CUPOM DE DESCONTO NO CARRINHO */
.discount-section {
    padding: 15px 0;
    margin: 15px 0;
    border-top: 1px dashed var(--gray-light);
    border-bottom: 1px dashed var(--gray-light);
}

.discount-input-group {
    display: flex;
    gap: 10px;
}

.discount-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-small);
    font-size: 15px;
}

.apply-discount-btn {
    padding: 12px 20px;
    background: var(--primary-yellow);
    color: var(--black);
    border: none;
    border-radius: var(--radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.apply-discount-btn:hover {
    background: var(--yellow-dark);
}

.discount-applied {
    background: var(--green);
    color: white;
    padding: 10px 15px;
    border-radius: var(--radius-small);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.5s ease;
}

.discount-applied.hidden {
    display: none;
}

.remove-discount {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--gray-light);
    background: var(--white);
}

.cart-total {
    margin-bottom: 20px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
}

.discount-line {
    color: var(--green);
}

.total-final {
    font-size: 22px;
    color: var(--black);
    border-top: 2px solid var(--primary-yellow);
    padding-top: 15px;
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--black);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
    background: var(--black);
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    color: var(--primary-yellow);
    margin-bottom: 18px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    transform: translateX(5px);
}

.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.payment-icon {
    width: 45px;
    height: 28px;
    background: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-weight: bold;
    font-size: 11px;
}

/* NOVO: Seção de informações da empresa e certificados */
.company-info {
    grid-column: 1 / -1;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.company-details {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
}

.company-details h4 {
    color: var(--primary-yellow);
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-details p {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.certificates {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.certificate-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.certificate-logo {
    width: 100%;
    height: 100px;
    background: var(--white);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.certificate-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certificate-text {
    color: var(--gray-light);
    font-size: 13px;
    font-style: italic;
}

/* NOVO: Selos de confiabilidade no rodapé */
.footer-trust-badges {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 25px 0;
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
}

.footer-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.footer-trust-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--black);
    margin-bottom: 5px;
}

.footer-trust-text {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-medium);
    font-size: 13px;
}

/* ANIMAÇÕES */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CONFIRMAÇÃO DE ADICIONADO */
.added-to-cart {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: white;
    padding: 14px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1002;
    animation: slideUp 0.3s ease;
    display: none;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    max-width: 90%;
    white-space: nowrap;
}

/* RESPONSIVIDADE AVANÇADA PARA CELULAR */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    header {
        padding: 10px 0;
    }
    
    .logo img {
        height: 32px;
    }
    
    .location-container {
        margin: 0 10px;
    }
    
    .location-display {
        padding: 8px 12px;
    }
    
    .location-text {
        font-size: 13px;
    }
    
    .cart-header-icon i {
        font-size: 20px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .main-banner {
        height: 160px;
    }
    
    .banner-placeholder {
        font-size: 18px;
    }
    
    .categories-horizontal {
        gap: 10px;
        padding: 5px 5px 15px;
    }
    
    .category-item {
        width: 100px;
    }
    
    .category-image {
        width: 100px;
        height: 100px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    /* PRODUTOS - Layout mobile com 2 por linha */
    .product-card {
        min-height: 0;
    }
    
    .product-image-container {
        height: 140px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-name {
        font-size: 14px;
        min-height: 2.4em;
    }
    
    .product-description {
        font-size: 12px;
        min-height: 2.6em;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .price-value {
        font-size: 20px;
    }
    
    .qty-btn {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
    
    .qty-value {
        font-size: 15px;
    }
    
    .add-to-cart-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    /* REVIEWS RESPONSIVO */
    .reviews-section {
        padding: 40px 0 30px;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-card {
        width: 280px;
    }
    
    .review-image {
        height: 160px;
    }
    
    .cart-sidebar {
        max-width: 100%;
    }
    
    .age-content {
        padding: 60px 20px 25px;
    }
    
    .age-btn {
        padding: 12px 20px;
        min-width: 120px;
        font-size: 15px;
    }
    
    .added-to-cart {
        bottom: 20px;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .discount-input-group {
        flex-direction: column;
    }
    
    .apply-discount-btn {
        width: 100%;
    }
    
    .certificates {
        flex-direction: column;
        gap: 15px;
    }
    
    .certificate-item {
        min-width: 100%;
        max-width: 100%;
    }
    
    .certificate-logo {
        height: 80px;
    }
    
    .footer-trust-badges {
        gap: 15px;
        padding: 15px;
    }
    
    .footer-trust-badge {
        min-width: calc(50% - 15px);
    }
    
    .coupon-ticket {
        margin: 20px 0;
    }
    
    .ticket-content {
        padding: 20px;
    }
    
    .coupon-code {
        font-size: 20px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .header-content {
        gap: 5px;
    }
    
    .logo img {
        height: 28px;
    }
    
    .location-text {
        font-size: 12px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .location-display {
        padding: 6px 10px;
    }
    
    .cart-header-icon {
        padding: 6px;
    }
    
    .main-banner {
        height: 140px;
    }
    
    .category-item {
        width: 90px;
    }
    
    .category-image {
        width: 90px;
        height: 90px;
    }
    
    .category-name {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    /* PRODUTOS - Ajustes para telas muito pequenas */
    .product-image-container {
        height: 120px;
        padding: 10px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 13px;
        min-height: 2.2em;
    }
    
    .product-description {
        font-size: 11px;
        min-height: 2.4em;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }
    
    .current-price {
        font-size: 16px;
    }
    
    .price-value {
        font-size: 18px;
    }
    
    .price-container {
        margin-bottom: 8px;
        padding-top: 8px;
    }
    
    .product-actions {
        margin-top: 5px;
        padding-top: 10px;
    }
    
    .quantity-selector {
        padding: 4px 8px;
        gap: 6px;
    }
    
    .qty-btn {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
    
    .qty-value {
        font-size: 13px;
        min-width: 18px;
    }
    
    .add-to-cart-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    /* Badges */
    .product-badge, .discount-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .stock-count {
        font-size: 9px;
        padding: 3px 6px;
        bottom: 5px;
        left: 5px;
    }
    
    .stock-warning {
        font-size: 10px;
        padding: 4px 6px;
        margin-top: 5px;
    }
    
    /* REVIEWS PARA TELAS PEQUENAS */
    .review-card {
        width: 260px;
    }
    
    .review-profile {
        width: 50px;
        height: 50px;
    }
    
    .review-image {
        height: 140px;
    }
    
    /* Ajustes adicionais para telas muito pequenas */
    .age-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .age-btn {
        width: 100%;
        min-width: auto;
    }
    
    .footer-trust-badge {
        min-width: calc(50% - 10px);
    }
    
    .footer-trust-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .footer-trust-text {
        font-size: 13px;
    }
}

/* Para telas maiores, ajusta layout */
@media (min-width: 769px) {
    /* PRODUTOS - Para telas maiores, aumenta um pouco o tamanho */
    .product-image-container {
        height: 200px;
    }
    
    .product-info {
        padding: 18px;
    }
    
    .product-name {
        font-size: 17px;
    }
    
    .product-description {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .price-value {
        font-size: 26px;
    }
    
    .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .add-to-cart-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .review-card {
        width: 320px;
    }
    
    .review-image {
        height: 200px;
    }
    
    .footer-trust-badge {
        min-width: 180px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    /* Ajustes para tablets */
    .product-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .quantity-selector {
        justify-content: flex-start;
        width: auto;
    }
    
    .review-card {
        width: 300px;
    }
    
    .review-image {
        height: 180px;
    }
}

/* UTILITÁRIOS */
.hidden {
    display: none !important;
}

.loading {
    opacity: 0.5;
    pointer-events: none;
}