/* =====================================================================
   PROMOCIONES · /promocion
   Todo va dentro de #ch-promo para no chocar con el resto del sitio.
   ===================================================================== */
#ch-promo {
    --ch-cream: #F8F6F3;
    --ch-sand: #EDE9E2;
    --ch-card: #E8E4DF;
    --ch-black: #111;
    --ch-mid: rgba(17,17,17,.45);
    --ch-red: #B91C1C;
    --ch-font: 'Plus Jakarta Sans', sans-serif;
    font-family: var(--ch-font);
    color: var(--ch-black);
    background: #fff;
    overflow: hidden;
}

    #ch-promo *, #ch-promo ::before, #ch-promo ::after {
        box-sizing: border-box;
    }

    #ch-promo a {
        color: inherit;
        text-decoration: none;
    }

    #ch-promo .pimg img,
    #ch-promo .fan-card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #ch-promo a:focus-visible, #ch-promo button:focus-visible {
        outline: 2px solid var(--ch-red);
        outline-offset: 3px;
    }

    /* Sin promociones */
    #ch-promo .chp-empty {
        margin: 40px 22px;
        padding: 18px 20px;
        border-radius: 10px;
        background: rgba(185,28,28,.08);
        color: var(--ch-red);
        font-size: 14px;
        font-weight: 600;
        text-align: center;
    }

    /* ---------- Ticker ---------- */
    #ch-promo .ticker {
        background: #0D0D0D;
        overflow: hidden;
        padding: 10px 0;
    }

    #ch-promo .ticker-t {
        display: flex;
        animation: chp-mrq 24s linear infinite;
        white-space: nowrap;
        width: max-content;
    }

    #ch-promo .ti {
        flex-shrink: 0;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: rgba(248,246,243,.65);
        padding: 0 22px;
    }

@keyframes chp-mrq {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Bandas (roja / negra) ---------- */
#ch-promo .reb {
    background: var(--ch-red);
    position: relative;
    overflow: hidden;
    padding: 36px 22px;
}

#ch-promo .reb-ghost {
    position: absolute;
    right: -4px;
    bottom: -16px;
    font-size: 105px;
    font-weight: 600;
    color: rgba(255,255,255,.05);
    line-height: 1;
    pointer-events: none;
}

#ch-promo .reb-tag {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 7px;
    font-weight: 500;
}

#ch-promo .reb-h {
    font-size: 38px;
    font-weight: 600;
    color: #fff;
    line-height: .94;
    letter-spacing: -.025em;
    margin-bottom: 14px;
}

    #ch-promo .reb-h em {
        font-style: italic;
    }

#ch-promo .reb-p {
    font-size: 13px;
    color: rgba(255,255,255,.72);
    line-height: 1.55;
    margin-bottom: 16px;
}

#ch-promo .reb-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

#ch-promo .reb-btn {
    display: inline-block;
    background: #fff;
    color: var(--ch-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 8px;
    transition: background .2s, transform .15s, box-shadow .2s;
}

    #ch-promo .reb-btn:hover {
        background: rgba(255,255,255,.9);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,.18);
    }

    #ch-promo .reb-btn.ghost {
        background: transparent;
        color: #fff;
        box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45);
    }

        #ch-promo .reb-btn.ghost:hover {
            background: rgba(255,255,255,.1);
        }

#ch-promo .reb.dark {
    background: var(--ch-black);
}

    #ch-promo .reb.dark .reb-ghost {
        color: rgba(255,255,255,.06);
    }

    #ch-promo .reb.dark .reb-h em {
        color: #E8C9C9;
    }

    #ch-promo .reb.dark .reb-btn:not(.ghost) {
        color: var(--ch-black);
    }

/* ---------- Encabezados de sección ---------- */
#ch-promo .sec {
    padding-bottom: 36px;
}

    #ch-promo .sec.cream {
        background: var(--ch-cream);
    }

    #ch-promo .sec.white {
        background: #fff;
    }

#ch-promo .sp {
    padding: 42px 22px 0;
}

#ch-promo .slbl {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ch-mid);
    font-weight: 500;
    margin-bottom: 8px;
}

#ch-promo .sh {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.022em;
    line-height: 1.05;
    color: var(--ch-black);
    margin-bottom: 18px;
}

/* ---------- Tarjetas (la imagen ya trae precio y texto: va completa 2:3) ---------- */
#ch-promo .pcard {
    display: block;
    min-width: 0;
}

#ch-promo .pimg {
    aspect-ratio: 2/3;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ch-card);
    transition: transform .3s, box-shadow .3s;
}

    #ch-promo .pimg img {
        object-position: center top;
        transition: transform .4s;
    }

#ch-promo .pcard:hover .pimg {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.14);
}

    #ch-promo .pcard:hover .pimg img {
        transform: scale(1.05);
    }

#ch-promo .aname {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ch-black);
    margin-top: 10px;
}

#ch-promo .asub {
    display: block;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ch-mid);
    font-weight: 500;
    margin-top: 4px;
}

/* ---------- Carrusel nativo + modo "Ver todas" ---------- */
#ch-promo .rail-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 22px;
    margin-bottom: 14px;
}

#ch-promo .rail-count {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ch-mid);
    font-variant-numeric: tabular-nums;
}

    #ch-promo .rail-count b {
        color: var(--ch-black);
    }

#ch-promo .rail-ctrls {
    display: flex;
    align-items: center;
    gap: 8px;
}

#ch-promo .rail-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(17,17,17,.2);
    background: rgba(255,255,255,.5);
    font-family: var(--ch-font);
    font-size: 20px;
    line-height: 1;
    color: var(--ch-black);
    cursor: pointer;
    display: none;
    place-items: center;
    padding: 0;
    transition: border-color .2s, opacity .2s;
}

    #ch-promo .rail-arrow:hover {
        border-color: var(--ch-black);
    }

    #ch-promo .rail-arrow:disabled {
        opacity: .3;
        cursor: default;
    }

#ch-promo .rail-mode {
    font-family: var(--ch-font);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ch-black);
    background: rgba(255,255,255,.5);
    border: 1.5px solid rgba(17,17,17,.2);
    border-radius: 8px;
    padding: 11px 14px;
    cursor: pointer;
    transition: border-color .2s;
}

    #ch-promo .rail-mode:hover {
        border-color: var(--ch-black);
    }

#ch-promo .track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 22px;
    padding: 4px 22px 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

    #ch-promo .track::-webkit-scrollbar {
        display: none;
    }

    #ch-promo .track .pcard {
        flex: 0 0 68%;
        max-width: 280px;
        scroll-snap-align: start;
    }

#ch-promo .rail-prog {
    height: 2px;
    background: rgba(17,17,17,.1);
    margin: 4px 22px 0;
    border-radius: 2px;
    overflow: hidden;
}

    #ch-promo .rail-prog span {
        display: block;
        height: 100%;
        width: 0;
        background: var(--ch-black);
        transition: width .25s;
    }

#ch-promo .rail.is-grid .track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
    overflow: visible;
    scroll-snap-type: none;
}

    #ch-promo .rail.is-grid .track .pcard {
        max-width: none;
    }

#ch-promo .rail.is-grid .rail-arrow,
#ch-promo .rail.is-grid .rail-prog,
#ch-promo .rail.is-grid .rail-count {
    visibility: hidden;
}

/* ---------- CTA al catálogo completo ---------- */
#ch-promo .cat-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 36px 22px 0;
    padding: 30px 24px 0;
    background: var(--ch-sand);
    color: var(--ch-black);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform .3s, box-shadow .3s;
}

    #ch-promo .cat-cta:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 36px rgba(0,0,0,.12);
    }

#ch-promo .cat-cta-h {
    font-size: 38px;
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.025em;
    margin-bottom: 22px;
}

    #ch-promo .cat-cta-h em {
        font-style: italic;
    }

#ch-promo .cat-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ch-black);
    color: #fff;
    border-radius: 8px;
    padding: 15px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: gap .2s;
}

    #ch-promo .cat-cta-btn svg {
        width: 16px;
        height: 16px;
    }

#ch-promo .cat-cta:hover .cat-cta-btn {
    gap: 18px;
}

#ch-promo .cat-cta-fan {
    position: relative;
    height: 190px;
}

#ch-promo .fan-card {
    position: absolute;
    bottom: -30px;
    width: 42%;
    max-width: 150px;
    aspect-ratio: 2/3;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ch-card);
    box-shadow: 0 10px 28px rgba(0,0,0,.16);
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
}

    #ch-promo .fan-card:nth-child(1) {
        left: 6%;
        transform: rotate(-12deg);
    }

    #ch-promo .fan-card:nth-child(2) {
        left: 29%;
        transform: translateY(-18px);
        z-index: 2;
    }

    #ch-promo .fan-card:nth-child(3) {
        left: 52%;
        transform: rotate(12deg);
    }

#ch-promo .cat-cta:hover .fan-card:nth-child(1) {
    transform: rotate(-17deg) translateX(-10px);
}

#ch-promo .cat-cta:hover .fan-card:nth-child(2) {
    transform: translateY(-30px);
}

#ch-promo .cat-cta:hover .fan-card:nth-child(3) {
    transform: rotate(17deg) translateX(10px);
}

/* =====================================================================
   BLOQUE 1 · Solo por unos días (PromoPrincipal)
   ===================================================================== */
#ch-promo .flash {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 34px 22px 40px;
    background: var(--ch-cream);
    position: relative;
    overflow: hidden;
}

    #ch-promo .flash::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 4px;
        background: var(--ch-red);
    }

#ch-promo .flash-txt {
    min-width: 0;
}

#ch-promo .flash-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(185,28,28,.08);
    color: var(--ch-red);
    border-radius: 999px;
    padding: 8px 14px 8px 11px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

    #ch-promo .flash-pill svg {
        width: 15px;
        height: 15px;
        animation: chp-tick 1s steps(2) infinite;
    }

@keyframes chp-tick {
    50% {
        transform: rotate(8deg);
    }
}

#ch-promo .flash-h {
    font-size: 44px;
    font-weight: 600;
    line-height: .94;
    letter-spacing: -.03em;
    margin-bottom: 12px;
}

    #ch-promo .flash-h em {
        font-style: italic;
        color: var(--ch-red);
    }

#ch-promo .flash-p {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(17,17,17,.62);
    max-width: 34ch;
    margin-bottom: 4px;
}

    #ch-promo .flash-p b {
        color: var(--ch-black);
        font-weight: 700;
    }

#ch-promo .flash-name {
    font-size: 15px;
    font-weight: 700;
    margin-top: 14px;
    min-height: 1.25em;
}

/* Contador */
#ch-promo .flash-count {
    margin-top: 16px;
}

#ch-promo .fc-lbl {
    display: block;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--ch-mid);
    margin-bottom: 8px;
}

#ch-promo .fc-row {
    display: flex;
    gap: 8px;
}

#ch-promo .fc-box {
    min-width: 58px;
    padding: 10px 8px 8px;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid rgba(17,17,17,.08);
    text-align: center;
}

    #ch-promo .fc-box b {
        display: block;
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    #ch-promo .fc-box span {
        display: block;
        font-size: 9px;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--ch-mid);
        font-weight: 500;
        margin-top: 5px;
    }

/* Botón ligado a la promo centrada */
#ch-promo .flash-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    background: var(--ch-red);
    color: #fff;
    border-radius: 8px;
    padding: 15px 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: gap .2s, transform .15s, box-shadow .2s;
}

    #ch-promo .flash-btn svg {
        width: 16px;
        height: 16px;
    }

    #ch-promo .flash-btn:hover {
        gap: 18px;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(185,28,28,.3);
        color: #fff;
    }

    #ch-promo .flash-btn.flash-btn-m {
        display: none;
    }

/* Fotos */
#ch-promo .flash-items {
    position: relative;
    min-width: 0;
}

#ch-promo .flash-card {
    display: block;
    min-width: 0;
    outline: none;
}

    #ch-promo .flash-card .pimg {
        position: relative;
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(17,17,17,.16);
    }

    #ch-promo .flash-card:hover .pimg img {
        transform: scale(1.05);
    }

#ch-promo .flash-items.n1 .flash-card {
    max-width: 420px;
    margin: 0 auto;
}

/* Sello rojo: fijo sobre el bloque, no se mueve con el slider */
#ch-promo .flash-stamp {
    position: absolute;
    z-index: 3;
    top: -16px;
    right: -8px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--ch-red);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.25;
    transform: rotate(12deg);
    box-shadow: 0 0 0 4px var(--ch-cream), 0 10px 24px rgba(185,28,28,.35);
    animation: chp-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

    #ch-promo .flash-stamp b {
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .02em;
    }

@keyframes chp-pulse {
    0%, 100% {
        transform: rotate(12deg) scale(1);
    }

    50% {
        transform: rotate(12deg) scale(1.06);
    }
}

/* Slick en center mode (solo cuando hay más de una promo) */
    #ch-promo .flash-items.is-slider .flash-card {
        padding: 0 8px 18px;
        transform: scale(.86);
        opacity: .45;
        transition: transform .45s ease, opacity .45s ease;
    }

        #ch-promo .flash-items.is-slider .flash-card.slick-center {
            transform: scale(1);
            opacity: 1;
        }

#ch-promo .flash-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 6px;
}

#ch-promo .flash-items.is-slider + .flash-nav {
    display: flex;
}

#ch-promo .flash-nav .rail-arrow {
    display: grid;
}

#ch-promo .flash-dots .slick-dots {
    position: static;
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    #ch-promo .flash-dots .slick-dots li {
        width: auto;
        height: auto;
        margin: 0;
    }

        #ch-promo .flash-dots .slick-dots li button {
            width: 8px;
            height: 8px;
            padding: 0;
            border: 0;
            border-radius: 99px;
            background: rgba(17,17,17,.2);
            font-size: 0;
            cursor: pointer;
            transition: width .25s, background .25s;
        }

            #ch-promo .flash-dots .slick-dots li button::before {
                display: none;
            }

        #ch-promo .flash-dots .slick-dots li.slick-active button {
            width: 22px;
            background: var(--ch-red);
        }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 767px) {
    #ch-promo .flash-txt .flash-btn {
        display: none;
    }

    #ch-promo .flash-btn.flash-btn-m {
        display: flex;
        justify-content: center;
        margin-top: 6px;
    }

    #ch-promo .flash-items.n1 .flash-card {
        max-width: none;
    }

    #ch-promo .flash-stamp {
        width: 84px;
        height: 84px;
        top: -46px;
        right: -6px;
        font-size: 9px;
    }

        #ch-promo .flash-stamp b {
            font-size: 11.5px;
        }
}

@media (min-width: 768px) {
    #ch-promo .reb {
        display: flex;
        align-items: center;
        padding: 52px 80px;
    }

    #ch-promo .reb-left-d {
        flex-shrink: 0;
    }

    #ch-promo .reb-right-d {
        margin-left: auto;
        max-width: 380px;
    }

    #ch-promo .reb-h {
        font-size: clamp(44px, 4.5vw, 70px);
        margin-bottom: 10px;
    }

    #ch-promo .sp {
        padding: 64px 80px 0;
    }

    #ch-promo .sh {
        font-size: clamp(36px, 3.5vw, 52px);
        line-height: 1;
        margin-bottom: 14px;
    }

    #ch-promo .sec {
        padding-bottom: 64px;
    }

    #ch-promo .rail-bar {
        padding: 0 80px;
    }

    #ch-promo .rail-arrow {
        display: grid;
    }

    #ch-promo .track {
        gap: 20px;
        padding: 4px 80px 22px;
        scroll-padding: 0 80px;
    }

        #ch-promo .track .pcard {
            flex: 0 0 280px;
        }

    #ch-promo .rail-prog {
        margin: 4px 80px 0;
    }

    #ch-promo .rail.is-grid .track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 20px;
    }

    #ch-promo .cat-cta {
        grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
        align-items: center;
        margin: 48px 80px 0;
        padding: 56px 0 0 64px;
    }

    #ch-promo .cat-cta-txt {
        padding-bottom: 56px;
    }

    #ch-promo .cat-cta-h {
        font-size: clamp(44px, 4.5vw, 64px);
    }

    #ch-promo .cat-cta-fan {
        height: 300px;
        align-self: end;
    }

    #ch-promo .fan-card {
        max-width: 180px;
        bottom: -40px;
    }

    #ch-promo .flash {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        align-items: center;
        gap: 64px;
        padding: 64px 80px 72px;
    }

    #ch-promo .flash-h {
        font-size: clamp(52px, 5.5vw, 84px);
    }

    #ch-promo .flash-p {
        font-size: 15px;
    }

    #ch-promo .flash-items.n1 .flash-card {
        margin: 0;
        max-width: 440px;
    }

    #ch-promo .flash-items.is-slider .flash-card {
        max-width: none;
    }

    #ch-promo .flash-stamp {
        top: -30px;
        right: -30px;
        width: 110px;
        height: 110px;
        font-size: 11px;
    }

        #ch-promo .flash-stamp b {
            font-size: 15px;
        }
}

@media (min-width: 1100px) {
    #ch-promo .rail.is-grid .track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    #ch-promo .ticker-t,
    #ch-promo .flash-pill svg,
    #ch-promo .flash-stamp {
        animation: none;
    }

    #ch-promo .pimg,
    #ch-promo .pimg img,
    #ch-promo .flash-items.is-slider .flash-card {
        transition: none;
    }
}
