/*
 * EXX Store — pagina «in arrivo» (templates/coming-soon.php). Unico foglio della pagina: niente CSS del negozio.
 * Caratteri e colori arrivano dalla Vetrina (variabili --color-*, --font-*, --heading-* stampate prima di questo foglio);
 * i valori dopo la virgola sono quelli di EXX, per quando la Vetrina non li dà. Fondo scuro come il piè di pagina del negozio.
 */

.exx-coming-soon {
    --cs-accent: var(--color-accent, #c94256);
    --cs-muted: rgb(255 255 255 / .74);
    --cs-line: rgb(255 255 255 / .28);
    --cs-gutter: clamp(20px, 5vw, 64px);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #000; }

body.exx-coming-soon {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: var(--font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.exx-cs {
    display: grid;
    align-items: center;
    padding: clamp(32px, 6vh, 80px) var(--cs-gutter) clamp(24px, 4vh, 48px);
}

.exx-cs__inner {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.exx-cs__logo { margin: 0; }
.exx-cs__logo-image { display: block; width: clamp(200px, 24vw, 320px); height: auto; }

.exx-cs__eyebrow {
    margin: clamp(28px, 5vh, 48px) 0 0;
    color: var(--cs-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.exx-cs__title {
    margin: 14px 0 0;
    font-family: var(--font-heading, "Archivo", "Inter", system-ui, sans-serif);
    font-size: clamp(42px, 7.2vw, 108px);
    font-stretch: var(--heading-stretch, 75%);
    font-weight: 800;
    letter-spacing: .01em;
    line-height: .94;
    text-transform: var(--heading-transform, uppercase);
    text-wrap: balance;
}

/* *parola* del titolo: il pennello rosso del logo EXX ci passa sopra, come nei titoli del negozio */
.exx-cs__title .heading-mark { position: relative; isolation: isolate; color: inherit; font-style: normal; white-space: nowrap; }
.exx-cs__title .heading-mark::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    left: -4%;
    right: -4%;
    height: .16em;
    background: var(--cs-accent);
    -webkit-mask: url("../img/black-friday/brush.svg") center / 100% 100% no-repeat;
    mask: url("../img/black-friday/brush.svg") center / 100% 100% no-repeat;
    transform: translateY(-50%) rotate(-2deg);
    pointer-events: none;
}

.exx-cs__text {
    max-width: 560px;
    margin: clamp(20px, 3vh, 28px) 0 0;
    color: var(--cs-muted);
    font-size: clamp(15px, 1.3vw, 17px);
}

.exx-cs__actions { margin: clamp(28px, 5vh, 40px) 0 0; max-width: 100%; }

/* Il pulsante chiaro dei fondi scuri del negozio (.button--light della Vetrina); a capo sui telefoni */
.exx-cs__shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    max-width: 100%;
    padding: 14px 28px;
    border: 1px solid #fff;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.35;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.exx-cs__shop:hover { border-color: var(--cs-accent); background: var(--cs-accent); color: #fff; }

.exx-cs__social { margin: clamp(28px, 5vh, 48px) 0 0; }
.exx-cs__social-label {
    margin: 0 0 12px;
    color: var(--cs-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.exx-cs__social-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.exx-cs__social-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 18px 8px 14px;
    border: 1px solid var(--cs-line);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}
.exx-cs__social-list a:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.exx-cs__social-list .icon { flex: none; }

.exx-cs a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.exx-cs-footer { padding: 0 var(--cs-gutter) 24px; color: rgb(255 255 255 / .6); font-size: 12px; letter-spacing: .04em; text-align: center; }
.exx-cs-footer p { margin: 0; }

@media (max-width: 599px) {
    .exx-cs__shop { width: 100%; padding-inline: 20px; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
    .exx-cs__shop,
    .exx-cs__social-list a { transition: none; }
}
