@font-face {
    font-family: "Road Rage";
    src: url("../assets/RoadRage-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   INICIO 2
   ========================================================= */

.inicio-2 {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* =========================================================
   SECCIÓN 1
   ========================================================= */

.inicio-2__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("https://bmxlibre.shop/wp-content/uploads/2026/09/fondo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* =========================================================
   LOGO
   ========================================================= */

.inicio-2__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(620px, 72vw);
    height: min(430px, 55vh);
    transform: translate(-50%, calc(-50% - 130px));
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    z-index: 2;
}

#inicio-2-model {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    --poster-color: transparent;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

/* =========================================================
   SECCIÓN 2
   ========================================================= */

.inicio-2__next {
    position: relative;
    width: 100%;
    min-height: 2200px;
    height: 2200px;
    background: transparent;
    margin: 0;
    padding: 0;
    overflow: visible;
    box-sizing: border-box;
    z-index: 10;
}

/* =========================================================
   FONDO ROJO
   ========================================================= */

.inicio-2__background {
    position: absolute;
    left: 0;
    top: 300px;
    width: 100%;
    height: 1900px;

    background-color: #d90000;
    background-image: url("https://bmxlibre.shop/wp-content/uploads/2026/09/image-mesh-gradient-3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 1;
    pointer-events: none;
}

/* =========================================================
   TEXTURAS
   ========================================================= */

.inicio-2__texture {
    position: absolute;
    left: 0;
    width: 100%;
    height: 300px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
}

/* BORDE 1 SUPERIOR */

.inicio-2__texture--top {
    top: 0;
    height: 400px;
    z-index: 60;
}

.inicio-2__texture--top svg {
    position: absolute;
    left: -3px;
    top: 0;
    width: calc(100% + 6px);
    height: 400px;
    display: block;
    overflow: visible;
    background: transparent;
}

/* BORDE 2 TRANSICIÓN */

.inicio-2__texture--bottom {
    position: absolute;
    left: 0;
    top: 300px;
    width: 100%;
    height: 400px;
    overflow: hidden;
    pointer-events: none;
    z-index: 40;
    background: transparent;
    transform: translateZ(0);
}

.inicio-2__texture--bottom svg {
    position: absolute;
    left: -3px;
    top: 0;
    width: calc(100% + 6px);
    height: 400px;
    display: block;
}

/* ESTADOS BORDE 2 */

.inicio-2__texture--bottom.is-sticky {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9998;
}

.inicio-2__texture--bottom.is-detached {
    position: absolute;
}

/* NEGRO SVG */

.inicio-2__texture path {
    fill: #000;
}

.inicio-2__texture circle {
    fill: #000;
}

.inicio-2__texture svg {
    shape-rendering: geometricPrecision;
}

/* =========================================================
   CONTENIDO
   ========================================================= */

.inicio-2__next-content {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 9999;
}

/* TEXTO PRINCIPAL */

.inicio-2__next-content h2 {
    position: absolute;
    left: 50%;
    top: 300px;
    width: 100%;
    margin: 0;
    padding: 0;
    transform: translate(calc(-50% - 100px), -50%);
    color: #fff;
    font-family: "Road Rage", sans-serif;
    font-weight: 400;
    font-size: 120px;
    line-height: 1;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    transition:
        transform 2.2s cubic-bezier(.16, 1, .3, 1),
        opacity 1.8s ease-out;
    will-change: transform, opacity;
}

.inicio-2__next-content h2.is-visible {
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* TITULO CATEGORÍAS */

.inicio-2__categories-title {
    position: absolute;
    left: 0;
    top: 650px;
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         4px  4px 0 #000;
    z-index: 35;
}

.inicio-2__categories-title h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: "Road Rage", sans-serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

/* CATEGORÍAS PRINCIPALES */

.inicio-2__categories {
    position: absolute;
    left: 0;
    top: 780px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 40px 8%;
    box-sizing: border-box;
    z-index: 40;
}

/* TARJETAS PADRE */

.inicio-2__category {
    position: relative;
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    height: 350px;
    min-height: 350px;
    max-height: 350px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 18px 35px rgba(0, 0, 0, .35),
        0 5px 10px rgba(0, 0, 0, .25);
    transform: translateY(0);
    transition:
        transform .4s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow .4s ease-out;
    z-index: 50;
}

.inicio-2__category:hover {
    transform: translateY(-8px);
    box-shadow:
        0 28px 45px rgba(0, 0, 0, .42),
        0 8px 15px rgba(0, 0, 0, .28);
}

.inicio-2__category.is-selected {
    transform: translateY(-8px);
}

/* MODELO 3D PADRES */

.inicio-2__category-model {
    display: block;
    width: 100%;
    height: 270px;
    background: transparent;
    --poster-color: transparent;
    pointer-events: none;
}

/* HIJAS */

.inicio-2__children {
    position: absolute;
    left: 10%;
    top: 500px;
    width: 80%;
    height: 300px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    z-index: 100;
    pointer-events: none;
}

/* TARJETAS HIJAS */

.inicio-2__child-category {
    position: relative;
    flex: 0 0 300px;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 18px 35px rgba(0, 0, 0, .35),
        0 5px 10px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(120px);
    transition:
        opacity .5s ease-out,
        transform .5s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow .25s ease;
    z-index: 101;
    pointer-events: auto;
}

.inicio-2__child-category.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.inicio-2__child-category:hover {
    transform: translateY(-8px) !important;
}

/* MODELO HIJAS */

.inicio-2__child-category .inicio-2__category-model {
    position: absolute;
    left: 50%;
    top: 0;
    width: 300px !important;
    height: 230px !important;
    margin: 0 !important;
    transform: translateX(-50%);
    display: block;
    background: transparent;
    --poster-color: transparent;
    pointer-events: none;
}

/* TEXTO HIJAS */

.inicio-2__child-category h3 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 12px 10px 14px;
    box-sizing: border-box;
    color: #000;
    font-family: "Road Rage", sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
}

/* FLECHA CARRUSEL */

.inicio-2__children-arrow {
    position: absolute !important;
    left: 50% !important;
    top: 840px !important;
    width: 70px !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform .25s ease-out !important;
}

.inicio-2__children-arrow img {
    width: 70px;
    height: 70px;
    display: block;
    transform: rotate(90deg);
    object-fit: contain;
    pointer-events: none;
}

.inicio-2__children-arrow:hover {
    transform: translateX(-50%) translateY(6px) !important;
}

/* SALIDA HIJAS */

.inicio-2__child-category.is-leaving {
    opacity: 0 !important;
    transform: translateY(120px) !important;
    transition:
        opacity .6s ease,
        transform .6s ease !important;
}

/* =========================================================
   BORDE 3 — PIE DE SECCIÓN ROJA
   ========================================================= */

.inicio-2__texture--footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 300px;
    margin: 0;
    padding: 0;
    z-index: 20;
    pointer-events: none;
    overflow: hidden;
}

.inicio-2__texture--footer svg {
    position: absolute;
    left: -3px;
    top: 0;
    width: calc(100% + 6px);
    height: 300px;
    display: block;
    overflow: visible;
    background: transparent;
    transform: scaleY(-1);
    transform-origin: center;
    shape-rendering: geometricPrecision;
}

/* =========================================================
   SECCIÓN 3 — PRODUCTO DESTACADO + PRODUCTOS DESTACADOS
   ========================================================= */

.inicio-2__section-3 {
    position: relative !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 300px 10% 400px 10% !important;
    background: #D9D9D9 !important;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    z-index: 500 !important;
    isolation: isolate;
}

.inicio-2__texture--section3-top {
    position: absolute;
    top: 0;
    left: -3px;
    width: calc(100% + 6px);
    height: 300px;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
}

.inicio-2__texture--section3-top svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 300px;
    display: block;
    overflow: visible;
    background: transparent;
    shape-rendering: geometricPrecision;
}

/* BLOQUE PRINCIPAL: GALERÍA + FLECHA + TARJETA */

.inicio-2__featured {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 200px;
    position: relative;
}

/* GALERÍA: miniaturas + imagen principal */

.inicio-2__featured-gallery {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 55%;
    min-width: 320px;
}

.inicio-2__featured-thumbs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.inicio-2__featured-thumb {
    width: 100px;
    height: 100px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 6px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease-out, transform .2s ease-out;
}

.inicio-2__featured-thumb:hover {
    transform: scale(1.04);
}

.inicio-2__featured-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.inicio-2__featured-thumb.is-active {
    border-color: #b30000;
}

.inicio-2__featured-image {
    position: relative;
    flex: 0 0 auto;
    width: 600px;
    height: 600px;
    background: #fff;
    border: 6px solid #b30000;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    overflow: hidden;
}

.inicio-2__featured-image img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: none;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.inicio-2__featured-image img.is-active {
    display: block;
}

.inicio-2__carousel-arrow {
    flex: 0 0 auto;
    width: 44px;
    margin-top: 284px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform .2s ease-out;
}

.inicio-2__carousel-arrow:hover {
    transform: scale(1.1);
}

.inicio-2__carousel-arrow img {
    width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

/* TARJETA — capa roja (borde) + capa blanca (contenido) */

.inicio-2__featured-card-wrap {
    position: relative;
    flex: 1 1 380px;
    max-width: 480px;
    background: #b30000;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, .35));
}

.inicio-2__featured-tail {
    display: none;
}

.inicio-2__featured-card {
    position: relative;
    background: #fff;
    color: #000;
    box-sizing: border-box;
    padding: 34px 34px 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    border-radius: 14px;
}

.inicio-2__featured-box {
    border: 2px solid #b30000;
    border-radius: 14px;
    padding: 18px 24px;
    box-sizing: border-box;
    background: #fff;
}

.inicio-2__featured-header h3 {
    margin: 0 0 6px;
    font-family: inherit;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.inicio-2__featured-price {
    font-size: 22px;
    font-weight: 700;
}

.inicio-2__featured-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.inicio-2__featured-variations {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 100%;
    border: 2px solid #b30000;
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.inicio-2__featured-attribute {
    flex: 1;
    min-width: 160px;
    background: #fff;
    font-size: 15px;
    appearance: none;
    text-transform: none !important;
    border: none;
    border-radius: 0;
    padding: 18px 24px;
    box-sizing: border-box;
}

.inicio-2__featured-attribute:not(:last-child) {
    border-right: 2px solid #b30000;
}

.inicio-2__featured-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
}

.inicio-2__featured-qty button, button.inicio-2__qty-minus, button.inicio-2__qty-plus {
    background: none !important;
    border: none !important;
    color: #000 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    width: 24px !important;
    flex: 0 0 auto;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transition: opacity .15s ease-out !important;
}

.inicio-2__featured-qty button:hover, button.inicio-2__qty-minus:hover, button.inicio-2__qty-plus:hover {
    opacity: .6 !important;
}

.inicio-2__featured-qty input {
    flex: 1;
    height: 100%;
    text-align: center;
    border: none;
    font-size: 18px;
    color: #000 !important;
    background: transparent !important;
}

.inicio-2__featured-addcart, a.inicio-2__featured-addcart.button {
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    background: #fff !important;
    color: #000 !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    letter-spacing: .5px !important;
    border: 2px solid #b30000 !important;
    border-radius: 14px !important;
    padding: 18px 24px !important;
    box-shadow: none !important;
    transition: background .25s ease-out, color .25s ease-out;
    text-transform: none !important;
}

.inicio-2__featured-addcart:hover, a.inicio-2__featured-addcart.button:hover {
    background: #b30000 !important;
    color: #fff !important;
}

.inicio-2__featured-addcart.inicio-2__addcart-disabled {
    opacity: .4 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.inicio-2__featured-description h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.inicio-2__featured-description p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.inicio-2__featured-description p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   PRODUCTOS DESTACADOS — carrusel infinito
   ========================================================= */

.inicio-2__destacados {
    width: 100%;
    margin-top: 100px;
}

.inicio-2__destacados-title {
    color: #fff;
    font-family: "RoadRage";
    font-size: 60px;
    line-height: 2;
    font-weight: 400;
    margin: 0 0 40px;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         4px  4px 0 #000;
}

.inicio-2__destacados-wrap {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.inicio-2__destacados-wrap.is-dragging {
    cursor: grabbing;
}

.inicio-2__destacados-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
    transition: transform .2s ease-out;
}

.inicio-2__destacados-arrow:hover {
    transform: translateY(-50%) scale(1.15);
}

.inicio-2__destacados-prev {
    right: calc(100% + 24px);
}

.inicio-2__destacados-next {
    left: calc(100% + 24px);
}

.inicio-2__destacados-prev img {
    transform: rotate(180deg);
}

.inicio-2__destacados-arrow img {
    width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.inicio-2__destacados-track {
    display: flex;
    gap: 24px;
    will-change: transform;
}

.inicio-2__destacados-card {
    flex: 0 0 calc((100% - 24px * 4) / 5);
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: #fff;
    border: 5px solid #b30000;
    border-radius: 10px;
    padding: 20px 24px 25px 24px;
    box-sizing: border-box;
    text-decoration: none;
    color: #000;
    min-height: 300px;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease-out;
}

.inicio-2__destacados-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .18);
}

.inicio-2__destacados-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.inicio-2__destacados-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.inicio-2__destacados-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.inicio-2__destacados-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.3;
}

.inicio-2__destacados-cat {
    font-size: 16px;
    margin: 0 0 20px;
    color: #000;
}

.inicio-2__destacados-cat span {
    text-decoration: underline;
}

.inicio-2__destacados-price {
    font-size: 19px;
    font-weight: 800;
    margin: 0;
}

/* =========================================================
   BORDE 4 — hacia la sección 5, pegado abajo de todo
   ========================================================= */

.inicio-2__texture--border4 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    height: 300px;
    padding: 0;
    z-index: 20;
    pointer-events: none;
    overflow: hidden;
}

.inicio-2__texture--border4 svg {
    position: absolute;
    left: -3px;
    bottom: 0;
    width: calc(100% + 6px);
    height: 300px;
    display: block;
    overflow: visible;
    background: transparent;
    transform: scaleY(-1);
    transform-origin: center;
    shape-rendering: geometricPrecision;
}

/* =========================================================
   PERFORMANCE
   ========================================================= */

.inicio-2__next,
.inicio-2__featured-gallery,
.inicio-2__logo {
    will-change: transform;
    backface-visibility: hidden;
}

.inicio-2__texture {
    contain: layout paint;
}

.inicio-2__featured-card-wrap {
    filter: none;
    box-shadow: 0 20px 35px rgba(0, 0, 0, .35);
}

.inicio-2__destacados-wrap.is-dragging .inicio-2__destacados-card {
    transition: none;
}

@media (prefers-reduced-motion: reduce) {

    .inicio-2 *,
    .inicio-2 *::before,
    .inicio-2 *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

}

/* ============================================================
   RESPONSIVE
   ------------------------------------------------------------
   Desktop (arriba) usa posiciones absolutas con valores fijos
   en px, pensadas para 1920px de ancho. Abajo de 992px esa
   maqueta no entra en pantalla, así que la sección 2 pasa a
   flujo normal (todo apilado en columna).
   ============================================================ */

/* ---------- Tablet grande: 1200px ---------- */

@media (max-width: 1200px) {

    .inicio-2__logo {
        width: min(520px, 60vw);
        height: min(360px, 46vh);
    }

    .inicio-2__next-content h2 {
        font-size: 90px;
    }

    .inicio-2__categories {
        max-width: 1100px;
        left: 50%;
        transform: translateX(-50%);
        padding: 40px 40px;
        gap: 28px;
    }

    .inicio-2__category {
        width: 100%;
        min-width: 0;
        max-width: 340px;
        height: 300px;
        min-height: 0;
        max-height: 300px;
        margin: 0 auto;
    }

    .inicio-2__category-model { height: 220px; }

    .inicio-2__children { top: 460px; }

    .inicio-2__child-category {
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }

    .inicio-2__child-category .inicio-2__category-model {
        width: 240px !important;
        height: 180px !important;
    }

    .inicio-2__child-category h3 { font-size: 32px; }

    .inicio-2__children-arrow { top: 720px !important; }

}

/* ---------- Tablet: 992px ----------
   Punto de quiebre: la sección 2 deja de usar posiciones
   absolutas y pasa a flujo normal, apilado en columna. */

@media (max-width: 992px) {

    .inicio-2__next {
        height: auto;
        min-height: 0;
        padding-bottom: 100px;
    }

    .inicio-2__background {
        top: 0;
        left: 0;
        height: 100%;
    }

    .inicio-2__next-content {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .inicio-2__next-content h2 {
        position: static;
        left: auto;
        top: auto;
        transform: none !important;
        opacity: 1;
        margin: 90px auto 0;
        padding: 0 24px;
        font-size: 72px;
        max-width: 900px;
    }

    .inicio-2__categories-title {
        position: static;
        height: auto;
        margin: 60px 0 0;
        padding: 0 20px;
    }

    .inicio-2__categories-title h2 { font-size: 60px; }

    .inicio-2__categories {
        position: static;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        transform: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        padding: 40px 24px 20px;
    }

    .inicio-2__category {
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 4 / 3.4;
    }

    .inicio-2__category-model { height: 68%; }

    /* Hijas: de "flotando encima" a bloque propio, en flujo */
    .inicio-2__children {
        position: static;
        width: 100%;
        max-width: 900px;
        height: auto;
        margin: 8px auto 0;
        padding: 0 24px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .inicio-2__child-category {
        position: relative !important;
        flex: 0 0 auto;
        width: min(280px, 44vw) !important;
        height: min(280px, 44vw) !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .inicio-2__child-category .inicio-2__category-model {
        width: 100% !important;
        height: 70% !important;
    }

    .inicio-2__children-arrow {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 24px auto 0 !important;
    }

    .inicio-2__children-arrow:hover {
        transform: translateY(6px) !important;
    }

    /* Bordes ondulados: más bajos */
    .inicio-2__texture,
    .inicio-2__texture--top,
    .inicio-2__texture--top svg,
    .inicio-2__texture--bottom,
    .inicio-2__texture--bottom svg,
    .inicio-2__texture--footer,
    .inicio-2__texture--footer svg,
    .inicio-2__texture--border4,
    .inicio-2__texture--border4 svg,
    .inicio-2__texture--section3-top,
    .inicio-2__texture--section3-top svg {
        height: 160px;
    }

    .inicio-2__background { top: 160px; }

    .inicio-2__texture--bottom { top: 160px; }

    /* Sección 3: producto destacado en columna */
    .inicio-2__section-3 {
        padding: 160px 6% 180px !important;
        min-height: 0;
    }

    .inicio-2__featured {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-top: 0;
    }

    .inicio-2__featured-gallery,
    .inicio-2__featured-card-wrap { flex: none; }

    .inicio-2__featured-gallery {
        width: 100%;
        max-width: 440px;
        min-width: 0;
        flex-direction: column-reverse;
    }

    .inicio-2__featured-thumbs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .inicio-2__featured-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 28px;
    }

    .inicio-2__carousel-arrow {
        margin-top: 0;
        transform: rotate(90deg);
    }

    .inicio-2__carousel-arrow:hover { transform: rotate(90deg) scale(1.1); }

    .inicio-2__featured-card-wrap {
        width: 100%;
        max-width: 440px;
    }

    /* Carrusel de destacados más compacto */
    .inicio-2__destacados { margin-top: 60px; }

    .inicio-2__destacados-title { margin-bottom: 24px; }

    .inicio-2__destacados-wrap { height: auto; }

    .inicio-2__destacados-card {
        flex-basis: calc((100% - 24px) / 2);
        min-height: 0;
        padding: 14px 16px 18px;
    }

    .inicio-2__destacados-image { margin-bottom: 12px; }

    .inicio-2__destacados-card h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .inicio-2__destacados-cat {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .inicio-2__destacados-price { font-size: 17px; }

    .inicio-2__destacados-prev { right: auto; left: 8px; }
    .inicio-2__destacados-next { left: auto; right: 8px; }

}

/* ---------- Mobile: 600px ---------- */

@media (max-width: 600px) {

    .inicio-2__logo {
        width: 88vw;
        height: min(300px, 42vh);
    }

    .inicio-2__next-content h2 {
        font-size: 46px;
        margin-top: 70px;
    }

    .inicio-2__categories-title { margin-top: 50px; }
    .inicio-2__categories-title h2 { font-size: 44px; }

    .inicio-2__categories {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
        padding: 32px 20px 10px;
    }

    .inicio-2__category { aspect-ratio: 16 / 11; }

    .inicio-2__children {
        max-width: 400px;
        padding: 0 20px;
        gap: 16px;
    }

    .inicio-2__child-category {
        width: min(260px, 42vw) !important;
        height: min(260px, 42vw) !important;
    }

    .inicio-2__child-category h3 { font-size: 26px; }

    .inicio-2__texture,
    .inicio-2__texture--top,
    .inicio-2__texture--top svg,
    .inicio-2__texture--bottom,
    .inicio-2__texture--bottom svg,
    .inicio-2__texture--footer,
    .inicio-2__texture--footer svg,
    .inicio-2__texture--border4,
    .inicio-2__texture--border4 svg,
    .inicio-2__texture--section3-top,
    .inicio-2__texture--section3-top svg {
        height: 110px;
    }

    .inicio-2__background { top: 110px; }

    .inicio-2__texture--bottom { top: 110px; }

    .inicio-2__section-3 { padding: 110px 5% 125px !important; }

    .inicio-2__featured-gallery,
    .inicio-2__featured-card-wrap { max-width: 360px; }

    .inicio-2__featured-image {
        padding: 20px;
        border-width: 4px;
    }

    .inicio-2__featured-thumb {
        width: 64px;
        height: 64px;
    }

    .inicio-2__featured-card {
        padding: 20px 16px 18px;
        gap: 14px;
    }

    .inicio-2__featured-header h3 { font-size: 22px; }

    .inicio-2__featured-box,
    .inicio-2__featured-attribute,
    .inicio-2__featured-addcart,
    a.inicio-2__featured-addcart.button { padding: 12px 16px !important; }

    .inicio-2__featured-qty { height: 48px; }

    .inicio-2__featured-variations { flex-direction: column; }

    .inicio-2__featured-attribute:not(:last-child) {
        border-right: none;
        border-bottom: 2px solid #b30000;
    }

    .inicio-2__destacados { margin-top: 40px; }

    .inicio-2__destacados-title {
        font-size: 26px;
        text-align: center;
    }

    .inicio-2__destacados-wrap { height: auto; }

    /* la tarjeta queda en el medio del carrusel */
    .inicio-2__destacados-card {
        flex-basis: 74%;
        margin-top: 12px;
    }

    .inicio-2__destacados-track {
        margin-left: 13%; /* (100% - 74%) / 2 */
        gap: 16px;
    }

    /* zona de toque de 44px, ícono visible de 26px */
    .inicio-2__destacados-arrow {
        width: 44px;
        min-height: 44px;
    }

    .inicio-2__destacados-arrow img { width: 26px; }

    .inicio-2__destacados-prev { left: 0; }
    .inicio-2__destacados-next { right: 0; }

}

/* ---------- Mobile chico: 400px ---------- */

@media (max-width: 400px) {

    .inicio-2__next-content h2 { font-size: 36px; }
    .inicio-2__categories-title h2 { font-size: 34px; }

    .inicio-2__child-category {
        width: min(220px, 60vw) !important;
        height: min(220px, 60vw) !important;
    }

    .inicio-2__destacados-card { flex-basis: 80%; }

    .inicio-2__destacados-track { margin-left: 10%; } /* (100% - 80%) / 2 */

}


/* ============================================================
   FIX SCROLL HORIZONTAL EN MOBILE / TABLET
   ============================================================ */

@media (max-width: 992px) {

    .inicio-2,
    .inicio-2 *,
    .inicio-2 *::before,
    .inicio-2 *::after {
        box-sizing: border-box;
    }

    .inicio-2,
    .inicio-2__next {
        overflow-x: clip;
    }

    .inicio-2__category,
    .inicio-2__child-category {
        box-shadow: 0 8px 16px rgba(0, 0, 0, .3);
    }

}


/* ============================================================
   ESPACIADO SECCIÓN ROJA + BORDE 3 (tablet / mobile)
   ------------------------------------------------------------
 
   ============================================================ */

@media (max-width: 992px) {

    .inicio-2__next {
        --edge: 160px;
        --card-gap: 100px;
        --title-h: 60px;
        padding-bottom: calc(var(--edge) + 60px);
    }

    .inicio-2__background {
        top: var(--edge);
        height: calc(100% - var(--edge) + 2px);
    }

    .inicio-2__texture--bottom { top: var(--edge); }

    /* h2: caja fija sobre la banda negra (bordes 1 y 2) */
    .inicio-2__next-content h2 {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: calc(var(--edge) * .3);
        height: calc(var(--edge) * 1.1);
        min-height: 0;
    }

    /* título de categorías: arranca donde termina el borde 2 */
    .inicio-2__categories-title {
        margin-top: calc(var(--edge) * .6);
        min-height: var(--title-h);
    }

    /* primera tarjeta a --card-gap del borde 2 */
    .inicio-2__categories {
        padding-top: calc(var(--edge) * .6 + var(--card-gap));
    }

}

@media (max-width: 600px) {

    .inicio-2__next { --edge: 110px; }

}


/* =========================================================
   INICIO 2 — AJUSTES MOBILE / TÁCTIL (OPTIMIZACIÓN)
   ---------------------------------------------------------

   ========================================================= */


/* ---------------------------------------------------------
   1. PANTALLAS TÁCTILES: sin hovers "pegados"
   --------------------------------------------------------- */

@media (hover: none) {

    .inicio-2__category,
    .inicio-2__category:hover,
    .inicio-2__child-category {
        box-shadow: 0 8px 16px rgba(0, 0, 0, .3);
    }

    .inicio-2__category {
        transition: transform .25s ease-out;
    }

    .inicio-2__category:hover {
        transform: none;
    }

    .inicio-2__category.is-selected,
    .inicio-2__category.is-selected:hover {
        transform: translateY(-6px);
    }

    .inicio-2__child-category {
        transition:
            opacity .4s ease-out,
            transform .4s cubic-bezier(.34, 1.56, .64, 1);
    }

    /* no pisa la animación de salida (.is-leaving) */
    .inicio-2__child-category.is-visible:hover:not(.is-leaving) {
        transform: translateY(0) !important;
    }

    .inicio-2__featured-thumb:hover,
    .inicio-2__carousel-arrow:hover {
        transform: none;
    }

    .inicio-2__destacados-arrow:hover {
        transform: translateY(-50%);
    }

    .inicio-2__children-arrow:hover {
        transform: translateX(-50%) !important;
    }

    .inicio-2__destacados-card,
    .inicio-2__destacados-card:hover {
        transition: none;
    }

    .inicio-2__destacados-card:hover {
        transform: none;
        box-shadow: none;
    }

    .inicio-2__featured-qty button:hover,
    button.inicio-2__qty-minus:hover,
    button.inicio-2__qty-plus:hover {
        opacity: 1 !important;
    }

    .inicio-2__featured-qty button:active,
    button.inicio-2__qty-minus:active,
    button.inicio-2__qty-plus:active {
        opacity: .6 !important;
    }

    .inicio-2__featured-addcart:hover,
    a.inicio-2__featured-addcart.button:hover {
        background: #fff !important;
        color: #000 !important;
    }

    .inicio-2__featured-addcart:active,
    a.inicio-2__featured-addcart.button:active {
        background: #b30000 !important;
        color: #fff !important;
    }

}

@media (hover: none) and (max-width: 992px) {

    .inicio-2__carousel-arrow:hover {
        transform: rotate(90deg);
    }

    .inicio-2__children-arrow:hover {
        transform: none !important;
    }

}


/* ---------------------------------------------------------
   2. TABLET / MOBILE (≤ 992px)
   --------------------------------------------------------- */

@media (max-width: 992px) {

    /* Alto del hero estable: 100svh no cambia cuando se esconde
       la barra del navegador. */
    .inicio-2__sticky {
        height: 100vh;
        height: 100vh;
    }

    /* las hijas y su flecha ocupan el ancho completo de la grilla */
    .inicio-2__children,
    .inicio-2__children-arrow {
        grid-column: 1 / -1;
    }

    .inicio-2__children-arrow {
        justify-self: center;
    }

    /* sin capas de GPU innecesarias */
    .inicio-2__next,
    .inicio-2__featured-gallery {
        will-change: auto;
        backface-visibility: visible;
    }

    .inicio-2__next-content h2 {
        will-change: auto;
        transition: none;
    }

    .inicio-2__featured-card-wrap {
        box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
    }

    /* iOS: un <select> con menos de 16px amplía la página */
    .inicio-2__featured-attribute {
        font-size: 16px;
    }

    /* zonas táctiles de 44px en los botones de cantidad */
    .inicio-2__featured-qty button,
    button.inicio-2__qty-minus,
    button.inicio-2__qty-plus {
        width: 44px !important;
        height: 44px !important;
        font-size: 26px !important;
    }

    .inicio-2 a,
    .inicio-2 button,
    .inicio-2 select,
    .inicio-2__category {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* NUEVO: el logo arranca chico en mobile (el JS lo escala
       de 0.7 a 1.45 con el scroll) */
    .inicio-2__logo {
        transform: translate(-50%, calc(-50% - 130px)) scale(.7);
    }

}


/* ---------------------------------------------------------
   3. OPCIONAL — fondo del hero liviano para celu
   ---------------------------------------------------------
   Cuando subas una versión ~1080px de ancho en WebP,
   descomentá y cambiá la URL:

@media (max-width: 992px) {
    .inicio-2__sticky {
        background-image: url("https://bmxlibre.shop/wp-content/uploads/2026/09/Fondo-mobile.webp");
    }
}
   --------------------------------------------------------- */


/* ---------------------------------------------------------
   4. TARJETAS FLUIDAS EN DESKTOP CHICO / MEDIANO
   --------------------------------------------------------- */

@media (min-width: 993px) {

    .inicio-2__child-category {
        flex: 0 1 300px;
        width: auto !important;
        min-width: 0 !important;
        max-width: 300px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1 / 1;
    }

    .inicio-2__child-category .inicio-2__category-model {
        width: 100% !important;
        height: 77% !important;
    }

    .inicio-2__child-category h3 {
        font-size: clamp(22px, 2.5vw, 42px);
    }

    .inicio-2__children { gap: 16px; }

}

@media (min-width: 1201px) {

    .inicio-2__category {
        width: 100%;
        min-width: 0;
        max-width: 400px;
    }

}


/* =========================================================
   5. IMÁGENES DE CATEGORÍAS (vienen de WooCommerce)
   ---------------------------------------------------------
   Las tarjetas usan <img class="inicio-2__category-model">, así
   que heredan todo el tamaño/posición de las reglas anteriores.
   En desktop la imagen se ve completa (contain).
   ========================================================= */

img.inicio-2__category-model {
    object-fit: contain;
    -webkit-user-drag: none;
}


/* =========================================================
   6. NUEVO — TARJETAS DE CATEGORÍAS: DISEÑO MOBILE
   ---------------------------------------------------------
   SOLO tablet/mobile (≤ 992px). Desktop no se toca.
   Cuadrícula de 2 columnas, fondo gris, el producto llena la
   tarjeta y el título va centrado encima, en blanco.
   Va AL FINAL del archivo para pisar todo lo anterior.
   ========================================================= */

@media (max-width: 992px) {

    /* ---- variables del diseño (editá acá) ---- */
    .inicio-2__categories,
    .inicio-2__children {
        --card-bg: #bcbcbc;
        --card-radius: 12px;
        --card-shadow: 4px 6px 6px rgba(0, 0, 0, .45);
        --grid-gap: 20px;
        --card-font: inherit;              /* poné acá la tipografía del mockup */
        --card-font-size: clamp(15px, 4.6vw, 22px);
    }

    /* ---- cuadrículas de 2 columnas (padres e hijas) ---- */
    .inicio-2__categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--grid-gap);
        width: 100%;
        max-width: 560px;
        padding-left: 10%;
        padding-right: 10%;
    }

    .inicio-2__children {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--grid-gap);
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    /* ---- tarjeta (padre e hija) ---- */
    .inicio-2__category,
    .inicio-2__child-category {
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1 / 1;
        margin: 0 !important;
        padding: 0 !important;
        background: var(--card-bg);
        border-radius: var(--card-radius);
        box-shadow: var(--card-shadow);
        overflow: hidden;
    }

    /* ---- modelo 3D: llena toda la tarjeta ---- */
    .inicio-2__category .inicio-2__category-model,
    .inicio-2__child-category .inicio-2__category-model {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        transform: none !important;
        display: block;
        background: transparent;
        --poster-color: transparent;
        pointer-events: none;
        object-fit: cover;
    }

    /* ---- título: centrado sobre el producto, en blanco ---- */
    .inicio-2__category h3,
    .inicio-2__child-category h3 {
        position: absolute;
        left: 0;
        top: 50%;
        bottom: auto;
        width: 100%;
        margin: 0;
        padding: 0 8px;
        transform: translateY(-50%);
        box-sizing: border-box;
        color: #fff;
        font-family: var(--card-font);
        font-size: var(--card-font-size);
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: .01em;
        text-align: center;
        text-transform: none;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, .55),
            0 2px 8px rgba(0, 0, 0, .35);
        pointer-events: none;
        z-index: 3;
    }

    /* ---- flecha de "ver más" ---- */
    .inicio-2__children-arrow {
        width: 48px !important;
        height: 48px !important;
        margin: 8px auto 0 !important;
    }

    .inicio-2__children-arrow img {
        width: 48px;
        height: 48px;
    }

}


/* =========================================================
   7. NUEVO — TARJETA CLICADA: TEXTO EN #A70003
   ---------------------------------------------------------
   El JS agrega .is-selected a la categoría tocada.
   ========================================================= */

.inicio-2__category h3 {
    transition: color .2s ease-out;
}

.inicio-2__category.is-selected h3 {
    color: #A70003 !important;
}

@media (max-width: 992px) {

    /* sobre el gris, el rojo se lee mejor con un halo claro
       (la sombra oscura del blanco lo ensuciaría) */
    .inicio-2__category.is-selected h3 {
        text-shadow: 0 1px 3px rgba(255, 255, 255, .55);
    }

}


/* =========================================================
   8. NUEVO — PRODUCTO DESTACADO: DISEÑO MOBILE (≤ 600px)
   ---------------------------------------------------------
 
   ========================================================= */

@media (max-width: 600px) {

    .inicio-2__featured {
        --mbk-red: #b30000;
        --tail: 56px;          /* alto de la punta */
        --edge: 6px;           /* grosor del borde de la tarjeta */
        --top-gap: 100px;      /* separación bajo el borde texturado 3 */
        margin-top: var(--top-gap);
        margin-inline: auto;
        width: 84%;
        align-items: center;
        justify-content: center;
        gap: 26px;
    }

    /* ---------- GALERÍA ---------- */

    .inicio-2__featured-gallery {
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: none;
    }

    .inicio-2__featured-thumbs {
        flex: 0 0 22%;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: stretch;
        gap: 14px;
        min-height: 0;
        align-self: stretch;
    }

    .inicio-2__featured-thumb {
        flex: 1 1 0;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: hidden;
        padding: 5px;
        border: 2px solid var(--mbk-red);
        border-radius: 12px;
    }

    .inicio-2__featured-image {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 8%;
        border-width: 3px;
        border-radius: 14px;
    }

    /* en el mockup no hay flecha: se navega con las miniaturas */
    .inicio-2__carousel-arrow {
        display: none;
    }

    /* ---------- TARJETA CON PUNTA ---------- */

    .inicio-2__featured-card-wrap {
        display: block;
        position: relative;
        width: 100%;
        max-width: none;
        margin-inline: auto;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        /* la sombra va en el contenedor: clip-path recortaría un box-shadow */
        filter: drop-shadow(-8px 12px 10px rgba(0, 0, 0, .4));
    }

    /* capa roja (el borde): mismo contorno, un poco más grande */
    .inicio-2__featured-card-wrap::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--mbk-red);
        border-radius: 20px 20px 0 0;
        clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% + var(--tail) * -1 + -16px),
            99.62% calc(100% + var(--tail) * -0.99 + -9px),
            98.5% calc(100% + var(--tail) * -0.97 + -4px),
            96.62% calc(100% + var(--tail) * -0.93 + -1px),
            94% calc(100% + var(--tail) * -0.88),
            59% calc(100% + var(--tail) * -0.18),
            54.5% calc(100% + var(--tail) * -0.11),
            50% calc(100% + var(--tail) * -0.09),
            45.5% calc(100% + var(--tail) * -0.11),
            41% calc(100% + var(--tail) * -0.18),
            6% calc(100% + var(--tail) * -0.88),
            3.38% calc(100% + var(--tail) * -0.93 + -1px),
            1.5% calc(100% + var(--tail) * -0.97 + -4px),
            0.38% calc(100% + var(--tail) * -0.99 + -9px),
            0 calc(100% + var(--tail) * -1 + -16px)
        );
        z-index: 0;
    }

    /* capa blanca: mismo contorno metido var(--edge) hacia adentro */
    .inicio-2__featured-card {
        position: relative;
        z-index: 1;
        margin: var(--edge) var(--edge) 0;
        padding: 26px 22px 54px;
        gap: 12px;
        border-radius: 14px 14px 0 0;
        clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% + var(--tail) * -1 + -14px),
            99.69% calc(100% + var(--tail) * -0.99 + -9.64px),
            98.75% calc(100% + var(--tail) * -0.97 + -6.56px),
            97.19% calc(100% + var(--tail) * -0.94 + -4.77px),
            95% calc(100% + var(--tail) * -0.9 + -4.25px),
            57% calc(100% + var(--tail) * -0.14 + -6.15px),
            53.5% calc(100% + var(--tail) * -0.09 + -6.28px),
            50% calc(100% + var(--tail) * -0.07 + -6.32px),
            46.5% calc(100% + var(--tail) * -0.09 + -6.28px),
            43% calc(100% + var(--tail) * -0.14 + -6.15px),
            5% calc(100% + var(--tail) * -0.9 + -4.25px),
            2.81% calc(100% + var(--tail) * -0.94 + -4.77px),
            1.25% calc(100% + var(--tail) * -0.97 + -6.56px),
            0.31% calc(100% + var(--tail) * -0.99 + -9.64px),
            0 calc(100% + var(--tail) * -1 + -14px)
        );
    }

    /* ---------- CAJAS (nombre + precio y descripción) ---------- */

    .inicio-2__featured-card .inicio-2__featured-box,
    .inicio-2__featured-card .inicio-2__featured-description {
        border: 2px solid var(--mbk-red);
        border-radius: 20px;
        padding: 14px 18px !important;
        background: #fff;
        box-sizing: border-box;
    }

    .inicio-2__featured-card .inicio-2__featured-header h3 {
        margin: 0 0 6px;
        font-size: 20px;
        line-height: 1.15;
    }

    .inicio-2__featured-price {
        font-size: 18px;
    }

    /* ---------- TALLE / COLOR: dos pills lado a lado ---------- */

    .inicio-2__featured-variations {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        border: none;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .inicio-2__featured-variations .inicio-2__featured-attribute,
    .inicio-2__featured-variations .inicio-2__featured-attribute:not(:last-child) {
        flex: 1 1 0;
        min-width: 0;
        height: 38px;
        padding: 0 10px !important;
        border: 2px solid var(--mbk-red);
        border-radius: 999px;
        background: #fff;
        text-align: center;
        text-align-last: center;
        font-size: 16px;   /* menos de 16px hace zoom en iOS */
    }

    /* ---------- CANTIDAD: pill con "- 1 +" centrado ---------- */

    .inicio-2__featured-qty {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        height: 38px;
        padding: 0 6px;
        border: 2px solid var(--mbk-red);
        border-radius: 999px;
        background: #fff;
        overflow: hidden;
    }

    .inicio-2__featured-qty button,
    button.inicio-2__qty-minus,
    button.inicio-2__qty-plus {
        -webkit-appearance: none;
        appearance: none;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-transform: none !important;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
    }

    .inicio-2__featured-qty input,
    .inicio-2__featured-qty input[type="number"],
    .inicio-2__featured-qty input[type="text"] {
        -webkit-appearance: none;
        -moz-appearance: textfield;
        appearance: none;
        flex: 0 0 40px !important;
        width: 40px !important;
        min-width: 0 !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        outline: none;
        background: transparent !important;
        color: #000 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-align: center;
    }

    /* sin flechitas del input numérico */
    .inicio-2__featured-qty input::-webkit-outer-spin-button,
    .inicio-2__featured-qty input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* ---------- BOTÓN ---------- */

    .inicio-2__featured-addcart,
    a.inicio-2__featured-addcart.button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 38px;
        padding: 0 16px !important;
        border-radius: 999px !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        letter-spacing: 0 !important;
    }

    /* ---------- DESCRIPCIÓN ---------- */

    .inicio-2__featured-description h4 {
        margin: 0 0 2px;
        font-size: 11px;
        font-weight: 400;
    }

    .inicio-2__featured-description p {
        margin: 0 0 6px;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.4;
    }

}


/* =========================================================
   9. NUEVO — TARJETAS HIJAS COMO LINK (van al catálogo filtrado)
   ---------------------------------------------------------
   El JS las crea como <a href="..."> en vez de <article>.
   Desktop y mobile. No cambia el diseño de la tarjeta.
   ========================================================= */

a.inicio-2__child-category,
a.inicio-2__child-category:hover,
a.inicio-2__child-category:focus,
a.inicio-2__child-category:visited {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-drag: none;
}

a.inicio-2__child-category:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}


/* =========================================================
   12. FLECHA DE CATEGORÍAS — EFECTO "PESO" (solo desktop con mouse)
   El JS mueve las variables --rx / --ry / --lift / --tscale
========================================================= */

@media (min-width: 993px) and (pointer: fine) {

    .inicio-2__children-arrow {
        --rx: 0deg;
        --ry: 0deg;
        --lift: 0px;
        --tscale: 1;

        transform:
            translateX(-50%)
            perspective(600px)
            rotateX(var(--rx))
            rotateY(var(--ry))
            translateY(var(--lift))
            scale(var(--tscale)) !important;

        /* el movimiento lo anima el JS, acá solo la sombra */
        transition: filter .3s ease !important;
    }

    /* pisa el hover anterior (translateY(6px)) */
    .inicio-2__children-arrow:hover {
        transform:
            translateX(-50%)
            perspective(600px)
            rotateX(var(--rx))
            rotateY(var(--ry))
            translateY(var(--lift))
            scale(var(--tscale)) !important;
    }

    .inicio-2__children-arrow.is-tilting {
        filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45));
    }
}





/* =========================================================
   11. FIX — TÍTULO "CATEGORÍAS" EN MOBILE / TABLET
   ---------------------------------------------------------
   - Título a 100px del borde texturado (borde 2).
   - Tarjetas debajo del título.
   Va AL FINAL para pisar las reglas anteriores.
   ========================================================= */

@media (max-width: 992px) {

    .inicio-2__next {
        --title-gap: 50px;   /* distancia borde 2 → título */
        --cards-gap: 30px;    /* distancia título → tarjetas */
        --title-h: 60px;
    }

    .inicio-2__categories-title {
        position: absolute;
        left: 0;
        top: calc(var(--edge) * 2 + var(--title-gap));
        width: 100%;
        height: var(--title-h);
        min-height: 0;
        margin: 0;
        padding: 0 20px;
        z-index: 35;             /* por encima del fondo rojo */
        pointer-events: none;
    }

    /* las tarjetas arrancan debajo del título
       (el h2 de arriba ocupa edge*1.4 de alto total) */
    .inicio-2__categories {
        padding-top: calc(
            var(--edge) * .6
            + var(--title-gap)
            + var(--title-h)
            + var(--cards-gap)
        );
    }

}

@media (max-width: 600px) {

    .inicio-2__next { --title-h: 50px; }

}


/* =========================================================
   14. "PRODUCTO DESTACADO" + FLECHA + "VER MÁS DESTACADOS"
========================================================= */

.inicio-2__featured-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 28px;
    width: 100%;
    margin-top: 200px;
    font-size: 64px;
    position: relative;
    z-index: 2;
}

.inicio-2__featured-heading + .inicio-2__featured {
    margin-top: 40px;
}

.inicio-2__featured-title {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: "Road Rage", sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: .04em;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         4px  4px 0 #000;
}

.inicio-2__ch {
    display: inline-block;
    white-space: pre;
}

.inicio-2__featured-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    padding: 0;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.inicio-2__featured-toggle img {
    width: 100%;
    height: auto;
    display: block;
    transform: rotate(-90deg);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
    pointer-events: none;
}

.inicio-2__featured-heading.is-open .inicio-2__featured-toggle img {
    transform: rotate(-90deg);
}

/* =========================================================
   "VER MÁS DESTACADOS"
========================================================= */

.inicio-2__featured-more {
    display: none;
    color: #fff;
    font-family: "Road Rage", sans-serif;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: .04em;
    text-decoration: none;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         3px  3px 0 #000;
}

.inicio-2__featured-more:hover,
.inicio-2__featured-more:focus {
    color: #fff;
    text-decoration: underline;
}

.inicio-2__featured-heading.is-open .inicio-2__featured-more {
    display: inline-flex;
}

/* =========================================================
   OLA
   --i = posición de cada letra, de izquierda a derecha,
   pasando por la flecha.
========================================================= */

@keyframes inicio2Wave {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-14px);
    }

    60% {
        transform: translateY(4px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes inicio2WaveIn {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    45% {
        opacity: 1;
        transform: translateY(-14px);
    }

    75% {
        opacity: 1;
        transform: translateY(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.inicio-2__featured-heading.is-waving
.inicio-2__featured-title-text
.inicio-2__ch,

.inicio-2__featured-heading.is-waving
.inicio-2__featured-toggle {
    animation:
        inicio2Wave
        .7s
        ease
        calc(var(--i, 0) * 40ms)
        both;
}

.inicio-2__featured-heading.is-open.is-waving
.inicio-2__featured-more
.inicio-2__ch {
    animation:
        inicio2WaveIn
        .7s
        ease
        calc(var(--i, 0) * 40ms)
        both;
}

/* =========================================================
   CARRUSEL DE DESTACADOS
========================================================= */

.inicio-2__destacados {
    scroll-margin-top: 120px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .inicio-2__featured-heading {
        margin-top: 40px;
        font-size: 44px;
    }

    .inicio-2__featured-heading + .inicio-2__featured {
        margin-top: 24px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .inicio-2__featured-heading {
        margin-top: 100px;
        font-size: 30px;
        width: 84%;
        margin-inline: auto;
        gap: 6px 16px;
    }

    .inicio-2__featured-title,
    .inicio-2__featured-more {
        text-shadow:
            -1px -1px 0 #000,
             1px -1px 0 #000,
            -1px  1px 0 #000,
             1px  1px 0 #000,
             2px  2px 0 #000;
    }
}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .inicio-2__featured-heading .inicio-2__ch,
    .inicio-2__featured-heading .inicio-2__featured-toggle {
        animation: none !important;
    }
}