@import url('https://fonts.googleapis.com/css2?family=Road+Rage&display=swap');

/* =========================================
   PRODUCT PAGE
   Diseño desde cero
========================================= */

.product-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #111111;
    font-family: inherit;
}

.product-page *,
.product-page *::before,
.product-page *::after {
    box-sizing: border-box;
}


/* =========================================
   CONTENEDOR PRINCIPAL
========================================= */

.product-main {
    width: min(1440px, calc(100% - 80px));
    margin: 0 auto;
    padding: 50px 0 80px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    gap: 80px;

    align-items: start;
}


/* =========================================
   GALERÍA
========================================= */

.product-gallery {
    width: 100%;

    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 20px;

    align-items: start;
}


/* Miniaturas */

.product-gallery__thumbnails {
    width: 88px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}


.product-gallery__thumbnail {
    width: 88px;
    height: 88px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 0;

    overflow: hidden;
    cursor: pointer;

    appearance: none;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}


.product-gallery__thumbnail:hover {
    border-color: #111111;
}


.product-gallery__thumbnail.is-active {
    border: 2px solid #111111;
}


.product-gallery__thumbnail-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* Imagen principal */

.product-gallery__main {
    width: 100%;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f5;

    overflow: hidden;
}


.product-gallery__main-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


.product-gallery__placeholder {
    color: #888888;
    font-size: 14px;
}


/* =========================================
   INFORMACIÓN
========================================= */

.product-info {
    width: 100%;
}


/* =========================================
   BREADCRUMB
========================================= */

.product-breadcrumb {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin: 0 0 30px;

    color: #777777;

    font-size: 13px;
    line-height: 1.4;
}


.product-breadcrumb a {
    color: #777777;
    text-decoration: none;
}


.product-breadcrumb a:hover {
    color: #111111;
}


.product-breadcrumb span {
    color: #777777;
}


.product-breadcrumb span:last-child {
    color: #111111;
}


/* =========================================
   TÍTULO
========================================= */

.product-title {
    margin: 0 0 12px;

    color: #111111;

    font-size: 42px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}


/* =========================================
   MARCA
========================================= */

.product-brand {
    margin: 0 0 10px;

    color: #777777;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* =========================================
   SKU
========================================= */

.product-sku {
    margin: 0 0 25px;

    color: #888888;

    font-size: 13px;
    line-height: 1.4;
}


/* =========================================
   PRECIO
========================================= */

.product-price {
    margin: 0 0 28px;

    color: #111111;

    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}


.product-price .price {
    margin: 0;
}


.product-price del {
    margin-right: 8px;

    color: #999999;

    font-size: 18px;
    font-weight: 400;
}


.product-price ins {
    color: #111111;
    text-decoration: none;
}


/* =========================================
   DESCRIPCIÓN CORTA
========================================= */

.product-short-description {
    margin: 0 0 30px;

    color: #555555;

    font-size: 15px;
    line-height: 1.65;
}


.product-short-description p {
    margin: 0 0 12px;
}


.product-short-description p:last-child {
    margin-bottom: 0;
}


/* =========================================
   OPCIONES
========================================= */

.product-options {
    width: 100%;
    margin: 0 0 24px;
}


.product-option {
    width: 100%;
    margin: 0 0 18px;
}


.product-option:last-child {
    margin-bottom: 0;
}


.product-option__label {
    display: block;

    margin: 0 0 8px;

    color: #111111;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}


.product-option__select {
    width: 100%;
    height: 50px;

    padding: 0 14px;

    border: 1px solid #d8d8d8;
    border-radius: 0;

    background: #ffffff;
    color: #111111;

    font-family: inherit;
    font-size: 14px;

    cursor: pointer;

    appearance: auto;
}


.product-option__select:focus {
    outline: none;
    border-color: #111111;
}


/* =========================================
   CANTIDAD
========================================= */

.product-quantity {
    width: 130px;
    height: 50px;

    margin: 0 0 14px;

    display: grid;
    grid-template-columns: 38px 54px 38px;

    border: 1px solid #d8d8d8;
}


.product-quantity button {
    width: 38px;
    height: 48px;

    padding: 0;

    border: 0;
    border-radius: 0;

    background: #ffffff;
    color: #111111;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}


.product-quantity button:hover {
    background: #f5f5f5;
}


.product-quantity__input {
    width: 54px;
    height: 48px;

    padding: 0;

    border: 0;

    background: #ffffff;
    color: #111111;

    text-align: center;

    font-family: inherit;
    font-size: 14px;

    appearance: textfield;
}


.product-quantity__input::-webkit-outer-spin-button,
.product-quantity__input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}


.product-quantity__input:focus {
    outline: none;
}


/* =========================================
   BOTÓN AGREGAR AL CARRITO
========================================= */

.product-add-to-cart {
    width: 100%;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 30px;

    border: 0;
    border-radius: 5px;

    background: #e30613;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.03em;

    cursor: pointer;

    appearance: none;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}


.product-add-to-cart:hover {
    background: #b80510;
}


.product-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================================
   MENSAJE DEL CARRITO
========================================= */

.product-cart-message {
    min-height: 20px;

    margin: 12px 0 0;

    color: #555555;

    font-size: 13px;
    line-height: 1.4;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .product-main {
        width: min(900px, calc(100% - 48px));

        grid-template-columns: 1fr;
        gap: 50px;
    }

    .product-info {
        width: 100%;
        max-width: 700px;
    }

}


@media (max-width: 700px) {

    .product-main {
        width: calc(100% - 32px);

        padding-top: 25px;
        padding-bottom: 50px;

        gap: 40px;
    }


    .product-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }


    .product-gallery__thumbnails {
        width: 100%;

        flex-direction: row;
        gap: 10px;

        order: 2;
    }


    .product-gallery__thumbnail {
        width: 72px;
        height: 72px;
    }


    .product-gallery__main {
        order: 1;
    }


    .product-title {
        font-size: 32px;
    }


    .product-price {
        font-size: 26px;
    }

}


@media (max-width: 420px) {

    .product-main {
        width: calc(100% - 24px);
    }


    .product-gallery__thumbnail {
        width: 64px;
        height: 64px;
    }


    .product-title {
        font-size: 28px;
    }


    .product-quantity {
        width: 100%;
    }


    .product-add-to-cart {
        height: 52px;
    }

}




.product-option__select option:disabled {
    color: #aaa;
    background: #f2f2f2;
}

.product-option__select option.is-disabled {
    color: #aaa;
    background: #f2f2f2;
}










/* =========================================================
   PRODUCTOS SIMILARES
   ========================================================= */

.similar-products {
    width: 80%;
    margin: 80px auto 0;
    padding: 0 0 80px;
    overflow: hidden;
}

.similar-products__header {
    width: 100%;
    margin-bottom: 30px;
}

.similar-products__title {
    margin: 0;
    font-family: "Road Rage", sans-serif;
    font-size: 60px;
    line-height: 1.2;
    font-weight: 400;
}


/* =========================================================
   VIEWPORT DEL CARRUSEL
   ========================================================= */

.similar-products__viewport {
    width: 100%;
    overflow: hidden;
    position: relative;

    padding-top: 10px;
    margin-top: -10px;
}


/* =========================================================
   TRACK
   ========================================================= */

.similar-products__track {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: max-content;
    will-change: transform;
}


/* =========================================================
   TARJETA
   ========================================================= */

.similar-product-card {
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
    height: 570px;

    border: 1px solid #aaa;
    box-sizing: border-box;
    background: #fff;

    overflow: hidden;

    transition: transform .3s ease, box-shadow .3s ease;
}

.similar-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,.25);
}


/* =========================================================
   LINK
   ========================================================= */

.similar-product-card__link {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.similar-product-card__link:hover {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   IMAGEN
   ========================================================= */

.similar-product-card__image {
    width: 300px;
    height: 300px;

    margin: 10px auto 0;

    overflow: hidden;
    background: #fff;
}

.similar-product-card__image img {
    display: block;

    width: 300px;
    height: 300px;

    object-fit: contain;
}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.similar-product-card__info {
    width: 100%;
    padding: 0 10px 20px;
    box-sizing: border-box;
}


/* =========================================================
   NOMBRE
   ========================================================= */

.similar-product-card__title {
    margin: 30px 0 0;

    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 400;
}


/* =========================================================
   CATEGORÍA
   ========================================================= */

.similar-product-card__category {
    margin: 15px 0 0;

    font-size: 20px;
    line-height: 1.2;
}

.similar-product-card__category-label {
    text-decoration: underline;
}

.similar-product-card__category a {
    color: inherit;
    text-decoration: none;
}

.similar-product-card:hover .similar-product-card__category {
    color: #FF1B1BCF;
}


/* =========================================================
   PRECIO
   ========================================================= */

.similar-product-card__price {
    margin: 15px 0 0;

    font-family: Roboto, sans-serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
}

.similar-product-card__price-label {
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .similar-products {
        width: 90%;
        margin-top: 60px;
        padding-bottom: 60px;
    }

    .similar-products__title {
        font-size: 26px;
    }

    .similar-product-card {
        flex-basis: 280px;
        width: 280px;
        min-width: 280px;
        height: 500px;
    }

    .similar-product-card__image {
        width: 280px;
        height: 300px;
    }

    .similar-product-card__info {
        width: 280px;
    }

    .similar-product-card__title {
        font-size: 22px;
    }

    .similar-product-card__category {
        font-size: 17px;
    }

    .similar-product-card__price {
        font-size: 19px;
    }

    .similar-products__track {
        gap: 16px;
    }
}


@media (max-width: 480px) {

    .similar-products {
        width: 92%;
    }

    .similar-product-card {
        flex-basis: 240px;
        width: 240px;
        min-width: 240px;
        height: 450px;
    }

    .similar-product-card__image {
        width: 240px;
        height: 270px;
    }

    .similar-product-card__info {
        width: 240px;
    }

    .similar-product-card__title {
        font-size: 19px;
    }

}









/* =========================================================
   PRODUCTOS DESTACADOS
   ========================================================= */

.featured-products {
    width: 80%;
    margin: 80px auto 0;
    padding: 0 0 80px;
    overflow: hidden;
}

.featured-products__header {
    width: 100%;
    margin-bottom: 30px;
}

.featured-products__title {
    margin: 0;
    font-family: "Road Rage", sans-serif;
    font-size: 60px;
    line-height: 1.2;
    font-weight: 400;
}

.featured-products__viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 10px;
    margin-top: -10px;
}

.featured-products__track {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.featured-product-card {
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
    height: 570px;
    border: 1px solid #aaa;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.featured-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,.25);
}

.featured-product-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.featured-product-card__link:hover {
    color: inherit;
    text-decoration: none;
}

.featured-product-card__image {
    width: 300px;
    height: 300px;
    margin: 10px auto 0;
    overflow: hidden;
    background: #fff;
}

.featured-product-card__image img {
    display: block;
    width: 300px;
    height: 300px;
    object-fit: contain;
}

.featured-product-card__info {
    width: 100%;
    padding: 0 10px 20px;
    box-sizing: border-box;
}

.featured-product-card__title {
    margin: 30px 0 0;
    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 400;
}

.featured-product-card__category {
    margin: 30px 0 0;
    font-size: 20px;
    line-height: 1.2;
}

.featured-product-card__category-label {
    text-decoration: underline;
}

.featured-product-card:hover .featured-product-card__category-label {
    color: #FF1B1BCF;
}

.featured-product-card__price {
    margin: 30px 0 0;
    font-family: Roboto, sans-serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
}

.featured-product-card__price-label {
    font-weight: 600;
}


@media (max-width: 768px) {

    .featured-products {
        width: 90%;
        margin-top: 60px;
        padding-bottom: 60px;
    }

    .featured-products__title {
        font-size: 50px;
    }

    .featured-product-card {
        flex-basis: 280px;
        width: 280px;
        min-width: 280px;
        height: 500px;
    }

    .featured-product-card__image {
        width: 280px;
        height: 300px;
    }

    .featured-product-card__image img {
        width: 280px;
        height: 300px;
    }

    .featured-product-card__info {
        width: 280px;
    }

    .featured-product-card__title {
        font-size: 22px;
    }

    .featured-product-card__category {
        font-size: 17px;
    }

    .featured-product-card__price {
        font-size: 19px;
    }

    .featured-products__track {
        gap: 16px;
    }
}


@media (max-width: 480px) {

    .featured-products {
        width: 92%;
    }

    .featured-products__title {
        font-size: 42px;
    }

    .featured-product-card {
        flex-basis: 240px;
        width: 240px;
        min-width: 240px;
        height: 450px;
    }

    .featured-product-card__image {
        width: 240px;
        height: 270px;
    }

    .featured-product-card__image img {
        width: 240px;
        height: 270px;
    }

    .featured-product-card__info {
        width: 240px;
    }

    .featured-product-card__title {
        font-size: 19px;
    }
}









/* =========================================================
   BANNER
   ========================================================= */

.product-banner {
    width: 100%;
    height: 800px;

    background-image: url("https://bmxlibre.shop/wp-content/uploads/2026/09/wallpaper_williams_1920x1280.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    position: relative;
    overflow: hidden;
}

.product-banner__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}