/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Banner superior */
.top-banner {
    background-color: #333;
    color: #ffffff;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
}

.banner-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.banner-prev, .banner-next {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
}

.banner-prev:hover, .banner-next:hover {
    opacity: 0.7;
}

/* Cabeçalho */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
}

.logo-flag {
    width: 20px;
    height: 15px;
    background: linear-gradient(to bottom, #009639 33%, #ffffff 33%, #ffffff 66%, #ce1126 66%);
    border-radius: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #333;
}

.dropdown-arrow {
    font-size: 10px;
    color: #999;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.search-btn:hover {
    color: #333;
}

.login-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.login-link:hover {
    color: #333;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    position: relative;
}

.cart-icon {
    font-size: 20px;
}

.cart-count {
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}

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

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: #333;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
}

/* Conteúdo principal */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

/* Galeria de imagens */
.product-gallery {
    display: flex;
    gap: 15px;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #333;
}

.thumbnail.active {
    border-color: #333;
}

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

.main-image-container {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    color: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background-color: #fff;
    transform: scale(1.1);
}

/* Informações do produto */
.product-info {
    padding: 0;
}

.product-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.price-container {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.installments {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.installment-icon {
    font-size: 16px;
}

/* Variantes do produto */
.product-variants {
    margin-bottom: 30px;
}

.variant-section {
    margin-bottom: 20px;
}

.variant-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #333;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
}

.color-option:hover {
    border-color: #333;
}

.color-option.active {
    background: #333;
    border-color: #333;
    color: #fff;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #333;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.size-option:hover {
    border-color: #333;
}

.size-option.active {
    background: #333;
    border-color: #333;
    color: #fff;
}

.add-to-cart-btn {
    width: 100%;
    background: #333;
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.add-to-cart-btn:hover {
    background: #222;
    transform: translateY(-2px);
}

.payment-methods {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.payment-icon {
    font-size: 16px;
}

.payment-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 30px;
    width: auto;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

/* Abas de informações */
.product-tabs {
    margin-top: 50px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    background: none;
    border: none;
    padding: 18px 25px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.tab-button:hover {
    color: #333;
    background: #fff;
}

.tab-button.active {
    color: #333;
    border-bottom-color: #333;
    background: #fff;
}

.tab-content {
    min-height: 300px;
    padding: 25px;
}

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

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

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

.tab-panel h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 15px 0;
}

.tab-panel p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.tab-panel ul {
    margin: 15px 0;
    padding-left: 20px;
}

.tab-panel li {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 8px;
}

.tab-panel ol {
    margin: 15px 0;
    padding-left: 20px;
}

.tab-panel ol li {
    margin-bottom: 10px;
}

/* Tabelas */
.size-table, .spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.size-table th, .size-table td,
.spec-table th, .spec-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.size-table th, .spec-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-table td, .spec-table td {
    color: #666;
    font-size: 14px;
}

.size-table tr:hover, .spec-table tr:hover {
    background-color: #f8f9fa;
}

/* Seção "Você pode gostar" */
.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-products h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

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

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    padding: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.product-installment {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Rodapé */
.footer {
    background: #f8f9fa;
    color: #666;
    margin-top: 80px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #666;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #333;
}

.newsletter {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 13px;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-input:focus {
    outline: none;
    border-color: #333;
}

.newsletter-btn {
    background: #333;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #222;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    background: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.payment-methods-footer span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-badges span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badges {
    display: flex;
    gap: 12px;
}

.badges img {
    height: 35px;
    width: auto;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.footer-copyright {
    background-color: #f0f0f0;
    text-align: center;
    padding: 20px;
    font-size: 11px;
    color: #999;
    border-top: 1px solid #e0e0e0;
}

.footer-copyright p {
    margin-bottom: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        display: none;
    }
    
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        flex-direction: column-reverse;
    }
    
    .thumbnail-list {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .price {
        font-size: 28px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
        border-right: none;
    }
    
    .tab-button.active {
        border-bottom-color: #e0e0e0;
        border-left: 3px solid #333;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 15px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .price {
        font-size: 24px;
    }
    
    .add-to-cart-btn {
        padding: 14px 25px;
        font-size: 14px;
    }
    
    .payment-icons {
        justify-content: center;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

