/* ==========================================================================
   Limited Edition Shop — Frontend Styles
   Luxury minimal aesthetic.
   ========================================================================== */

/* ── Imports ───────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');

/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
    --le-black: #0a0a0a;
    --le-white: #faf9f7;
    --le-gold: #b8985a;
    --le-gold-light: #d4b97a;
    --le-overlay: rgba(10, 10, 10, 0.62);
    --le-serif: 'Cormorant Garamond', Georgia, serif;
    --le-sans: 'Jost', 'Helvetica Neue', sans-serif;
    --le-transition: 0.4s ease;
    --le-radius: 2px;
}

/* ── Global Reset (scoped) ─────────────────────────────────────────────────── */
.le-closed-wrapper *,
.le-shop-open * {
    box-sizing: border-box;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/*  OPEN STATE                                                                 */
/* ════════════════════════════════════════════════════════════════════════════ */

.le-shop-open {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

.le-shop-title {
    font-family: var(--le-serif);
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    color: var(--le-black);
    margin-bottom: 3rem;
}

.le-shop-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--le-gold);
    margin: 1rem auto 0;
}

.le-no-products {
    text-align: center;
    font-family: var(--le-sans);
    font-weight: 300;
    font-size: 1.05rem;
    color: #666;
    padding: 4rem 0;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/*  CLOSED STATE                                                               */
/* ════════════════════════════════════════════════════════════════════════════ */

.le-closed-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--le-black);
}

/* ── Hero Background ───────────────────────────────────────────────────────── */
.le-hero {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.le-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--le-overlay);
}

/* Subtle Ken-Burns on load */
.le-closed-wrapper:hover .le-hero {
    transform: scale(1.0);
}

/* ── Content Layer ─────────────────────────────────────────────────────────── */
.le-closed-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
}

/* ── Eye-brow label ──────────────────────────────────────────────────────────*/
.le-label {
    font-family: var(--le-sans);
    font-weight: 200;
    font-size: 0.7rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--le-gold);
    margin: 0;
}

/* ── Main heading ────────────────────────────────────────────────────────────*/
.le-message {
    font-family: var(--le-serif);
    font-weight: 300;
    font-size: clamp(2rem, 6vw, 4.2rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: var(--le-white);
    margin: 0;
    max-width: 760px;
}

.le-message em {
    font-style: italic;
    color: var(--le-gold-light);
}

/* ── Countdown ───────────────────────────────────────────────────────────────*/
.le-countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.le-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.le-value {
    font-family: var(--le-serif);
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1;
    color: var(--le-white);
    letter-spacing: -0.02em;
    transition: color var(--le-transition);
}

.le-unit-label {
    font-family: var(--le-sans);
    font-weight: 200;
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--le-gold);
    margin-top: 0.5rem;
}

.le-sep {
    font-family: var(--le-serif);
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--le-gold);
    line-height: 1.1;
    align-self: flex-start;
    margin-top: 0.1em;
    opacity: 0.6;
}

/* Tick animation */
@keyframes le-tick {
    0% {
        opacity: 1;
    }

    10% {
        opacity: 0.5;
    }

    20% {
        opacity: 1;
    }
}

.le-value.ticking {
    animation: le-tick 0.4s ease;
}

/* ── CTA Button ──────────────────────────────────────────────────────────────*/
.le-cta-btn {
    display: inline-block;
    font-family: var(--le-sans);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--le-black);
    background: var(--le-gold);
    padding: 1rem 2.8rem;
    border-radius: var(--le-radius);
    transition: background var(--le-transition), color var(--le-transition),
        transform var(--le-transition), box-shadow var(--le-transition);
    box-shadow: 0 4px 24px rgba(184, 152, 90, 0.25);
    margin-top: 0.5rem;
}

.le-cta-btn:hover,
.le-cta-btn:focus {
    background: var(--le-gold-light);
    color: var(--le-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(184, 152, 90, 0.35);
    outline: none;
}

.le-cta-btn:active {
    transform: translateY(0);
}

/* ── Decorative divider ──────────────────────────────────────────────────────*/
.le-closed-content::before {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--le-gold));
    margin-bottom: -0.5rem;
}

/* ════════════════════════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                                 */
/* ════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .le-unit {
        min-width: 60px;
    }

    .le-countdown {
        gap: 0.25rem;
    }

    .le-cta-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .le-unit {
        min-width: 48px;
    }

    .le-sep {
        display: none;
    }

    .le-countdown {
        gap: 1rem;
    }
}

/* ════════════════════════════════════════════════════════════════════════════ */
/*  ACCESSIBILITY                                                               */
/* ════════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {

    .le-hero,
    .le-closed-wrapper:hover .le-hero,
    .le-value.ticking {
        animation: none;
        transition: none;
        transform: none;
    }

    .le-cta-btn:hover,
    .le-cta-btn:focus {
        transform: none;
    }
}

/* ════════════════════════════════════════════════════════════════════════════ */
/*  CART CROSS-SELLS SPLIT SECTION                                             */
/* ════════════════════════════════════════════════════════════════════════════ */

.le-cart-cross-sells {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

/* ── Block (row) ─────────────────────────────────────────────────────────── */
.le-cart-cross-sells__block {
    margin-bottom: 3.5rem;
}

/* Section titles — match the "Real Stories of the Dresses" gold serif heading */
.le-cart-cross-sells__title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading, 'Cormorant Garamond', 'Playfair Display', Georgia, serif);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.08em;
    color: var(--color-accent, #b8860b);
    margin: 0 0 var(--spacing-md, 2.5rem);
    text-align: left;
    text-transform: none;
}

.le-cart-cross-sells__title::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 1px;
    background: var(--color-accent, #b8860b);
    opacity: 0.7;
}

/* Limited Edition title — identical treatment, the LE row context distinguishes it */
.le-cart-cross-sells__title--le {
    color: var(--color-accent, #b8860b);
}

.le-cart-cross-sells__title--le::after {
    display: none;
}

/* ── Product card grid ───────────────────────────────────────────────────── */
.le-cart-cross-sells__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

/* ── Individual card ─────────────────────────────────────────────────────── */
.le-ccs-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: 1px solid #f0ede8;
}

.le-ccs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.le-ccs-card__img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f3ef;
}

.le-ccs-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.le-ccs-card:hover .le-ccs-card__img img {
    transform: scale(1.04);
}

.le-ccs-card__info {
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.le-ccs-card__name {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #222;
    line-height: 1.3;
}

.le-ccs-card__price {
    font-size: 0.8rem;
    color: #555;
}

/* LE card gold accent border */
.le-ccs-card--le {
    border-color: rgba(184, 152, 90, 0.3);
}

/* ── Teaser (closed state) ───────────────────────────────────────────────── */
.le-cart-teaser {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(184, 152, 90, 0.25);
    border-radius: 4px;
    background: linear-gradient(135deg, #faf9f7 0%, #f5f0e8 100%);
}

.le-cart-teaser__msg {
    font-family: var(--le-serif, Georgia, serif);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.le-cart-teaser__btn {
    display: inline-block;
    font-family: var(--le-sans, sans-serif);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0a0a0a;
    background: var(--le-gold, #b8985a);
    padding: 0.85rem 2.2rem;
    border-radius: 2px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.le-cart-teaser__btn:hover {
    background: var(--le-gold-light, #d4b97a);
    transform: translateY(-2px);
    text-decoration: none;
    color: #0a0a0a;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .le-cart-cross-sells__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  LE CART REMOVED NOTICE — Premium editorial banner                        */
/* ══════════════════════════════════════════════════════════════════════════ */

@keyframes le-notice-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes le-diamond-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.le-cart-removed-notice {
    position: relative;
    margin: 0 0 2.5rem;
    padding: 1.5rem 1.75rem 1.5rem 1.5rem;
    background: #1a1a1a;
    border-left: 3px solid var(--le-gold, #b8985a);
    border-radius: 6px;
    text-align: left;
    animation: le-notice-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: hidden;
}

.le-cart-removed-notice::before,
.le-cart-removed-notice::after {
    display: none;
}

/* ── Decorative header (diamond + label) ─────────────────────────────────── */
.le-cart-removed-notice__deco {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.le-cart-removed-notice__diamond {
    font-size: 0.85rem;
    color: var(--le-gold, #b8985a);
    animation: le-diamond-pulse 3s ease-in-out infinite;
    display: inline-block;
    line-height: 1;
}

.le-cart-removed-notice__label {
    font-family: var(--le-sans, 'Jost', sans-serif);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--le-gold, #b8985a);
}

/* ── Content area ────────────────────────────────────────────────────────── */
.le-cart-removed-notice__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.le-cart-removed-notice__title {
    font-family: var(--le-serif, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: #fff;
    margin: 0 0 0.6rem;
}

.le-cart-removed-notice__rule {
    display: none;
}

.le-cart-removed-notice__msg {
    max-width: 52ch;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.1rem;
}

/* ── CTA Button ──────────────────────────────────────────────────────────── */
.le-cart-removed-notice__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.55rem 1.4rem;
    font-family: var(--le-sans, 'Jost', sans-serif);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--le-gold, #b8985a);
    border: 1px solid rgba(184, 134, 11, 0.45);
    border-radius: 2px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.le-cart-removed-notice__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--le-gold, #b8985a);
    transform: translateX(-101%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.le-cart-removed-notice__cta:hover {
    color: #fff;
    border-color: var(--le-gold, #b8985a);
    text-decoration: none;
}

.le-cart-removed-notice__cta:hover::before {
    transform: translateX(0);
}

/* ── Info toggle ──────────────────────────────────────────────────────────── */
.le-info-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 22px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(184,152,90,0.35);
    border-radius: 4px;
    font-family: var(--le-sans, 'Jost'), sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.25s, color 0.25s;
}

.le-info-toggle:hover {
    border-color: var(--le-gold, #b8985a);
    color: var(--le-gold, #b8985a);
}

.le-info-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.le-info-toggle[aria-expanded="true"] .le-info-chevron {
    transform: rotate(180deg);
}

.le-info-answer {
    max-width: 540px;
    margin: 14px auto 0;
    padding: 18px 22px;
    background: rgba(184,152,90,0.07);
    border-left: 2px solid var(--le-gold, #b8985a);
    border-radius: 0 4px 4px 0;
    color: rgba(255,255,255,0.75);
    font-family: var(--le-sans, 'Jost'), sans-serif;
    font-size: 0.88rem;
    line-height: 1.75;
    text-align: left;
}

/* ── Waitlist ─────────────────────────────────────────────────────────────── */
.le-waitlist {
    margin-top: 4px;
    text-align: center;
}

.le-waitlist-heading {
    margin: 0 0 6px;
    color: rgba(255,255,255,0.55);
    font-family: var(--le-sans, 'Jost'), sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.le-waitlist-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 0;
    color: var(--le-gold, #b8985a);
    font-family: var(--le-sans, 'Jost'), sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
}

.le-waitlist-toggle:hover {
    opacity: 0.75;
}

.le-waitlist-toggle__icon {
    font-size: 0.65rem;
}

.le-waitlist-form-wrap {
    margin-top: 8px;
}

.le-waitlist-form {
    display: flex;
    justify-content: center;
}

.le-waitlist-row {
    display: flex;
    gap: 0;
    max-width: 440px;
    width: 100%;
}

.le-waitlist-row input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(184,152,90,0.4);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #fff;
    font-family: var(--le-sans, 'Jost'), sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.25s;
}

.le-waitlist-row input[type="email"]::placeholder {
    color: rgba(255,255,255,0.35);
}

.le-waitlist-row input[type="email"]:focus {
    border-color: var(--le-gold, #b8985a);
    background: rgba(255,255,255,0.09);
}

.le-waitlist-row button[type="submit"] {
    padding: 12px 22px;
    background: var(--le-gold, #b8985a);
    border: 1px solid var(--le-gold, #b8985a);
    border-radius: 0 4px 4px 0;
    color: #0a0a0a;
    font-family: var(--le-sans, 'Jost'), sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s;
}

.le-waitlist-row button[type="submit"]:hover {
    background: #d4b97a;
    border-color: #d4b97a;
}

.le-waitlist-row button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.le-waitlist-note {
    margin: 10px 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    font-family: var(--le-sans, 'Jost'), sans-serif;
}

.le-waitlist-msg {
    margin-top: 10px;
    font-size: 0.82rem;
    font-family: var(--le-sans, 'Jost'), sans-serif;
    min-height: 1.2em;
}

.le-waitlist-msg.is-success { color: #6fcf97; }
.le-waitlist-msg.is-error   { color: #eb5757; }

@media (max-width: 480px) {
    .le-waitlist-row {
        flex-direction: column;
    }
    .le-waitlist-row input[type="email"] {
        border-right: 1px solid rgba(184,152,90,0.4);
        border-bottom: none;
        border-radius: 4px 4px 0 0;
    }
    .le-waitlist-row button[type="submit"] {
        border-radius: 0 0 4px 4px;
    }
}