/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    background-color: #111;
}

/* NAVBAR */
.top-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: transparent;
    /* navbar 100% transparente */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Logo */
.logo img {
    height: 120px;
}

/* Links principales */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 6px 15px;
    height: 42px;
    width: 280px;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    color: white;
    padding-left: 30px;
    width: 100%;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    padding-left: 0.5rem;
}

.search-box svg {
    position: absolute;
    left: 10px;
    fill: white;
}

/* Ayuda */
.nav-help {
    margin-right: 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.nav-help:hover {
    opacity: 0.7;
}

/* Íconos */
.navbar-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-icons svg {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.navbar-icons svg:hover {
    transform: scale(1.1);
}

/* Banner */
.main-banner {
    position: relative;
    background-image: url('../img/hero-bg.png');
    /* Usa tu imagen aquí */
    background-size: cover;
    background-position: center;
    height: 550px;
    /* No pantalla completa */
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
}

.banner-content {
    color: white;
    max-width: 600px;
}

.banner-content h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-banner {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn-banner:hover {
    background-color: #0056b3;
}

.banner-content {
    max-width: 600px;
}

.banner-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #fff;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.btn-banner {
    background-color: #007aff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.btn-banner:hover {
    background-color: #005ecb;
}



.search-box input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    /* espacio para el icono a la izquierda */
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
}

.promo-banner {
    background-color: #0056d2;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 14px;
    flex-wrap: wrap;
}

.promo-banner .socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-banner .socials img {
    height: 20px;
    width: 20px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.best-sellers {
    padding: 1rem 1.5rem;
    background-color: #fff;
}

.section-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    padding-bottom: 1rem;
}

.section-header .arrow {
    margin-left: 0.4rem;
    font-size: 1.3rem;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    padding-bottom: 2rem;
}

.product-card {
    flex: 1 1 calc(25% - 1.2rem);
    /* ← 4 por fila */
    height: 280px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: end;
    padding: 1.2rem;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.03);
}

.section-title {
    color: #000;
    /* Negro */
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

.mobility-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
    background-color: #ffffff;
    /* fondo blanco */
    color: #000000;
    /* texto oscuro para contraste */
}

.mobility-image {
    flex: 1;
    max-width: 50%;
}

.mobility-image img {
    width: 100%;
    border-radius: 10px;
}

.mobility-text {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.mobility-text h2 {
    font-size: 2rem;
    color: #0047bb;
}

.mobility-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.mobility-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.mobility-btn {
    background-color: #0047bb;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: fit-content;
}

.mobility-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.mobility-img {
    width: 50%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.mobility-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
}

.mobility-text h2 {
    font-size: 2rem;
    color: #0047bb;
}

.mobility-text h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.mobility-text p {
    font-size: 1rem;
    line-height: 1.5;
}

.mobility-btn {
    background-color: #0047bb;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-explore {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #0052cc;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-explore:hover {
    background-color: #003d99;
}

.liquidation-link {
    background-color: #eee;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
}

.liquidation-link a {
    color: #0052cc;
    text-decoration: none;
    font-size: 1rem;
}

.clearance-section {
    background-color: #ffffff;
    /* Fondo blanco a lo ancho */
    width: 100%;
    padding: 2rem 1rem;
}

.clearance-button {
    background-color: #f0f0f0;
    width: 98%;
    /* ADAPTABLE: ocupa el 90% del ancho del viewport */
    margin: 0 auto;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clearance-button:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.clearance-button a {
    color: #0047bb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.clearance-button a:hover {
    color: #002f7a;
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: 200px;
    /* o ajusta según el diseño */
}

.main-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

.main-product-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-product-card img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.main-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.main-product-name {
    font-size: 1rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.main-product-price {
    font-size: 1.1rem;
    color: #333;
}

.main-buy-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin-top: auto;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.main-product-grid-section {
    background-color: white;
    padding: 2rem 1rem;
    border-radius: 10px;
}

.product-card-v2 {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.product-card-v2:hover {
    transform: translateY(-5px);
}

.badge-v2 {
    background-color: #ff2d2d;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.product-card-v2 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.75rem;
}

.product-title-v2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00468B;
    margin: 0.5rem 0;
    text-align: left;
}

/* CONTENEDOR DEL PRECIO Y CARRITO */
.price-cart-wrapper {
    display: flex;
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Alinea verticalmente */
    gap: 12px;
    /* Espacio entre precio y carrito */
    background-color: #f2f2f2;
    padding: 8px 12px;
    border-radius: 8px;
    width: fit-content;
    margin: 0 auto;
    /* Centrado */
}

.price-v2 {
    font-size: 1rem;
    font-weight: bold;
    color: #00468B;
    margin: 0;
    display: flex;
    align-items: baseline;
    /* Para que los decimales bajen un poco */
}

.price-v2 span {
    font-size: 0.8rem;
    color: #555;
    margin-left: 2px;
}

.cart-button-v2 {
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    transition: background 0.3s ease;
}

.cart-button-v2:hover {
    background-color: #0056b3;
}

.custom-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 250px;
    font-family: sans-serif;
}

.custom-badge {
    background-color: red;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

.custom-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.custom-name {
    font-size: 14px;
    font-weight: bold;
    color: #0050a0;
    margin: 10px 0;
}

.custom-price-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 8px;
    margin-top: 8px;
}

.custom-price {
    font-size: 16px;
    font-weight: bold;
    color: #2c2c2c;
}

.custom-price sup {
    font-size: 12px;
    color: #777;
    vertical-align: super;
    margin-left: 2px;
}

.custom-cart-button {
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.card-image-container {
    width: 100%;
    height: 220px;
    /* puedes ajustar según se vea mejor */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.card-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* o usa 'cover' si prefieres recorte */
}

.benefits {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.benefits h2 {
    font-size: 24px;
    color: #0047ab;
    font-weight: bold;
    margin-bottom: 30px;
}

.benefits h2 span {
    color: #0047ab;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
    /* <-- fuerza que todas tengan mismo alto */
}

.benefit-card {
    background-color: #e9f0fb;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-card .icon {
    font-size: 28px;
    margin-bottom: 16px;
    color: #0047ab;
}

.benefit-card:hover {
    box-shadow: 0 4px 12px rgba(0, 71, 171, 0.15);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}


.benefit-card h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #003087;
    /* Azul oscuro legible sobre azul claro */

}

.benefit-card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.benefit-card a {
    font-size: 14px;
    color: #0066e6;
    font-weight: bold;
    text-decoration: none;
}


/* Media Queries para hacerlo responsive */
@media (max-width: 1024px) {
    .top-navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: row;
        gap: 1rem;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .search-box {
        width: 100%;
        margin: 1rem 0;
    }

    .navbar-icons {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .top-navbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
  }

  .logo img {
    height: 80px;
    margin-bottom: 0.5rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 0;
  }

  .search-box {
    width: 100%;
    margin-top: 0.5rem;
  }

  .navbar-icons {
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav-help {
    display: none; /* Puedes ocultarla en mobile si quieres simplificar */
  }





    .promo-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .product-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .btn-banner {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .mobility-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .mobility-img,
    .mobility-text {
        width: 100%;
    }

    .mobility-text h2 {
        font-size: 1.5rem;
    }

    .mobility-text h3 {
        font-size: 1.1rem;
    }

    .btn-explore {
        width: 100%;
    }

    .benefits {
        padding: 20px 15px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 0.9rem;
    }

    .btn-banner {
        font-size: 0.8rem;
    }

    .section-header {
        font-size: 1rem;
    }

    .product-card h3 {
        font-size: 1rem;
    }
}


.footer {
    background-color: #0047AB;
    color: white;
    padding: 20px 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 40px;
    /* espacio entre logo y navegación */
}

.footer-logo {
    width: 120px;
    /* ajusta según el tamaño deseado */
    height: auto;
    object-fit: contain;
}

.footer-nav a {
    color: white;
    margin-right: 20px;
    text-decoration: none;
    font-size: 14px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social a img {
    width: 28px;
    height: 28px;
    transition: transform 0.2s;
}

.footer-social a:hover img {
    transform: scale(1.1);
}


/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-right {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Para asegurar que el navbar tenga scroll cuando colapsa */
body {
    overflow-x: hidden;
}
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 4rem;
  color: rgba(255, 255, 0, 0.95); /* Amarillo con mayor opacidad */
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
  user-select: none;
  font-weight: bold;
  text-transform: uppercase;
}

