.basic-template-body {
    margin: 0;
    background: #f3f4f6 !important;
}

.sport-product,
.sport-product * {
    box-sizing: border-box;
}

.sport-product {
    --sport-red: #e21d2f;
    --sport-red-dark: #bf1222;
    --sport-black: #181818;
    --sport-text: #303030;
    --sport-secondary: #6f6f6f;
    --sport-muted: #9a9a9a;
    --sport-border: #e3e3e3;
    --sport-background: #f3f4f6;
    --sport-white: #ffffff;

    width: 100%;
    min-height: 100vh;
    background: var(--sport-background);
    color: var(--sport-text);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

.sport-product__container {
    width: min(1420px, calc(100% - 60px));
    margin: 0 auto;
    padding: 29px 0 75px;
}

/* Ruta */

.sport-product__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #aaaaaa;
    font-size: 0.77rem;
}

.sport-product__breadcrumb a {
    color: #777777;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sport-product__breadcrumb a:hover {
    color: var(--sport-red);
}

.sport-product__breadcrumb strong {
    min-width: 0;
    overflow: hidden;
    color: #999999;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Estructura principal */

.sport-product__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
    min-height: 720px;
    overflow: hidden;
    background: var(--sport-white);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.07);
}

/* Galería */

.sport-product__gallery {
    min-width: 0;
    padding: 34px;
    background: #f8f8f8;
}

.sport-product__gallery-layout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    height: 100%;
}

.sport-product__thumbnails {
    display: flex;
    max-height: 650px;
    flex-direction: column;
    gap: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1px 5px 1px 1px;
    scrollbar-color: #bbbbbb transparent;
    scrollbar-width: thin;
}

.sport-product__thumbnail {
    position: relative;
    width: 78px;
    height: 92px;
    flex: 0 0 92px;
    overflow: hidden;
    padding: 7px;
    border: 1px solid #e2e2e2;
    outline: 0;
    background: var(--sport-white);
    cursor: pointer;
    opacity: 0.68;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.sport-product__thumbnail::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--sport-red);
    content: "";
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sport-product__thumbnail:hover {
    border-color: #bbbbbb;
    opacity: 1;
}

.sport-product__thumbnail.is-active {
    border-color: var(--sport-red);
    opacity: 1;
}

.sport-product__thumbnail.is-active::before {
    opacity: 1;
}

.sport-product__thumbnail:focus-visible {
    outline: 3px solid rgba(226, 29, 47, 0.25);
    outline-offset: 2px;
}

.sport-product__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sport-product__stage {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 650px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--sport-white);
}

.sport-product__image-wrapper {
    display: flex;
    width: 100%;
    height: 650px;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.sport-product__image-wrapper img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 0.2s ease,
        transform 0.35s ease;
}

.sport-product.is-changing-image .sport-product__image-wrapper img {
    opacity: 0.2;
    transform: scale(0.98);
}

/* Etiqueta */

.sport-product__badge {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 6px 12px;
    background: var(--sport-red);
    color: #ffffff;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Flechas */

.sport-product__arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    outline: 0;
    background: rgba(255, 255, 255, 0.94);
    color: #333333;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.sport-product__stage:hover .sport-product__arrow,
.sport-product__arrow:focus-visible {
    opacity: 1;
}

.sport-product__arrow--previous {
    left: 18px;
}

.sport-product__arrow--next {
    right: 18px;
}

.sport-product__arrow:hover {
    border-color: var(--sport-red);
    background: var(--sport-red);
    color: #ffffff;
}

.sport-product__arrow svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.sport-product__counter {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    color: #999999;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
}

/* Información */

.sport-product__information {
    min-width: 0;
    border-left: 1px solid var(--sport-border);
    background: var(--sport-white);
}

.sport-product__information-inner {
    position: sticky;
    top: 20px;
    padding: 58px 49px;
}

.sport-product__brand {
    display: block;
    margin-bottom: 13px;
    color: var(--sport-red);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sport-product__information h1 {
    margin: 0;
    color: var(--sport-black);
    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.sport-product__title-line {
    width: 100%;
    height: 4px;
    margin-top: 22px;
    overflow: hidden;
    background: #eeeeee;
}

.sport-product__title-line span {
    display: block;
    width: 62px;
    height: 100%;
    background: var(--sport-red);
}

.sport-product__lead {
    margin: 25px 0 0;
    color: var(--sport-secondary);
    font-size: 0.94rem;
    line-height: 1.8;
}

/* Información técnica */

.sport-product__identification {
    margin-top: 34px;
}

.sport-product__identification h2 {
    margin: 0 0 16px;
    color: var(--sport-black);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sport-product__codes {
    display: grid;
    gap: 0;
    margin: 0;
    border: 1px solid var(--sport-border);
}

.sport-product__codes div {
    display: grid;
    grid-template-columns: minmax(145px, 0.85fr) minmax(0, 1.15fr);
    gap: 15px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--sport-border);
}

.sport-product__codes div:last-child {
    border-bottom: 0;
}

.sport-product__codes dt {
    color: var(--sport-muted);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sport-product__codes dd {
    min-width: 0;
    margin: 0;
    color: #333333;
    font-size: 0.8rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* Descripción */

.sport-product__description {
    margin-top: 25px;
    border-top: 1px solid var(--sport-border);
    border-bottom: 1px solid var(--sport-border);
}

.sport-product__description-header {
    display: flex;
    width: 100%;
    min-height: 57px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--sport-black);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.sport-product__description-header:focus-visible {
    outline: 3px solid rgba(226, 29, 47, 0.2);
    outline-offset: 2px;
}

.sport-product__description-icon {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.sport-product__description-icon::before,
.sport-product__description-icon::after {
    position: absolute;
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
    background: var(--sport-red);
    content: "";
    transition: transform 0.2s ease;
}

.sport-product__description-icon::after {
    transform: rotate(90deg);
}

.sport-product__description-header[aria-expanded="true"]
.sport-product__description-icon::after {
    transform: rotate(0);
}

.sport-product__description-content {
    padding: 0 0 24px;
}

.sport-product__description-content[hidden] {
    display: none;
}

.sport-product__description-content p {
    margin: 0;
    color: var(--sport-secondary);
    font-size: 0.87rem;
    line-height: 1.8;
}

/* Botón */

.sport-product__actions {
    margin-top: 29px;
}

.sport-product__back {
    display: flex;
    width: 100%;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 2px solid var(--sport-red);
    background: var(--sport-red);
    color: #ffffff !important;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.sport-product__back svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 0.2s ease;
}

.sport-product__back:hover {
    border-color: var(--sport-red-dark);
    background: var(--sport-red-dark);
    transform: translateY(-2px);
}

.sport-product__back:hover svg {
    transform: translateX(-3px);
}

.sport-product__back:focus-visible {
    outline: 3px solid rgba(226, 29, 47, 0.28);
    outline-offset: 3px;
}

/* Beneficios */

.sport-product__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 27px;
}

.sport-product__benefits > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.sport-product__benefit-icon {
    display: flex;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7f7f7;
    color: var(--sport-red);
}

.sport-product__benefit-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.sport-product__benefits strong,
.sport-product__benefits small {
    display: block;
}

.sport-product__benefits strong {
    color: #333333;
    font-size: 0.69rem;
    line-height: 1.35;
}

.sport-product__benefits small {
    margin-top: 2px;
    color: #999999;
    font-size: 0.61rem;
    line-height: 1.35;
}

/* Pantallas medianas */

@media (max-width: 1100px) {
    .sport-product__container {
        width: min(100% - 40px, 1420px);
    }

    .sport-product__layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
    }

    .sport-product__gallery {
        padding: 25px;
    }

    .sport-product__stage,
    .sport-product__image-wrapper {
        min-height: 570px;
        height: 570px;
    }

    .sport-product__information-inner {
        padding: 45px 35px;
    }
}

/* Tabletas */

@media (max-width: 850px) {
    .sport-product__container {
        width: min(100% - 30px, 1420px);
    }

    .sport-product__layout {
        grid-template-columns: 1fr;
    }

    .sport-product__information {
        border-top: 1px solid var(--sport-border);
        border-left: 0;
    }

    .sport-product__information-inner {
        position: static;
        padding: 42px;
    }
}

/* Teléfonos */

@media (max-width: 600px) {
    .sport-product__container {
        width: min(100% - 20px, 1420px);
        padding: 15px 0 40px;
    }

    .sport-product__breadcrumb {
        margin-bottom: 13px;
        font-size: 0.69rem;
    }

    .sport-product__gallery {
        padding: 13px;
    }

    .sport-product__gallery-layout {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .sport-product__thumbnails {
        order: 2;
        max-width: 100%;
        flex-direction: row;
        padding: 1px 1px 5px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .sport-product__thumbnail {
        width: 64px;
        height: 70px;
        flex-basis: 64px;
    }

    .sport-product__thumbnail::before {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 3px;
    }

    .sport-product__stage {
        order: 1;
        min-height: 360px;
        height: 360px;
    }

    .sport-product__image-wrapper {
        min-height: 360px;
        height: 360px;
        padding: 36px;
    }

    .sport-product__badge {
        top: 12px;
        left: 12px;
    }

    .sport-product__arrow {
        width: 38px;
        height: 38px;
        opacity: 0.85;
    }

    .sport-product__arrow--previous {
        left: 8px;
    }

    .sport-product__arrow--next {
        right: 8px;
    }

    .sport-product__counter {
        right: 12px;
        bottom: 11px;
    }

    .sport-product__information-inner {
        padding: 32px 22px 37px;
    }

    .sport-product__information h1 {
        font-size: clamp(1.75rem, 9vw, 2.3rem);
    }

    .sport-product__lead {
        margin-top: 20px;
        font-size: 0.9rem;
        line-height: 1.72;
    }

    .sport-product__identification {
        margin-top: 27px;
    }

    .sport-product__codes div {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 13px;
    }

    .sport-product__benefits {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Teléfonos pequeños */

@media (max-width: 380px) {
    .sport-product__stage,
    .sport-product__image-wrapper {
        min-height: 310px;
        height: 310px;
    }

    .sport-product__image-wrapper {
        padding: 29px;
    }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    .sport-product__image-wrapper img,
    .sport-product__thumbnail,
    .sport-product__arrow,
    .sport-product__back,
    .sport-product__back svg,
    .sport-product__description-icon::after {
        transition: none;
    }
}