/*
 * Blessed7 · Mayoreo de preventas
 * Archivo público: /nuevo/assets/css/mayoreo-preventas.css
 */

.pagina-mayoreo-preventas,
.pagina-preventas {
    --mayoreo-tinta: #17131d;
    --mayoreo-muted: #746e7c;
    --mayoreo-borde: #e9e3ee;
    --mayoreo-fondo: #f7f4f9;
    --mayoreo-violeta: #8147e8;
    --mayoreo-violeta-oscuro: #5f26c7;
    --mayoreo-lima: #dfff54;
    --mayoreo-verde: #177f54;
}

.mayoreo-publico {
    background: #fff;
    color: var(--mayoreo-tinta);
}

.mayoreo-publico *,
.preventas-mayoreo * {
    box-sizing: border-box;
}

.mayoreo-publico button,
.mayoreo-publico input,
.mayoreo-publico textarea {
    font: inherit;
}

.mayoreo-portada {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            circle at 82% 28%,
            rgba(190, 143, 255, .46),
            transparent 25rem
        ),
        linear-gradient(135deg, #17111e 0%, #2b1840 54%, #6a31cf 100%);
}

.mayoreo-portada::after {
    position: absolute;
    right: -8rem;
    bottom: -15rem;
    width: 38rem;
    height: 38rem;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    content: "";
}

.mayoreo-portada__brillo {
    position: absolute;
    inset: 0;
    opacity: .2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%);
    mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.mayoreo-portada__interior {
    position: relative;
    z-index: 1;
    padding-top: clamp(2rem, 5vw, 4.5rem);
    padding-bottom: clamp(3.5rem, 8vw, 7.5rem);
}

.mayoreo-migas {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
    margin-bottom: clamp(2.75rem, 7vw, 6.5rem);
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mayoreo-migas a {
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
}

.mayoreo-migas a:hover {
    color: #fff;
}

.mayoreo-portada__contenido {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(19rem, .75fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
}

.mayoreo-portada__contenido > div > p,
.mayoreo-encabezado p {
    margin: 0 0 .8rem;
    color: #b78dff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.mayoreo-portada h1 {
    max-width: 12ch;
    margin: 0 0 1.6rem;
    font-size: clamp(3.3rem, 8vw, 7.2rem);
    font-weight: 950;
    letter-spacing: -.07em;
    line-height: .87;
}

.mayoreo-portada h1 span {
    display: block;
    color: var(--mayoreo-lima);
}

.mayoreo-portada__contenido > div > div {
    max-width: 42rem;
    color: rgba(255, 255, 255, .7);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.75;
}

.mayoreo-portada aside {
    padding: 1.65rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.45rem;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 1.5rem 4rem rgba(9, 4, 16, .2);
    backdrop-filter: blur(15px);
}

.mayoreo-portada aside > span {
    display: block;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, .58);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.mayoreo-portada aside > div {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.mayoreo-portada aside strong {
    display: inline-flex;
    gap: .25rem;
    align-items: baseline;
    padding: .75rem .85rem;
    border-radius: .8rem;
    color: #1a1220;
    background: var(--mayoreo-lima);
    font-size: 1.15rem;
    line-height: 1;
}

.mayoreo-portada aside small {
    font-size: .6rem;
    text-transform: uppercase;
}

.mayoreo-portada aside p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: .86rem;
    line-height: 1.55;
}

.mayoreo-niveles {
    position: relative;
    z-index: 2;
    margin-top: -1.65rem;
}

.mayoreo-niveles__rejilla {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--mayoreo-borde);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 1.4rem 4rem rgba(42, 20, 60, .1);
}

.mayoreo-niveles article {
    position: relative;
    display: flex;
    gap: .7rem;
    align-items: center;
    min-width: 0;
    padding: 1.15rem;
    border-right: 1px solid var(--mayoreo-borde);
}

.mayoreo-niveles article:last-child {
    border-right: 0;
}

.mayoreo-niveles article > span {
    color: #d1c9d8;
    font-size: .7rem;
    font-weight: 900;
}

.mayoreo-niveles article small {
    display: block;
    margin-bottom: .15rem;
    color: var(--mayoreo-muted);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mayoreo-niveles article strong {
    display: block;
    font-size: .93rem;
    white-space: nowrap;
}

.mayoreo-niveles article em {
    position: absolute;
    top: .55rem;
    right: .55rem;
    padding: .23rem .42rem;
    border-radius: 10rem;
    color: #fff;
    background: var(--mayoreo-violeta);
    font-size: .55rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mayoreo-niveles article.is-current {
    color: #fff;
    background: var(--mayoreo-tinta);
}

.mayoreo-niveles article.is-current > span,
.mayoreo-niveles article.is-current small {
    color: rgba(255, 255, 255, .55);
}

.mayoreo-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 25rem);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(5rem, 9vw, 9rem);
}

.mayoreo-encabezado {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1.6rem;
}

.mayoreo-encabezado h2 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    letter-spacing: -.055em;
    line-height: .95;
}

.mayoreo-encabezado > span {
    color: var(--mayoreo-muted);
    font-size: .8rem;
    font-weight: 800;
}

.mayoreo-productos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mayoreo-producto {
    overflow: hidden;
    border: 1px solid var(--mayoreo-borde);
    border-radius: 1.35rem;
    background: #fff;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.mayoreo-producto:hover {
    transform: translateY(-3px);
    border-color: #d8c7e8;
    box-shadow: 0 1.5rem 3.5rem rgba(56, 30, 74, .1);
}

.mayoreo-producto__imagen {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / .9;
    background:
        linear-gradient(145deg, #f7f2fa, #eee8f2);
}

.mayoreo-producto__imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.mayoreo-producto:hover .mayoreo-producto__imagen img {
    transform: scale(1.035);
}

.mayoreo-producto__imagen > span,
.mayoreo-producto__imagen > strong {
    position: absolute;
    top: .8rem;
    left: .8rem;
    padding: .45rem .65rem;
    border-radius: 10rem;
    color: #fff;
    background: rgba(24, 18, 29, .88);
    font-size: .61rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.mayoreo-producto__imagen > strong {
    right: .8rem;
    left: auto;
    background: #b1293c;
}

.mayoreo-producto__contenido {
    padding: 1.2rem;
}

.mayoreo-producto__contenido h3 {
    margin: 0 0 1rem;
    font-size: 1.12rem;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.mayoreo-producto__contenido h3 a {
    color: inherit;
    text-decoration: none;
}

.mayoreo-producto__base {
    display: flex;
    gap: .8rem;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0;
    border-top: 1px solid var(--mayoreo-borde);
    border-bottom: 1px solid var(--mayoreo-borde);
}

.mayoreo-producto__base span {
    color: var(--mayoreo-muted);
    font-size: .74rem;
}

.mayoreo-producto__base strong {
    font-size: .95rem;
}

.mayoreo-producto__escalas {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .28rem;
    margin: .85rem 0;
}

.mayoreo-producto__escalas div {
    min-width: 0;
    padding: .45rem .18rem;
    border-radius: .45rem;
    text-align: center;
    background: var(--mayoreo-fondo);
}

.mayoreo-producto__escalas span,
.mayoreo-producto__escalas strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mayoreo-producto__escalas span {
    color: var(--mayoreo-violeta-oscuro);
    font-size: .58rem;
    font-weight: 900;
}

.mayoreo-producto__escalas strong {
    margin-top: .2rem;
    font-size: clamp(.55rem, .85vw, .7rem);
    white-space: nowrap;
}

.mayoreo-producto__entrega {
    margin: .8rem 0;
    color: var(--mayoreo-muted);
    font-size: .7rem;
    line-height: 1.45;
}

.mayoreo-producto__agregar {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: .55rem;
    margin-top: 1rem;
}

.mayoreo-producto__agregar label span,
.mayoreo-checkout label span,
.mayoreo-carrito__lineas label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.mayoreo-producto__agregar input,
.mayoreo-carrito__lineas input,
.mayoreo-checkout input,
.mayoreo-checkout textarea {
    width: 100%;
    border: 1px solid #ddd5e3;
    border-radius: .75rem;
    outline: 0;
    color: var(--mayoreo-tinta);
    background: #fff;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.mayoreo-producto__agregar input {
    height: 3rem;
    padding: 0 .7rem;
}

.mayoreo-producto__agregar input:focus,
.mayoreo-carrito__lineas input:focus,
.mayoreo-checkout input:focus,
.mayoreo-checkout textarea:focus {
    border-color: var(--mayoreo-violeta);
    box-shadow: 0 0 0 3px rgba(129, 71, 232, .12);
}

.mayoreo-producto__agregar button,
.mayoreo-checkout button {
    display: flex;
    gap: .6rem;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border: 0;
    border-radius: .75rem;
    color: #fff;
    background: var(--mayoreo-tinta);
    font-weight: 900;
    cursor: pointer;
    transition:
        transform .18s ease,
        background .18s ease;
}

.mayoreo-producto__agregar button:hover,
.mayoreo-checkout button:hover {
    transform: translateY(-1px);
    background: var(--mayoreo-violeta-oscuro);
}

.mayoreo-producto__agregar button:disabled {
    color: #9b949f;
    background: #eeeaf0;
    cursor: not-allowed;
    transform: none;
}

.mayoreo-producto__agregar button span {
    font-size: 1.25rem;
    line-height: 1;
}

.mayoreo-carrito {
    position: sticky;
    top: 1rem;
    overflow: hidden;
    border: 1px solid var(--mayoreo-borde);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 1.5rem 4.5rem rgba(54, 34, 67, .11);
}

.mayoreo-carrito > header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem;
    color: #fff;
    background: var(--mayoreo-tinta);
}

.mayoreo-carrito > header p,
.mayoreo-carrito > header h2 {
    margin: 0;
}

.mayoreo-carrito > header p {
    margin-bottom: .25rem;
    color: #b78dff;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mayoreo-carrito > header h2 {
    font-size: 1.35rem;
    letter-spacing: -.035em;
}

.mayoreo-carrito > header > strong {
    font-size: 1.55rem;
}

.mayoreo-carrito > header small {
    color: rgba(255, 255, 255, .55);
    font-size: .6rem;
    text-transform: uppercase;
}

.mayoreo-carrito__vacio {
    padding: 3.5rem 1.75rem;
    text-align: center;
}

.mayoreo-carrito__vacio > span {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    color: var(--mayoreo-violeta);
    background: #f0e8fb;
    font-size: 1.4rem;
}

.mayoreo-carrito__vacio h3 {
    margin: 0 0 .5rem;
    font-size: 1rem;
}

.mayoreo-carrito__vacio p {
    margin: 0;
    color: var(--mayoreo-muted);
    font-size: .8rem;
    line-height: 1.6;
}

.mayoreo-progreso {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--mayoreo-borde);
    background: #faf8fc;
}

.mayoreo-progreso__nivel,
.mayoreo-progreso__siguiente > div:first-child {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.mayoreo-progreso__nivel {
    margin-bottom: .9rem;
}

.mayoreo-progreso__nivel span,
.mayoreo-progreso__siguiente span {
    color: var(--mayoreo-muted);
    font-size: .68rem;
    font-weight: 800;
}

.mayoreo-progreso__nivel strong {
    padding: .35rem .55rem;
    border-radius: 10rem;
    color: #fff;
    background: var(--mayoreo-violeta);
    font-size: .68rem;
}

.mayoreo-progreso__faltan {
    color: var(--mayoreo-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.mayoreo-progreso__faltan strong {
    color: var(--mayoreo-violeta-oscuro);
}

.mayoreo-progreso__siguiente strong {
    font-size: .7rem;
}

.mayoreo-progreso__barra {
    overflow: hidden;
    height: .42rem;
    margin-top: .55rem;
    border-radius: 10rem;
    background: #e6ddeb;
}

.mayoreo-progreso__barra span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--mayoreo-violeta),
        #a764fa
    );
}

.mayoreo-carrito__lineas {
    padding: .4rem 1.25rem 0;
}

.mayoreo-carrito__lineas article {
    display: grid;
    grid-template-columns: 2.65rem minmax(0, 1fr) 3.5rem auto;
    gap: .55rem;
    align-items: center;
    padding: .85rem 0;
    border-bottom: 1px solid var(--mayoreo-borde);
}

.mayoreo-carrito__lineas img {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: .6rem;
    object-fit: cover;
    background: var(--mayoreo-fondo);
}

.mayoreo-carrito__lineas h3,
.mayoreo-carrito__lineas p {
    margin: 0;
}

.mayoreo-carrito__lineas h3 {
    overflow: hidden;
    font-size: .72rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mayoreo-carrito__lineas p {
    margin-top: .2rem;
    color: var(--mayoreo-muted);
    font-size: .6rem;
}

.mayoreo-carrito__lineas input {
    height: 2.2rem;
    padding: 0 .4rem;
    font-size: .72rem;
}

.mayoreo-carrito__lineas article > strong {
    font-size: .7rem;
    text-align: right;
}

.mayoreo-carrito__lineas > button,
.mayoreo-carrito__vaciar button {
    border: 0;
    color: var(--mayoreo-violeta-oscuro);
    background: transparent;
    font-size: .66rem;
    font-weight: 900;
    text-decoration: underline;
    cursor: pointer;
}

.mayoreo-carrito__lineas > button {
    display: block;
    margin: .8rem 0 0 auto;
}

.mayoreo-carrito__vaciar {
    padding: 0 1.25rem .85rem;
    text-align: right;
}

.mayoreo-carrito__vaciar button {
    color: #9b4150;
}

.mayoreo-carrito__totales {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--mayoreo-borde);
    border-bottom: 1px solid var(--mayoreo-borde);
    background: #faf8fb;
}

.mayoreo-carrito__totales > div {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .55rem;
    color: var(--mayoreo-muted);
    font-size: .75rem;
}

.mayoreo-carrito__totales > div:last-child {
    margin-bottom: 0;
}

.mayoreo-carrito__totales strong,
.mayoreo-carrito__totales del {
    color: var(--mayoreo-tinta);
}

.mayoreo-carrito__totales .is-saving strong {
    color: var(--mayoreo-verde);
}

.mayoreo-carrito__totales .is-total {
    margin: .9rem 0;
    padding-top: .9rem;
    border-top: 1px solid var(--mayoreo-borde);
    color: var(--mayoreo-tinta);
    font-size: 1rem;
    font-weight: 900;
}

.mayoreo-carrito__totales .is-total strong {
    font-size: 1.4rem;
    letter-spacing: -.04em;
}

.mayoreo-checkout {
    display: grid;
    gap: .75rem;
    padding: 1.25rem;
}

.mayoreo-checkout h3 {
    margin: 0 0 .2rem;
    font-size: .9rem;
}

.mayoreo-checkout label {
    display: block;
}

.mayoreo-checkout input,
.mayoreo-checkout textarea {
    padding: .75rem .8rem;
    font-size: .76rem;
    resize: vertical;
}

.mayoreo-checkout input {
    height: 2.8rem;
}

.mayoreo-checkout button {
    margin-top: .2rem;
    background: var(--mayoreo-violeta);
}

.mayoreo-checkout small {
    color: var(--mayoreo-muted);
    font-size: .62rem;
    text-align: center;
}

.mayoreo-carrito__bloqueado {
    padding: 1.2rem 1.35rem;
    color: #835b26;
    background: #fff9e8;
    font-size: .75rem;
    font-weight: 750;
    line-height: 1.5;
}

.mayoreo-aviso,
.mayoreo-error {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    border: 1px solid #b9e4d0;
    border-radius: .9rem;
    color: #17613f;
    background: #f0fbf6;
    font-size: .83rem;
}

.mayoreo-error {
    border-color: #f0c5cc;
    color: #8a2434;
    background: #fff3f5;
}

.mayoreo-error ul {
    margin: .4rem 0 0;
    padding-left: 1.2rem;
}

.mayoreo-no-disponible {
    padding: clamp(5rem, 12vw, 10rem) 0;
    text-align: center;
    background: var(--mayoreo-fondo);
}

.mayoreo-no-disponible .contenedor {
    max-width: 47rem;
}

.mayoreo-no-disponible .contenedor > span {
    color: #ddd3e5;
    font-size: clamp(5rem, 13vw, 10rem);
    font-weight: 950;
    letter-spacing: -.08em;
    line-height: .8;
}

.mayoreo-no-disponible p {
    margin: 2rem 0 .6rem;
    color: var(--mayoreo-violeta);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.mayoreo-no-disponible h2 {
    margin: 0 auto 1rem;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -.055em;
    line-height: 1;
}

.mayoreo-no-disponible .contenedor > div {
    color: var(--mayoreo-muted);
    line-height: 1.65;
}

.mayoreo-no-disponible a {
    display: inline-flex;
    gap: .7rem;
    align-items: center;
    margin-top: 1.6rem;
    padding: .9rem 1.15rem;
    border-radius: .8rem;
    color: #fff;
    background: var(--mayoreo-tinta);
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
}

.mayoreo-exito {
    padding: 1.4rem 0;
    color: #fff;
    background: #116c48;
}

.mayoreo-exito__interior {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.mayoreo-exito__icono {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    font-size: 1.2rem;
}

.mayoreo-exito p,
.mayoreo-exito h1 {
    margin: 0;
}

.mayoreo-exito p {
    margin-bottom: .2rem;
    color: rgba(255, 255, 255, .65);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mayoreo-exito h1 {
    font-size: 1.35rem;
}

.mayoreo-exito__interior > div > span {
    color: rgba(255, 255, 255, .72);
    font-size: .74rem;
}

.mayoreo-exito__interior a {
    display: inline-flex;
    gap: .7rem;
    align-items: center;
    padding: .85rem 1rem;
    border-radius: .75rem;
    color: #116c48;
    background: #fff;
    font-size: .78rem;
    font-weight: 900;
    text-decoration: none;
}

.mayoreo-exito__resumen {
    display: grid;
    gap: .45rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.mayoreo-exito__resumen div {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, .72);
    font-size: .73rem;
}

.mayoreo-exito__resumen .is-total {
    color: #fff;
    font-size: .86rem;
}

/*
 * Información de mayoreo dentro de las tarjetas de preventas.
 */
.preventa-tarjeta__insignias .is-mayoreo {
    color: #17131d;
    background: var(--mayoreo-lima);
}

.pagina-preventas .preventa-tarjeta__mayoreo {
    position: relative;
    overflow: hidden;
    margin: 1rem 0 0;
    padding: 1rem;
    border: 1px solid #e1d5f4;
    border-radius: 1rem;
    color: #21172a;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(137, 76, 232, .13),
            transparent 11rem
        ),
        linear-gradient(145deg, #fbf9ff 0%, #f6f0ff 100%);
    box-shadow: 0 10px 28px rgba(67, 36, 104, .07);
}

.pagina-preventas .preventa-tarjeta__mayoreo::before {
    position: absolute;
    top: 0;
    left: 1rem;
    width: 3.4rem;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #7441db, #a96ef2);
    content: "";
}

.pagina-preventas .preventa-tarjeta__mayoreo > header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.pagina-preventas .preventa-tarjeta__mayoreo > header span,
.pagina-preventas .preventa-tarjeta__mayoreo > header strong {
    display: block;
}

.pagina-preventas .preventa-tarjeta__mayoreo > header span {
    margin-bottom: .25rem;
    color: #7441db;
    font-size: .59rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pagina-preventas .preventa-tarjeta__mayoreo > header strong {
    max-width: 25rem;
    color: #21172a;
    font-size: .76rem;
    line-height: 1.4;
}

.pagina-preventas .preventa-tarjeta__mayoreo > header > small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.7rem;
    padding: .25rem .55rem;
    border: 1px solid #ddcff2;
    border-radius: 10rem;
    color: #68429c;
    background: rgba(255, 255, 255, .82);
    font-size: .55rem;
    font-weight: 900;
    white-space: nowrap;
}

.pagina-preventas .preventa-tarjeta__mayoreo > div {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .42rem;
    margin-top: .85rem;
}

.pagina-preventas .preventa-tarjeta__mayoreo > div > span {
    position: relative;
    min-width: 0;
    padding: .58rem .25rem .55rem;
    border: 1px solid #e4daef;
    border-radius: .7rem;
    text-align: center;
    background: rgba(255, 255, 255, .9);
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.pagina-preventas .preventa-tarjeta__mayoreo > div > span:hover {
    border-color: #bd9de9;
    box-shadow: 0 7px 18px rgba(83, 42, 135, .09);
    transform: translateY(-2px);
}

.pagina-preventas .preventa-tarjeta__mayoreo > div small,
.pagina-preventas .preventa-tarjeta__mayoreo > div strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pagina-preventas .preventa-tarjeta__mayoreo > div small {
    color: #83778d;
    font-size: .51rem;
    font-weight: 750;
}

.pagina-preventas .preventa-tarjeta__mayoreo > div strong {
    margin-top: .26rem;
    color: #24172c;
    font-size: .66rem;
    font-weight: 900;
}

.pagina-preventas .preventa-tarjeta__mayoreo > form {
    display: grid;
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: .55rem;
    align-items: end;
    margin-top: .8rem;
    padding-top: .8rem;
    border-top: 1px solid #e5dced;
}

.pagina-preventas .preventa-tarjeta__mayoreo > form label {
    display: grid;
    gap: .32rem;
}

.pagina-preventas .preventa-tarjeta__mayoreo > form label > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    color: #756980;
    font-size: .53rem;
    font-weight: 850;
    letter-spacing: .05em;
    line-height: 1;
    text-transform: uppercase;
    white-space: normal;
}

.pagina-preventas .preventa-tarjeta__mayoreo > form input,
.pagina-preventas .preventa-tarjeta__mayoreo > form button {
    width: 100%;
    min-height: 2.7rem;
    border-radius: .72rem;
    font: inherit;
}

.pagina-preventas .preventa-tarjeta__mayoreo > form input {
    padding: 0 .65rem;
    border: 1px solid #d9cde3;
    outline: 0;
    color: #18131d;
    background: #fff;
    font-size: .76rem;
    font-weight: 800;
}

.pagina-preventas .preventa-tarjeta__mayoreo > form input:focus {
    border-color: #8a56dc;
    box-shadow: 0 0 0 3px rgba(126, 72, 232, .13);
}

.pagina-preventas .preventa-tarjeta__mayoreo > form button {
    display: flex;
    gap: .8rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 .9rem;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #6d39d0, #8d55e7);
    box-shadow: 0 9px 20px rgba(106, 57, 200, .2);
    font-size: .66rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.pagina-preventas .preventa-tarjeta__mayoreo > form button > span {
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    font-size: .9rem;
    line-height: 1;
    place-items: center;
}

.pagina-preventas .preventa-tarjeta__mayoreo > form button:hover {
    box-shadow: 0 12px 25px rgba(106, 57, 200, .28);
    filter: brightness(1.04);
    transform: translateY(-2px);
}

.pagina-preventas .preventa-tarjeta__mayoreo > form button:focus-visible {
    outline: 3px solid rgba(126, 72, 232, .28);
    outline-offset: 2px;
}

.pagina-preventas .preventa-tarjeta--destacada
    .preventa-tarjeta__mayoreo {
    max-width: 31rem;
}

.pagina-preventas .preventa-tarjeta--destacada
    .preventa-tarjeta__mayoreo > header strong {
    font-size: .8rem;
}

.pagina-preventas .preventa-tarjeta--destacada
    .preventa-tarjeta__mayoreo > div strong {
    font-size: .7rem;
}

.mayoreo-carrito-flotante {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 120;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(430px, calc(100% - 40px));
    padding: 13px 14px 13px 17px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 17px;
    color: #fff;
    background:
        radial-gradient(
            circle at 95% 0,
            rgba(166, 96, 255, .38),
            transparent 12rem
        ),
        #19131f;
    box-shadow: 0 22px 55px rgba(24, 15, 32, .3);
    backdrop-filter: blur(14px);
}

.mayoreo-carrito-flotante > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.mayoreo-carrito-flotante > div > span {
    color: #c9a2f8;
    font-size: .53rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mayoreo-carrito-flotante > div > strong {
    font-size: 1.02rem;
    letter-spacing: -.025em;
}

.mayoreo-carrito-flotante > div > small {
    overflow: hidden;
    color: rgba(255, 255, 255, .58);
    font-size: .59rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mayoreo-carrito-flotante > a {
    display: inline-flex;
    min-height: 42px;
    gap: 14px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 10px;
    color: #18131d;
    background: var(--mayoreo-lima);
    font-size: .65rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

/*
 * Acceso al mayoreo dentro del listado público de preventas.
 */
.preventas-mayoreo {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            circle at 80% 0,
            rgba(173, 116, 255, .5),
            transparent 23rem
        ),
        #1b1421;
}

.preventas-mayoreo::after {
    position: absolute;
    top: -8rem;
    right: 8%;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.preventas-mayoreo__interior {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(17rem, .8fr) auto;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    padding-top: clamp(2.2rem, 5vw, 4rem);
    padding-bottom: clamp(2.2rem, 5vw, 4rem);
}

.preventas-mayoreo__contenido > span {
    display: inline-flex;
    margin-bottom: .85rem;
    padding: .38rem .55rem;
    border-radius: 10rem;
    color: #1a1220;
    background: var(--mayoreo-lima);
    font-size: .62rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.preventas-mayoreo h2 {
    max-width: 15ch;
    margin: 0 0 .7rem;
    font-size: clamp(2rem, 4.3vw, 4rem);
    letter-spacing: -.06em;
    line-height: .95;
}

.preventas-mayoreo__contenido p {
    max-width: 40rem;
    margin: 0;
    color: rgba(255, 255, 255, .65);
    line-height: 1.65;
}

.preventas-mayoreo__cantidades {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.preventas-mayoreo__cantidades span {
    display: grid;
    min-width: 3.5rem;
    min-height: 3.5rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: .8rem;
    color: var(--mayoreo-lima);
    background: rgba(255, 255, 255, .07);
    font-size: .95rem;
    font-weight: 950;
}

.preventas-mayoreo__cantidades small {
    margin-left: .1rem;
    color: rgba(255, 255, 255, .5);
    font-size: .5rem;
    text-transform: uppercase;
}

.preventas-mayoreo__accion {
    display: inline-flex;
    gap: .7rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.15rem;
    border-radius: .8rem;
    color: #1a1220;
    background: #fff;
    font-size: .8rem;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform .18s ease,
        background .18s ease;
}

.preventas-mayoreo__accion:hover {
    transform: translateY(-2px);
    background: var(--mayoreo-lima);
}

@media (max-width: 1100px) {
    .mayoreo-area {
        grid-template-columns: minmax(0, 1fr) 21rem;
    }

    .mayoreo-productos {
        grid-template-columns: minmax(0, 1fr);
    }

    .mayoreo-niveles__rejilla {
        grid-template-columns: repeat(5, minmax(9.5rem, 1fr));
        overflow-x: auto;
    }

    .preventas-mayoreo__interior {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .preventas-mayoreo__cantidades {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 820px) {
    .mayoreo-portada__contenido,
    .mayoreo-area {
        grid-template-columns: minmax(0, 1fr);
    }

    .mayoreo-portada__contenido {
        gap: 2.5rem;
    }

    .mayoreo-portada h1 {
        max-width: 10ch;
    }

    .mayoreo-carrito {
        position: static;
    }

    .mayoreo-catalogo {
        min-width: 0;
    }

    .mayoreo-exito__interior {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .mayoreo-exito__interior a {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .preventas-mayoreo__interior {
        grid-template-columns: minmax(0, 1fr);
    }

    .preventas-mayoreo__cantidades {
        grid-column: auto;
        grid-row: auto;
    }

    .preventas-mayoreo__accion {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .mayoreo-portada__interior {
        padding-top: 1.5rem;
        padding-bottom: 4rem;
    }

    .mayoreo-migas {
        margin-bottom: 3.5rem;
    }

    .mayoreo-portada h1 {
        font-size: clamp(3.25rem, 18vw, 5.2rem);
    }

    .mayoreo-portada aside {
        padding: 1.2rem;
    }

    .mayoreo-niveles {
        margin-top: -1.1rem;
    }

    .mayoreo-niveles__rejilla {
        border-radius: 1rem;
    }

    .mayoreo-area {
        padding-top: 3.5rem;
    }

    .mayoreo-encabezado {
        display: block;
    }

    .mayoreo-encabezado > span {
        display: block;
        margin-top: .75rem;
    }

    .mayoreo-producto__contenido {
        padding: 1rem;
    }

    .mayoreo-producto__escalas {
        overflow-x: auto;
        grid-template-columns: repeat(5, minmax(3.5rem, 1fr));
    }

    .mayoreo-carrito__lineas article {
        grid-template-columns: 2.65rem minmax(0, 1fr) 3.5rem;
    }

    .mayoreo-carrito__lineas article > strong {
        grid-column: 2 / -1;
    }

    .mayoreo-exito__icono {
        width: 2.5rem;
        height: 2.5rem;
    }

    .mayoreo-exito h1 {
        font-size: 1.05rem;
    }

    .preventas-mayoreo__cantidades span {
        min-width: 3rem;
        min-height: 3rem;
    }

    .pagina-preventas .preventa-tarjeta__mayoreo {
        padding: .9rem;
    }

    .pagina-preventas .preventa-tarjeta__mayoreo > header {
        align-items: flex-start;
    }

    .pagina-preventas .preventa-tarjeta__mayoreo > header > small {
        min-height: 1.55rem;
        padding-inline: .45rem;
    }

    .pagina-preventas .preventa-tarjeta__mayoreo > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pagina-preventas .preventa-tarjeta__mayoreo > div > span:last-child {
        grid-column: 1 / -1;
    }

    .pagina-preventas .preventa-tarjeta__mayoreo > div small {
        font-size: .58rem;
    }

    .pagina-preventas .preventa-tarjeta__mayoreo > div strong {
        font-size: .76rem;
    }

    .pagina-preventas .preventa-tarjeta__mayoreo > form {
        grid-template-columns: 4.8rem minmax(0, 1fr);
    }

    .pagina-preventas .preventa-tarjeta__mayoreo > form button {
        padding-inline: .72rem;
        font-size: .62rem;
    }

    .mayoreo-carrito-flotante {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mayoreo-producto,
    .mayoreo-producto__imagen img,
    .mayoreo-producto__agregar button,
    .mayoreo-checkout button,
    .preventas-mayoreo__accion {
        transition: none;
    }
}