/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --azul-rey: #004797;
    --blanco: white;
    --gris-claro: #ebe8e8;
    --naranja: #f26522;
    --fuente-principal: 'Roboto', sans-serif;
}

body {
    background-color: var(--blanco);
    font-family: var(--fuente-principal);
}

/* Header principal */
.card__header {
    background-color: var(--azul-rey);

}

/* Menú superior */
.header__navegation {
    padding: 10px 40px;
    max-width: 100%;
    margin-right: 21%;
    margin-left: 21%;
}

.navegation__list {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 25px;
    color: var(--blanco);
    font-size: 13px;
}

/* Centro del header */
.container__center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    margin-bottom: 20px;
    gap: 20px;
    max-width: 100%;
    margin-left: 21%;
    margin-right: 21%;
}

.center__img {
    height: 70px;
}

.center__box{
    position: relative;
    flex: 1;
    max-width: 500PX;
}

.center__box i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--naranja);
    font-size: 16px;
    pointer-events: none;
}

.center__input {
    width: 500px;
    padding: 10px 15px 10px 35px; 
    border-radius: 6px;
    border: none;
    font-size: 16px;
}

/* Área de cuenta y carrito */
.center__login {
    display: flex;
    color: var(--blanco);
}

.center__login i {
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 5px;
}

.login__divider {
    width: 1px;
    height: 30px;
    background-color: white;
    margin: 0 15px;
}

.login__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
}

.login__item i {
    font-size: 18px;
}

/* Menú inferior */
.header__navegation__bottom {
    background-color: var(--blanco);
    border-top: 3px solid var(--naranja);
    padding: 12px 40px;

}

.botton__list {
    display: flex;
    list-style: none;
    justify-content: space-between;
    font-size: 12px;
    color: var(--azul-rey);
    max-width: 100%;
    margin-left: 21% ;
    margin-right: 21%;
}

.botton__list li::after {
    content: "|";
    margin: 0 5px;
    color: var(--azul-rey);
}

.card__main{
    background-color: var(--gris-claro);
}

/* Section principal: carrusel + grid */
.main__section {
    display: flex;
    gap: 30px;
    padding: 20px 40px;
    max-width: 100%;
    justify-content: center;
    margin-left: 20%;
    margin-right: 20%;
}

/* Carrusel a la izquierda */
.section__carrusel {
    flex: 1;
    min-width: 560px;
}

.carrusel__image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Tarjetas de productos a la derecha */
.section__card {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

/* Cada producto ocupa 4 columnas por fila (25% menos gap) */
.card__product {
    background-color: var(--blanco);
    border-radius: 4px;
    padding: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.card__product:hover {
    transform: scale(1.03);
}

.product__image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.card__product span {
    font-size: 10px;
    color: #333;
    font-weight: 500;
}

.main__section__bar{
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.bar__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 30px 20px;
}

.div__image__bar{
    width: 1080px;
    border-radius: 4px;
    margin-top: -50px;
}

.main__div__bar{
    display: flex;
    background-color: var(--blanco);
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
    width: 1080px;
    margin: 0 auto ;
}

.bar__item__div{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 4px;
}

.div__image{
    width: 26px;
    height: 26px;
}

.div__description{
    color: var(--azul-rey);
    font-family: var(--fuente-principal);
    font-size: 11px;
}

.bar__separe{
    width: 1px;
    height: 20px;
    background-color: transparent;
    border-right: 1px dashed #C0B9B9;
    margin: 0 16px;
    display: inline-block;
}

.main__section__bar2{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.div__image__bar2{
    width: 350px;
    height: auto;
    max-width: 100%;
    max-height: 300px;
    border-radius: 5px;
}

.bar3__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1080px;
    margin: 0 auto ;
}

.header__title__bar3{
    font-size: 18px;
    color: var(--azul-rey);
}

.header__link__bar3{
    font-size: 14px;
    color: var(--naranja);
}

.main__section__bar3{
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    background-color: var(--blanco);
}

.bar3__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.div__image__bar3{
    width: 260px;
    max-height: 300px;
    border-radius: 4px;
}

.bar4__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1080px;
    margin: 0 auto ;
}

.header__title__bar4{
    font-size: 18px;
    color: var(--azul-rey);
}

.header__link__bar4{
    font-size: 14px;
    color: var(--naranja);
}

.main__section__bar4{
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    background-color: var(--blanco);
}

.bar4__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.div__image__bar4{
    width: 260px;
    max-height: 300px;
    border-radius: 4px;
}

.bar5__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1080px;
    margin: 0 auto ;
}

.header__title__bar5{
    font-size: 18px;
    color: var(--azul-rey);
}

.header__link__bar5{
    font-size: 14px;
    color: var(--naranja);
}

.main__section__bar5{
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    background-color: var(--blanco);
}

.bar5__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.div__image__bar5{
    width: 260px;
    max-height: 300px;
    border-radius: 4px;
}

.main__section__bar6{
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    background-color: var(--blanco);
}

.bar6__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.div__image__bar6{
    width: 1080px;
    border-radius: 4px;
    margin-top: -50px;
}

.bar7__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1080px;
    margin: 0 auto ;
}

.header__title__bar7{
    font-size: 18px;
    color: var(--azul-rey);
}

.header__link__bar7{
    font-size: 14px;
    color: var(--naranja);
}

.main__section__bar7{
    justify-content: center;
    gap: 20px;
    background-color: var(--blanco);
}

.bar7__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.div__image__bar7{
    width: 260px;
    max-height: 300px;
    border-radius: 4px;
}

.bar8__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1080px;
    margin: 0 auto ;
}

.header__title__bar8{
    font-size: 18px;
    color: var(--azul-rey);
}

.header__link__bar8{
    font-size: 14px;
    color: var(--naranja);
}

.main__section__bar8{
    justify-content: center;
    gap: 20px;
    background-color: var(--blanco);
}

.bar8__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.div__image__bar8{
    width: 260px;
    max-height: 300px;
    border-radius: 4px;
}

.bar9__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1080px;
    margin: 0 auto ;
}

.header__title__bar9{
    font-size: 18px;
    color: var(--azul-rey);
}

.header__link__bar9{
    font-size: 14px;
    color: var(--naranja);
}

.main__section__bar9{
    justify-content: center;
    gap: 20px;
    background-color: var(--blanco);
}

.bar9__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.div__image__bar9{
    width: 260px;
    max-height: 300px;
    border-radius: 4px;
}

.bar10__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1080px;
    margin: 0 auto ;
}

.header__title__bar10{
    font-size: 18px;
    color: var(--azul-rey);
}

.header__link__bar10{
    font-size: 14px;
    color: var(--naranja);
}

.main__section__bar10{
    justify-content: center;
    gap: 20px;
    background-color: var(--blanco);
}

.bar10__container{
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.div__image__bar10{
    width: 260px;
    max-height: 300px;
    border-radius: 4px;
}

.bar11__header{
    display: flex;
    background-color: var(--blanco);
    justify-content: space-between;
}

.header__title__bar11{
    margin-left: 9%;
    font-size: 18px;
    color: var(--azul-rey);
    margin-bottom: 20px;
}

.header__link__bar11{
    font-size: 14px;
    color: var(--naranja);
    margin-right: 10%;
}

.header__image{
    width: 72px;
}

.main__section__bar11{
    display: flex;
    background-color: var(--blanco);
    justify-content: center;
}

.bar11__container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 30px;
}

.container__discount{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto repeat(2, 1fr);
    margin-left: 1%;
    border: 1px solid var(--azul-rey);
    border-radius: 10px;
    background-color: var(--gris-claro);
}

.discount__header{
    display: flex;
    grid-column: 1 / 3;
    align-items: center;
    margin: 10px;
    gap: 10px;
}

.description__title{
    font-size: 16px;
    font-weight: bold;
    color: var(--azul-rey);
    margin-bottom: 5px;
}

.description__argument{
    font-size: 14px;
    color: #444444;
    width: 80%;
}

.discount__products{
    border: 1px solid rgb(204, 203, 203);
    border-radius: 10px;
    text-align: center;
    margin: 5px;
    background-color: var(--blanco);
        border-bottom: 2px solid var(--azul-rey);
}

.electronics__discount{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.discount__image{
    width: 300px;
    border-radius: 6px;
}

.products__header{
    display: flex;
    justify-content: space-between;
    margin: 5px;
}

.header__number__discount{
    background-color: var(--naranja);
    color: var(--blanco);
    border-radius: 3px;
}

.header_link{
    color: var(--naranja);
    font-size: 18px;
}

.products__title{
    color: var(--azul-rey);
    font-size: 12px;
    font-weight: bold;
}

.products__description{
    color: #444444;
    font-size: 12px;
}

.products__price__one{
    text-decoration: line-through;
    color: #C4BFBF;
    font-size: 12px;
}

.products__price__two{
    font-size: 18px;
    font-weight: bold;
    color: var(--naranja);
}

.main__section__brands{
    background-color: var(--blanco);
}

.brands__header{
    display: flex;
    background-color: var(--blanco);
    justify-content: space-between;
}

.header__title__brands{
    margin-left: 7%;
    font-size: 18px;
    color: var(--azul-rey);
    margin-bottom: 20px;
}

.header__link__brands{
    font-size: 14px;
    color: var(--naranja);
    margin-right: 7%;
}

.brands-logos {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
    margin-left: 7%;
    margin-right: 7%;
}

.logos__image {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    background-color: var(--blanco);
}





.footer {
    background-color: #000;
    color: #929292;;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 30px 40px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-left: 100px;
    margin-right: 150px;
}

.footer__item {
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.footer__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #333;
}

.footer__item h4 {
    font-size: 16px;
    color: var(--blanco);
    margin-bottom: 8px;
}

.footer__item p {
    font-size: 14px;
    color: #929292;
    margin: 4px 0;
}

.footer__terms {
    padding: 20px 0;
    border-bottom: 1px solid #333;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    color: var(--blanco);
    margin-bottom: 20px;
    margin-left: 100px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
    margin-left: 100px;
    margin-right: 150px;
}

.footer__column h4 {
    font-size: 16px;
    color: var(--blanco);
    margin-bottom: 10px;
}

.footer__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__column li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #929292;;
    cursor: pointer;
}

.footer__column li:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 15px;
    font-size: 14px;
    color: #fff;
    margin-top: 20px;
}

.footer__bottom p {
    margin-right: 10px;
    font-weight: bold;
}

.footer__social img {
    width: 24px;
    height: 24px;
    margin-left: 12px;
    cursor: pointer;
}

.arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
}


.combos-section {
    background-color: #f3f8ff; /* Color azul muy clarito */
    padding: 30px 40px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.combos-section h2 {
    color: #003399;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.combos-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
    margin-left: 4%;
    margin-right: 5%;
}

.combo {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 12px;
    text-align: left;
}

.combo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

.combo.promo img {
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    padding: 0;
}

.rating {
    font-size: 14px;
    color: #ff9900;
    margin-bottom: 5px;
}

.description {
    font-size: 14px;
    color: #000;
    margin-bottom: 5px;
}

.price-current {
    font-size: 18px;
    color: #f44336;
    font-weight: bold;
    margin-bottom: 4px;
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.discount {
    background-color: #f44336;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.today {
    color: #f44336;
    font-weight: bold;
    font-size: 14px;
    margin-left: 4px;
}



/* Banner */
.banner {
    display: flex;
    align-items: center;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.banner img {
    max-width: 120px;
    margin-right: 20px;
}

.banner-content{
    display: flex;
    background-color: var(--azul-rey);
    margin: 5px 0;
}

.banner button {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.service-item {
    background-color: #f7f7f7;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

/* Ofertas y medios de pago */
.payment-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.benefit-item {
    background-color: #f7f7f7;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

/* Crédito */
.credit-highlight {
    background-color: #fffbe6;
    border: 2px solid #ffcc00;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.credit-content {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.credit-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    font-weight: bold;
}

/* Métodos de pago */
.payment-methods {
    margin-top: 20px;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-logos img {
    max-height: 40px;
}

/* Footer pequeño */
.footer-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    font-size: 14px;
}

.footer-benefit-item {
    flex: 1 1 200px;
    background-color: #f7f7f7;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

@media screen and (max-width: 1366px) {
    .header__navegation,
    .container__center,
    .botton__list,
    .main__section,
    .main__div__bar,
    .bar3__header,
    .bar4__header,
    .bar5__header {
        margin-left: 10%;
        margin-right: 10%;
        width: auto;
    }

    .center__input {
        width: 100%;
        max-width: 450px;
    }

    .section__carrusel {
        min-width: 400px;
    }

    .section__card {
        grid-template-columns: repeat(6, 1fr);
    }

    .div__image__bar,
    .div__image__bar6 {
        width: 100%;
        margin-top: -30px;
    }

    .main__div__bar {
        padding: 5px 20px;
    }

    .div__image__bar2,
    .div__image__bar3,
    .div__image__bar4,
    .div__image__bar5 {
        width: 220px;
    }

    .bar3__container,
    .bar4__container,
    .bar5__container,
    .bar6__container {
        padding: 20px 10px;
        gap: 10px;
        flex-wrap: wrap;
    }
}

/* Responsive */
/* @media (max-width: 1200px) {
    .container__center,
    .header__navegation,
    .botton__list,
    .main__section,
    .bar3__header,
    .bar4__header,
    .bar5__header,
    .bar6__container,
    .bar7__header,
    .bar8__header,
    .bar9__header,
    .bar10__header,
    .bar11__header,
    .brands__header,
    .brands-logos,
    .footer__top,
    .footer__links {
        margin-left: 5%;
        margin-right: 5%;
    }

    .section__card {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .container__center,
    .header__navegation,
    .botton__list,
    .main__section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-left: 5%;
        margin-right: 5%;
    }

    .section__carrusel {
        min-width: auto;
        width: 100%;
    }

    .center__input {
        width: 100%;
    }

    .section__card {
        grid-template-columns: repeat(3, 1fr);
    }

    .brands-logos {
        grid-template-columns: repeat(5, 1fr);
    }

    .footer__top,
    .footer__links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navegation__list {
        justify-content: center;
        flex-wrap: wrap;
    }

    .container__center {
        flex-direction: column;
    }

    .section__card {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-logos {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer__top,
    .footer__links {
        grid-template-columns: repeat(1, 1fr);
    }

    .div__image__bar,
    .div__image__bar6,
    .div__image__bar2,
    .div__image__bar3,
    .div__image__bar4,
    .div__image__bar5,
    .div__image__bar7,
    .div__image__bar8,
    .div__image__bar9,
    .div__image__bar10 {
        width: 100%;
    }

    .discount__image {
        width: 100%;
    }

    .combos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section__card {
        grid-template-columns: repeat(1, 1fr);
    }

    .brands-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .combos-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer__top,
    .footer__links {
        grid-template-columns: repeat(1, 1fr);
    }

    .main__section {
        flex-direction: column;
    }

    .bar3__container,
    .bar4__container,
    .bar5__container,
    .bar7__container,
    .bar8__container,
    .bar9__container,
    .bar10__container,
    .bar11__container {
        flex-direction: column;
    }

    .credit-content {
        flex-direction: column;
    }

    .footer__social {
        justify-content: center;
    }
} */
