/**
 * SNT Jeans - Black Friday campaign skin.
 * Keeps the regular white site and adds black/gold accents.
 * Everything is scoped to body.snt-bf, added by inc/campaign-blackfriday.php
 * only while the campaign is active.
 */

body.snt-bf {
    --bf-black: #0b0b0b;
    --bf-gold: #d4af37;
    --bf-gold-light: #f3d77a;
}

/* --- Promo bar: black with a gold shine passing over it --- */
body.snt-bf #snt-header > div:first-child {
    position: relative;
    overflow: hidden;
    background: var(--bf-black);
    color: #fff;
}
body.snt-bf #snt-header > div:first-child::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 35%, rgba(243, 215, 122, .35) 50%, transparent 65%);
    background-size: 250% 100%;
    animation: snt-bf-shine 5s linear infinite;
    pointer-events: none;
}

/* --- Header: gold line --- */
body.snt-bf #snt-header { box-shadow: 0 2px 0 var(--bf-gold); }

/* --- Texts and badges --- */
body.snt-bf .section-subtitle,
body.snt-bf .snt-season-label { color: #9a7a14; }
body.snt-bf .snt-sale-badge {
    background: var(--bf-black) !important;
    color: var(--bf-gold-light) !important;
}
body.snt-bf .snt-hero-swiper .swiper-pagination-bullet-active { background: var(--bf-black); }

/* --- Promo bar countdown-free, product badge: "-26%" in black/gold --- */
body.snt-bf .snt-sale-badge { letter-spacing: 0 !important; box-shadow: 0 0 0 1px rgba(212, 175, 55, .55); }

/* --- Shared countdown --- */
.snt-bf-cd { display: inline-flex; gap: 8px; }
.snt-bf-cd__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    padding: 10px 8px 8px;
    border: 1px solid rgba(212, 175, 55, .45);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01));
}
.snt-bf-cd__unit b {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: var(--bf-gold-light);
    font-variant-numeric: tabular-nums;
}
.snt-bf-cd__unit span {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}
.snt-bf-cd--sm .snt-bf-cd__unit { min-width: 50px; padding: 7px 6px 6px; border-radius: 8px; }
.snt-bf-cd--sm .snt-bf-cd__unit b { font-size: 22px; }
.snt-bf-cd--sm .snt-bf-cd__unit span { font-size: 9px; }

/* --- Home section --- */
.snt-bf-home__hero {
    position: relative;
    overflow: hidden;
    padding: 48px 16px 40px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 60% 70% at 50% 0%, rgba(212, 175, 55, .28), transparent 70%),
        radial-gradient(circle at 0% 100%, rgba(212, 175, 55, .14), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(212, 175, 55, .14), transparent 40%),
        var(--bf-black);
}
.snt-bf-home__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(243, 215, 122, .5) 1px, transparent 1.5px);
    background-size: 46px 46px;
    opacity: .12;
    pointer-events: none;
}
.snt-bf-home__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .06) 50%, transparent 60%);
    background-size: 250% 100%;
    animation: snt-bf-shine 7s linear infinite;
    pointer-events: none;
}
.snt-bf-home__inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.snt-bf-home__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}
.snt-bf-home__title {
    margin: 10px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(44px, 11vw, 120px);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.04em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff3c4 0%, var(--bf-gold-light) 30%, var(--bf-gold) 65%, #9c7a19 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 24px rgba(212, 175, 55, .25));
}
.snt-bf-home__lead { max-width: 560px; margin: 0 auto 24px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.snt-bf-home__lead strong { color: var(--bf-gold-light); }
.snt-bf-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 880px;
    margin: 30px auto 0;
}
@media (min-width: 768px) { .snt-bf-tiers { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.snt-bf-tier {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: end;
    column-gap: 4px;
    padding: 16px 10px 14px;
    border: 1px solid rgba(212, 175, 55, .5);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .02) 60%);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.snt-bf-tier:hover { transform: translateY(-3px); border-color: var(--bf-gold-light); box-shadow: 0 10px 30px rgba(212, 175, 55, .18); }
.snt-bf-tier__from {
    grid-column: 1 / -1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
}
.snt-bf-tier__pct {
    font-family: var(--font-display);
    font-size: clamp(38px, 8vw, 54px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--bf-gold-light);
}
.snt-bf-tier__off { padding-bottom: 6px; font-size: 14px; font-weight: 900; color: #fff; }
.snt-bf-tier__count {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
}
.snt-bf-home__picks { max-width: 1920px; margin: 0 auto; padding: 36px 0 12px; }
.snt-bf-home__picks-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding: 0 16px;
}
.snt-bf-home__all { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid var(--bf-gold); padding-bottom: 2px; white-space: nowrap; }
.snt-bf-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    gap: 10px;
    overflow-x: auto;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.snt-bf-rail::-webkit-scrollbar { display: none; }
.snt-bf-rail__item { scroll-snap-align: start; min-width: 0; }
@media (min-width: 768px) { .snt-bf-rail { grid-auto-columns: 30%; gap: 14px; } }
@media (min-width: 1024px) {
    .snt-bf-rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
}
.snt-bf-home__cta-wrap { display: flex; justify-content: center; padding: 22px 16px 8px; }
.snt-bf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 34px;
    border-radius: 8px;
    background: var(--bf-black);
    color: var(--bf-gold-light);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .6);
    transition: transform .2s ease, box-shadow .2s ease;
}
.snt-bf-btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--bf-gold-light), 0 8px 22px rgba(0, 0, 0, .2); }
@media (max-width: 640px) {
    .snt-bf-home__hero { padding: 36px 16px 30px; }
    .snt-bf-cd { gap: 6px; }
    .snt-bf-cd__unit { min-width: 58px; }
    .snt-bf-cd__unit b { font-size: 26px; }
    .snt-bf-home__lead { font-size: 14px; }
}

/* --- Ofertas page header --- */
.snt-bf-offers {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin: 6px 16px 16px;
    padding: 18px 20px;
    border-radius: 14px;
    color: #fff;
    background:
        radial-gradient(ellipse 50% 120% at 0% 0%, rgba(212, 175, 55, .3), transparent 70%),
        var(--bf-black);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .35);
}
@media (min-width: 1024px) { .snt-bf-offers { margin-left: 0; margin-right: 0; } }
.snt-bf-offers__text { display: flex; flex-direction: column; gap: 2px; }
.snt-bf-offers__eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.snt-bf-offers__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--bf-gold-light), var(--bf-gold) 60%, #a8841c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.snt-bf-offers__sub { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); }

/* --- Ofertas: tier chips and headings in black/gold --- */
.snt-tier-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 14px; scrollbar-width: none; }
@media (min-width: 1024px) { .snt-tier-chips { padding-left: 0; padding-right: 0; } }
.snt-tier-chips::-webkit-scrollbar { display: none; }
body.snt-bf .snt-tier-chip {
    flex-shrink: 0;
    padding: 7px 14px;
    border: 1.5px solid var(--bf-black);
    border-radius: 999px;
    color: var(--bf-black);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: background-color .2s, color .2s;
}
body.snt-bf .snt-tier-chip:hover,
body.snt-bf .snt-tier-chip.is-active { background: var(--bf-black); color: var(--bf-gold-light); }
body.snt-bf .snt-tier-heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 8px 8px;
    padding: 14px 18px;
    border-radius: 14px;
    background: radial-gradient(ellipse 40% 140% at 0% 50%, rgba(212, 175, 55, .3), transparent 70%), var(--bf-black);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .35);
}
body.snt-bf .snt-tier-heading:first-child { margin-top: 4px; }
body.snt-bf .snt-tier-heading__pct { display: flex; align-items: baseline; gap: 4px; flex-shrink: 0; line-height: 1; }
body.snt-bf .snt-tier-heading__from { align-self: center; margin-right: 2px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); opacity: .8; }
body.snt-bf .snt-tier-heading__num { font-family: var(--font-display); font-size: clamp(34px, 6vw, 52px); font-weight: 900; letter-spacing: -.04em; color: var(--bf-gold-light); }
body.snt-bf .snt-tier-heading__off { font-family: var(--font-display); font-size: clamp(16px, 2.6vw, 24px); font-weight: 900; color: #fff; }
body.snt-bf .snt-tier-heading__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-left: 16px; border-left: 1px solid rgba(212, 175, 55, .4); }
body.snt-bf .snt-tier-heading__eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--bf-gold-light); }
body.snt-bf .snt-tier-heading__meta { font-size: 13px; font-weight: 600; }
body.snt-bf .snt-tier-heading__cta { margin-left: auto; flex-shrink: 0; padding: 9px 16px; border-radius: 999px; background: var(--bf-gold); color: var(--bf-black); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 640px) {
    body.snt-bf .snt-tier-heading { flex-wrap: wrap; gap: 10px 14px; padding: 12px 14px; }
    body.snt-bf .snt-tier-heading__info { padding-left: 12px; }
    body.snt-bf .snt-tier-heading__meta { font-size: 12px; }
    body.snt-bf .snt-tier-heading__cta { margin-left: 0; width: 100%; text-align: center; }
}

@keyframes snt-bf-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }

@media (prefers-reduced-motion: reduce) {
    body.snt-bf #snt-header > div:first-child::after,
    .snt-bf-home__hero::after { animation: none; display: none; }
}
