/* Premium Experience System (PEX) — shared tokens & components */

:root {
    --pex-motion-max: 24px;
    --pex-motion-duration: 0.65s;
    --pex-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pex-tier-pad-primary: clamp(4.5rem, 11vw, 8rem);
    --pex-tier-pad-secondary: clamp(3rem, 7vw, 5rem);
    --pex-tier-pad-resource: clamp(2rem, 5vw, 3rem);
    --pex-cream: #faf9f7;
    --pex-cream-muted: rgba(250, 249, 247, 0.72);
    --pex-gold: #c5a059;
    --pex-gold-light: #d4b876;
    --pex-resource-bg: rgba(255, 255, 255, 0.03);
    --pex-resource-border: rgba(255, 255, 255, 0.08);
    --pex-hero-night-overlay: rgba(4, 4, 8, 0.72);
    --pex-hero-glow: 0 0 80px rgba(197, 160, 89, 0.45), 0 0 160px rgba(197, 160, 89, 0.2);
}

.pex-tier--primary {
    padding-block: var(--pex-tier-pad-primary);
}

.pex-tier--secondary {
    padding-block: var(--pex-tier-pad-secondary);
}

.pex-tier--resource {
    padding-block: var(--pex-tier-pad-resource);
    background: var(--pex-resource-bg);
    border-block: 1px solid var(--pex-resource-border);
}

.pex-reveal {
    opacity: 0;
    transform: translateY(var(--pex-motion-max));
    transition:
        opacity var(--pex-motion-duration) var(--pex-motion-ease),
        transform var(--pex-motion-duration) var(--pex-motion-ease);
}

.pex-reveal.pex-reveal-visible,
.pex-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .pex-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.pex-hero {
    position: relative;
    min-height: min(92vh, 920px);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--pex-cream);
}

.pex-hero__media {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.pex-hero__media img,
.pex-hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pex-hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.35) 0%, rgba(8, 8, 10, 0.55) 55%, rgba(8, 8, 10, 0.82) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.pex-hero--night .pex-hero__vignette {
    background: linear-gradient(180deg, rgba(2, 2, 6, 0.55) 0%, rgba(2, 2, 6, 0.78) 100%);
}

.pex-hero--night .pex-hero__media img,
.pex-hero--night .pex-hero__media video {
    filter: brightness(0.42) saturate(0.9);
}

.pex-hero--night .pex-hero__glow-ring {
    opacity: 1;
}

.pex-hero__glow-ring {
    position: absolute;
    inset: 18% 28%;
    z-index: 1;
    border-radius: 4px;
    box-shadow: var(--pex-hero-glow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.pex-hero__copy {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 42rem;
    padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem);
}

.pex-hero__display {
    font-family: var(--led-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(2rem, 5.5vw, 3.35rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 1.75rem;
}

.pex-hero__cta {
    margin-bottom: 1.25rem;
}

.pex-hero__trust {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--pex-cream-muted);
}

.pex-hero__night-toggle {
    position: absolute;
    top: clamp(1rem, 3vw, 1.75rem);
    right: clamp(1rem, 3vw, 1.75rem);
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 8, 10, 0.45);
    color: var(--pex-cream);
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.pex-hero__night-toggle[aria-pressed="true"] {
    border-color: var(--pex-gold);
    color: var(--pex-gold-light);
}

.pex-hero__night-toggle svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

.pex-why-exists {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

@media (min-width: 900px) {
    .pex-why-exists {
        grid-template-columns: 1fr 1fr;
    }
}

.pex-why-exists__headline {
    font-family: var(--led-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.pex-why-exists__body {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--pex-cream-muted);
}

.pex-why-exists__media {
    margin: 0;
    border-radius: 2px;
    overflow: hidden;
}

.pex-why-exists__media img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.pex-cinematic {
    position: relative;
}

.pex-cinematic__intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.pex-cinematic__beat {
    min-height: min(85vh, 780px);
    display: grid;
    align-content: center;
    gap: 1.5rem;
    padding-block: clamp(2rem, 6vw, 4rem);
}

.pex-cinematic__beat-media {
    margin: 0;
    max-height: min(70vh, 640px);
    overflow: hidden;
}

.pex-cinematic__beat-media img {
    width: 100%;
    height: 100%;
    max-height: min(70vh, 640px);
    object-fit: cover;
    display: block;
}

.pex-cinematic__beat-copy {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.pex-cinematic__beat-sentence {
    font-family: var(--led-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    color: var(--pex-cream);
}

.pex-editorial-story {
    max-width: 960px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    text-align: center;
}

.pex-editorial-story__title {
    font-family: var(--led-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    margin: 0.75rem 0 1.25rem;
    color: inherit;
}

.pex-editorial-story__quote {
    font-family: var(--led-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.5rem, 3.5vw, 2.15rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
    margin: 0 0 2rem;
    color: inherit;
}

.pex-editorial-story__photo {
    margin: 0 0 1.75rem;
    border-radius: 2px;
    overflow: hidden;
}

.pex-editorial-story__photo img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.pex-editorial-story__body {
    max-width: 32rem;
    margin: 0 auto 1.75rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: inherit;
    opacity: 0.82;
}

.pex-tech-hero {
    min-height: min(88vh, 820px);
    display: grid;
    align-content: end;
    position: relative;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.pex-tech-hero__media {
    position: absolute;
    inset: 0;
    margin: 0;
}

.pex-tech-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pex-tech-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(8, 8, 10, 0.88) 100%);
}

.pex-tech-hero__copy {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 6vw, 4rem);
    max-width: 640px;
}

.pex-tech-hero__sentence {
    font-family: var(--led-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.pex-tech-supporting {
    max-width: 780px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    display: grid;
    gap: clamp(2.5rem, 6vw, 4rem);
}

.pex-tech-supporting__item {
    display: grid;
    gap: 1rem;
}

.pex-tech-supporting__item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 2px;
}

.pex-tech-supporting__sentence {
    font-family: var(--led-font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    margin: 0;
    text-align: center;
    color: var(--pex-cream-muted);
}

.pex-resource-zone {
    max-width: 720px;
    margin: clamp(2rem, 5vw, 3rem) auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.pex-resource-zone > summary {
    cursor: pointer;
    list-style: none;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--pex-resource-border);
}

.pex-resource-zone > summary::-webkit-details-marker {
    display: none;
}

.pex-resource-zone__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pex-gold);
    margin-bottom: 0.35rem;
}

.pex-resource-zone__title {
    display: block;
    font-size: 0.95rem;
    color: var(--pex-cream-muted);
}

.pex-resource-zone__body {
    padding: 0 0 2rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(250, 249, 247, 0.55);
}

.pex-resource-zone__body h2,
.pex-resource-zone__body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(250, 249, 247, 0.72);
}

.pex-resource-zone__guide-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pex-gold);
    margin: 0 0 1.25rem;
}

.pex-sticky__panel {
    display: none;
    align-items: center;
    gap: 0.65rem 1rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.pex-sticky__panel.is-active {
    display: flex;
}

.pex-sticky__rating,
.pex-sticky__delivery,
.pex-sticky__label,
.pex-sticky__added {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(250, 249, 247, 0.65);
    white-space: nowrap;
}

.pex-sticky__added {
    color: var(--pex-gold-light);
}

@media (max-width: 640px) {
    /* Keep Buy Now in one horizontal row — column stack hid Process Order under overlays */
    .pex-sticky__panel.is-active {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.45rem;
    }

    .pex-sticky__panel--design.is-active .pex-sticky__label,
    .pex-sticky__panel--design.is-active .pex-sticky__rating {
        display: none;
    }

    .pex-sticky__panel--design.is-active .led-sticky-price {
        flex: 0 1 auto;
        min-width: 0;
    }

    .pex-sticky__panel--design.is-active #led-sticky-buy {
        flex: 1 1 auto;
        min-width: 7.5rem;
        max-width: none;
        order: 2;
    }

    .pex-sticky__panel--design.is-active #led-sticky-whatsapp {
        flex: 0 0 auto;
        order: 3;
    }
}

footer.led-sticky-bar.pex-sticky {
    flex-direction: column;
    align-items: stretch;
}

footer.led-sticky-bar.pex-sticky .led-sticky-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

footer.led-sticky-bar.pex-sticky .led-sticky-price .amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pex-cream);
}

footer.led-sticky-bar.pex-sticky .led-sticky-price .mrp {
    font-size: 0.75rem;
    text-decoration: line-through;
    color: rgba(250, 249, 247, 0.45);
}

.pex-chapter--experience .pex-why-exists__headline,
.pex-chapter--experience .pex-why-exists__body {
    color: var(--pex-cream);
}

.led-chapter--experience .pex-why-exists__body {
    color: var(--pex-cream-muted);
}

.pex-resource-factory {
    padding-top: 0;
    background: transparent;
}

.pex-resource-factory .led-section-title {
    font-size: 1rem;
}
