/* ─── VARIABILI ─────────────────────────────────────────────────────────────── */
:root {
    --ink:     #16294f;
    --ink2:    #5a6580;
    --paper:   #fffdf8;
    --red:     #e63329;
    --orange:  #f3851f;
    --yellow:  #ffc715;
    --green:   #2fa84f;
    --blue:    #1d93d4;
    --pink:    #e63f97;
    --border:  #f1ece2;
    --warm-bg: #fbf5ea;
    --shadow-sm: 0 12px 28px rgba(22,41,79,.06);
    --shadow-md: 0 14px 34px rgba(22,41,79,.07);
    --shadow-lg: 0 24px 60px rgba(22,41,79,.09);
    --radius-sm: 20px;
    --radius-md: 24px;
    --radius-lg: 28px;
    --radius-xl: 34px;
    --rainbow: linear-gradient(90deg, #e63329, #f3851f, #ffc715, #2fa84f, #1d93d4, #e63f97);
    --max-w: 1240px;
    --max-w-chrome: 1280px;
    --px: 28px;
}

/* ─── RESET BASE ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* ─── LAYOUT HELPERS ─────────────────────────────────────────────────────────── */
.pz-container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--px);
}

.pz-section    { padding-block: 46px; }
.pz-section-warm {
    background: var(--warm-bg);
    border-top: 1px solid #f1e8d6;
    border-bottom: 1px solid #f1e8d6;
    padding-block: 46px;
}

.pz-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}
.pz-section-head h2 { margin: 0; }

/* ─── TIPOGRAFIA ─────────────────────────────────────────────────────────────── */
h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.06;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(34px, 5.4vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 24px; }

.pz-kicker {
    font-family: 'Caveat Brush', cursive;
    font-weight: 400;
    font-size: 26px;
    margin: 0 0 2px;
    display: block;
    transform: rotate(-1deg);
    transform-origin: left;
}
.pz-kicker--red    { color: var(--red); }
.pz-kicker--blue   { color: var(--blue); }
.pz-kicker--green  { color: var(--green); }
.pz-kicker--pink   { color: var(--pink); }
.pz-kicker--center { transform: none; }

.pz-rainbow-text {
    background: var(--rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── PULSANTI ─────────────────────────────────────────────────────────────── */
.pz-btn-dona {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(230,51,41,.32);
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
}
.pz-btn-dona:hover { opacity: .9; transform: translateY(-1px); }
.pz-btn-dona--large { font-size: 17px; padding: 16px 30px; box-shadow: 0 10px 26px rgba(230,51,41,.32); }
.pz-btn-dona--full  { display: flex; margin-bottom: 24px; box-shadow: 0 10px 24px rgba(230,51,41,.3); padding: 15px; }
.pz-btn-dona--footer { font-size: 15px; padding: 12px 22px; }
.pz-btn-dona--mobile { display: flex; text-align: center; margin-top: 10px; }

.pz-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--ink);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 2px solid #e7e0d4;
    text-decoration: none;
    transition: border-color .2s;
    white-space: nowrap;
}
.pz-btn-outline:hover { border-color: var(--ink); }
.pz-btn-outline--large { font-size: 17px; padding: 15px 28px; }

/* ─── BADGE / PROJ BADGE ───────────────────────────────────────────────────── */
.pz-proj-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.pz-proj-badge--green { color: var(--green); background: #eaf6ec; }

/* ─── HEADER ─────────────────────────────────────────────────────────────────── */
.pz-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,253,248,.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #efe9df;
}
.pz-header-inner {
    max-width: var(--max-w-chrome);
    margin-inline: auto;
    padding: 14px var(--px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.pz-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}
.pz-logo img,
.pz-logo-img,
.pz-logo .custom-logo-link img,
.pz-logo .custom-logo {
    height: 54px !important;
    width: 54px !important;
    max-width: 54px !important;
    object-fit: contain;
    flex-shrink: 0;
}
/* il wrapper <a> del custom logo non deve alterare il flex */
.pz-logo .custom-logo-link {
    display: contents;
    text-decoration: none;
}

.pz-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.pz-logo-name {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--ink);
    letter-spacing: .01em;
    white-space: nowrap;
    line-height: 1.1;
}
.pz-logo-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    color: #9a93a8;
    margin-top: 3px;
}

.pz-desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}
.pz-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pz-nav-list li a,
.pz-desktop-nav > a:not(.pz-btn-dona) {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
    transition: color .15s;
}
.pz-nav-list li a:hover,
.pz-desktop-nav > a:not(.pz-btn-dona):hover { color: var(--red); }
.pz-nav-list .current-menu-item a { font-weight: 700; }

.pz-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: opacity .2s;
}
.pz-burger:hover { opacity: .85; }
.pz-burger[aria-expanded="true"] .pz-burger-icon::before { content: '✕'; }

.pz-mobile-nav {
    display: none; /* chiuso di default — JS aggiunge .is-open */
    border-top: 1px solid #efe9df;
    padding: 10px var(--px) 20px;
    flex-direction: column;
    gap: 4px;
    background: var(--paper);
}
.pz-mobile-nav.is-open { display: flex; }
.pz-mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pz-mobile-nav-list li a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    padding: 12px 4px;
    border-bottom: 1px solid #f3eee4;
}
.pz-mobile-nav-list li:last-child a { border-bottom: none; }

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
.pz-hero {
    position: relative;
    padding: 54px var(--px) 30px;
}
.pz-hero-glow {
    position: absolute;
    top: 120px;
    right: -80px;
    width: 680px;
    height: 280px;
    background: var(--rainbow);
    filter: blur(46px);
    opacity: .22;
    border-radius: 50%;
    transform: rotate(-8deg);
    pointer-events: none;
    z-index: 0;
}
.pz-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}
.pz-hero-h1 {
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -.01em;
    margin: 0 0 18px;
}
.pz-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink2);
    max-width: 520px;
    margin: 0 0 28px;
}
.pz-cta-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.pz-hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}
.pz-hero-blob {
    position: absolute;
    inset: 6% 8%;
    background: #fff;
    border-radius: 58% 42% 55% 45% / 52% 56% 44% 48%;
    box-shadow: 0 30px 70px rgba(22,41,79,.12);
}
.pz-hero-logo {
    position: relative;
    width: 96%;
    max-width: 520px;
    object-fit: contain;
}

/* animazione float */
@keyframes pzfloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
.pz-float { animation: pzfloat 6s ease-in-out infinite; }

/* ─── CARD GRIDS ─────────────────────────────────────────────────────────────── */
.pz-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}
.pz-cards-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ─── CARD PROGETTO ─────────────────────────────────────────────────────────── */
.pz-progetto-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
}
.pz-progetto-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(22,41,79,.12);
}
.pz-card-header {
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.pz-card-emoji {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.pz-card-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
    line-height: 1.1;
}
.pz-card-body { padding: 22px 24px 24px; }
.pz-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    margin: 0 0 8px;
}
.pz-card-excerpt {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink2);
    margin: 0 0 14px;
}
.pz-card-link { font-weight: 700; }

/* ─── IMPATTO ─────────────────────────────────────────────────────────────────── */
.pz-impatto-wrap { padding-block: 14px; }
.pz-impatto {
    background: var(--ink);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
}
.pz-impatto-rainbow {
    position: absolute;
    inset: 0;
    height: 7px;
    background: var(--rainbow);
}
.pz-impatto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 28px;
    text-align: center;
    margin-top: 6px;
}
.pz-stat-num {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 1;
}
.pz-stat-label {
    color: #cdd6e6;
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0 0;
}
.pz-impatto-note {
    text-align: center;
    color: #7c89a6;
    font-size: 12px;
    margin: 24px 0 0;
}

/* ─── PRODOTTI GRID ─────────────────────────────────────────────────────────── */
.pz-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.pz-product-card {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.pz-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pz-product-img {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f8f4ef;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pz-product-img img { width: 100%; height: 100%; object-fit: cover; }
.pz-product-placeholder { font-size: 12px; color: #b3a9a0; font-family: monospace; }
.pz-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 6px 11px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(22,41,79,.1);
}
.pz-product-info { padding: 16px 18px 20px; }
.pz-product-name {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 6px;
    color: var(--ink);
}
.pz-offerta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    background: #e9f3fa;
    border: 1px solid rgba(29,147,212,.25);
    border-radius: 14px;
    padding: 7px 14px;
    margin: 2px 0 4px;
}
.pz-offerta-testo {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--blue);
}
.pz-offerta-prezzo {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--blue);
}
.pz-offerta--lg {
    padding: 10px 20px;
    margin-bottom: 16px;
}
.pz-offerta--lg .pz-offerta-testo { font-size: 14px; }
.pz-offerta--lg .pz-offerta-prezzo { font-size: 19px; }

/* ─── BLOG GRID ─────────────────────────────────────────────────────────────── */
.pz-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}
.pz-blog-card {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform .2s;
}
.pz-blog-card:hover { transform: translateY(-2px); }
.pz-blog-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f4f1ec;
}
.pz-blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pz-blog-thumb--placeholder { background: repeating-linear-gradient(135deg, #f4f1ec, #f4f1ec 12px, #fbfaf6 12px, #fbfaf6 24px); }
.pz-blog-body { padding: 18px 20px 22px; }
.pz-blog-cat {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--orange);
    margin-bottom: 8px;
}
.pz-blog-title {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--ink);
}
.pz-blog-date { font-size: 13px; color: #9a93a8; margin: 0; }

/* ─── DONA BOX ─────────────────────────────────────────────────────────────── */
.pz-dona-box {
    position: relative;
    background: #fff;
    border-radius: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 54px 40px;
    text-align: center;
    overflow: hidden;
}
.pz-dona-rainbow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: var(--rainbow);
}
.pz-dona-h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 0 0 14px; }
.pz-dona-desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink2);
    max-width: 560px;
    margin: 0 auto 28px;
}
.pz-dona-alt { margin-top: 18px; }
.pz-dona-alt a { color: var(--blue); font-weight: 600; font-size: 15px; text-decoration: none; }
.pz-dona-alt a:hover { text-decoration: underline; }

/* ─── SOCIAL WALL ─────────────────────────────────────────────────────────── */
.pz-social-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.pz-sw-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 22px;
    background: #f0f0f2;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pz-sw-badge {
    position: absolute;
    top: 12px; left: 12px;
    width: 34px; height: 34px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 16px;
}
.pz-sw-badge--fb { background: #1877f2; }
.pz-sw-badge--ig { background: linear-gradient(45deg, var(--orange), var(--pink)); }
.pz-sw-badge--li { background: #0a66c2; }
.pz-sw-badge--tt { background: var(--ink); }

.pz-sw-item--photo {
    overflow: hidden;
    text-decoration: none;
    transition: transform .2s ease;
    cursor: pointer;
}
.pz-sw-item--photo:hover { transform: scale(1.03); }
.pz-sw-item--photo .pz-sw-badge { top: 12px; left: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.25); z-index: 1; }

/* Masonry a colonne: rispetta le proporzioni reali (niente foto/reel tagliati) */
.pz-social-wall--masonry {
    display: block;
    column-count: 4;
    column-gap: 16px;
}
.pz-social-wall--masonry .pz-sw-item {
    display: block;
    aspect-ratio: unset;
    break-inside: avoid;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.pz-social-wall--masonry .pz-sw-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}
@media (max-width: 900px) { .pz-social-wall--masonry { column-count: 3; } }
@media (max-width: 640px) { .pz-social-wall--masonry { column-count: 2; } }
@media (max-width: 420px) { .pz-social-wall--masonry { column-count: 1; } }

.pz-sw-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.55);
    pointer-events: none;
}

/* Lightbox */
.pz-sw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.pz-sw-lightbox[hidden] { display: none; }
.pz-sw-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 41, 79, .85);
}
.pz-sw-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 480px);
    max-height: 90vh;
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}
.pz-sw-lightbox-inner img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    object-fit: contain;
}
.pz-sw-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pz-sw-admin-hint {
    margin-top: 14px;
    font-size: 14px;
    color: var(--ink2);
}
.pz-sw-admin-hint a { color: var(--blue); font-weight: 600; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.pz-footer {
    background: var(--ink);
    color: #cdd6e6;
}
.pz-footer-rainbow {
    height: 8px;
    background: var(--rainbow);
}
.pz-footer-grid,
.pz-footer-bottom-inner {
    max-width: var(--max-w-chrome);
}
.pz-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 34px;
    padding-block: 48px 28px;
}
.pz-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.pz-footer-brand img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 3px;
}
.pz-footer-brand span {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}
.pz-footer-col p { font-size: 14px; line-height: 1.6; color: #9fadc6; margin: 0 0 18px; max-width: 280px; }
.pz-footer-heading {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    letter-spacing: .06em;
    margin: 0 0 14px !important;
    max-width: none !important;
}
.pz-footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pz-footer-nav li a {
    text-decoration: none;
    color: #9fadc6;
    font-size: 14px;
    transition: color .15s;
}
.pz-footer-nav li a:hover { color: #fff; }
.pz-social-row { display: flex; gap: 10px; margin-bottom: 22px; }
.pz-social-btn {
    text-decoration: none;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background .2s;
}
.pz-social-btn:hover { background: rgba(255,255,255,.2); }
.pz-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
}
.pz-footer-bottom-inner {
    padding-block: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    align-items: center;
    justify-content: space-between;
}
.pz-footer-bottom-inner p { font-size: 12.5px; color: #7c89a6; margin: 0; }
.pz-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.pz-footer-legal a { text-decoration: none; color: #7c89a6; font-size: 12.5px; transition: color .15s; }
.pz-footer-legal a:hover { color: #fff; }

/* ─── BREADCRUMB ─────────────────────────────────────────────────────────────── */
.pz-breadcrumb {
    padding: 20px var(--px) 0;
    font-size: 14px;
    color: #9a93a8;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.pz-breadcrumb a { text-decoration: none; color: #9a93a8; }
.pz-breadcrumb a:hover { color: var(--ink); }
.pz-breadcrumb span:last-child { color: var(--ink); font-weight: 600; }

/* ─── ARCHIVE HERO ─────────────────────────────────────────────────────────── */
.pz-archive-hero { padding: 40px var(--px) 0; }
.pz-archive-hero h1 { margin: 0 0 24px; }

.pz-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.pz-filter-btn {
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 999px;
    border: 2px solid #e7e0d4;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    transition: all .2s;
}
.pz-filter-btn:hover, .pz-filter-btn--active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

/* ─── SINGLE PROGETTO ────────────────────────────────────────────────────────── */
.pz-progetto-hero-wrap { padding-top: 24px; }
.pz-progetto-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: 0 18px 44px rgba(22,41,79,.07);
    overflow: hidden;
}
.pz-progetto-hero-img {
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pz-progetto-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pz-proj-emoji-large {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.pz-progetto-hero-info { padding: 34px 38px 34px 8px; }
.pz-progetto-h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; margin: 0 0 14px; }
.pz-progetto-intro { font-size: 18px; line-height: 1.6; color: var(--ink2); margin: 0; }

.pz-progetto-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 38px;
    align-items: start;
    padding-block: 34px;
}
.pz-progetto-body { font-size: 16.5px; line-height: 1.75; color: #46506a; }
.pz-progetto-body p { margin: 0 0 16px; }
.pz-progetto-section-title { font-size: 28px; margin: 8px 0 16px; }

.pz-progetto-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-top: 8px;
}
.pz-gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border);
}
.pz-gallery-item { display: flex; flex-direction: column; }

/* SIDEBAR */
.pz-progetto-sidebar { position: sticky; top: 96px; }
.pz-sidebar-box {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 18px 44px rgba(22,41,79,.08);
    overflow: hidden;
}
.pz-sidebar-color-bar { height: 7px; }
.pz-sidebar-inner { padding: 26px 24px 24px; }
.pz-sidebar-h3 { font-size: 24px; margin: 0 0 8px; }
.pz-sidebar-desc { font-size: 14.5px; line-height: 1.6; color: var(--ink2); margin: 0 0 20px; }
.pz-sidebar-sub-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #9a93a8;
    margin: 0 0 12px;
}
.pz-sidebar-product {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    transition: border-color .2s;
}
.pz-sidebar-product:hover { border-color: var(--ink); }
.pz-sidebar-product-img {
    width: 52px; height: 52px;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f0eb;
    flex-shrink: 0;
}
.pz-sidebar-product-img img { width: 100%; height: 100%; object-fit: cover; }
.pz-sidebar-product-info { display: flex; flex-direction: column; }
.pz-sidebar-product-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.pz-sidebar-product-price { font-family: 'Fredoka', sans-serif; font-weight: 600; color: var(--red); font-size: 15px; }

.pz-altri-h2 { margin: 0 0 26px; }

/* ─── SINGLE PRODUCT (WOO) ──────────────────────────────────────────────────── */
.pz-product-wrap { padding-top: 24px; padding-bottom: 46px; }
.pz-product-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: start;
}
.pz-product-gallery {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 16px;
}
.pz-thumbs-col { display: flex; flex-direction: column; gap: 12px; }
.pz-thumb {
    cursor: pointer;
    padding: 0;
    width: 84px; height: 84px;
    border-radius: 16px;
    border: 2px solid var(--border);
    overflow: hidden;
    background: #f8f4ef;
    transition: border-color .2s;
}
.pz-thumb:hover, .pz-thumb--active { border-color: var(--red); }
.pz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pz-main-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f8f4ef;
}
.pz-main-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
#pz-main-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.pz-main-img-wrap .pz-gallery-btn {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}
.pz-main-img-wrap .pz-gallery-btn:hover { transform: none; box-shadow: none; }

.pz-product-h1 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.06; margin: 0 0 10px; }
.pz-product-iva { font-size: 14px; color: #9a93a8; margin: 0 0 22px; }
.pz-product-short-desc { font-size: 15px; line-height: 1.6; color: var(--ink2); margin: -8px 0 22px; }
.pz-product-short-desc p { margin: 0 0 10px; }
.pz-product-short-desc p:last-child { margin-bottom: 0; }
.pz-product-meta { font-size: 13px; color: #9a93a8; margin: 0 0 28px; }

.pz-ritiro-box {
    background: #fdeef4;
    border: 1.5px solid #f4c6dd;
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}
.pz-ritiro-icon { font-size: 24px; line-height: 1; flex-shrink: 0; }
.pz-ritiro-title { font-weight: 700; color: var(--ink); margin: 0 0 4px; font-size: 15px; }
.pz-ritiro-desc { font-size: 14px; line-height: 1.55; color: var(--ink2); margin: 0; }

/* Sovrascrittura form WooCommerce add-to-cart */
.pz-product-info .quantity {
    display: flex;
    align-items: center;
    border: 2px solid #e7e0d4;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    margin-right: 14px;
}
.pz-product-info .quantity input[type="number"] {
    border: none;
    width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    background: transparent;
    -moz-appearance: textfield;
}
.pz-product-info .quantity input::-webkit-inner-spin-button,
.pz-product-info .quantity input::-webkit-outer-spin-button { -webkit-appearance: none; }
.pz-product-info .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 32px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 10px 26px rgba(230,51,41,.3);
    cursor: pointer;
    transition: opacity .2s;
    flex: 1;
    min-width: 220px;
}
.pz-product-info .single_add_to_cart_button:hover { opacity: .9; }
.pz-product-info .cart { display: flex; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 0; }

.pz-btn-richiedi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 32px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 10px 26px rgba(230,51,41,.3);
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    margin-bottom: 18px;
}
.pz-btn-richiedi:hover { opacity: .9; transform: translateY(-1px); }

/* TABS */
.pz-tabs {}
.pz-tabs--full { margin-top: 44px; max-width: 760px; }
.pz-tabs-nav {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 18px;
}
.pz-tab-btn {
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 6px;
    color: #9a93a8;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .2s;
}
.pz-tab-btn--active { color: var(--ink); border-bottom-color: var(--red); }
.pz-tab-panel { display: none; font-size: 16px; line-height: 1.7; color: #46506a; }
.pz-tab-panel--active { display: block; }

/* ─── NEWS SINGLE ────────────────────────────────────────────────────────────── */
.pz-news-breadcrumb { max-width: 760px; margin-inline: auto; padding-top: 24px; }

.pz-news-article { padding-bottom: 0; }

.pz-news-header {
    max-width: 760px;
    margin-inline: auto;
    padding: 18px var(--px) 0;
}
.pz-news-cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 18px;
    text-decoration: none;
}
.pz-news-h1 {
    font-size: clamp(32px, 4.6vw, 50px);
    line-height: 1.06;
    margin: 0 0 18px;
    text-wrap: balance;
}
.pz-news-lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink2);
    margin: 0 0 22px;
}
.pz-news-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.pz-news-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    font-size: 17px;
    flex-shrink: 0;
}
.pz-news-meta-text { display: flex; flex-direction: column; line-height: 1.3; }
.pz-news-author { font-weight: 600; font-size: 15px; color: var(--ink); }
.pz-news-date   { font-size: 13.5px; color: #9a93a8; }

.pz-news-share { margin-left: auto; display: flex; gap: 8px; }
.pz-share-btn {
    text-decoration: none;
    width: 38px; height: 38px;
    border-radius: 11px;
    background: #f4f1ec;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}
.pz-share-btn:hover { background: #e7e0d4; }

.pz-news-featured-img {
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 0 var(--px);
}
.pz-news-feat-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid var(--border);
    display: block;
}

/* Article body typography */
.pz-article { max-width: 760px; margin-inline: auto; padding: 36px var(--px) 0; }
.pz-article p  { font-size: 17.5px; line-height: 1.8; color: #46506a; margin: 0 0 22px; }
.pz-article h2 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 28px; color: var(--ink); margin: 38px 0 14px; }
.pz-article ul { font-size: 17.5px; line-height: 1.85; color: #46506a; margin: 0 0 22px; padding-left: 22px; }
.pz-article li { margin-bottom: 6px; }
.pz-article a  { color: var(--blue); font-weight: 600; }
.pz-article blockquote {
    margin: 30px 0;
    padding: 22px 26px;
    background: #eaf6ec;
    border-left: 5px solid var(--green);
    border-radius: 0 18px 18px 0;
}
.pz-article blockquote p {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
}
.pz-article blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--ink2);
    font-weight: 600;
    font-style: normal;
}

.pz-news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 34px 0 0;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    align-items: center;
}
.pz-news-tags-label { font-size: 13px; font-weight: 600; color: #9a93a8; }
.pz-news-tag {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #46506a;
    background: #f4f1ec;
    padding: 7px 14px;
    border-radius: 999px;
    transition: background .2s;
}
.pz-news-tag:hover { background: #e7e0d4; }

/* Dona inline */
.pz-news-dona-wrap {
    max-width: 760px;
    margin: 38px auto 0;
    padding: 0 var(--px) 50px;
}
.pz-news-dona {
    position: relative;
    background: var(--ink);
    border-radius: 28px;
    padding: 34px 32px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}
.pz-news-dona-rainbow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 7px;
    background: var(--rainbow);
}
.pz-news-dona-text { max-width: 420px; }
.pz-news-dona-kicker {
    font-family: 'Caveat Brush', cursive;
    font-weight: 400;
    font-size: 24px;
    color: var(--yellow);
    margin: 6px 0 4px;
}
.pz-news-dona-desc {
    font-size: 16px;
    line-height: 1.55;
    color: #cdd6e6;
    margin: 0;
}

/* Related */
.pz-news-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 26px;
}
.pz-news-related-head h2 { margin: 0; }
.pz-blog-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ─── NEWS ARCHIVE ───────────────────────────────────────────────────────────── */
.pz-news-archive-hero { padding-top: 40px; padding-bottom: 6px; }
.pz-news-archive-h1   { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; margin: 0 0 12px; }
.pz-news-archive-desc { font-size: 18px; line-height: 1.6; color: var(--ink2); max-width: 620px; margin: 0; }

/* Featured article */
.pz-news-featured-wrap { padding: 24px var(--px) 8px; }
.pz-news-featured {
    text-decoration: none;
    color: inherit;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 18px 44px rgba(22,41,79,.08);
    transition: box-shadow .2s;
}
.pz-news-featured:hover { box-shadow: 0 24px 54px rgba(22,41,79,.13); }

.pz-news-featured-img-col {
    position: relative;
    min-height: 320px;
    background: #f0ebe2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pz-news-feat-cover {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.pz-news-feat-placeholder { font-size: 64px; }
.pz-news-feat-badge {
    position: absolute;
    top: 18px; left: 18px;
    background: #fff;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(22,41,79,.12);
}
.pz-news-featured-info {
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pz-news-feat-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 12px;
    display: block;
}
.pz-news-feat-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--ink);
}
.pz-news-feat-excerpt {
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink2);
    margin: 0 0 20px;
}
.pz-news-feat-meta { font-size: 13.5px; color: #9a93a8; margin-bottom: 18px; display: block; }
.pz-news-feat-cta  { font-weight: 700; }

/* Filter bar */
.pz-news-filterbar-wrap { padding-top: 26px; }
.pz-news-filterbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.pz-filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.pz-filter-chip {
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid #e7e0d4;
    background: #fff;
    color: var(--ink);
    transition: all .2s;
    white-space: nowrap;
}
.pz-filter-chip:hover { border-color: var(--ink); }
.pz-filter-chip--active { /* stile inline con colore dinamico */ }

.pz-news-search {
    position: relative;
    flex: 1;
    max-width: 300px;
    min-width: 220px;
}
.pz-news-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9a93a8;
    pointer-events: none;
}
.pz-news-search-input {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--ink);
    padding: 13px 16px 13px 42px;
    border: 2px solid #e7e0d4;
    border-radius: 999px;
    background: #fff;
    outline: none;
    transition: border-color .2s;
}
.pz-news-search-input:focus { border-color: var(--ink); }
.pz-news-count { font-size: 13.5px; color: #9a93a8; margin: 16px 0 0; }

/* News grid card */
.pz-blog-grid--news { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pz-blog-card--news { position: relative; }
.pz-blog-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #f4f1ec; }
.pz-blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pz-blog-thumb-cat {
    position: absolute;
    top: 12px; left: 12px;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(22,41,79,.1);
}
.pz-blog-body--news { display: flex; flex-direction: column; flex: 1; }
.pz-blog-excerpt {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink2);
    margin: 0 0 16px;
}
.pz-blog-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.pz-blog-read { font-weight: 700; font-size: 14px; }

/* Empty state news */
.pz-news-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 28px;
    border: 1px solid var(--border);
}
.pz-news-empty-icon  { font-size: 46px; display: block; margin-bottom: 12px; }
.pz-news-empty-title { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 22px; color: var(--ink); margin: 0 0 6px; }
.pz-news-empty-desc  { font-size: 15px; color: var(--ink2); margin: 0 0 20px; }

/* Copy link feedback */
.pz-copy-link.copied::after {
    content: ' ✓';
    font-size: 12px;
    color: var(--green);
}

/* Responsive news */
@media (max-width: 980px) {
    .pz-news-featured { grid-template-columns: 1fr; }
    .pz-news-featured-img-col { min-height: 220px; }
    .pz-news-featured-info { padding: 24px; }
    .pz-blog-grid--3 { grid-template-columns: 1fr; }
    .pz-news-filterbar { flex-direction: column; align-items: stretch; }
    .pz-news-search { max-width: 100%; }
}
@media (max-width: 600px) {
    .pz-news-share { margin-left: 0; }
    .pz-news-dona { flex-direction: column; }
    .pz-news-dona .pz-btn-dona { width: 100%; }
}

/* ─── GALLERY BUTTON ────────────────────────────────────────────────────────── */
.pz-gallery-btn {
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
}
.pz-gallery-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 28px rgba(22,41,79,.14);
}

/* ─── LIGHTBOX ───────────────────────────────────────────────────────────────── */
.pz-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(22,41,79,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s;
}
.pz-lightbox:not([hidden]) { opacity: 1; }
.pz-lightbox[hidden] { display: none; }

.pz-lb-img-wrap {
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pz-lb-img {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    object-fit: contain;
    transition: opacity .2s;
}
.pz-lb-caption {
    color: #fff;
    text-align: center;
    margin: 16px 0 0;
    font-size: 15px;
    font-weight: 600;
}

.pz-lb-close,
.pz-lb-prev,
.pz-lb-next {
    position: fixed;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    line-height: 1;
}
.pz-lb-close,
.pz-lb-prev,
.pz-lb-next { backdrop-filter: blur(4px); }

.pz-lb-close {
    top: 20px; right: 20px;
    width: 46px; height: 46px;
    font-size: 28px;
}
.pz-lb-prev {
    left: 16px; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    font-size: 36px;
}
.pz-lb-next {
    right: 16px; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    font-size: 36px;
}
.pz-lb-close:hover,
.pz-lb-prev:hover,
.pz-lb-next:hover { background: rgba(255,255,255,.28); }

/* ─── SINGLE ARTICLE ─────────────────────────────────────────────────────────── */
.pz-single-article { padding-block: 30px 56px; max-width: 780px; }
.pz-single-h1 { font-size: clamp(30px, 4vw, 50px); margin: 14px 0 8px; }
.pz-single-meta { font-size: 13px; color: #9a93a8; margin: 0 0 28px; }
.pz-single-thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; }
.pz-single-thumb img { width: 100%; height: auto; }
.pz-single-content { font-size: 17px; line-height: 1.75; color: #3a4460; }
.pz-single-content p { margin: 0 0 20px; }
.pz-single-content h2 { font-size: 26px; margin: 32px 0 14px; }

/* ─── PAGE (Elementor) ───────────────────────────────────────────────────────── */
.pz-page-wrap { padding-block: 40px 60px; }
.pz-main { min-height: 60vh; }

/* ─── PAGINATION ─────────────────────────────────────────────────────────────── */
.pz-pagination { margin-top: 40px; text-align: center; }
.pz-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pz-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 2px solid #e7e0d4;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: all .2s;
}
.pz-pagination .page-numbers.current,
.pz-pagination .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ─── SHOP HERO ─────────────────────────────────────────────────────────────── */
.pz-shop-hero {
    padding-top: 44px;
    padding-bottom: 10px;
}
.pz-shop-h1 {
    font-size: clamp(32px, 4vw, 50px);
    margin: 0 0 12px;
}
.pz-shop-desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink2);
    max-width: 620px;
    margin: 0 0 28px;
}
.pz-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.pz-shop-count {
    font-size: 14px;
    color: var(--ink2);
    margin: 0;
    font-weight: 500;
}
.pz-shop-order select {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    border: 2px solid #e7e0d4;
    border-radius: 999px;
    padding: 8px 16px;
    background: #fff;
    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='%2316294f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ─── SHOP PRODUCT GRID ──────────────────────────────────────────────────────── */
.pz-products-grid--shop {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.pz-product-card--shop {
    display: flex;
    flex-direction: column;
}
.pz-product-card--outofstock { opacity: .7; }

.pz-product-img-link { display: block; text-decoration: none; }

.pz-product-badge--sale {
    background: var(--red);
    color: #fff;
}
.pz-product-badge--out {
    background: #9a93a8;
    color: #fff;
}

.pz-product-cat {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--pink);
    margin: 0 0 6px;
    text-transform: uppercase;
}
.pz-product-name-link { text-decoration: none; }
.pz-product-name-link:hover .pz-product-name { color: var(--red); }

.pz-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.pz-product-prices {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.pz-product-price-old {
    font-size: 13px;
    color: #9a93a8;
    text-decoration: line-through;
}
.pz-product-cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    border: 2px solid #e7e0d4;
    padding: 7px 14px;
    border-radius: 999px;
    transition: all .2s;
    white-space: nowrap;
}
.pz-product-cta:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.pz-product-cta--disabled {
    color: #9a93a8;
    border-color: #e7e0d4;
    cursor: not-allowed;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 2px solid #e7e0d4;
    display: inline-flex;
}

/* ─── SHOP EMPTY ─────────────────────────────────────────────────────────────── */
.pz-shop-empty {
    text-align: center;
    padding: 80px 20px;
}
.pz-shop-empty-icon { font-size: 64px; display: block; margin-bottom: 20px; }
.pz-shop-empty h2 { margin: 0 0 12px; }
.pz-shop-empty p { color: var(--ink2); margin: 0 0 28px; }

/* ─── WOOCOMMERCE pagination override ───────────────────────────────────────── */
.woocommerce-pagination ul {
    display: flex;
    gap: 8px;
    justify-content: center;
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    flex-wrap: wrap;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 2px solid #e7e0d4;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s;
}
.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ─── WOOCOMMERCE base overrides ─────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 15px;
}

/* ─── PAGINA RISULTATI DI RICERCA ────────────────────────────────────────────── */
.pz-search-hero { padding: 40px var(--px) 6px; }
.pz-search-h1 { margin: 0 0 6px; word-break: break-word; }
.pz-search-refine { margin-top: 22px; max-width: 380px; }

.pz-search-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pz-search-result {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.pz-search-result:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.pz-search-thumb {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.pz-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pz-search-body { flex: 1; min-width: 0; }
.pz-search-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 6px;
}
.pz-search-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--ink);
    margin: 0 0 6px;
}
.pz-search-excerpt {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink2);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pz-search-link { font-weight: 700; font-size: 14px; }
.pz-search-empty-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── PAGINA CONTATTI ────────────────────────────────────────────────────────── */
.pz-contatti-hero { padding: 40px var(--px) 6px; }
.pz-contatti-hero h1 { margin: 0 0 14px; }
.pz-contatti-lead { font-size: 18px; line-height: 1.6; color: var(--ink2); max-width: 640px; margin: 0; }

.pz-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.pz-contact-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.pz-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.pz-contact-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.pz-contact-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 19px;
    margin: 0 0 10px;
}
.pz-contact-email {
    display: inline-block;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    word-break: normal;
    overflow-wrap: normal;
}
.pz-contact-email:hover { text-decoration: underline; }

.pz-sedi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.pz-sede-card {
    background: var(--warm-bg);
    border: 1px solid #f1e8d6;
    border-radius: var(--radius-lg);
    padding: 26px 26px 24px;
}
.pz-sede-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--ink2);
    margin: 0 0 10px;
}
.pz-sede-card address {
    font-style: normal;
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
}

.pz-whatsapp-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 22px 26px;
    text-decoration: none;
    color: inherit;
    margin-top: 22px;
    transition: transform .2s, box-shadow .2s;
}
.pz-whatsapp-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.pz-whatsapp-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pz-whatsapp-text { display: flex; flex-direction: column; justify-content: center; }
.pz-whatsapp-number {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 21px;
    margin: 0;
}

.pz-map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    line-height: 0;
}
.pz-map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.pz-map-caption {
    font-size: 14px;
    color: var(--ink2);
    margin: 12px 0 0;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
    .pz-desktop-nav { display: none !important; }
    .pz-burger { display: inline-flex !important; }

    .pz-hero-grid { grid-template-columns: 1fr; }
    .pz-hero-art { order: -1; min-height: 260px; }
    .pz-hero-glow { display: none; }

    .pz-cta-row { flex-direction: column; align-items: flex-start; }

    .pz-progetto-hero { grid-template-columns: 1fr; }
    .pz-progetto-hero-info { padding: 24px; }
    .pz-progetto-layout { grid-template-columns: 1fr; }
    .pz-progetto-sidebar { position: static; }

    .pz-product-grid { grid-template-columns: 1fr; }
    .pz-product-gallery { grid-template-columns: 1fr; }
    .pz-thumbs-col { flex-direction: row; }
    .pz-thumb { width: 70px; height: 70px; }

    .pz-dona-box { padding: 36px 20px; }

    .pz-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    :root { --px: 18px; }

    .pz-cards-grid { grid-template-columns: 1fr; }
    .pz-products-grid { grid-template-columns: 1fr 1fr; }
    .pz-blog-grid { grid-template-columns: 1fr; }
    .pz-social-wall { grid-template-columns: 1fr 1fr; }
    .pz-impatto-grid { grid-template-columns: 1fr 1fr; }
    .pz-footer-grid { grid-template-columns: 1fr; }

    .pz-section-head { flex-direction: column; align-items: flex-start; }

    .pz-hero { padding-top: 32px; }

    .pz-whatsapp-box { flex-direction: column; text-align: center; }

    .pz-search-result { padding: 14px 16px; gap: 14px; }
    .pz-search-thumb { width: 60px; height: 60px; font-size: 22px; }
    .pz-search-empty-links { flex-direction: column; align-items: stretch; }
}

/* ─── PRINT ──────────────────────────────────────────────────────────────────── */
@media print {
    .pz-header, .pz-footer, .pz-sidebar-box, .pz-dona-box { display: none; }
    .pz-progetto-layout { grid-template-columns: 1fr; }
}
