@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;
}

.list__terms {
    list-style: disc;
    margin-left: 20px;
}

.list__terms ul {
    list-style: circle;
    margin-left: 30px;
}

.a__terms {
    text-decoration: none;
    color: var(--primary-orange);
    font-weight: 600;
}

.a__terms:hover {
    color: var(--text-gray);
    cursor: pointer;
}

.policy-container {
    padding: 20px;
}

.policy-container p,
.policy-container ul {
  text-align: justify;
}

.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;
}

.header-spacer-terms {
    height: 60px
}

.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;
}

.alert__information, .alert__informationNP {
    margin-bottom: 20px;
}

.footer-msg-close {
    color: black;
}

.footer-msg-close:hover {
    color: #666;
    cursor: pointer;
}

.alertMP__success {
    background-image: url("/FerreNet/View/images/fondo_alerta.jpg");
    background-repeat: no-repeat;
    background-position-x: center;
    height: 100%;
}

.text-confirm {
    font-size: 0.80rem;
    font-weight: normal;
    color: #333;
    line-height: 1.2;
    height: 30px; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    text-align: center;
}

/* 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: 60px;
        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;
    }
    
    .icons-area .sign__in {
        font-size: 0.75rem;
    }
}