/*
Theme Name: Consulting Child
Theme URI: https://www.posterzip.it/
Description: Child theme per Poster Zip basato sul tema Consulting.
Author: OpenAI
Version: 1.0.0
Template: consulting
Text Domain: consulting-child
*/
#footer.style_3 {
background-color: #000000;
}
/* Inserisci qui il tuo CSS personalizzato */
.single-postazione .page_title,
.single-postazione .page-title,
.single-postazione .title_box,
.single-postazione .breadcrumb_area,
.single-postazione .page-title-wrap,
.single-postazione .stm_titlebox,
.single-postazione .main-title,
.single-postazione .page_title_block,
.single-postazione .breadcrumbs_area,
.post-type-archive-postazione .page_title,
.post-type-archive-postazione .page-title,
.post-type-archive-postazione .title_box,
.post-type-archive-postazione .breadcrumb_area,
.post-type-archive-postazione .page-title-wrap,
.post-type-archive-postazione .stm_titlebox,
.post-type-archive-postazione .main-title,
.post-type-archive-postazione .page_title_block,
.post-type-archive-postazione .breadcrumbs_area {
    display: none !important;
}
.pz-container{width:min(1240px,92%);margin:0 auto}
.pz-hero,.pz-single{padding:70px 0}
.pz-map,.pz-archive,.pz-cta{padding:40px 0 70px}
.pz-eyebrow{display:inline-block;padding:8px 14px;border-radius:999px;background:#fff0f2;color:#d91f32;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pz-hero{background:linear-gradient(135deg,#121212 0%,#1e1e1e 100%);color:#fff}
.pz-hero h1,.pz-section-head h2,.pz-single h1{margin:14px 0 14px;line-height:1.02;letter-spacing:-.03em}
.pz-hero h1,.pz-single h1{font-size:clamp(34px,5vw,64px)}
.pz-hero p,.pz-section-head p,.pz-subtitle,.pz-desc,.pz-info-card p{color:#666;line-height:1.7}
.pz-hero p{color:rgba(255,255,255,.78);max-width:760px;font-size:18px}
.pz-hero__actions,.pz-actions,.pz-cta__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.pz-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:999px;border:1px solid #ddd;text-decoration:none;font-weight:700;transition:.2s ease}
.pz-btn:hover{transform:translateY(-1px)}
.pz-btn--primary{background:#e31d2f;border-color:#e31d2f;color:#fff}
.pz-btn--ghost{background:#fff;color:#111;border-color:#ddd}
.pz-map__box,.pz-card,.pz-info-card,.pz-cta__box{background:#fff;border:1px solid #eee;border-radius:24px;box-shadow:0 12px 30px rgba(0,0,0,.06)}
.pz-map__box{padding:18px}
.pz-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.pz-section-head h2{font-size:clamp(28px,3vw,42px)}
.pz-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr auto;gap:14px;margin-bottom:28px}
.pz-filter label{display:block;font-size:13px;font-weight:700;margin:0 0 8px}
.pz-filter input,.pz-filter select{width:100%;min-height:50px;padding:0 14px;border:1px solid #ddd;border-radius:16px;background:#fff}
.pz-filter--actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.pz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.pz-card{overflow:hidden}
.pz-card__media{display:block;position:relative;background:#f4f4f4}
.pz-card__media img{width:100%;height:280px;display:block;object-fit:cover}
.pz-card__placeholder{display:flex;align-items:center;justify-content:center;height:280px;color:#888;background:#f7f7f7}
.pz-badge{position:absolute;top:16px;left:16px;padding:8px 12px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:700}
.pz-card__body{padding:22px}
.pz-card__body h3{margin:0 0 8px;font-size:28px;line-height:1.08}
.pz-card__body h3 a,.pz-single h1 a{color:#111;text-decoration:none}
.pz-subtitle{margin:0 0 14px}
.pz-meta,.pz-info-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.pz-meta{margin-bottom:14px}
.pz-meta li,.pz-info-list li{display:flex;justify-content:space-between;gap:18px;padding-bottom:10px;border-bottom:1px dashed #ececec;font-size:15px}
.pz-meta li strong,.pz-info-list li strong{color:#111}
.pz-meta li span,.pz-info-list li span{color:#666}
.pz-pagination{text-align:center;margin-top:30px}
.pz-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;margin:0 4px;padding:0 12px;border-radius:999px;border:1px solid #ddd;color:#111;text-decoration:none}
.pz-pagination .current{background:#111;color:#fff;border-color:#111}
.pz-notice{padding:20px;border-radius:18px;background:#fff7f8;border:1px solid #ffd7dd;color:#8d2331}
.pz-cta__box{padding:34px;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;background:#111;color:#fff}
.pz-cta__box h2{margin:0 0 8px;font-size:clamp(28px,3vw,40px);line-height:1.02}
.pz-cta__box p{color:rgba(255,255,255,.76);margin:0}
.pz-single__top{display:grid;grid-template-columns:1.35fr .65fr;gap:32px}
.pz-featured img{width:100%;height:auto;border-radius:24px;display:block}
.pz-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.pz-gallery__item img{width:100%;height:260px;object-fit:cover;border-radius:18px;display:block}
.pz-content{margin-top:24px}
.pz-single__sidebar{display:grid;gap:16px;align-content:start}
.pz-info-card{padding:22px}
.pz-info-card h3{margin:0 0 12px;font-size:20px;line-height:1.1}
.pz-actions--stack{flex-direction:column}
@media (max-width: 1024px){
  .pz-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pz-grid,.pz-single__top,.pz-cta__box{grid-template-columns:1fr}
}
@media (max-width: 768px){
  .pz-hero,.pz-single{padding:52px 0}
  .pz-map,.pz-archive,.pz-cta{padding:32px 0 50px}
  .pz-filters,.pz-grid,.pz-gallery{grid-template-columns:1fr}
  .pz-card__media img,.pz-gallery__item img{height:auto}
}

.pz-single {
    padding-top: 40px;
}

.pz-featured img {
    max-height: 520px;
    object-fit: cover;
}

.pz-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.pz-info-card {
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.pz-container{
    width:min(1380px,94%) !important;
    margin:0 auto;
}

.pz-hero{
    padding:80px 0 !important;
}

.pz-hero h1{
    color:#fff !important;
    font-size:clamp(38px,5vw,68px) !important;
    line-height:1 !important;
    max-width:11ch;
}

.pz-hero p{
    color:rgba(255,255,255,.82) !important;
    font-size:18px !important;
    max-width:760px;
}

.pz-section-head h2{
    font-size:clamp(30px,3vw,44px) !important;
    line-height:1.05;
}

.pz-filters{
    display:grid !important;
    grid-template-columns:1.2fr 1fr 1fr 1fr auto !important;
    gap:14px !important;
    align-items:end !important;
}

.pz-filter input,
.pz-filter select{
    min-height:52px !important;
    border-radius:16px !important;
    font-size:14px !important;
}

.pz-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:26px !important;
}

.pz-card{
    border-radius:24px !important;
    overflow:hidden;
}

.pz-card__media img{
    width:100%;
    height:320px !important;
    object-fit:cover !important;
    display:block;
}

.pz-card__body{
    padding:24px !important;
}

.pz-card__body h3{
    font-size:30px !important;
    line-height:1.05 !important;
    margin-bottom:10px !important;
}

.pz-card__body h3 a{
    color:#111 !important;
}

.pz-meta li{
    font-size:14px !important;
}

.pz-desc{
    font-size:15px !important;
    line-height:1.75 !important;
}

.pz-cta__box{
    padding:36px !important;
    border-radius:26px !important;
}

.pz-cta__box h2{
    color:#fff !important;
    font-size:clamp(30px,3vw,42px) !important;
    line-height:1.05 !important;
}

.pz-cta__box p{
    color:rgba(255,255,255,.78) !important;
    font-size:16px !important;
}



@media (max-width: 1024px){
    .pz-filters{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

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

@media (max-width: 768px){
    .pz-hero{
        padding:56px 0 !important;
    }

    .pz-filters{
        grid-template-columns:1fr !important;
    }

    .pz-card__media img{
        height:auto !important;
    }
}

/* ============================
   POSTER ZIP MAPPA LEAFLET
   Incolla in fondo a:
   wp-content/themes/consulting-child/style.css
   ============================ */

.pz-map-wrap{
    width:100%;
}

.pz-leaflet-map{
    width:100%;
    border-radius:26px;
    overflow:hidden;
    border:1px solid #ececec;
    box-shadow:0 14px 30px rgba(0,0,0,.06);
}

.posterzip-custom-marker{
    display:flex;
    align-items:center;
    justify-content:center;
}

.posterzip-custom-marker span{
    width:20px;
    height:20px;
    border-radius:50%;
    border:3px solid #fff;
    box-shadow:0 8px 18px rgba(0,0,0,.22);
    display:block;
}

.pz-map-popup{
    min-width:260px;
}

.pz-map-popup__image{
    margin:-8px -8px 12px -8px;
    overflow:hidden;
    border-radius:12px;
}

.pz-map-popup__image img{
    width:100%;
    height:150px;
    object-fit:cover;
    display:block;
}

.pz-map-popup h3{
    margin:0 0 8px;
    font-size:22px;
    line-height:1.05;
    color:#111;
}

.pz-map-popup__subtitle{
    margin:0 0 10px;
    color:#666;
    font-size:14px;
    line-height:1.5;
}

.pz-map-popup__meta{
    list-style:none;
    padding:0;
    margin:0 0 12px;
    display:grid;
    gap:7px;
}

.pz-map-popup__meta li{
    font-size:13px;
    color:#555;
}

.pz-map-popup__meta strong{
    color:#111;
}

.pz-map-popup__desc{
    margin:0 0 14px;
    color:#555;
    font-size:14px;
    line-height:1.65;
}

.pz-map-popup__actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.pz-map-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    border:1px solid #ddd;
}

.pz-map-btn--primary{
    background:#e31d2f;
    border-color:#e31d2f;
    color:#fff;
}

.pz-map-btn--ghost{
    background:#fff;
    color:#111;
}

.pz-map-notice{
    padding:18px 20px;
    border-radius:18px;
    background:#fff7f8;
    border:1px solid #ffd7dd;
    color:#8d2331;
}

.leaflet-popup-content-wrapper{
    border-radius: 20px !important;
    padding: 0 !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.16) !important;
}

.leaflet-popup-content{
    margin: 0 !important;
    width: 260px !important;
}

.leaflet-popup-tip{
    box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
}

.pz-map-popup{
    min-width: 0 !important;
    width: 100%;
    overflow: hidden;
}

.pz-map-popup__image{
    margin: 0 !important;
    border-radius: 0 !important;
}

.pz-map-popup__image img{
    width: 100%;
    height: 130px !important;
    object-fit: cover;
    display: block;
}

.pz-map-popup__body{
    padding: 16px;
}

.pz-map-popup h3{
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em;
}

.pz-map-popup__subtitle{
    margin: 0 0 10px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.pz-map-popup__meta{
    margin: 0 0 10px !important;
    gap: 6px !important;
}

.pz-map-popup__meta li{
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.pz-map-popup__desc{
    margin: 0 0 12px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.pz-map-popup__actions{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px !important;
}

.pz-map-btn{
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
}

.leaflet-container a.leaflet-popup-close-button{
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: #111 !important;
    font-size: 18px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,.12);
}

.leaflet-popup-content-wrapper{
    border-radius: 18px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.18) !important;
}

.leaflet-popup-content{
    margin: 0 !important;
    width: 240px !important;
}

.pz-map-popup{
    width: 100%;
    min-width: 0 !important;
}

.pz-map-popup__image{
    margin: 0 !important;
}

.pz-map-popup__image img{
    width: 100%;
    height: 110px !important;
    object-fit: cover;
    display: block;
}

.pz-map-popup__body{
    padding: 14px !important;
}

.pz-map-popup h3{
    margin: 0 0 8px !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
}

.pz-map-popup__subtitle{
    font-size: 12px !important;
    margin: 0 0 8px !important;
}

.pz-map-popup__meta{
    margin: 0 0 10px !important;
    gap: 5px !important;
}

.pz-map-popup__meta li{
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.pz-map-popup__desc{
    font-size: 12px !important;
    line-height: 1.55 !important;
    margin: 0 0 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pz-map-popup__actions{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
}

.pz-map-btn{
    min-height: 36px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
}

/* ============================
   POSTER ZIP - MAPPA MINI CARD LATERALE
   Incolla in fondo a style.css
   ============================ */

.pz-sidecard-layout{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:22px;
    align-items:stretch;
}

.pz-sidecard-panel,
.pz-sidecard-map-shell{
    background:#fff;
    border:1px solid #ececec;
    border-radius:28px;
    box-shadow:0 18px 40px rgba(0,0,0,.08);
    overflow:hidden;
}

.pz-sidecard-panel{
    min-height:680px;
    display:flex;
    flex-direction:column;
}

.pz-sidecard-photo-wrap{
    position:relative;
    background:#f3f3f3;
}

.pz-sidecard-photo{
    width:100%;
    height:240px;
    display:block;
    object-fit:cover;
}

.pz-sidecard-placeholder{
    height:240px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#888;
    font-weight:700;
    background:#f7f7f7;
}

.pz-sidecard-badge{
    position:absolute;
    left:16px;
    top:16px;
    background:#fff;
    color:#e31d2f;
    border:1px solid #ffd7dd;
    border-radius:999px;
    padding:8px 12px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.pz-sidecard-body{
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:16px;
    flex:1;
}

.pz-sidecard-body h2{
    margin:0;
    font-size:34px;
    line-height:1;
    letter-spacing:-.03em;
    color:#121212;
}

.pz-sidecard-subtitle{
    margin:0;
    color:#666;
    line-height:1.7;
    font-size:15px;
}

.pz-sidecard-meta{
    display:grid;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}

.pz-sidecard-meta li{
    display:flex;
    justify-content:space-between;
    gap:16px;
    border-bottom:1px dashed #e9e9ec;
    padding-bottom:10px;
    font-size:14px;
}

.pz-sidecard-meta strong{
    color:#111;
}

.pz-sidecard-meta span{
    color:#666;
    text-align:right;
}

.pz-sidecard-desc{
    margin:0;
    color:#666;
    line-height:1.75;
    font-size:15px;
}

.pz-sidecard-actions{
    margin-top:auto;
    display:grid;
    gap:10px;
}

.pz-sidecard-btn{
    min-height:46px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    border:1px solid #e9e9ec;
}

.pz-sidecard-btn--primary{
    background:#e31d2f;
    border-color:#e31d2f;
    color:#fff;
}

.pz-sidecard-btn--ghost{
    background:#fff;
    color:#111;
}

.pz-sidecard-map-top{
    height:74px;
    border-bottom:1px solid #ececec;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    gap:14px;
    flex-wrap:wrap;
}

.pz-sidecard-map-top h3{
    margin:0;
    font-size:18px;
    letter-spacing:-.02em;
}

.pz-sidecard-legend{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.pz-sidecard-legend span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border:1px solid #ececec;
    border-radius:999px;
    padding:8px 11px;
    font-size:12px;
    color:#666;
    background:#fafafa;
}

.pz-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    display:inline-block;
}

.pz-dot--green{background:#22a36a}
.pz-dot--orange{background:#ff9f1c}
.pz-dot--red{background:#e31d2f}

.pz-sidecard-map{
    width:100%;
    min-height:680px;
}

.posterzip-side-marker{
    display:flex;
    align-items:center;
    justify-content:center;
}

.posterzip-side-marker span{
    width:22px;
    height:22px;
    border-radius:50%;
    border:4px solid #fff;
    box-shadow:0 10px 22px rgba(0,0,0,.20);
    display:block;
}

.posterzip-side-marker.selected span{
    width:28px;
    height:28px;
    border-width:5px;
    outline:8px solid rgba(227,29,47,.12);
}

@media (max-width:1024px){
    .pz-sidecard-layout{
        grid-template-columns:1fr;
    }

    .pz-sidecard-panel{
        min-height:auto;
    }

    .pz-sidecard-map{
        min-height:520px;
    }
}

.pz-sidecard-map-shell{
    display:flex;
    flex-direction:column;
}

.pz-sidecard-map{
    flex:1;
    min-height:680px;
    height:100% !important;
}

.pz-sidecard-desc{
    display:-webkit-box;
    -webkit-line-clamp:6;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.pz-sidecard-body h2{
    font-size: 28px;
    line-height: 1.02;
}

.pz-sidecard-desc{
    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.pz-sidecard-map{
    min-height: 720px;
}
.pz-sidecard-panel{
    min-height: 720px;
}

.pz-map{
    padding-top: 20px;
}


/* ===== Popup mobile per mappa impianti ===== */
@media (max-width: 767px){
    .pz-sidecard-layout{
        grid-template-columns:1fr !important;
    }

    .pz-sidecard-panel{
        display:none !important;
    }

    .pz-sidecard-map{
        min-height:520px !important;
    }

    .pz-sidecard-map-top{
        height:auto !important;
        padding:16px !important;
        align-items:flex-start !important;
    }

    .pz-sidecard-legend{
        gap:12px !important;
    }

    .pz-sidecard-legend span{
        padding:0 !important;
        border:none !important;
        background:none !important;
        font-size:12px !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-content-wrapper{
        border-radius:20px !important;
        padding:0 !important;
        overflow:hidden !important;
        box-shadow:0 18px 38px rgba(0,0,0,.18) !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-content{
        margin:0 !important;
        width:230px !important;
    }

    .pz-mobile-popup{
        width:100%;
        overflow:hidden;
        background:#fff;
    }

    .pz-mobile-popup__image{
        position:relative;
        margin:0;
    }

    .pz-mobile-popup__image img{
        width:100%;
        height:105px;
        object-fit:cover;
        display:block;
    }

    .pz-mobile-popup__badge{
        position:absolute;
        left:12px;
        top:12px;
        background:#fff;
        color:#e31d2f;
        border:1px solid #ffd7dd;
        border-radius:999px;
        padding:6px 10px;
        font-size:11px;
        font-weight:800;
        letter-spacing:.03em;
        text-transform:uppercase;
    }

    .pz-mobile-popup__body{
        padding:12px;
    }

    .pz-mobile-popup__body h3{
        margin:0 0 10px;
        font-size:16px;
        line-height:1.08;
        letter-spacing:-.02em;
        color:#111;
    }

    .pz-mobile-popup__meta{
        list-style:none;
        padding:0;
        margin:0 0 12px;
        display:grid;
        gap:7px;
    }

    .pz-mobile-popup__meta li{
        display:flex;
        justify-content:space-between;
        gap:10px;
        font-size:12px;
        line-height:1.4;
        padding-bottom:6px;
        border-bottom:1px dashed #ececec;
    }

    .pz-mobile-popup__meta strong{
        color:#111;
    }

    .pz-mobile-popup__meta span{
        color:#666;
        text-align:right;
    }

    .pz-mobile-popup__actions{
        display:grid;
        gap:8px;
    }

    .pz-mobile-popup__btn{
        min-height:38px;
        border-radius:999px;
        display:flex;
        align-items:center;
        justify-content:center;
        text-decoration:none;
        font-size:12px;
        font-weight:800;
        border:1px solid #e9e9ec;
    }

    .pz-mobile-popup__btn--primary{
        background:#e31d2f;
        border-color:#e31d2f;
        color:#fff !important;
    }

    .pz-mobile-popup__btn--ghost{
        background:#fff;
        color:#111 !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-tip{
        box-shadow:0 8px 18px rgba(0,0,0,.12) !important;
    }

    .pz-mobile-popup-wrap a.leaflet-popup-close-button{
        top:8px !important;
        right:8px !important;
        width:28px !important;
        height:28px !important;
        line-height:28px !important;
        border-radius:50%;
        background:rgba(255,255,255,.96);
        color:#111 !important;
        font-size:18px !important;
        box-shadow:0 8px 16px rgba(0,0,0,.12);
    }
}

@media (max-width: 767px){
    .pz-sidecard-layout{
        grid-template-columns:1fr !important;
    }

    .pz-sidecard-panel{
        display:none !important;
    }

    .pz-sidecard-map{
        min-height:520px !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-content-wrapper{
        border-radius:20px !important;
        padding:0 !important;
        overflow:hidden !important;
        box-shadow:0 18px 38px rgba(0,0,0,.18) !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-content{
        margin:0 !important;
        width:230px !important;
    }

    .pz-mobile-popup{
        width:100%;
        overflow:hidden;
        background:#fff;
    }

    .pz-mobile-popup__image{
        position:relative;
        margin:0;
    }

    .pz-mobile-popup__image img{
        width:100%;
        height:105px;
        object-fit:cover;
        display:block;
    }

    .pz-mobile-popup__badge{
        position:absolute;
        left:12px;
        top:12px;
        background:#fff;
        color:#e31d2f;
        border:1px solid #ffd7dd;
        border-radius:999px;
        padding:6px 10px;
        font-size:11px;
        font-weight:800;
        letter-spacing:.03em;
        text-transform:uppercase;
    }

    .pz-mobile-popup__body{
        padding:12px;
    }

    .pz-mobile-popup__body h3{
        margin:0 0 10px;
        font-size:16px;
        line-height:1.08;
        letter-spacing:-.02em;
        color:#111;
    }

    .pz-mobile-popup__meta{
        list-style:none;
        padding:0;
        margin:0 0 12px;
        display:grid;
        gap:7px;
    }

    .pz-mobile-popup__meta li{
        display:flex;
        justify-content:space-between;
        gap:10px;
        font-size:12px;
        line-height:1.4;
        padding-bottom:6px;
        border-bottom:1px dashed #ececec;
    }

    .pz-mobile-popup__meta strong{
        color:#111;
    }

    .pz-mobile-popup__meta span{
        color:#666;
        text-align:right;
    }

    .pz-mobile-popup__actions{
        display:grid;
        gap:8px;
    }

    .pz-mobile-popup__btn{
        min-height:38px;
        border-radius:999px;
        display:flex;
        align-items:center;
        justify-content:center;
        text-decoration:none;
        font-size:12px;
        font-weight:800;
        border:1px solid #e9e9ec;
    }

    .pz-mobile-popup__btn--primary{
        background:#e31d2f;
        border-color:#e31d2f;
        color:#fff !important;
    }

    .pz-mobile-popup__btn--ghost{
        background:#fff;
        color:#111 !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-tip{
        box-shadow:0 8px 18px rgba(0,0,0,.12) !important;
    }

    .pz-mobile-popup-wrap a.leaflet-popup-close-button{
        top:8px !important;
        right:8px !important;
        width:28px !important;
        height:28px !important;
        line-height:28px !important;
        border-radius:50%;
        background:rgba(255,255,255,.96);
        color:#111 !important;
        font-size:18px !important;
        box-shadow:0 8px 16px rgba(0,0,0,.12);
    }
}

/* ===== Popup mobile per mappa impianti ===== */
@media (max-width: 767px){
    .pz-sidecard-layout{
        grid-template-columns:1fr !important;
    }

    .pz-sidecard-panel{
        display:none !important;
    }

    .pz-sidecard-map{
        min-height:520px !important;
    }

    .pz-sidecard-map-top{
        height:auto !important;
        padding:16px !important;
        align-items:flex-start !important;
    }

    .pz-sidecard-legend{
        gap:12px !important;
    }

    .pz-sidecard-legend span{
        padding:0 !important;
        border:none !important;
        background:none !important;
        font-size:12px !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-content-wrapper{
        border-radius:20px !important;
        padding:0 !important;
        overflow:hidden !important;
        box-shadow:0 18px 38px rgba(0,0,0,.18) !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-content{
        margin:0 !important;
        width:230px !important;
    }

    .pz-mobile-popup{
        width:100%;
        overflow:hidden;
        background:#fff;
    }

    .pz-mobile-popup__image{
        position:relative;
        margin:0;
    }

    .pz-mobile-popup__image img{
        width:100%;
        height:105px;
        object-fit:cover;
        display:block;
    }

    .pz-mobile-popup__badge{
        position:absolute;
        left:12px;
        top:12px;
        background:#fff;
        color:#e31d2f;
        border:1px solid #ffd7dd;
        border-radius:999px;
        padding:6px 10px;
        font-size:11px;
        font-weight:800;
        letter-spacing:.03em;
        text-transform:uppercase;
    }

    .pz-mobile-popup__body{
        padding:12px;
    }

    .pz-mobile-popup__body h3{
        margin:0 0 10px;
        font-size:16px;
        line-height:1.08;
        letter-spacing:-.02em;
        color:#111;
    }

    .pz-mobile-popup__meta{
        list-style:none;
        padding:0;
        margin:0 0 12px;
        display:grid;
        gap:7px;
    }

    .pz-mobile-popup__meta li{
        display:flex;
        justify-content:space-between;
        gap:10px;
        font-size:12px;
        line-height:1.4;
        padding-bottom:6px;
        border-bottom:1px dashed #ececec;
    }

    .pz-mobile-popup__meta strong{
        color:#111;
    }

    .pz-mobile-popup__meta span{
        color:#666;
        text-align:right;
    }

    .pz-mobile-popup__actions{
        display:grid;
        gap:8px;
    }

    .pz-mobile-popup__btn{
        min-height:38px;
        border-radius:999px;
        display:flex;
        align-items:center;
        justify-content:center;
        text-decoration:none;
        font-size:12px;
        font-weight:800;
        border:1px solid #e9e9ec;
    }

    .pz-mobile-popup__btn--primary{
        background:#e31d2f;
        border-color:#e31d2f;
        color:#fff !important;
    }

    .pz-mobile-popup__btn--ghost{
        background:#fff;
        color:#111 !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-tip{
        box-shadow:0 8px 18px rgba(0,0,0,.12) !important;
    }

    .pz-mobile-popup-wrap a.leaflet-popup-close-button{
        top:8px !important;
        right:8px !important;
        width:28px !important;
        height:28px !important;
        line-height:28px !important;
        border-radius:50%;
        background:rgba(255,255,255,.96);
        color:#111 !important;
        font-size:18px !important;
        box-shadow:0 8px 16px rgba(0,0,0,.12);
    }
}

@media (max-width: 767px){
    .pz-sidecard-layout{
        grid-template-columns:1fr !important;
    }

    .pz-sidecard-panel{
        display:none !important;
    }

    .pz-sidecard-map{
        min-height:520px !important;
    }

    .pz-sidecard-map-top{
        height:auto !important;
        padding:16px !important;
        align-items:flex-start !important;
    }

    .pz-sidecard-legend{
        gap:12px !important;
    }

    .pz-sidecard-legend span{
        padding:0 !important;
        border:none !important;
        background:none !important;
        font-size:12px !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-content-wrapper{
        border-radius:20px !important;
        padding:0 !important;
        overflow:hidden !important;
        box-shadow:0 18px 38px rgba(0,0,0,.18) !important;
    }

    .pz-mobile-popup-wrap .leaflet-popup-content{
        margin:0 !important;
        width:230px !important;
    }

    .pz-mobile-popup{
        width:100%;
        overflow:hidden;
        background:#fff;
    }

    .pz-mobile-popup__image{
        position:relative;
        margin:0;
    }

    .pz-mobile-popup__image img{
        width:100%;
        height:105px;
        object-fit:cover;
        display:block;
    }

    .pz-mobile-popup__badge{
        position:absolute;
        left:12px;
        top:12px;
        background:#fff;
        color:#e31d2f;
        border:1px solid #ffd7dd;
        border-radius:999px;
        padding:6px 10px;
        font-size:11px;
        font-weight:800;
        letter-spacing:.03em;
        text-transform:uppercase;
    }

    .pz-mobile-popup__body{
        padding:12px;
    }

    .pz-mobile-popup__body h3{
        margin:0 0 10px;
        font-size:16px;
        line-height:1.08;
        letter-spacing:-.02em;
        color:#111;
    }

    .pz-mobile-popup__meta{
        list-style:none;
        padding:0;
        margin:0 0 12px;
        display:grid;
        gap:7px;
    }

    .pz-mobile-popup__meta li{
        display:flex;
        justify-content:space-between;
        gap:10px;
        font-size:12px;
        line-height:1.4;
        padding-bottom:6px;
        border-bottom:1px dashed #ececec;
    }

    .pz-mobile-popup__meta strong{
        color:#111;
    }

    .pz-mobile-popup__meta span{
        color:#666;
        text-align:right;
    }

    .pz-mobile-popup__actions{
        display:grid;
        gap:8px;
    }

    .pz-mobile-popup__btn{
        min-height:38px;
        border-radius:999px;
        display:flex;
        align-items:center;
        justify-content:center;
        text-decoration:none;
        font-size:12px;
        font-weight:800;
        border:1px solid #e9e9ec;
    }

    .pz-mobile-popup__btn--primary{
        background:#e31d2f;
        border-color:#e31d2f;
        color:#fff !important;
    }

    .pz-mobile-popup__btn--ghost{
        background:#fff;
        color:#111 !important;
    }
}

@media (min-width: 768px){
    .leaflet-popup{
        display:none !important;
    }
}

.posterzip-noleggio-box {
    background: #111;
    color: #fff;
    padding: 16px 18px;
    border-radius: 8px;
    margin: 12px 0 18px 0;
    text-align: center;
    border: 2px solid #25D366;
    max-width: 100%;
}

.posterzip-noleggio-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.posterzip-noleggio-text {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 12px;
}

.posterzip-noleggio-btn {
    display: inline-block;
    background: #25D366;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.posterzip-noleggio-btn:hover {
    background: #1ebe5d;
    color: #fff !important;
}

@media (max-width: 768px) {
    .posterzip-noleggio-box {
        padding: 13px;
        margin: 10px 0 14px 0;
    }

    .posterzip-noleggio-title {
        font-size: 15px;
    }

    .posterzip-noleggio-text {
        font-size: 13px;
    }

    .posterzip-noleggio-btn {
        width: 100%;
        box-sizing: border-box;
    }
}
/* Nasconde "by admin" e autore nei prodotti WooCommerce */
.woocommerce .byline,
.woocommerce .author,
.woocommerce .posted-by,
.woocommerce .post-author,
.woocommerce .entry-meta .author,
.woocommerce .entry-meta .byline,
.woocommerce .product .byline,
.woocommerce .product .posted-by {
    display: none !important;
}

.related.products > h2 {
    font-size: 0 !important;
}

.related.products > h2::before {
    content: "Prodotti correlati";
    font-size: 28px !important;
    font-weight: 700;
    color: #111;
}

/* Nasconde la sidebar solo nelle singole pagine prodotto */
body.single-product .sidebar-area.stm_sidebar {
    display: none !important;
}

body.single-product .col-lg-3.col-lg-pull-9.col-md-3.col-md-pull-9.hidden-sm.hidden-xs {
    display: none !important;
}

/* Allarga il contenuto principale delle pagine prodotto */
body.single-product .col-lg-9.col-lg-push-3,
body.single-product .col-md-9.col-md-push-3 {
    width: 100% !important;
    left: 0 !important;
    float: none !important;
}


/* Riduce davvero la fascia rossa nelle singole pagine prodotto */
body.single-product .page_title {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* Elimina eventuale altezza forzata sul contenitore interno */
body.single-product .page_title .container {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Titolo */
body.single-product .page_title h1 {
    font-size: 36px !important;
    line-height: 1.15 !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

/* Breadcrumb */
body.single-product .page_title .breadcrumbs {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

/* Avvicina il prodotto alla fascia rossa solo su desktop */
@media (min-width: 992px) {
    body.single-product div.product.type-product {
        margin-top: -30px !important;
    }
}

/* Filtri mobile nascosti su desktop */
.posterzip-mobile-filter-wrapper {
    display: none;
}

@media (max-width: 767px) {

    .posterzip-mobile-filter-wrapper {
        display: block;
        width: 100%;
        margin: 0 0 20px 0;
    }

    .posterzip-mobile-filter-details {
        width: 100%;
    }

    .posterzip-mobile-filter-button {
        display: block;
        width: 100%;
        background: #111;
        color: #fff;
        padding: 15px 18px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        box-sizing: border-box;
        list-style: none;
    }

    .posterzip-mobile-filter-button::-webkit-details-marker {
        display: none;
    }

    .posterzip-mobile-filter-content {
        padding-top: 10px;
    }
}

/* Contatore filtri attivi nel pulsante mobile */
.posterzip-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    margin-left: 8px;
    border-radius: 20px;
    background: #ff1010;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* Pulsante Azzera filtri quando ci sono filtri attivi */
.posterzip-filter-reset-active {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 11px 12px;
    box-sizing: border-box;
    text-align: center;
    background: #fff0f0;
    border: 1px solid #ff1010;
    color: #d80000 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.2s ease;
}

.posterzip-filter-reset-active:hover {
    background: #ff1010;
    color: #fff !important;
}

/* PosterZip - Menu compatto categorie Shop */

.posterzip-catalogo-menu {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 18px;
}

.posterzip-catalogo-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 3px solid #ff1010;
    color: #111;
    font-size: 18px;
    font-weight: 700;
}

.posterzip-catalogo-icon {
    font-size: 18px;
}

.posterzip-catalogo-links {
    display: flex;
    flex-direction: column;
}

.posterzip-catalogo-link {
    display: flex;
    align-items: center;
    min-height: 45px;
    padding: 10px 8px;
    box-sizing: border-box;
    border-bottom: 1px solid #ededed;
    color: #222 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.posterzip-catalogo-link:last-child {
    border-bottom: 0;
}

.posterzip-catalogo-link:hover,
.posterzip-catalogo-link.is-active {
    background: #111;
    color: #fff !important;
    padding-left: 13px;
}

.posterzip-catalogo-arrow {
    margin-right: 8px;
    color: #ff1010;
    font-size: 22px;
    line-height: 1;
}

.posterzip-catalogo-link:hover .posterzip-catalogo-arrow,
.posterzip-catalogo-link.is-active .posterzip-catalogo-arrow {
    color: #fff;
}

.posterzip-catalogo-name {
    flex: 1;
}

.posterzip-catalogo-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    margin-left: 7px;
    box-sizing: border-box;
    border-radius: 20px;
    background: #f1f1f1;
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.posterzip-catalogo-link:hover .posterzip-catalogo-count,
.posterzip-catalogo-link.is-active .posterzip-catalogo-count {
    background: #ff1010;
    color: #fff;
}

/* Abbassa insieme sidebar e contenuto Shop su desktop */
@media (min-width: 992px) {

    body.post-type-archive-product .col-lg-9.col-lg-push-3,
    body.post-type-archive-product .col-lg-3.col-lg-pull-9,

    body.tax-product_cat .col-lg-9.col-lg-push-3,
    body.tax-product_cat .col-lg-3.col-lg-pull-9 {
        margin-top: 36px !important;
    }

}

/* Sottomenu categorie LEDwall */

.posterzip-catalogo-details {
    width: 100%;
}

.posterzip-catalogo-summary {
    cursor: pointer;
    list-style: none;
}

.posterzip-catalogo-summary::-webkit-details-marker {
    display: none;
}

.posterzip-catalogo-details[open] > .posterzip-catalogo-summary {
    background: #f5f5f5;
}

.posterzip-catalogo-details[open] .posterzip-catalogo-arrow {
    transform: rotate(90deg);
}

.posterzip-catalogo-arrow {
    transition: transform 0.2s ease;
}

.posterzip-catalogo-submenu {
    padding: 5px 0 8px 17px;
    background: #fafafa;
    border-bottom: 1px solid #ededed;
}

.posterzip-catalogo-sublink {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 8px;
    box-sizing: border-box;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #ededed;
    transition: 0.2s ease;
}

.posterzip-catalogo-sublink:last-child {
    border-bottom: 0;
}

.posterzip-catalogo-sublink:hover {
    color: #ff1010 !important;
    padding-left: 13px;
}

.posterzip-catalogo-all {
    font-weight: 700;
    color: #111 !important;
}

.posterzip-catalogo-subcount {
    margin-left: auto;
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #eeeeee;
    color: #555;
    font-size: 11px;
}
/* Compatta leggermente il sottomenu LEDwall */
.posterzip-catalogo-submenu {
    padding: 3px 0 5px 12px;
}

/* Link sottocategorie più compatti */
.posterzip-catalogo-sublink {
    min-height: 36px;
    padding: 6px 7px;
    line-height: 1.35;
}

/* Evidenzia "Tutti i LEDwall" */
.posterzip-catalogo-all {
    font-weight: 800;
    background: #f3f3f3;
    color: #111 !important;
}

/* Categoria attualmente aperta */
.posterzip-catalogo-sublink.is-active {
    background: #111;
    color: #fff !important;
    padding-left: 12px;
}

/* Freccia rossa anche sulla voce attiva */
.posterzip-catalogo-sublink.is-active > span:first-child {
    color: #ff1010;
}

/* Contatore sulla categoria attiva */
.posterzip-catalogo-sublink.is-active .posterzip-catalogo-subcount {
    background: #ff1010;
    color: #fff;
}

/* Menu catalogo mobile: nascosto su desktop */
.posterzip-mobile-catalog-wrapper {
    display: none;
}

@media (max-width: 767px) {

    .posterzip-mobile-catalog-wrapper {
        display: block;
        width: 100%;
        margin: 0 0 12px 0;
    }

    .posterzip-mobile-catalog-details {
        width: 100%;
    }

    .posterzip-mobile-catalog-button {
        display: block;
        width: 100%;
        padding: 15px 18px;
        box-sizing: border-box;

        background: #111;
        color: #fff;

        font-size: 16px;
        font-weight: 700;

        cursor: pointer;
        list-style: none;
    }

    .posterzip-mobile-catalog-button::-webkit-details-marker {
        display: none;
    }

    .posterzip-mobile-catalog-content {
        padding-top: 8px;
    }

    /*
     * Evita doppio bordo/contenitore eccessivo
     * quando lo shortcode è dentro il pannello mobile.
     */
    .posterzip-mobile-catalog-content .posterzip-catalogo-menu {
        width: 100%;
        margin: 0;
    }
}

/* Menu catalogo mobile */
.posterzip-mobile-catalog-wrapper {
    display: none;
}

@media (max-width: 767px) {

    .posterzip-mobile-catalog-wrapper {
        display: block !important;
        width: 100% !important;
        margin: 0 0 12px 0 !important;
    }

    .posterzip-mobile-catalog-details {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-page .posterzip-mobile-catalog-button,
    body.tax-product_cat .posterzip-mobile-catalog-button,
    body.post-type-archive-product .posterzip-mobile-catalog-button {
        display: block !important;
        width: 100% !important;
        padding: 15px 18px !important;
        margin: 0 !important;
        box-sizing: border-box !important;

        background: #111 !important;
        color: #fff !important;

        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;

        cursor: pointer !important;
        list-style: none !important;
        border: none !important;
    }

    .posterzip-mobile-catalog-button::-webkit-details-marker {
        display: none !important;
    }

    .posterzip-mobile-catalog-button::marker {
        display: none !important;
        content: "";
    }

    .posterzip-mobile-catalog-content {
        padding-top: 8px !important;
        width: 100% !important;
    }

    .posterzip-mobile-catalog-content .posterzip-catalogo-menu {
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 767px) {

    .posterzip-mobile-catalog-content .posterzip-catalogo-heading {
        display: none !important;
    }

    .posterzip-mobile-catalog-content .posterzip-catalogo-menu {
        padding-top: 8px !important;
    }
}

@media (min-width: 901px) {
    .pz-no-hero-grid {
        padding-top: 200px !important;
    }
}

@media (max-width: 767px) {

    .logo-box .logo.logo-mobile img {
        width: 155px !important;
        max-width: 155px !important;
        height: auto !important;
    }

    .logo-box .logo.logo-mobile {
        width: auto !important;
        max-width: none !important;
    }

}