/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevenir zoom no mobile */
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Cabeçalho */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #FF2D55;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.cart-icon {
    height: 24px;
    width: 24px;
}

.cart-count {
    background: #FF2D55;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Botões */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

.btn-primary {
    background: #FF2D55;
    color: white;
}

.btn-primary:hover {
    background: #E6194A;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #FFC658;
    color: #2359FA;
}

.btn-secondary:hover {
    background: #000000;
}

.btn-add-cart {
    width: 100%;
    margin-top: 1rem;
}

.btn-checkout {
    width: 100%;
    margin-top: 2rem;
}

.btn-pay {
    width: 100%;
    margin-top: 2rem;
    font-size: 18px;
    padding: 15px;
}

/* Hero Section */
.hero {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
}

.hero-banner-link {
    display: block;
    width: 100%;
    cursor: pointer;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-banner-link:hover .hero-banner-img {
    opacity: 0.98;
}

/* Seções */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

.featured-products {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Grid de Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}

.badge-discount {
    background: #00C1A8;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 193, 168, 0.4);
    display: inline-block;
    line-height: 1.2;
    white-space: nowrap;
}

.badge-new {
    background: #00C1A8;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: none;
    display: inline-block;
    vertical-align: middle;
}

.product-image {
    aspect-ratio: 1 / 1;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.rating-info {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-score {
    font-weight: 700;
    color: #333;
}

.rating-count {
    color: #999;
}

.product-name {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.product-price-section {
    margin-bottom: 0.75rem;
    display: block;
    line-height: 1.8;
    min-height: 24px;
}

.product-price-old {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.65);
    text-decoration: line-through;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.product-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: #2D3E50;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    display: block;
}

.product-price::after {
    content: " à vista";
    font-size: 1rem;
    font-weight: 400;
    color: #2D3E50;
}

.btn-product {
    width: 100%;
    margin-top: auto;
    font-weight: 800;
    text-transform: capitalize;
}

/* Página do Produto */
.product-page {
    padding: 40px 0;
}

.breadcrumb {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.breadcrumb a {
    color: #FF2D55;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 0.1rem;
}

.product-image-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-detail-img:hover {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #f8f9fa;
    padding: 4px;
}

.thumbnail:hover {
    border-color: #FF2D55;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #FF2D55;
    box-shadow: 0 0 0 1px #FF2D55;
}

.flash-sale-banner {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8533 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 16px;
    margin: 0 0 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.flash-sale-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.flash-sale-info {
    font-size: 17px;
    font-weight: 800;
    color: white;
    margin: 0;
    text-align: right;
    position: absolute;
    top: 5px;
    right: 20px;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 0;
    align-items: center;
}

.original-price {
    font-size: 14px;
    color: #CFCFCF;
    text-decoration: line-through;
    margin: 0;
    font-weight: 400;
}

.sale-price {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1;
}

.countdown-timer {
    position: static;
    text-align: left;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin: 0;
}

.countdown-timer .countdown-label {
    color: white;
}

#countdown {
    color: #FFD700;
    font-weight: 500;
}

.flash-sale-banner * {
    letter-spacing: 0;
}

.discount-badge {
    background: white;
    color: #e74c3c;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    margin: 0 0 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.discount-text {
    background: #e74c3c;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.2rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
}

.discount-details {
    font-size: 0.8rem;
    color: #e74c3c;
    font-weight: 500;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .discount-badge {
        margin: 0 -20px 1.5rem -20px;
        width: calc(100vw);
        left: 0;
        position: relative;
        border-radius: 0;
        padding: 0.6rem 20px;
    }
    
    .discount-text {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .discount-details {
        font-size: 0.7rem;
    }
    
    .flash-sale-info {
        top: -10px;
        right: 20px;
        font-size: 16px;
        font-weight: 800;
    }
    
    .countdown-timer {
        position: static;
        text-align: left;
        margin-top: 10px;
        font-size: 14px;
    }
    
    .flash-sale-banner {
        padding: 30px 20px 20px 20px;
        min-height: 90px;
    }
    
    .price-line {
        margin-top: 0;
        align-items: center;
    }
}

.product-title {
    font-size: 1.2rem;
    line-height: 1.1;
    margin-bottom: 0.35rem;
    color: #333;
}

.product-rating-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.product-rating-detail:hover {
    opacity: 0.8;
}

.rating-stars-detail {
    color: #ffc107;
    font-size: 1.56rem;
    letter-spacing: 2px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 1rem;
}

.rating-score-detail {
    font-weight: 700;
    color: #FF2D55;
    font-size: 1.1rem;
}

.rating-count {
    color: #666;
}

.product-price-detail {
    font-size: 2rem;
    color: #FF2D55;
    font-weight: 700;
    margin-bottom: 2rem;
}

.product-description h3 {
    margin-bottom: 1rem;
    color: #333;
}

.product-description p {
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Seção de Frete e Devoluções */
.shipping-returns-section {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

@media (max-width: 767px) {
    .shipping-returns-section {
        margin: 0 -15px 2rem -15px;
        border-radius: 0;
        padding: 16px 20px;
    }
}

.shipping-item,
.returns-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.shipping-item:hover,
.returns-item:hover {
    background-color: #f8f9fa;
    border-radius: 6px;
    margin: 0 -8px;
    padding: 12px 8px;
}

.shipping-item {
    margin-bottom: 8px;
}

.shipping-icon,
.returns-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipping-content,
.returns-content {
    flex: 1;
}

.shipping-title {
    color: #00C2A8;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.shipping-delivery {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 2px;
}

.shipping-crossed {
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
}

.returns-title {
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.shipping-arrow,
.returns-arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-actions {
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.quantity-selector {
    margin-bottom: 1rem;
}

.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.quantity-input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Seção de Abas do Produto */
.product-tabs-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 0.1rem;
    position: relative;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 100;
}

/* Abas fixas no mobile */
.tabs-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    margin-bottom: 0;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    border-bottom: 2px solid #dee2e6;
    border-radius: 0;
}

.tabs-header.sticky .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Botão INÍCIO nas abas fixas */
.tabs-header .tab-btn-inicio {
    display: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    margin-right: 1rem;
}

.tabs-header.sticky .tab-btn-inicio {
    display: block;
}

.tabs-header.sticky .tab-btn-inicio:hover {
    background: #0056b3;
    color: white;
}

/* Espaçamento quando abas estão fixas */
.product-tabs-section.sticky-active {
    padding-top: 5rem;
}
.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #FF2D55;
    background: rgba(255, 45, 85, 0.05);
}

.tab-btn.active {
    color: #FF2D55;
    border-bottom-color: #FF2D55;
    background: rgba(255, 45, 85, 0.1);
}

.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

/* Ajustes para as avaliações dentro das abas */
.tab-panel .reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.tab-panel .reviews-title {
    color: #333;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.tab-panel .reviews-title .review-count {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
}

.tab-panel .show-more-btn {
    background: transparent;
    color: #666;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.tab-panel .show-more-btn:hover {
    color: #333;
}

.tab-panel .reviews-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-panel .reviews-rating-score {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.tab-panel .reviews-rating-stars {
    color: #ffc107;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.tab-panel .reviews-container {
    max-height: none;
    overflow: hidden;
}

.tab-panel .review {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-panel .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.tab-panel .review-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-panel .review-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #FF2D55, #E6194A);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.tab-panel .review-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.tab-panel .review-stars {
    color: #ffc107;
    font-size: 1rem;
    letter-spacing: 1px;
}

.tab-panel .review-comment {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Imagens das Avaliações */
.review-images {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.review-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.review-image:hover {
    transform: scale(1.05);
    border-color: #FF2D55;
    box-shadow: 0 2px 8px rgba(255, 45, 85, 0.3);
}

/* Modal para Imagens */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 95%;
    max-width: 900px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.image-modal-close:hover {
    color: #FF2D55;
}

#modal-image {
    width: 90vw;
    max-width: 800px;
    height: 80vh;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    background: #f8f9fa;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Ajustes para descrição dentro das abas */
.tab-panel h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

.tab-panel h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.tab-panel p {
    line-height: 1.8;
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tab-panel p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .product-tabs-section {
        margin: 0.1rem -15px 0 -15px;
        border-radius: 0;
        padding: 2rem 20px;
    }
    
    .tabs-header {
        margin-bottom: 1.5rem;
    }
    
    .tabs-header.sticky {
        padding: 0.75rem 20px;
        margin-bottom: 0;
    }
    
    .tabs-header.sticky .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        flex: 1;
        text-align: center;
    }
    
    .tabs-header.sticky .tab-btn-inicio {
        flex: 0 0 auto;
        padding: 0.5rem 1rem;
        margin-right: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        flex: 1;
        text-align: center;
    }
    
    .tab-content {
        min-height: 300px;
    }
    
    .tab-panel h3 {
        font-size: 1.3rem;
    }
    
    .tab-panel .review {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

/* Seção de Descrição */
/* Removido - agora está dentro das abas */

/* Avaliações */
/* Removido - agora está dentro das abas */

/* Página do Carrinho */
.cart-page {
    padding: 40px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: white;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info h3 {
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 700;
    color: #FF2D55;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #f8f9fa;
}

.quantity-display {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
}

.cart-item-subtotal {
    font-weight: 700;
    color: #FF2D55;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.remove-btn:hover {
    background: #c82333;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-empty h2 {
    margin-bottom: 1rem;
    color: #666;
}

.cart-empty p {
    margin-bottom: 2rem;
    color: #888;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

.summary-card h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.summary-line.total {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #FF2D55;
}

/* Página de Checkout */
.checkout-page {
    padding: 40px 0;
}

.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h2 {
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-child {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FF2D55;
    box-shadow: 0 0 0 2px rgba(255, 45, 85, 0.25);
}

.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

.order-summary h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.order-item-details {
    font-size: 0.9rem;
    color: #666;
}

.order-item-price {
    font-weight: 700;
    color: #FF2D55;
}

.summary-totals {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.payment-section {
    margin: 2rem 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.payment-section h3 {
    margin-bottom: 1rem;
    color: #333;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-option:hover {
    background-color: #f8f9fa;
}

.payment-option input[type="radio"] {
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #28a745;
}

.modal-content p {
    margin-bottom: 2rem;
    color: #666;
}

/* Rodapé */
.footer {
    background: #333;
    color: white;
    padding: 1.5rem 0 0.5rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.25rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF2D55;
}

.footer-section p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #FF2D55;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 0.5rem;
    text-align: center;
    color: #ccc;
    font-size: 0.85rem;
}

/* Páginas Legais */
.legal-page {
    padding: 40px 0;
    min-height: 60vh;
}

.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #666;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.6;
}

/* Página de Contato */
.contact-page {
    padding: 40px 0;
    min-height: 60vh;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info h2 {
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #FF2D55;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form h2 {
    margin-bottom: 2rem;
    color: #333;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text a {
    color: #FF2D55;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #FF2D55;
    color: white;
}

.cookie-btn.accept:hover {
    background: #E6194A;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid #666;
}

.cookie-btn.decline:hover {
    background: #666;
}

/* Disclaimer de Ofertas */
.offer-disclaimer {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #666;
}

.offer-disclaimer h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Barra Fixa Mobile */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #eee;
    padding: 12px 16px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-price-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}

.mobile-price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    line-height: 1;
}

.mobile-price-sale {
    font-size: 24px;
    font-weight: 700;
    color: #FF2D55;
    line-height: 1;
}

.mobile-btn-buy-large {
    background: #FF2D55;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

.mobile-btn-buy-large:hover {
    background: #E6194A;
    transform: translateY(-1px);
}

.mobile-btn-buy-large .mobile-btn-text {
    color: white;
    line-height: 1;
}

@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .nav.active .nav-list {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 0;
    }
    
    .hero-banner-img {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .featured-products {
        padding: 50px 0;
    }
    
    /* 2 produtos por linha no mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        border-radius: 10px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .rating-stars {
        font-size: 0.8rem;
    }
    
    .rating-info {
        font-size: 0.75rem;
    }
    
    .product-rating {
        margin-bottom: 0.5rem;
        gap: 0.35rem;
    }
    
    .product-price-section {
        margin-bottom: 0.5rem;
    }
    
    .product-price-old {
        font-size: 0.75rem;
    }
    
    .product-badge {
        top: 8px;
        left: 8px;
    }
    
    .badge-discount {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .product-price {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .product-price::after {
        font-size: 0.85rem;
    }
    
    .btn-product {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 0.1rem;
    }
    
    .flash-sale-banner {
        margin: -15px -15px 0 -15px;
        width: calc(100vw);
        left: -15px;
        border-radius: 0;
        padding: 15px 20px;
    }
    
    .flash-sale-info {
        top: 5px;
        left: 15px;
    }
    
    
    .countdown-timer {
        top: 2px;
        right: 15px;
        font-size: 13px;
    }
    .cart-content {
        grid-template-columns: 1fr;
        top: 25px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-img {
        width: 80px;
        height: 80px;
    }
    
    .quantity-controls {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 0.5rem;
    }
    
    .cart-item-subtotal {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: 0.5rem;
    }
    
    .remove-btn {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row:last-child {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Mostrar barra de ação apenas na página do produto */
body:has(.product-page) .mobile-action-bar {
    display: flex;
    
    .mobile-price-section {
        gap: 1px;
    }
    
    .mobile-price-sale {
        font-size: 22px;
    }
    
    .mobile-btn-buy-large {
        padding: 14px 20px;
        font-size: 15px;
        min-width: 120px;
    }
}

/* Adicionar padding bottom para não sobrepor a barra */
.product-page {
    padding-bottom: 90px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 0;
    }
    
    .featured-products {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Manter 2 produtos por linha mesmo em telas muito pequenas */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-image {
        height: 130px;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .rating-stars {
        font-size: 0.75rem;
        letter-spacing: 0;
    }
    
    .rating-info {
        font-size: 0.7rem;
    }
    
    .product-price-old {
        font-size: 0.7rem;
    }
    
    .product-badge {
        top: 6px;
        left: 6px;
    }
    
    .badge-discount {
        padding: 3px 6px;
        font-size: 0.65rem;
    }
    
    .product-price {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .product-price::after {
        font-size: 0.8rem;
    }
    
    .btn-product {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .product-title {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    
    .product-rating-detail {
        gap: 0.3rem;
    }
    
    .rating-summary {
        gap: 0.1rem;
    }
    
    .product-price-detail {
        font-size: 1.5rem;
    }
    
    .reviews-section {
        padding: 2rem 1rem;
    }
    
    .reviews-section {
        margin: 0.75rem -15px 0 -15px;
        border-radius: 0;
        padding: 2rem 20px;
    }
    
    .summary-card,
    .checkout-form,
    .order-summary {
        padding: 1.5rem;
    }
    
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .mobile-action-bar {
        padding: 10px 12px;
        gap: 12px;
    }
    
    .mobile-price-sale {
        font-size: 20px;
    }
    
    .mobile-btn-buy-large {
        padding: 12px 16px;
        font-size: 14px;
        min-width: 100px;
    }
    
    .review-images {
        gap: 0.25rem;
    }
    
    .review-image {
        width: 50px;
        height: 50px;
    }
    
    .image-modal-content {
        width: 95%;
        padding: 10px;
    }
    
    #modal-image {
        width: 95vw;
        height: 70vh;
        max-width: none;
        max-height: none;
    }
    
    .image-modal-close {
        top: 5px;
        right: 15px;
        font-size: 30px;
    }
}