/* ═════════ DESIGN TOKENS ═════════ */
:root {
    --ls-red: #ae1a31;
    --ls-gold: #c2b57b;
    --ls-sand: #b8aa7e;
    --ls-cream: #e9e2cf;
    --ls-dark: #3c3b39;
    --ls-white: #ffffff;
    --ls-off-white: #f5f5f5;
    --pinyon: 'Pinyon Script', cursive;
}

/* ═════════ RESET TIPOGRÁFICO ═════════ */
/* Base 16px absoluto (igual que puntajes/notas) para que los em funcionen */
.cross-sell {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.cross-sell * {
    box-sizing: border-box;
}

.cross-sell p {
    margin: 0;
}

/* ═════════ Product Card (sábana Diego, rem → em) ═════════ */
.cross-sell .product.type-product {
    position: relative;
    text-align: center;
    padding: 0 .5em;
    outline: none;
}

.cross-sell .product.type-product .ls-card__pill {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 61px;
    width: 90%;
    max-width: 280px;
    aspect-ratio: 5 / 8;
    border-radius: 150px;
    background-color: var(--ls-cream);
    z-index: 0;
    transition: background-color .3s ease-out;
}

.cross-sell .product.type-product .attachment-woocommerce_thumbnail,
.cross-sell .product.type-product .woocommerce-loop-product__link img {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform-origin: top center;
    transition: all .3s ease-out;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, .15));
    object-fit: contain;
    min-height: 480px;
    max-height: 480px;
}

.cross-sell .product.type-product .ls-card__body {
    position: relative;
    z-index: 2;
    padding-top: 54px;
}

.cross-sell .product.type-product .woocommerce-loop-product__title {
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: white;
    margin: 0 0 20px;
    transition: color .25s;
    line-height: 1.2;
}

.cross-sell .product.type-product .ls-card__desde {
    font-size: .7em;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: white;
    display: block;
    margin-bottom: 0;
    transition: opacity .25s;
}

.cross-sell .product.type-product .ls-card__format {
    font-size: .8em;
    font-weight: 400;
    color: white;
    line-height: 1.2;
    transition: opacity .25s;
    margin: 0 0 5px;
}

.cross-sell .product.type-product .price {
    display: block;
    font-size: 1.4em;
    font-weight: 900;
    line-height: 1;
    color: white;
    letter-spacing: 0;
    margin: 0;
    transition: opacity .3s ease-out;
}

.cross-sell .product.type-product .price del,
.cross-sell .product.type-product .price font.desde {
    display: none;
}

.cross-sell .product.type-product .add_to_cart_button {
    display: inline-block;
    background-color: transparent;
    color: var(--ls-white);
    border: 1px solid white;
    border-radius: 2em;
    padding: .5em 1.6em;
    font-size: .8em;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s, transform .15s;
    margin-top: 1em;
}

.cross-sell .product.type-product .add_to_cart_button:hover {
    background-color: white;
    transform: translateY(-1px);
    color: var(--red);
}

/* Hover */
.cross-sell .product.type-product:hover .ls-card__pill {
    background-color: var(--ls-white);
}

.cross-sell .product.type-product:hover .attachment-woocommerce_thumbnail {
    /*transform: scale(.75);*/
}

/* Cross-sell variant */
.cross-sell .ls-card--cross-sell .ls-card__pill {
    background-color: var(--ls-cream);
}

.cross-sell .ls-card--cross-sell .woocommerce-loop-product__title,
.cross-sell .ls-card--cross-sell .ls-card__desde,
.cross-sell .ls-card--cross-sell .ls-card__format,
.cross-sell .ls-card--cross-sell .price,
.cross-sell .ls-card--cross-sell .price .woocommerce-Price-amount,
.cross-sell .ls-card--cross-sell .price .woocommerce-Price-amount bdi {
    color: white;
}

.cross-sell .ls-card--cross-sell .add_to_cart_button {
    background-color: var(--ls-red);
    color: var(--ls-white);
    border: none;
}

.cross-sell .ls-card--cross-sell:hover .ls-card__pill {
    background-color: var(--ls-white);
}

/* ═════════ 06 SECCIÓN (padding y aspas con rem es ok porque usan clamp) ═════════ */
.cross-sell {
    background-color: var(--ls-red);
    padding: 3.5em 0 4.5em;
    position: relative;
    overflow: hidden;
}

.cross-sell__aspas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.cross-sell__aspa {
    flex: 0 0 auto;
    width: clamp(260px, 30vw, 450px);
    aspect-ratio: 1;
    background: url('../images/aspa-1.svg') no-repeat center / contain;
    opacity: .55;
}

.cross-sell__heading {
    font-family: var(--pinyon);
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 400;
    text-align: center;
    color: var(--ls-white);
    letter-spacing: .04em;
    margin-bottom: .5em;
    position: relative;
    z-index: 2;
    line-height: 1;
}

.cross-sell .container-xl {
    position: relative;
    z-index: 2;
}

.cross-sell__diamond-wrap {
    position: relative;
}

/**Nuevos estilos*/

.cross-sell {
    min-height: 999px;
}

body.single.single-product.postid-20038 section.cross-sell {
    display: none !important;
}

.cross-sell__cta.btn {
    display: inline-block;
    background-color: transparent;
    color: var(--ls-white);
    border: 1px solid white;
    border-radius: 2em;
    padding: .5em 1.6em;
    font-size: 1.0em;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s, transform .15s;
    margin-top: 1em;
    white-space: normal;
}

.cross-sell__cta.btn:hover {
    background-color: white;
    transform: translateY(-1px);
    color: var(--red);
}

.cross-sell__cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.full-within-space .wpb_raw_code.wpb_raw_html.wpb_content_element {
    margin: 0 !important;
}

.full-within-space {
    padding: 0 !important;
}

@media only screen and (max-width: 1399px) {

    .cross-sell .product.type-product .ls-card__pill {
        min-height: 450px;
    }

    .cross-sell .product.type-product .ls-card__body {
        /*padding-top: 0;*/
    }
}