/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E30000;
    --primary-dark: #B30000;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --discount-green: #00C853;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 100%;
}

.menu-btn, .icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: opacity 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-btn:hover, .icon-btn:hover {
    opacity: 0.8;
}

/* Badge do Carrinho */
.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    color: #e30000;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
    display: none;
}

.logo {
    flex: 1;
    text-align: center;
}

.logo-img {
    height: 35px;
    width: auto;
    padding: 5px 20px;
    border-radius: 4px;
}

.header-icons {
    display: flex;
    gap: 15px;
}

/* Barra de Busca */
.search-bar {
    display: none;
    padding: 10px 20px;
    background-color: rgba(255,255,255,0.1);
}

.search-bar.active {
    display: block;
}

.search-bar input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
}

.search-bar button {
    display: none;
}

/* Menu Lateral */
.side-menu {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.side-menu.active {
    left: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
}

.side-menu-header h3 {
    font-size: 20px;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    border-bottom: 1px solid var(--border-color);
}

.menu-list a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s;
}

.menu-list a:hover {
    background-color: var(--bg-gray);
}

.menu-list i {
    width: 20px;
    color: var(--primary-color);
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}

.overlay.active {
    display: block;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(90deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    padding: 20px;
}

.countdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.countdown-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.countdown-title i {
    font-size: 40px;
}

.countdown-title h3 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
}

.countdown-title h2 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    margin: -5px 0;
}

.countdown-title p {
    font-size: 12px;
    color: #ccc;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fire-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    animation: flicker 1.5s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.timer-box {
    background: white;
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
}

.timer-box span {
    font-size: 28px;
    font-weight: 900;
}

/* Products Grid */
.products-grid {
    padding: 20px 12px;
    background: #F5F5F5;
}

.products-grid .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 1200px;
}

.product-card {
    background: white;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    color: var(--discount-green);
    border: 2px solid var(--discount-green);
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 13px;
    z-index: 10;
}

.product-image {
    width: 100%;
    height: 200px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 12px 16px 16px;
    background: white;
}

.product-name {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 12px;
    min-height: 42px;
    line-height: 1.4;
    font-weight: 500;
}

.product-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.product-old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

/* Carousel Section */
.carousel-section {
    padding: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    line-height: 0;
    font-size: 0;
}

/* Todos os indicadores sem espaço */
.carousel-indicators {
    margin: 0 !important;
    padding: 0 !important;
    height: 0;
    overflow: hidden;
}

/* Carrossel 2 - distância de 1px do carrossel 1 */
.carousel-container:nth-child(3) {
    min-height: 400px;
    margin-top: 1px !important;
}

.carousel-container:nth-child(3) .carousel-slide {
    min-height: 400px;
}

.carousel-container:nth-child(3) .carousel-slide img {
    height: 100%;
    object-fit: cover;
}

/* Carrossel 3 - Altura específica */
.carousel-container:nth-child(5) .carousel-slide {
    height: 157px;
}

.carousel-container:nth-child(5) .carousel-slide img {
    height: 100%;
    object-fit: cover;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    line-height: 0;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    line-height: 0;
    font-size: 0;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    vertical-align: bottom;
}

.carousel-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    z-index: 10;
}

/* Slide 1 - Black Friday */
.carousel-title-small {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.carousel-title-large {
    font-size: 56px;
    font-weight: 900;
    text-transform: lowercase;
    margin-bottom: 0;
    line-height: 1;
}

/* Slide 2 - Tênis de Alta Performance */
.carousel-title-white {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.carousel-subtitle-white {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
}

.btn-carousel-white {
    background: white;
    color: var(--text-dark);
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: capitalize;
    transition: background 0.3s;
}

.btn-carousel-white:hover {
    background: #f0f0f0;
}

/* Slide 3 - Futebol */
.carousel-title-futebol {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.carousel-subtitle-futebol {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.carousel-content h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
}

.carousel-discount {
    font-size: 24px;
    margin-bottom: 10px;
}

.carousel-discount span {
    font-size: 48px;
    font-weight: 900;
    color: #FFD700;
}

.carousel-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
}

.carousel-price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-carousel {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: lowercase;
    transition: background 0.3s;
}

.btn-carousel:hover {
    background: var(--primary-dark);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-dark);
    transition: background 0.3s;
    z-index: 100;
}

.carousel-btn:hover {
    background: white;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-banner {
    width: 100%;
    
}

.carousel-banner-image {
    width: 100%;
    height: auto;
    display: block;
}


/* Payment Section */
.payment-section {
    padding: 60px 20px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0 auto 40px;
    max-width: 420px;
}

.payment-cards,
.payment-other {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.payment-other {
    margin-top: 8px;
}

.payment-pix {
    margin-top: 4px;
}

.payment-icon {
    height: 42px;
    width: auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.payment-icon-large {
    height: 58px;
    width: auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.payment-info {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.payment-info p {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .countdown-header {
        justify-content: center;
        text-align: center;
    }
    
    .carousel-slide {
        height: 300px;
    }
    
    .carousel-content {
        left: 20px;
        bottom: 20px;
    }
    
    .carousel-content h2 {
        font-size: 24px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .timer-box {
        min-width: 50px;
        padding: 8px 12px;
    }
    
    .timer-box span {
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .products-grid .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .products-grid .container {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image {
        height: 160px;
        padding: 10px;
    }
    
    .product-name {
        font-size: 13px;
        min-height: 38px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .discount-badge {
        font-size: 12px;
        padding: 3px 10px;
    }
    
    .carousel-slide {
        height: 250px;
    }
    
    .carousel-content h2 {
        font-size: 20px;
    }
    
    .carousel-discount span {
        font-size: 32px;
    }
}

