@import url(topbar.css);
@import url(promotion.css);
@import url(products_section.css);
@import url(eslogan.css);
@import url(foter.css);
@import url(product_details_section.css);
@import url(btn_return.css);
@import url(location_section.css);
@import url(car_section.css);
@import url(card_data_section.css);
@import url(categorias_section.css);
@import url(filtro_productos_section.css);
@import url(politicas_section.css);
@import url(seccion_cuenta.css);
@import url(my_purchases.css);

:root {
    --primary-orange: #FF6F00; 
    --primary-dark: #020224;
    --nav-hover: #1a1a3d;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --bg-light: #f9f9f9;
    --border-color: #ddd;
    --text-dark: #333;
    --text-gray: #666;
    --price-color: #FF6F00;
    --brand-color: #d32f2f;
    --brand-red: #ff0000; 
}

html, body { 
    margin: 0; 
    padding: 0; 
    width: 100%; 
    overflow-x: hidden;  }

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

body {
    background-color: var(--white);
    color: var(--text-dark);
    
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;          
    max-width: 100%;      
    margin: 10px;           
    padding: 0 20px;
}

.mnssup
{
    margin-top: 1%;
    margin-bottom: 2%;
}

.hide-header {
    transform: translateY(-100%);
}

.header-spacer {
    height: 125px; 
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: var(--primary-orange);
    margin-top: 5px;
    border-radius: 2px;
}

/* responsivo computadoras */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 30px;
    }
    
    .hero-banner {
        height: 400px; 
    }
    
    .containernav {
        padding: 0 20px; 
    }
}

/* telefonos */
@media (max-width: 768px) {
    .top-bar {
        height: auto; 
        padding: 10px 0;
    }

    .top-bar .container-topbar {
        flex-wrap: wrap;      
        gap: 10px;
    }

    .logo-area {
        order: 1;
        flex: 1; 
    }

    .icons-area {
        order: 2;
        flex: 1; 
        justify-content: flex-end;
        gap: 15px;
    }

    .search-container {
        order: 3;
        width: 100%;
        margin-top: 5px;
        max-width: none;
    }

    .containernav.nav-links {
        justify-content: space-around; 
        padding: 0 5px; 
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 8px 5px;
        gap: 5px;
    }

    .mnssup h2 {
        font-size: 1rem; 
    }

    .container h2{
        font-size: 1rem;
    }

    .header-spacer {
        height: 180px; 
    }

    .promotion-banner {
        height: auto;       
        min-height: 250px;  
        max-height: 350px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
        padding: 0 5px;
    }

    .product-card {
        padding: 10px;
    }

    .card-img-container {
        height: 130px; 
        margin-bottom: 10px;
    }

    .prod-name {
        font-size: 0.8rem;
        height: 38px; 
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .prod-cc {
        font-size: 0.6rem;
        height: 28px; 
        line-height: 1.0;
    }

    .price {
        font-size: 1.1rem;
    }

    .buy-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .info-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .info-text h3 {
        font-size: 1.5rem;
    }
    
    .info-features {
        align-items: center; 
    }

    .footer-grid {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 30px;
    }

    .payment-icons {
        justify-content: center;
    }
}

/* pantallas muy pequeñas */
@media (max-width: 380px) {
    .buy-btn {
        padding: 5px 8px;
    }
    .buy-btn span { 
        font-size: 0.7rem;
    }
    .nav-links a {
        font-size: 0.75rem;
    }
}


