/* ==========================================================================
   ZINZI — Blocchi ACF / Stile Streetwear Gen-Z
   Prefisso classi: .zb-  (Zinzi Blocks)
   ========================================================================== */

:root {
    --zb-ink: #0a0a0a;            /* titoli, elementi forti */
    --zb-ink-soft: #3a3a3a;       /* testo corpo — più leggibile del grigio piatto */
    --zb-muted: #767676;          /* meta / didascalie (contrasto AA) */
    --zb-kicker: #8a8a8a;         /* eyebrow/kicker discreto su fondo chiaro */
    --zb-line: #e0e0e0;
    --zb-paper: #ffffff;
    --zb-paper-2: #f0f0f0;
    --zb-paper-3: #e5e5e5;
    --zb-accent: #0a0a0a;        /* niente oro — solo black/white */
    --zb-accent-ink: #0a0a0a;
    --zb-accent-light: rgba(255,255,255,.7);
    --zb-maxw: 1320px;
    --zb-gap: clamp(16px, 2vw, 28px);
    --zb-pad-y: clamp(56px, 8vw, 120px);
    --zb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --zb-font-serif: 'Playfair Display', Georgia, serif;
    --zb-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Rendering tipografico nitido (riduce l'effetto "finto grassetto" percepito) */
.zb-section, .zb-hero, .zb-banner, .zb-shop-hero, .zb-promo-bar {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* ── Barra promo (sopra l'header) ── */
.zb-promo-bar {
    background: var(--zb-ink);
    color: rgba(255,255,255,.9);
    text-align: center;
    padding: 10px 16px;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--zb-font-sans);
}
.zb-promo-bar__sep {
    display: inline-block;
    margin-inline: 14px;
    opacity: .4;
}
@media (max-width: 600px) {
    .zb-promo-bar {
        font-size: 9px;
        letter-spacing: .1em;
        line-height: 1.8;
        padding: 8px 12px;
    }
    .zb-promo-bar__sep { margin-inline: 8px; }
}

/* ---------- Layout di base ---------- */
.zb-section {
    width: 100%;
    padding-block: var(--zb-pad-y);
    color: var(--zb-ink);
    font-family: var(--zb-font-sans);
}
.zb-section--tight { padding-block: clamp(36px, 5vw, 72px); }
.zb-section--paper-2 { background: var(--zb-paper-2); }
.zb-section--ink { background: var(--zb-ink); color: #fff; }

.zb-container {
    width: min(92%, var(--zb-maxw));
    margin-inline: auto;
}

/* ---------- Intestazione di sezione ---------- */
.zb-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: clamp(28px, 4vw, 56px);
}
.zb-head--center { align-items: center; text-align: center; }
.zb-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.zb-eyebrow {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--zb-kicker);
    font-weight: 600;
    margin: 0;
}
.zb-section--ink .zb-eyebrow { color: var(--zb-accent-light); }
/* Su fondi-foto scuri (hero/banner/shop) il kicker resta leggibile */
.zb-hero .zb-eyebrow,
.zb-banner .zb-eyebrow,
.zb-shop-hero .zb-eyebrow { color: rgba(255,255,255,.72); }
.zb-title {
    font-family: var(--zb-font-sans);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.025em;
    font-size: clamp(28px, 3.4vw, 52px);
    margin: 0;
    color: inherit;
}
.zb-lead {
    color: var(--zb-ink-soft);
    font-size: clamp(15px, 1.1vw, 18px);
    max-width: 56ch;
    margin: 0;
}
.zb-head--center .zb-lead { margin-inline: auto; }
.zb-section--ink .zb-lead { color: rgba(255,255,255,.65); }

/* ---------- Bottoni ---------- */
.zb-btn {
    --_bg: var(--zb-ink);
    --_fg: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--_fg);
    background: var(--_bg);
    border: 2px solid var(--_bg);
    border-radius: 0;
    cursor: pointer;
    transition: background .3s var(--zb-ease), color .3s var(--zb-ease), opacity .3s var(--zb-ease);
}
.zb-btn:hover { opacity: .82; color: var(--_fg); }
.zb-btn--ghost {
    --_bg: transparent;
    --_fg: var(--zb-ink);
    border-color: var(--zb-ink);
}
.zb-btn--ghost:hover { background: var(--zb-ink); color: #fff; opacity: 1; }
.zb-btn--light { --_bg: #fff; --_fg: var(--zb-ink); border-color: #fff; }
.zb-btn--ghost-light { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.6); }
.zb-btn--ghost-light:hover { background: #fff; color: var(--zb-ink); opacity: 1; }
.zb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--zb-ink);
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 3px;
    transition: gap .3s var(--zb-ease), opacity .3s;
}
.zb-link:hover { gap: 14px; opacity: .7; }

/* Placeholder neutro quando manca un'immagine */
.zb-ph {
    background: linear-gradient(135deg, var(--zb-paper-3) 0%, var(--zb-paper-2) 100%);
    position: relative;
}
.zb-ph::after {
    content: "ZINZI";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--zb-font-sans);
    font-weight: 800;
    letter-spacing: .35em;
    font-size: clamp(18px, 3vw, 34px);
    color: rgba(10,10,10,.08);
}

/* ==========================================================================
   HERO
   ========================================================================== */
@keyframes zb-hero-in {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.zb-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: var(--zb-hero-h, 100vh);
    padding-block: clamp(60px, 9vw, 120px);
    overflow: hidden;
}
.zb-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.zb-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--zb-hero-overlay, linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)));
}
.zb-hero--has-img { color: #fff; }
.zb-hero--no-img { background: var(--zb-ink); color: #fff; }
.zb-hero__inner {
    position: relative;
    z-index: 1;
    width: min(92%, var(--zb-maxw));
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 900px;
}
.zb-hero--center .zb-hero__inner { align-items: center; text-align: center; margin-inline: auto; max-width: 900px; }
.zb-hero--right .zb-hero__inner { margin-left: auto; text-align: right; align-items: flex-end; }
.zb-hero__inner > * {
    animation: zb-hero-in .85s var(--zb-ease) both;
}
.zb-hero__inner > *:nth-child(1) { animation-delay: .05s; }
.zb-hero__inner > *:nth-child(2) { animation-delay: .18s; }
.zb-hero__inner > *:nth-child(3) { animation-delay: .32s; }
.zb-hero__inner > *:nth-child(4) { animation-delay: .46s; }
.acf-block-preview .zb-hero__inner > * { animation: none; }

/* HERO TITLE — Inter 900 (Black), uppercase, impatto streetwear */
.zb-hero__title {
    font-family: var(--zb-font-sans);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.045em;
    font-size: clamp(30px, 10vw, 150px);
    margin: 0;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.zb-hero__subtitle {
    font-size: clamp(15px, 1.3vw, 20px);
    line-height: 1.65;
    max-width: 50ch;
    margin: 0;
    color: inherit;
    opacity: .9;
    font-weight: 300;
}
.zb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.zb-hero--center .zb-hero__actions { justify-content: center; }
.zb-hero--right .zb-hero__actions { justify-content: flex-end; }

/* ==========================================================================
   USP / vantaggi
   ========================================================================== */
.zb-usp__grid {
    display: grid;
    grid-template-columns: repeat(var(--zb-usp-cols, 3), 1fr);
    gap: var(--zb-gap);
}
.zb-usp__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(20px, 2vw, 30px) 0;
}
.zb-usp__grid--bordered .zb-usp__item { border-top: 2px solid var(--zb-ink); }
.zb-usp__icon { width: 24px; height: 24px; color: var(--zb-ink); }
.zb-usp__icon svg { width: 100%; height: 100%; }
.zb-usp__title { font-size: 15px; font-weight: 700; margin: 0; letter-spacing: .02em; text-transform: uppercase; }
.zb-usp__text { font-size: 14px; color: var(--zb-ink-soft); margin: 0; line-height: 1.6; }

/* ==========================================================================
   CATEGORIE
   ========================================================================== */
.zb-cats__grid {
    display: grid;
    grid-template-columns: repeat(var(--zb-cat-cols, 3), 1fr);
    gap: var(--zb-gap);
}
.zb-cat {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: var(--zb-ink);
}
.zb-cat__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--zb-ease);
    opacity: .85;
}
.zb-cat:hover .zb-cat__img { transform: scale(1.07); opacity: .7; }
.zb-cat__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.72) 100%);
}
.zb-cat__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: clamp(20px, 2.5vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1;
}
.zb-cat__name {
    font-family: var(--zb-font-sans);
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.zb-cat__desc { font-size: 13px; opacity: .8; margin: 0; }
.zb-cat__cta {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    transition: gap .3s var(--zb-ease);
}
.zb-cat:hover .zb-cat__cta { gap: 14px; }

/* ==========================================================================
   PRODOTTI (griglia + carosello)
   ========================================================================== */
.zb-prod__grid {
    display: grid;
    grid-template-columns: repeat(var(--zb-prod-cols, 4), 1fr);
    gap: var(--zb-gap);
}
.zb-prod__empty {
    text-align: center;
    color: var(--zb-muted);
    padding: 48px 0;
    font-size: 15px;
}

/* Product card */
.zb-card { display: flex; flex-direction: column; }
.zb-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--zb-paper-2);
    margin-bottom: 14px;
}
.zb-card__media-link { position: absolute; inset: 0; display: block; }
.zb-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .5s var(--zb-ease), transform 1.1s var(--zb-ease);
}
.zb-card__img--secondary { opacity: 0; }
.zb-card__media:hover .zb-card__img--primary { opacity: 0; }
.zb-card__media:hover .zb-card__img--secondary { opacity: 1; }
.zb-card__media:hover .zb-card__img { transform: scale(1.04); }

.zb-card__badges {
    position: absolute;
    top: 12px; left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.zb-badge {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 9px;
    background: #fff;
    color: var(--zb-ink);
}
.zb-badge--sale { background: var(--zb-ink); color: #fff; }

.zb-card__action {
    position: absolute;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s var(--zb-ease), transform .3s var(--zb-ease);
}
.zb-card__media:hover .zb-card__action { opacity: 1; transform: translateY(0); }
.zb-card__action .zb-card__btn,
.zb-card__action .button {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    color: var(--zb-ink);
    border: 0;
    padding: 12px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
}
.zb-card__action .button:hover { background: var(--zb-ink); color: #fff; }
@media (hover: none) {
    .zb-card__action { opacity: 1; transform: none; position: static; margin-top: 10px; }
}

.zb-card__info { display: flex; flex-direction: column; gap: 5px; }
.zb-card__cat {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--zb-muted);
    font-weight: 600;
}
.zb-card__cat a { color: inherit; text-decoration: none; }
.zb-card__title {
    font-family: var(--zb-font-sans);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.005em;
}
.zb-card__title a { color: var(--zb-ink); text-decoration: none; }
.zb-card__title a:hover { opacity: .65; }
.zb-card__price {
    font-size: 14px;
    color: var(--zb-ink);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
}
.zb-card__price del { color: var(--zb-muted); font-weight: 400; margin-right: 6px; }
.zb-card__price ins { text-decoration: none; font-weight: 700; }

/* Carosello (Splide) */
.zb-prod__carousel .splide__track { overflow: visible; }
.zb-prod__arrows { display: flex; gap: 6px; }
.zb-prod__arrow {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border: 2px solid var(--zb-ink);
    background: transparent;
    cursor: pointer;
    color: var(--zb-ink);
    transition: background .25s var(--zb-ease), color .25s var(--zb-ease);
}
.zb-prod__arrow:hover { background: var(--zb-ink); color: #fff; }
.zb-prod__arrow svg { width: 20px; height: 20px; }

/* ==========================================================================
   EDITORIALE (testo + immagine)
   ========================================================================== */
.zb-editorial__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(28px, 5vw, 80px);
}
.zb-editorial--img-right .zb-editorial__media { order: 2; }
.zb-editorial__media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--zb-paper-2);
}
.zb-editorial__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zb-editorial__body { display: flex; flex-direction: column; gap: 18px; }
.zb-editorial__text { color: var(--zb-ink-soft); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.85; margin: 0; }
.zb-editorial__actions { margin-top: 8px; }

/* ==========================================================================
   BANNER promozionale full-width
   ========================================================================== */
.zb-banner {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(360px, 48vw, 620px);
    overflow: hidden;
    color: #fff;
}
.zb-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.zb-banner__bg::after {
    content: "";
    position: absolute; inset: 0;
    background: var(--zb-banner-overlay, linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 100%));
}
.zb-banner--no-img { background: var(--zb-ink); }
.zb-banner__inner {
    position: relative;
    z-index: 1;
    width: min(92%, var(--zb-maxw));
    margin-inline: auto;
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.zb-banner--center .zb-banner__inner { margin-inline: auto; text-align: center; align-items: center; max-width: 760px; }
.zb-banner__title {
    font-family: var(--zb-font-sans);
    font-weight: 900;
    font-size: clamp(36px, 6vw, 90px);
    line-height: 0.94;
    margin: 0;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}
.zb-banner__text { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; margin: 0; opacity: .9; font-weight: 300; }
.zb-banner__actions { margin-top: 8px; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.zb-news { text-align: center; }
.zb-news__inner { width: min(92%, 720px); margin-inline: auto; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.zb-news__title {
    font-family: var(--zb-font-sans);
    font-weight: 900;
    font-size: clamp(28px, 3.5vw, 52px);
    margin: 0;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}
.zb-news__text { color: var(--zb-ink-soft); font-size: 16px; margin: 0; max-width: 52ch; line-height: 1.65; }
.zb-section--ink .zb-news__text { color: rgba(255,255,255,.65); }
.zb-news__form { width: 100%; max-width: 520px; margin-top: 8px; }
.zb-news__row { display: flex; gap: 0; border: 2px solid rgba(255,255,255,.3); }
.zb-section--paper-2 .zb-news__row,
:not(.zb-section--ink) > .zb-news .zb-news__row { border-color: var(--zb-ink); }
.zb-news__input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 16px 18px;
    font-size: 15px;
    color: inherit;
    outline: none;
}
.zb-news__btn {
    border: 0;
    background: #fff;
    color: var(--zb-ink);
    padding: 0 26px;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
}
.zb-section--ink .zb-news__btn { background: #fff; color: var(--zb-ink); }
.zb-news__privacy { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--zb-muted); text-align: left; margin-top: 4px; }
.zb-news__privacy input { margin-top: 3px; }

/* ==========================================================================
   RICH TEXT
   ========================================================================== */
.zb-rich__inner { width: min(92%, 820px); margin-inline: auto; }
.zb-rich__content { font-size: 17px; line-height: 1.9; color: var(--zb-ink-soft); }
.zb-rich__content h2, .zb-rich__content h3 {
    font-family: var(--zb-font-sans);
    color: var(--zb-ink);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 1.6em 0 .5em;
}
.zb-rich__content a { color: var(--zb-ink); text-decoration: underline; }
.zb-rich__content ul, .zb-rich__content ol { padding-left: 1.2em; }

/* ==========================================================================
   SHOP HEADER (blocco pagina Shop)
   ========================================================================== */
.zb-shop-ticker {
    background: var(--zb-ink);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
}
.zb-shop-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(340px, 45vw, 560px);
    padding-block: clamp(40px, 6vw, 80px);
    overflow: hidden;
    background: var(--zb-ink);
    color: #fff;
}
.zb-shop-hero--has-img { color: #fff; }
.zb-shop-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.zb-shop-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.6) 100%); }
.zb-shop-hero__inner { position: relative; z-index: 1; width: min(92%, var(--zb-maxw)); margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.zb-shop-hero__title {
    font-family: var(--zb-font-sans);
    font-weight: 900;
    font-size: clamp(42px, 6vw, 90px);
    margin: 0;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}
.zb-shop-hero__desc { font-size: clamp(15px, 1.2vw, 18px); max-width: 56ch; margin: 0; opacity: .85; }
.zb-shop-hero--has-img .zb-shop-hero__desc { color: rgba(255,255,255,.85); }

/* ── Shop layout ─────────────────────────────────────────────── */
.zb-shop-layout {
    width: min(96%, var(--zb-maxw));
    margin-inline: auto;
    padding-block: 32px 60px;
}

.zb-shop-filterbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 20px;
    border-bottom: 2px solid var(--zb-ink);
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.zb-shop-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.zb-shop-pill {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--zb-line);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    color: var(--zb-ink);
    background: transparent;
    transition: background .22s var(--zb-ease), color .22s var(--zb-ease), border-color .22s var(--zb-ease);
    white-space: nowrap;
}
.zb-shop-pill:hover,
.zb-shop-pill--active {
    background: var(--zb-ink);
    color: #fff;
    border-color: var(--zb-ink);
}

.zb-shop-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.zb-shop-count {
    font-size: 11px;
    color: var(--zb-muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

/* WooCommerce sort select */
.zb-shop-meta .woocommerce-ordering { margin: 0; }
.zb-shop-meta .woocommerce-ordering select {
    border: 2px solid var(--zb-ink);
    padding: 8px 14px;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    background: transparent;
    color: var(--zb-ink);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a0a0a' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    border-radius: 0;
}

/* Product grid (shop) */
.zb-shop-grid { --zb-prod-cols: 3; }

/* Pagination */
.zb-shop-pagination {
    padding-top: 48px;
    display: flex;
    justify-content: center;
}
.zb-shop-pagination ul {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.zb-shop-pagination ul li a,
.zb-shop-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 2px solid var(--zb-line);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--zb-ink);
    text-decoration: none;
    transition: background .22s var(--zb-ease);
}
.zb-shop-pagination ul li a:hover { background: var(--zb-paper-2); border-color: var(--zb-ink); }
.zb-shop-pagination ul li span.current { background: var(--zb-ink); color: #fff; border-color: var(--zb-ink); }

/* Empty state */
.zb-shop-empty {
    text-align: center;
    padding: 80px 20px 60px;
}
.zb-shop-empty__title {
    font-family: var(--zb-font-sans);
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 800;
    margin: 12px 0 16px;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}
.zb-shop-empty__text {
    color: var(--zb-ink-soft);
    font-size: 16px;
    max-width: 48ch;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* Responsive shop */
@media (max-width: 1024px) { .zb-shop-grid { --zb-prod-cols: 2; } }
@media (max-width: 600px) {
    .zb-shop-filterbar { flex-direction: column; align-items: flex-start; }
    .zb-shop-meta { width: 100%; justify-content: space-between; }
    .zb-shop-grid { --zb-prod-cols: 2; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .zb-prod__grid { --zb-prod-cols: 3; }
}
@media (max-width: 781px) {
    .zb-editorial__grid { grid-template-columns: 1fr; }
    .zb-editorial--img-right .zb-editorial__media { order: 0; }
    .zb-usp__grid { --zb-usp-cols: 1; }
    .zb-cats__grid { --zb-cat-cols: 2; }
    .zb-prod__grid { --zb-prod-cols: 2; }
    .zb-head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .zb-cats__grid { --zb-cat-cols: 1; }
    .zb-prod__grid { --zb-prod-cols: 2; }
    .zb-news__row { flex-direction: column; }
    .zb-news__btn { padding: 14px; }
}

/* ==========================================================================
   CATALOGO INLINE (homepage pagina singola)
   ========================================================================== */
.zb-catalog__cats {
    margin-bottom: clamp(24px, 3vw, 40px);
}
.zb-catalog__grid {
    --zb-prod-cols: 3;
}
.zb-catalog__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(32px, 4vw, 56px);
}
@media (max-width: 1024px) { .zb-catalog__grid { --zb-prod-cols: 2; } }
@media (max-width: 600px)  { .zb-catalog__grid { --zb-prod-cols: 2; } }

/* ==========================================================================
   EDITOR (Gutenberg) — preview
   ========================================================================== */
.acf-block-preview .zb-section { padding-block: 40px; }
.acf-block-preview .zb-hero { min-height: 360px; }

/* ==========================================================================
   FOOTER BRANDED
   ========================================================================== */
.site-footer {
    background: var(--zb-ink) !important;
    padding: 0 !important;
    margin-top: 0;
}
.inside-site-footer {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.zb-footer {
    font-family: var(--zb-font-sans);
    -webkit-font-smoothing: antialiased;
    color: rgba(255,255,255,.7);
}

/* ── Stage (hero-like) ── */
.zb-footer__stage {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: clamp(72px, 11vw, 150px) 0 clamp(48px, 6vw, 96px);
}
.zb-footer__stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 65% at 50% 0%, rgba(255,255,255,.06), transparent 70%);
    pointer-events: none;
}
.zb-footer__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 85% at 50% 25%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 85% at 50% 25%, #000 0%, transparent 75%);
    pointer-events: none;
}
.zb-footer__stage-inner {
    position: relative;
    z-index: 1;
    width: min(92%, var(--zb-maxw));
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2vw, 22px);
}
.zb-footer__stage-eyebrow {
    font-family: var(--zb-font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(14px, 1.1vw, 16px);
    letter-spacing: .01em;
    color: rgba(255,255,255,.55);
    margin: 0;
}
.zb-footer__wordmark {
    font-family: var(--zb-font-sans);
    font-weight: 900;
    font-size: clamp(72px, 18vw, 220px);
    text-transform: uppercase;
    letter-spacing: -0.045em;
    line-height: 0.88;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: opacity .35s var(--zb-ease);
}
.zb-footer__wordmark:hover { opacity: .6; color: #fff; }
.zb-footer__stage-sub {
    font-size: clamp(14px, 1.1vw, 17px);
    color: rgba(255,255,255,.55);
    max-width: 40ch;
    margin: 0;
    letter-spacing: .02em;
    font-weight: 400;
}
.zb-footer__stage-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: clamp(8px, 1.4vw, 20px);
}
.zb-footer__stage-cta .zb-btn--light::after {
    content: "\2192";
    transition: transform .3s var(--zb-ease);
}
.zb-footer__stage-cta .zb-btn--light:hover::after { transform: translateX(4px); }

/* ── Info grid ── */
.zb-footer__info {
    width: min(92%, var(--zb-maxw));
    margin-inline: auto;
}
.zb-footer__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-block: clamp(44px, 6vw, 80px);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.zb-footer__col {
    padding-inline: clamp(24px, 3.5vw, 48px);
}
.zb-footer__col:first-child { padding-left: 0; }
.zb-footer__col:last-child { padding-right: 0; }
.zb-footer__col:not(:first-child) {
    border-left: 1px solid rgba(255,255,255,.07);
}
.zb-footer__col-title {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    font-weight: 700;
    margin: 0 0 18px;
}
.zb-footer__col nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zb-footer__col nav a {
    position: relative;
    width: fit-content;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .01em;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s;
}
.zb-footer__col nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width .25s var(--zb-ease);
}
.zb-footer__col nav a:hover { color: #fff; }
.zb-footer__col nav a:hover::after { width: 100%; }
.zb-footer__col address {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-style: normal;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}
.zb-footer__col address span { color: rgba(255,255,255,.7); }
.zb-footer__col address a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s;
}
.zb-footer__col address a:hover { color: #fff; }
.zb-footer__brand-desc {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    margin: 0;
}
.zb-footer__bottom {
    padding-block: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.zb-footer__copy,
.zb-footer__made {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.35);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0;
}
.zb-footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.zb-footer__totop {
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: color .2s;
}
.zb-footer__totop:hover { color: #fff; }
@media (max-width: 768px) {
    .zb-footer__wordmark { font-size: clamp(60px, 20vw, 120px); }
    .zb-footer__inner { grid-template-columns: 1fr 1fr; }
    .zb-footer__col--tagline { display: none; }
}
@media (max-width: 480px) {
    .zb-footer__inner { grid-template-columns: 1fr; }
    .zb-footer__col {
        padding-inline: 0 !important;
        border-left: none !important;
        border-top: 1px solid rgba(255,255,255,.07);
        padding-top: 20px;
        margin-top: 20px;
    }
    .zb-footer__col:first-child {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }
    .zb-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ==========================================================================
   PAGINA 404
   ========================================================================== */
.zb-404 {
    display: flex;
    align-items: center;
    min-height: 65vh;
    background: var(--zb-paper);
}
.zb-404__inner { text-align: center; }
.zb-404__number {
    font-family: var(--zb-font-serif);
    font-size: clamp(100px, 18vw, 220px);
    font-weight: 700;
    line-height: 1;
    color: var(--zb-paper-3);
    margin: 0 0 -10px;
    letter-spacing: -0.05em;
    display: block;
}
.zb-404__title {
    font-family: var(--zb-font-sans);
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    color: var(--zb-ink);
}
.zb-404__text {
    font-size: 15px;
    color: var(--zb-muted);
    margin: 0 0 36px;
    max-width: 40ch;
    margin-inline: auto;
    margin-bottom: 36px;
}
.zb-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   THANK YOU PAGE (WooCommerce)
   ========================================================================== */
.zb-thankyou { background: var(--zb-paper-2); }
.zb-thankyou__inner { max-width: 720px; margin-inline: auto; }
.zb-thankyou__head {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 64px);
    padding-top: clamp(16px, 2vw, 32px);
}
.zb-thankyou__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: var(--zb-ink);
    color: #fff;
    font-size: 28px;
    border-radius: 50%;
    margin-bottom: 22px;
    font-weight: 700;
}
.zb-thankyou__title {
    font-family: var(--zb-font-serif);
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--zb-ink);
}
.zb-thankyou__sub {
    font-size: 16px;
    color: var(--zb-ink-soft);
    margin: 0 0 8px;
    line-height: 1.6;
}
.zb-thankyou__email {
    font-size: 14px;
    color: var(--zb-muted);
    margin: 0;
}
.zb-thankyou__section { margin-bottom: clamp(32px, 4vw, 52px); }
.zb-thankyou__section-title {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--zb-muted);
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--zb-ink);
}
.zb-thankyou__items {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.zb-thankyou__items th,
.zb-thankyou__items td {
    padding: 13px 0;
    border-bottom: 1px solid var(--zb-line);
    text-align: left;
    vertical-align: middle;
}
.zb-thankyou__items th { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--zb-muted); }
.zb-thankyou__items .qty,
.zb-thankyou__items .total { text-align: right; }
.zb-thankyou__items tfoot .total th,
.zb-thankyou__items tfoot .total td {
    font-weight: 800;
    font-size: 16px;
    border-bottom: none;
    border-top: 2px solid var(--zb-ink);
    padding-top: 18px;
    color: var(--zb-ink);
}
.zb-thankyou__thumb {
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
}
.zb-thankyou__thumb img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    display: block;
}
.zb-thankyou__address {
    font-style: normal;
    font-size: 15px;
    color: var(--zb-ink-soft);
    line-height: 1.8;
    margin: 0;
}
.zb-thankyou__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: clamp(28px, 3vw, 48px);
    padding-bottom: clamp(12px, 2vw, 24px);
}
.zb-thankyou__inner--generic { text-align: center; }
.zb-thankyou__inner--generic .zb-thankyou__head { margin-bottom: 32px; }

