/* CSS Document */

:root {
    --primary: #2ecc71; /* Verde Fitness */
    --dark: #1a1a1a;    /* Preto Esportivo */
    --light: #ffffff;
    --gray: #f4f4f4;
}

body { background-color: var(--gray); }

/* Banner / Slider */
.main-banner {
    background: var(--dark);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    overflow: hidden;
    position: relative;
}

.slide { text-align: center; display: none; }
.slide.active { display: block; }
.slide h2 { font-size: 3rem; color: var(--primary); text-transform: uppercase; }

/* Grid de Produtos */
.section-title { text-align: center; margin: 40px 0; text-transform: uppercase; font-weight: bold; }

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

.product-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--primary);
}

.product-card img { max-width: 100%; height: 200px; object-fit: contain; }

.price { color: var(--dark); font-size: 1.2rem; font-weight: bold; display: block; margin: 10px 0; }

.btn-view {
    background: var(--primary);
    color: var(--dark);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn-view:hover { background: #27ae60; color: white; }

.shop-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.sidebar {
    width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.sidebar h3 { font-size: 1.1rem; border-bottom: 2px solid var(--primary); padding-bottom: 10px; }
.sidebar ul { list-style: none; padding: 0; }
.sidebar ul li a { text-decoration: none; color: #333; display: block; padding: 8px 0; transition: 0.2s; }
.sidebar ul li a:hover { color: var(--primary); padding-left: 5px; }

.content { flex: 1; }

.badge {
    background: var(--dark);
    color: var(--primary);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
}

.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 10px; }
.pagination a {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--dark);
}
.pagination a.active { background: var(--primary); color: white; border-color: var(--primary); }

@media (max-width: 768px) {
    .shop-container { flex-direction: column; }
    .sidebar { width: 100%; }
}

/* Container de Detalhes */
.product-detail-container {
    display: flex;
    gap: 50px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
}

.product-image { flex: 1; }
.product-image img { width: 100%; border-radius: 8px; }

.product-info { flex: 1; }
.category-badge { color: var(--primary); font-weight: bold; text-transform: uppercase; font-size: 0.8rem; }
.product-info h1 { margin: 10px 0; color: var(--dark); font-size: 2.2rem; }

.price-container { margin: 20px 0; }
.price-old { text-decoration: line-through; color: #999; margin-right: 10px; font-size: 1.1rem; }
.price-current { color: var(--dark); font-size: 2rem; font-weight: 800; color: #27ae60; }

.description { line-height: 1.6; color: #666; margin-bottom: 30px; }

/* Seleção de Tamanho */
.size-selector { display: flex; gap: 10px; margin-top: 10px; }
.size-option input { display: none; }
.size-option span {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #ddd;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.size-option input:checked + span {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Quantidade */
.qty-controls { display: flex; align-items: center; gap: 5px; margin-top: 10px; }
.qty-controls button {
    width: 40px; height: 40px; border: 1px solid #ddd; background: #fff;
    cursor: pointer; font-size: 1.2rem;
}
.qty-controls input {
    width: 60px; height: 40px; text-align: center; border: 1px solid #ddd;
}

.total-preview { margin-top: 25px; font-size: 1.2rem; font-weight: bold; border-top: 1px solid #eee; padding-top: 15px; }

.btn-add-cart {
    width: 100%; padding: 20px; background: var(--dark); color: var(--primary);
    border: none; font-size: 1.2rem; font-weight: bold; margin-top: 20px;
    cursor: pointer; transition: 0.3s;
}
.btn-add-cart:hover { background: #000; color: #fff; }

/* Responsivo */
@media (max-width: 900px) {
    .product-detail-container { flex-direction: column; }
}

.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.cart-table th { background: var(--dark); color: var(--primary); padding: 15px; text-align: left; }
.cart-table td { padding: 15px; border-bottom: 1px solid #eee; }

.qty-btn { display: flex; align-items: center; gap: 10px; }
.qty-btn button { width: 30px; height: 30px; border: 1px solid #ddd; background: #fff; cursor: pointer; }

.btn-remove { background: #ff4757; color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; }

.cart-footer { display: flex; justify-content: space-between; margin-top: 30px; flex-wrap: wrap; gap: 20px; }
.shipping-box { background: #fff; padding: 20px; border-radius: 8px; flex: 1; min-width: 300px; }
.shipping-box input { padding: 10px; border: 1px solid #ddd; width: 150px; }

.btn-checkout { background: var(--primary); color: var(--dark); border: none; padding: 15px 30px; font-weight: bold; cursor: pointer; font-size: 1.1rem; }
.btn-continue { text-decoration: none; color: #666; margin-right: 20px; }

.total-box { text-align: right; font-size: 1.5rem; margin-top: 20px; padding: 20px; background: #fff; border-radius: 8px; }

/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../../css_js/img/hero-about.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light);
    margin: -20px -20px 40px -20px; /* Alinhamento com o container */
}

.about-hero h1 { font-size: 3rem; color: var(--primary); text-transform: uppercase; }

/* Texto e Imagem */
.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.about-text { flex: 1; }
.about-text h2 { color: var(--dark); border-left: 5px solid var(--primary); padding-left: 15px; margin-bottom: 20px; }
.about-text p { line-height: 1.8; color: #555; margin-bottom: 15px; }

.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 15px; box-shadow: 10px 10px 0px var(--primary); }

/* Missão, Visão e Valores */
.about-mvv {
    background: var(--dark);
    padding: 60px 20px;
    margin: 0 -20px;
    color: white;
}

.mvv-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvv-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.mvv-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-10px); }
.mvv-item .icon { font-size: 40px; margin-bottom: 15px; }
.mvv-item h3 { color: var(--primary); margin-bottom: 15px; text-transform: uppercase; }
.mvv-item p { color: #ccc; line-height: 1.5; }

/* Responsivo */
@media (max-width: 768px) {
    .about-container { flex-direction: column; }
    .about-hero h1 { font-size: 2rem; }
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info { background: var(--dark); color: white; padding: 40px; border-radius: 10px; }
.info-item { margin-bottom: 30px; }
.info-item strong { display: block; color: var(--primary); margin-bottom: 5px; text-transform: uppercase; }

.contact-form { background: white; padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.input-group input, .input-group textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; outline-color: var(--primary);
}

#btn-enviar {
    background: var(--primary); color: var(--dark); border: none; padding: 15px 30px;
    font-weight: bold; cursor: pointer; border-radius: 5px; width: 100%; transition: 0.3s;
}

#btn-enviar:hover { background: #27ae60; color: white; }

@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; }
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.checkout-form, .checkout-summary {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.checkout-form input, .checkout-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.btn-pagar {
    background: var(--primary);
    color: var(--dark);
    width: 100%;
    padding: 15px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
}

























