/* Explain: Styles for the holiday pop-up, festive collections, and spotlight. */
.holiday-popup {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(0.85rem, 4vw, 2rem);
}

.holiday-popup.is-open {
    display: flex;
}

body.holiday-lock {
    overflow: hidden;
}

.holiday-popup-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 22%, rgba(217, 166, 169, 0.3), transparent 34rem),
        rgba(36, 33, 36, 0.82);
    backdrop-filter: blur(7px);
}

.holiday-card {
    position: relative;
    z-index: 1;
    width: min(100%, 33rem);
    max-height: calc(100vh - 2.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(201, 162, 39, 0.42);
    border-radius: var(--radius-large);
    background:
        radial-gradient(circle at 94% 0%, rgba(230, 201, 107, 0.4), transparent 15rem),
        radial-gradient(circle at 0% 100%, rgba(246, 214, 217, 0.52), transparent 16rem),
        linear-gradient(158deg, #fffdf8 0%, var(--warm-ivory) 52%, #fdf1ea 100%);
    box-shadow: 0 42px 90px rgba(20, 18, 20, 0.46);
    animation: holiday-rise 520ms cubic-bezier(0.22, 0.68, 0.3, 1) both;
}

.holiday-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 0.35rem;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft) 42%, var(--gold-color) 68%, var(--gold-deep));
}

.holiday-card-inner {
    position: relative;
    z-index: 2;
    padding: clamp(1.75rem, 5vw, 2.65rem);
    padding-top: clamp(2.4rem, 6vw, 3rem);
}

.holiday-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 4;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.94);
    color: var(--charcoal-ink);
    cursor: pointer;
    transition: all 240ms ease;
}

.holiday-close:hover,
.holiday-close:focus-visible {
    background: var(--gold-color);
    border-color: var(--gold-deep);
    color: #fffdf8;
    transform: rotate(90deg);
}

.holiday-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-deep);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.holiday-kicker i {
    color: var(--gold-color);
    font-size: 0.9rem;
}

.holiday-title {
    margin-top: 0.7rem;
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 6vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.92;
    color: var(--charcoal-ink);
}

.holiday-copy {
    margin-top: 1rem;
    color: var(--ink-soft);
    font-size: clamp(0.98rem, 2.2vw, 1.08rem);
    line-height: 1.6;
}

.holiday-copy strong {
    color: var(--gold-deep);
    font-weight: 900;
}

.holiday-code {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.15rem;
    border: 1px dashed rgba(201, 162, 39, 0.68);
    border-radius: 1rem;
    padding: 0.85rem 1.15rem;
    background: rgba(255, 253, 248, 0.88);
}

.holiday-code-label {
    color: var(--taupe-color);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.holiday-code-value {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 4vw, 1.7rem);
    letter-spacing: 0.14em;
    line-height: 1.1;
    color: var(--charcoal-ink);
}

.holiday-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.holiday-later {
    min-height: 44px;
    padding-inline: 0.4rem;
    border: none;
    background: none;
    color: var(--taupe-color);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 5px;
    cursor: pointer;
    transition: color 220ms ease;
}

.holiday-later:hover,
.holiday-later:focus-visible {
    color: var(--charcoal-ink);
}

.holiday-fineprint {
    margin-top: 1.1rem;
    color: var(--taupe-color);
    font-size: 0.82rem;
    line-height: 1.55;
}

.holiday-snow {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.holiday-snow span {
    position: absolute;
    top: -1rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #fffdf8;
    box-shadow: 0 0 7px rgba(230, 201, 107, 0.9);
    opacity: 0;
    animation: holiday-fall 10s linear infinite;
}

.holiday-snow span:nth-child(1) { left: 4%; animation-delay: 0s; animation-duration: 12s; }
.holiday-snow span:nth-child(2) { left: 13%; animation-delay: 2.4s; animation-duration: 9.5s; }
.holiday-snow span:nth-child(3) { left: 22%; animation-delay: 5.1s; animation-duration: 11s; }
.holiday-snow span:nth-child(4) { left: 31%; animation-delay: 1.2s; animation-duration: 10.2s; }
.holiday-snow span:nth-child(5) { left: 40%; animation-delay: 6.6s; animation-duration: 13s; }
.holiday-snow span:nth-child(6) { left: 49%; animation-delay: 3.4s; animation-duration: 9s; }
.holiday-snow span:nth-child(7) { left: 58%; animation-delay: 7.8s; animation-duration: 11.6s; }
.holiday-snow span:nth-child(8) { left: 67%; animation-delay: 0.9s; animation-duration: 10.6s; }
.holiday-snow span:nth-child(9) { left: 76%; animation-delay: 4.3s; animation-duration: 12.4s; }
.holiday-snow span:nth-child(10) { left: 84%; animation-delay: 8.2s; animation-duration: 9.8s; }
.holiday-snow span:nth-child(11) { left: 91%; animation-delay: 2.9s; animation-duration: 11.4s; }
.holiday-snow span:nth-child(12) { left: 96%; animation-delay: 6.1s; animation-duration: 10.8s; }

.holiday-snow span:nth-child(3n) {
    width: 4px;
    height: 4px;
}

.holiday-snow span:nth-child(4n) {
    width: 8px;
    height: 8px;
    background: rgba(230, 201, 107, 0.95);
}

@keyframes holiday-rise {
    from {
        opacity: 0;
        transform: translateY(2.2rem) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes holiday-fall {
    0% {
        transform: translateY(-1rem) translateX(0);
        opacity: 0;
    }

    14% {
        opacity: 0.92;
    }

    82% {
        opacity: 0.55;
    }

    100% {
        transform: translateY(34rem) translateX(1.4rem);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .holiday-card {
        animation: none;
    }

    .holiday-snow span {
        animation: none;
        opacity: 0.4;
        top: auto;
        bottom: 1rem;
    }

    .holiday-close:hover,
    .holiday-close:focus-visible {
        transform: none;
    }
}

/* Festive Collections — gold thread through the lookbook */
.lookbook-festive {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 4%, rgba(230, 201, 107, 0.34), transparent 26rem),
        radial-gradient(circle at 4% 96%, rgba(246, 214, 217, 0.52), transparent 24rem),
        linear-gradient(180deg, rgba(255, 248, 244, 0.16), rgba(246, 214, 217, 0.6));
}

.lookbook-festive .atelier-container {
    position: relative;
    z-index: 2;
}

.lookbook-festive .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--gold-deep);
}

.lookbook-festive .section-kicker i {
    color: var(--gold-color);
    font-size: 0.85rem;
}

.lookbook-festive .section-title {
    position: relative;
    padding-bottom: 1rem;
}

.lookbook-festive .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.3rem;
    width: min(9rem, 42%);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-color) 55%, transparent);
}

.lookbook-festive .collection-tile {
    border: 1px solid rgba(201, 162, 39, 0.42);
    box-shadow: 0 26px 66px rgba(140, 109, 31, 0.2);
}

.lookbook-festive .collection-overlay {
    z-index: 2;
    background: linear-gradient(180deg, rgba(36, 33, 36, 0) 34%, rgba(36, 33, 36, 0.9) 100%);
}

.lookbook-festive .collection-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(230, 201, 107, 0.42) 50%, transparent 70%);
    opacity: 0;
    transform: translateX(-80%);
    transition: opacity 320ms ease;
}

.lookbook-festive .collection-tile:hover::after,
.lookbook-festive .collection-tile:focus-within::after {
    opacity: 1;
    animation: festive-sheen 1100ms ease;
}

.lookbook-festive .collection-cta {
    border-color: rgba(230, 201, 107, 0.72);
}

.lookbook-festive .collection-cta:hover,
.lookbook-festive .collection-cta:focus-visible {
    background: var(--gold-soft);
    border-color: var(--gold-soft);
    color: var(--charcoal-ink);
}

.collection-ribbon {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(115deg, var(--gold-deep), var(--gold-color) 45%, var(--gold-soft));
    color: #fffdf8;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(140, 109, 31, 0.32);
}

.collection-ribbon i {
    font-size: 0.75rem;
}

.collection-snow {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.collection-snow span {
    position: absolute;
    top: -1.5rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #fffdf8;
    box-shadow: 0 0 8px rgba(230, 201, 107, 0.9);
    opacity: 0;
    animation: festive-drift 14s linear infinite;
}

.collection-snow span:nth-child(1) { left: 3%; animation-delay: 0s; animation-duration: 16s; }
.collection-snow span:nth-child(2) { left: 11%; animation-delay: 2.2s; animation-duration: 13s; }
.collection-snow span:nth-child(3) { left: 19%; animation-delay: 5.4s; animation-duration: 15s; }
.collection-snow span:nth-child(4) { left: 27%; animation-delay: 1.1s; animation-duration: 12.5s; }
.collection-snow span:nth-child(5) { left: 36%; animation-delay: 6.8s; animation-duration: 17s; }
.collection-snow span:nth-child(6) { left: 45%; animation-delay: 3.6s; animation-duration: 13.5s; }
.collection-snow span:nth-child(7) { left: 54%; animation-delay: 8.1s; animation-duration: 15.5s; }
.collection-snow span:nth-child(8) { left: 63%; animation-delay: 0.8s; animation-duration: 14.5s; }
.collection-snow span:nth-child(9) { left: 72%; animation-delay: 4.6s; animation-duration: 16.5s; }
.collection-snow span:nth-child(10) { left: 81%; animation-delay: 7.4s; animation-duration: 13s; }
.collection-snow span:nth-child(11) { left: 89%; animation-delay: 3.1s; animation-duration: 15.8s; }
.collection-snow span:nth-child(12) { left: 95%; animation-delay: 6.2s; animation-duration: 14.2s; }

.collection-snow span:nth-child(3n) {
    width: 4px;
    height: 4px;
}

.collection-snow span:nth-child(4n) {
    width: 8px;
    height: 8px;
    background: rgba(230, 201, 107, 0.95);
}

@keyframes festive-sheen {
    from {
        transform: translateX(-80%);
    }

    to {
        transform: translateX(80%);
    }
}

@keyframes festive-drift {
    0% {
        transform: translateY(-2rem) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.9;
    }

    85% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(64rem) translateX(2.5rem);
        opacity: 0;
    }
}

/* Father Kente — festive spotlight inside the Collections section */
.festive-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(1.25rem, 4vw, 3.5rem);
    align-items: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
    padding: clamp(1rem, 2.2vw, 1.65rem);
    border: 1px solid rgba(201, 162, 39, 0.42);
    border-radius: var(--radius-large);
    background:
        radial-gradient(circle at 96% 4%, rgba(230, 201, 107, 0.34), transparent 20rem),
        linear-gradient(150deg, #fffdf8 0%, rgba(255, 248, 244, 0.92) 55%, #fdf1ea 100%);
    box-shadow: 0 32px 78px rgba(140, 109, 31, 0.22);
}

.festive-spotlight-media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: calc(var(--radius-large) - 0.6rem);
    background: var(--powder-blush);
    box-shadow: 0 24px 56px rgba(140, 109, 31, 0.28);
}

.festive-spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 700ms ease;
}

.festive-spotlight:hover .festive-spotlight-media img {
    transform: scale(1.03);
}

.festive-spotlight-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    margin-bottom: 0;
}

.festive-spotlight-copy {
    padding-block: clamp(0.5rem, 2vw, 1.25rem);
    padding-right: clamp(0.25rem, 2vw, 1.5rem);
}

.festive-spotlight-title {
    margin-top: 0.7rem;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4.4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.94;
    color: var(--charcoal-ink);
}

.festive-spotlight-text {
    margin-top: 1rem;
    max-width: 34rem;
    color: var(--ink-soft);
    font-size: clamp(0.98rem, 1.7vw, 1.1rem);
    line-height: 1.6;
}

.festive-spotlight-text strong {
    color: var(--gold-deep);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.festive-spotlight-actions {
    margin-top: clamp(1.25rem, 3vw, 1.9rem);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 860px) {
    .festive-spotlight {
        grid-template-columns: 1fr;
    }

    .festive-spotlight-copy {
        padding-inline: clamp(0.25rem, 2vw, 1rem);
        padding-bottom: clamp(0.75rem, 3vw, 1.25rem);
    }

    .festive-spotlight-actions .atelier-btn {
        flex: 1 1 14rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .collection-snow span {
        animation: none;
        opacity: 0.35;
        top: auto;
        bottom: 1rem;
    }

    .lookbook-festive .collection-tile:hover::after,
    .lookbook-festive .collection-tile:focus-within::after {
        animation: none;
        opacity: 0.35;
    }

    .festive-spotlight:hover .festive-spotlight-media img {
        transform: none;
    }
}