/*
Theme Name: Astra Child (WelcomeGuide)
Template: astra
Version: 12.1 (v12.0 + banner Receptionist AI wg-airec-* + micro-ritocco FAB)
Modifiche v12.1:
  - [ADD] PARTE 10 — BANNER RECEPTIONIST AI: classi .wg-airec-banner (#wg-airec-banner),
    .wg-airec-head, .wg-airec-icon, .wg-airec-title, .wg-airec-live, .wg-airec-dot,
    .wg-airec-fakeinput, .wg-airec-fakeinput-text, .wg-airec-fakeinput-send,
    .wg-airec-chips, .wg-airec-chip. Stile del banner sotto l'hero introdotto in
    single-guida.php v6.6. Gradiente blu primario, badge LIVE pulsante, finto campo
    input, chip suggerimenti. Nascosto in stampa.
  - [MOD] #wg-chat-fab: leggero incremento dimensioni (padding 12/18 -> 14/22,
    font 0.9 -> 0.98rem, icona 1.1 -> 1.18rem). Nessun'altra modifica al FAB.
Modifiche v11.8:
  - [FIX] .wg-weather-box: aggiunto scroll-margin-top 110px — il box non viene
    più nascosto dalla nav sticky quando la pagina scrolla (#11)
Modifiche v11.9:
  - [ADD] Sezione RECENSIONI HOST: classi .wg-review-form-wrapper, .wg-review-form,
    .wg-review-form__field, .wg-review-form__label, .wg-review-form__textarea,
    .wg-review-form__input, .wg-review-form__submit, .wg-stars-input, .wg-star-btn,
    .wg-star-btn--active, .wg-review-char-count, .wg-review-feedback,
    .wg-review-status, .wg-review-status--pending, .wg-review-status--approved,
    .wg-reviews-section, .wg-reviews-aggregate, .wg-reviews-grid, .wg-review-card,
    .wg-review-card__stars, .wg-review-card__text, .wg-review-card__meta,
    .wg-review-card__name, .wg-review-card__plan, .wg-review-card__date,
    .wg-star, .wg-star--full, .wg-star--empty
*/

/* ==========================================================================
   PARTE 1: CODICE ORIGINALE SITO LIVE (v10.5)
   ========================================================================== */

:root {
    --wg-color-primary: #1F3A66;
    --wg-color-accent: #2B4D7D;
    --wg-color-secondary: #FF6B6B;
    --wg-color-text: #333333;
    --wg-color-light: #F8F8F8; 
    --wg-color-white: #FFFFFF;
    --wg-bg-body: #F4F7F6;          
    --wg-font-sans: 'Montserrat', Helvetica, Arial, sans-serif;
    --wg-border-radius: 8px;
    --wg-border-radius-lg: 16px;    
    --wg-spacing-unit: 1.5rem;
    --wg-shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
    --wg-shadow-card: 0 10px 40px rgba(0, 0, 0, 0.06);
    --wg-shadow-hover: 0 15px 50px rgba(31, 58, 102, 0.12);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body { font-family: var(--wg-font-sans); color: var(--wg-color-text); background-color: var(--wg-bg-body); }
h1, h2, h3, h4, h5, h6 { color: var(--wg-color-primary); line-height: 1.2; margin-top: var(--wg-spacing-unit); margin-bottom: calc(var(--wg-spacing-unit) / 2); text-align: center; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; border-bottom: 2px solid var(--wg-color-light); padding-bottom: 0.5rem; }
h3 { font-size: 1.4rem; }
p, ul, ol { line-height: 1.6; margin-bottom: var(--wg-spacing-unit); }
a { color: var(--wg-color-secondary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--wg-color-primary); }

/* UTILITY PULSANTI */
.button, input[type="submit"], .acf-form input[type="submit"] { display: inline-block; padding: 0.75rem 1.5rem; background-color: var(--wg-color-secondary) !important; color: var(--wg-color-white) !important; font-weight: 600; text-align: center; border: none; border-radius: var(--wg-border-radius); cursor: pointer; transition: background-color 0.2s ease, transform 0.1s ease; text-decoration: none; }
.button:hover, input[type="submit"]:hover, .acf-form input[type="submit"]:hover { background-color: #E65A5A !important; transform: translateY(-1px); }

/* HEADER & MENU */
.pll-parent-menu-item a { display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 0 5px !important; }
.pll-parent-menu-item img { min-width: 24px !important; width: 24px !important; height: auto !important; object-fit: contain !important; vertical-align: middle !important; border-radius: 2px !important; }
.ast-builder-menu-mobile .wg-logout-link a { border: none !important; background: transparent !important; color: #333 !important; padding-left: 20px !important; font-weight: normal !important; text-transform: capitalize !important; }
.ast-builder-menu-mobile .wg-logout-link a:hover { color: #E65A5A !important; }

/* CHECKOUT & WOOCOMMERCE FIXES */
.woocommerce-MyAccount-navigation-link--downloads { display: none !important; }
.page-template-page-la-mia-dashboard .entry-title, .woocommerce-cart .entry-title, .woocommerce-checkout .entry-title, body.home .entry-title, .page .entry-title, .archive .entry-title { display: none !important; }
.woocommerce-privacy-policy-text { display: none !important; }
.wg-privacy-notice { background: #f9f9f9; border: 1px solid #ddd; padding: 15px; font-size: 13px; border-radius: 4px; margin-bottom: 20px; }
.woocommerce-form__label-for-checkbox { position: relative !important; padding-left: 30px !important; display: block !important; }
.woocommerce-checkout input[type="checkbox"].input-checkbox { position: absolute !important; left: 0 !important; top: 3px !important; opacity: 1 !important; width: 18px !important; height: 18px !important; display: inline-block !important; visibility: visible !important; }
.woocommerce-checkout .woocommerce-message, .woocommerce-checkout .woocommerce-form-login-toggle { display: none !important; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { background: #fff; border-top: 3px solid #1F3A66; padding: 15px 20px 15px 50px; margin-bottom: 25px; position: relative; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { color: #FF6B6B; left: 20px; top: 18px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle a { color: #FF6B6B; font-weight: 600; }

/* UPSELL CARRELLO */
.wg-cart-upsell-box { background: #fff; border: 2px solid #1F3A66; border-radius: 8px; padding: 20px; margin-bottom: 30px; }
.wg-upsell-content { display: flex; align-items: center; gap: 20px; }
.wg-upsell-icon { font-size: 30px; }
.wg-upsell-text h3 { margin: 0 0 5px 0; color: #1F3A66; font-size: 18px; }
.wg-upsell-action { display: flex; align-items: center; gap: 15px; }
.wg-upsell-price { font-weight: 700; color: #FF6B6B; font-size: 18px; }
.wg-upsell-btn { background: #1F3A66 !important; color: #fff !important; border-radius: 50px !important; padding: 10px 25px !important; }
@media (max-width: 768px) { .wg-upsell-content { flex-direction: column; text-align: center; } .wg-upsell-action { width: 100%; justify-content: center; } }

/* DASHBOARD GESTORE */
.wg-dashboard { padding: var(--wg-spacing-unit); max-width: 1000px; margin: 2rem auto; background: var(--wg-color-white); border-radius: var(--wg-border-radius); box-shadow: var(--wg-shadow-soft); }
.wg-dashboard .acf-form { background-color: var(--wg-color-light); padding: var(--wg-spacing-unit); border-radius: var(--wg-border-radius); border: 1px solid #E0E0E0; }
.wg-dashboard-list { width: 100%; margin-top: 2rem; border-collapse: collapse; }
.wg-dashboard-list th { background: var(--wg-color-light); padding: 1rem; text-align: left; border-bottom: 2px solid var(--wg-color-primary); }
.wg-dashboard-list td { padding: 1rem; border-bottom: 1px solid #EEE; }
.button-secondary { background-color: #666 !important; }
@media (max-width: 768px) { .wg-dashboard-list thead { display: none; } .wg-dashboard-list tr { display: block; border: 1px solid #eee; margin-bottom: 15px; border-radius: 8px; padding: 15px; background: #fff; } .wg-dashboard-list td { display: block; padding: 5px 0; border: none; } .wg-dashboard-list td:last-child { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; } .wg-dashboard-list .button { flex: 1; text-align: center; } }

/* HOMEPAGE LAYOUT */
.wg-homepage__hero { background: var(--wg-color-primary); color: var(--wg-color-white); padding: 0.5rem 1rem; text-align: center; margin-top: 0; }
.wg-homepage__hero h1 { color: var(--wg-color-white); font-size: 2.0rem; margin-top: 0; }
.wg-homepage__hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 1rem auto; }
.wg-homepage__hero .button--cta { font-size: 1.1rem; padding: 1rem 3rem; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); }
.wg-section-title { font-size: 2rem; color: var(--wg-color-primary); text-align: center; border-bottom: 2px solid var(--wg-color-light); padding-bottom: 0.5rem; margin-top: 3rem; margin-bottom: 2rem; }
.wg-homepage__features { display: grid; gap: 20px; padding: 0 1rem 1rem 1rem; text-align: center; grid-template-columns: 1fr; }
.wg-homepage__features.wg-features-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .wg-homepage__features { grid-template-columns: repeat(3, 1fr); } .wg-homepage__hero h1 { font-size: 2.5rem; } }
.wg-feature-item { padding: 1.5rem; border: 1px solid var(--wg-color-light); border-radius: var(--wg-border-radius); box-shadow: var(--wg-shadow-soft); text-align: center; display: flex; flex-direction: column; align-items: center; }
.wg-feature-item__icon { display: flex; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.5rem; background-color: #e8eef6; align-items: center; justify-content: center; }
.wg-feature-item__icon svg { width: 32px; height: 32px; color: var(--wg-color-primary); }
.wg-pricing-plan { padding: 2rem; margin-bottom: var(--wg-spacing-unit); border-radius: var(--wg-border-radius); background-color: var(--wg-color-white); border: 1px solid #EEE; text-align: center; }
.wg-pricing-plan--pro { border: 2px solid var(--wg-color-secondary); box-shadow: 0 0 20px rgba(255, 107, 107, 0.3); }
.wg-pricing-plan .price { font-size: 2.5rem; font-weight: 700; color: var(--wg-color-primary); margin-bottom: 1rem; }
.wg-pack-img { width: 100%; max-width: 350px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); display: block; margin: 0 auto; }
@media (max-width: 768px) { .wg-pack-img { max-width: 70% !important; margin-bottom: 20px; } .wg-homepage__features.start-pack-container { display: flex !important; flex-direction: column !important; } }

/* SOCIAL PROOF */
.wg-social-proof { background-color: #ffffff; padding: 25px 20px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.wg-social-proof__title { font-size: 0.95rem; color: #666; margin: 0 0 15px 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.wg-social-proof__logos { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.wg-social-proof__logos img { height: 40px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
.wg-social-proof__logos img:hover { filter: grayscale(0%); opacity: 1; }
@media (max-width: 768px) { .wg-social-proof__logos { gap: 20px; } .wg-social-proof__logos img { height: 32px; } }


/* ==========================================================================
   PARTE 2: APP STYLE TURISTA (v10.5)
   ========================================================================== */

body.single-guida { background-color: var(--wg-bg-body); }
.single-guida #primary, .single-guida .site-content { margin-top: 0 !important; padding-top: 0 !important; }
.guida-app-wrapper { max-width: 600px; margin: 0 auto; padding-bottom: 80px; background: var(--wg-bg-body); min-height: 100vh; }

.guida-header-card { background: linear-gradient(135deg, var(--wg-color-primary) 0%, #2B4D7D 100%); color: white; text-align: center; padding: 3rem 1.5rem 4rem 1.5rem; border-radius: 0 0 30px 30px; margin-bottom: 0; position: relative; box-shadow: 0 10px 20px rgba(31, 58, 102, 0.2); z-index: 1; }

/* [v11.7 #1] Logo hero: dimensione da 90px a 110px, bordo bianco da 5px a 8px per maggiore eleganza */
.guida-logo-circle { width: 110px; height: 110px; margin: 0 auto 15px auto; background: white; border-radius: 50%; padding: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.guida-logo-circle img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

.guida-main-title { font-size: 1.8rem; font-weight: 700; margin: 0 0 5px 0; color: white; }
.guida-company { opacity: 0.9; font-size: 0.9rem; margin: 0 0 10px 0; }
.guida-badge { background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; letter-spacing: 1px; }
.guida-welcome { margin-top: 15px; font-size: 1rem; }
.guida-location { margin-top: 5px; font-size: 0.9rem; opacity: 0.8; }

/* [v11.7 #7] pdf-download-btn: border più opaco per contrasto WCAG AA su sfondo navy */
.pdf-download-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.65);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pdf-download-btn:hover { background: white; color: var(--wg-color-primary); }

/* [v11.7 #8] nav-wrapper: padding laterale aumentato a 20px per evitare sovrapposizione frecce su viewport strette */
.guida-nav-wrapper {
    position: sticky;        
    top: 10px;               
    z-index: 100;
    margin: -30px 20px 20px 20px;
    display: block; 
}

.guida-nav-sticky { 
    position: relative;      
    background: white; 
    padding: 10px 5px; 
    border-radius: 15px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); 
    display: flex; 
    justify-content: flex-start; 
    overflow-x: auto; 
    gap: 10px; 
    scroll-behavior: smooth; 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    margin: 0;
}
.guida-nav-sticky::-webkit-scrollbar { display: none; }

.guida-nav-sticky .nav-item { flex: 0 0 auto; width: 65px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; padding: 8px 0; border-radius: 10px; transition: all 0.2s ease; color: var(--wg-color-text); }
.guida-nav-sticky .nav-item span { font-size: 1.4rem; margin-bottom: 3px; display: block; }
.guida-nav-sticky .nav-item small { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; }
.guida-nav-sticky .nav-item.active { background: var(--wg-color-primary); color: white; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(31, 58, 102, 0.3); }

.nav-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px; 
    height: 32px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--wg-color-primary);
    cursor: pointer;
    z-index: 102;
    transition: opacity 0.2s, transform 0.2s;
    line-height: 1;
}

.nav-scroll-arrow:hover { background: var(--wg-color-primary); color: white; }
.nav-scroll-arrow.left { left: -10px; }
.nav-scroll-arrow.right { right: -10px; }
.nav-scroll-arrow.hidden { opacity: 0; pointer-events: none; }

/* [v11.7 #2] Accordion: shadow più percettibile, margin-bottom aumentato da 15px a 18px */
.guida-accordion { margin: 0 15px 18px 15px; background: white; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.07); overflow: hidden; border: 1px solid rgba(0,0,0,0.04); transition: all 0.3s ease; scroll-margin-top: 110px; }
.guida-accordion.active { box-shadow: 0 10px 30px rgba(0,0,0,0.11); border-color: rgba(31, 58, 102, 0.12); }
.guida-accordion-header { padding: 18px 20px; display: flex; align-items: center; cursor: pointer; user-select: none; background: white; }
.guida-accordion.active .guida-accordion-header { background: #fafafa; border-bottom: 1px solid #eee; }
.accordion-icon { font-size: 1.4rem; margin-right: 15px; width: 30px; text-align: center; }
.accordion-title { flex-grow: 1; font-weight: 700; color: var(--wg-color-primary); font-size: 1.1rem; }
.accordion-toggle { font-size: 1.5rem; color: #ccc; width: 24px; text-align: center; line-height: 1; }
.guida-accordion.active .accordion-toggle { color: var(--wg-color-secondary); font-weight: bold; }
.guida-accordion-content { display: none; padding: 20px; animation: fadeIn 0.4s ease; }

.guida-accordion.active .guida-accordion-content {
    display: block;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.wifi-card { text-align: center; padding: 10px; }
.wifi-info { background: #f0f7ff; border-radius: 12px; padding: 15px; margin-bottom: 20px; }
.wifi-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 0.95rem; border-bottom: 1px dashed #dbeafe; padding-bottom: 8px; }
.wifi-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.wifi-label { color: #666; font-size: 0.85rem; }
.wifi-value { font-weight: 700; color: var(--wg-color-primary); font-family: monospace; font-size: 1.1rem; }
.wifi-copy-btn { background: none !important; border: none; cursor: pointer; color: var(--wg-color-secondary); font-size: 0.8rem; font-weight: 600; padding: 0 !important; text-decoration: underline; margin-left: 8px; }
.wifi-qr-section { display: flex; flex-direction: column; align-items: center; margin: 20px 0; }
#wifi-qr-code img { border: 4px solid white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.wifi-qr-label { margin-top: 10px; font-size: 0.85rem; color: #999; }
.wifi-roaming-link { display: block; margin-top: 15px; font-size: 0.9rem; color: var(--wg-color-primary); font-weight: 600; background: #eee; padding: 10px; border-radius: 8px; }

.guida-sub-accordion { border: 1px solid #eee; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.sub-accordion-header { padding: 12px 15px; background: #fdfdfd; cursor: pointer; display: flex; justify-content: space-between; font-weight: 600; font-size: 0.95rem; color: #444; }
.sub-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: white; padding: 0 15px; }
.guida-sub-accordion.open .sub-accordion-content { padding: 15px; border-top: 1px solid #eee; }

.luggage-banner { background: #fff8e1; border-left: 4px solid #ffc107; padding: 15px; border-radius: 8px; margin-bottom: 20px; }
.luggage-title { font-weight: bold; color: #b78900; margin: 0 0 5px 0; }
.luggage-btn { display: inline-block; margin-top: 8px; font-size: 0.85rem; background: #ffc107; color: #333; padding: 6px 12px; border-radius: 4px; font-weight: bold; }
.address-text { font-size: 1.1rem; margin-bottom: 10px; }
.map-btn, .nav-btn { display: block; text-align: center; padding: 12px; border-radius: 8px; margin-bottom: 10px; font-weight: 600; }
.map-btn { background: #eef2f6; color: var(--wg-color-primary); }
.nav-btn { background: var(--wg-color-primary); color: white; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
.contact-btn { display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 8px; font-weight: 600; color: white; font-size: 0.9rem; }
.contact-phone { background: #3498db; }
.contact-whatsapp { background: #25D366; }
.contact-email { grid-column: 1 / -1; background: #666; }

/* [v11.7 #5] contact-social: min-width 140px per coerenza nella contacts-grid su viewport strette */
.contact-social { min-width: 140px; }

.utilities-grid, .manuals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; }
.utility-item, .manual-item { border: 1px solid #eee; border-radius: 8px; padding: 10px; text-align: center; }
.utility-item img, .manual-item img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.manual-link { display: block; margin-top: 5px; color: var(--wg-color-secondary); font-size: 0.8rem; font-weight: bold; }

/* [v11.7 #4] local-img: da 80x80 a 100x100 per maggiore leggibilità delle immagini guida locale */
.local-item { display: flex; gap: 15px; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.local-item:last-child { border-bottom: none; }
.local-img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

/* [v11.7 #10] local-item senza immagine: min-height per evitare collasso visivo */
.local-content { flex: 1; min-height: 60px; }
.local-content h4 { margin: 0 0 5px 0; font-size: 1rem; text-align: left; }
.local-cat { font-size: 0.75rem; background: #eee; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-bottom: 4px; }
.local-map-link { font-size: 0.85rem; color: var(--wg-color-secondary); font-weight: 600; }
.gyg-banner { background: linear-gradient(to right, #ff7e5f, #feb47b); color: white; padding: 20px; border-radius: 12px; text-align: center; margin-top: 20px; }
.gyg-btn { display: inline-block; background: white; color: #ff7e5f; padding: 10px 20px; border-radius: 50px; font-weight: bold; margin-top: 10px; }
.services-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag { background: #e0f2f1; color: #00695c; padding: 5px 10px; border-radius: 20px; font-size: 0.85rem; }
.extra-service-card { border: 1px solid #eee; border-radius: 10px; overflow: hidden; margin-bottom: 15px; }
.extra-service-card img { width: 100%; height: 150px; object-fit: cover; }

/* [v11.7 #10] extra-service-content: min-height per evitare collasso quando manca l'immagine */
.extra-service-content { padding: 15px; min-height: 60px; }

/* ==========================================================================
   AGGIORNAMENTO v10.7 - PREZZI & WHATSAPP (INTEGRATO)
   ========================================================================== */

.extra-service-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.extra-service-header h4 { margin: 0 !important; font-size: 1.1rem !important; text-align: left !important; }
.price-tag { background: #f0f4f8; color: var(--wg-color-primary); font-weight: 700; padding: 4px 12px; border-radius: 6px; font-size: 0.85rem; white-space: nowrap; border: 1px solid #e2e8f0; }

.extra-cta { 
    display: flex !important; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    background-color: #25D366 !important; 
    color: white !important; 
    padding: 10px 15px !important; 
    border-radius: 8px !important; 
    font-weight: 600; 
    font-size: 0.9rem; 
    text-decoration: none !important; 
    margin-top: 15px;
    transition: all 0.2s ease;
}
.extra-cta::before { content: "\1F4AC"; font-size: 1.1rem; }
.extra-cta:hover { background-color: #128C7E !important; transform: translateY(-1px); }

/* Rimanente v10.5 */
.waste-item { display: flex; gap: 15px; align-items: center; background: #fdfdfd; padding: 10px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 10px; }
.waste-item img { width: 50px; height: 50px; object-fit: contain; }
.waste-color { font-size: 0.85rem; color: #666; display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* [v11.7 #9] gallery-item: aspect-ratio 4/3 al posto di height fissa 120px — più moderno e proporzionato */
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }

.menu-section { text-align: center; padding: 20px 0; }
.menu-btn { background: var(--wg-color-primary); color: white; padding: 15px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: inline-block; }

/* ==========================================================================
   FIX v10.5 - CONTATORI, NAV SCROLL, SUB-ACCORDION OPEN
   ========================================================================== */

.utility-item img {
    height: auto !important;
    max-height: 180px;
    width: 100%;
    object-fit: contain !important;
    background-color: #f9f9f9;
    padding: 5px;
    border-radius: 6px;
}

.guida-sub-accordion.open .sub-accordion-content {
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
}

@media (min-width: 768px) {
    .nav-scroll-arrow { display: none !important; }
    .guida-nav-sticky { justify-content: center; }
    .guida-app-wrapper { border-radius: 20px; margin-top: 30px; margin-bottom: 30px; box-shadow: 0 0 50px rgba(0,0,0,0.05); }
}

/* Hero: forza testo bianco — fix heading h1-h6 invisibili su sfondo navy (v11.4) */
.guida-header-card .wg-welcome-message h1,
.guida-header-card .wg-welcome-message h2,
.guida-header-card .wg-welcome-message h3,
.guida-header-card .wg-welcome-message h4,
.guida-header-card .wg-welcome-message h5,
.guida-header-card .wg-welcome-message h6,
.guida-header-card .wg-welcome-message p,
.guida-header-card .wg-welcome-message strong,
.guida-header-card .wg-welcome-message em,
.guida-header-card .wg-welcome-message li,
.guida-header-card .wg-welcome-message a {
    color: #ffffff !important;
}

/* ==========================================================================
   PARTE 3: PRINT / PDF LOGIC (v10.5 integrale)
   ========================================================================== */

@media print {
    body { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    @page { size: A4; margin: 0; }
    body, .guida-app-wrapper { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
    body.is-printing * { animation: none !important; transition: none !important; opacity: 1 !important; visibility: visible !important; }
    
    .guida-nav-sticky, .guida-nav-wrapper, .nav-scroll-arrow, .accordion-toggle, .pdf-download-btn, .site-footer, #colophon, .ast-builder-menu-mobile, .ast-mobile-header-wrap, .main-header-bar, .menu-btn, .wifi-copy-btn, .extra-cta 
    { display: none !important; }

    .nav-btn, .local-map-link, .manual-link, .contact-btn { display: block !important; }
    .guida-accordion { box-shadow: none !important; border: none !important; margin: 0 0 20px 0 !important; page-break-inside: avoid; }
    .guida-accordion-content { display: block !important; opacity: 1 !important; padding: 5px 0 !important; }
    .guida-accordion-header { background: none !important; padding: 0 !important; border-bottom: 2px solid #eee !important; margin-bottom: 15px !important; }
    .accordion-title { font-size: 1.6rem !important; color: var(--wg-color-primary) !important; font-weight: 800 !important; }
    .accordion-icon { display: none !important; }
    .guida-sub-accordion { border: none !important; margin-bottom: 15px; }
    .sub-accordion-header { padding: 5px 0 !important; background: none !important; color: #333 !important; font-weight: bold; border-bottom: 1px solid #ddd; }
    .sub-accordion-header span { display: none !important; }
    .sub-accordion-content { max-height: none !important; padding: 10px 0 !important; border: none !important; display: block !important; }
    a { text-decoration: none !important; color: inherit !important; }
    .contacts-grid { display: block; }
    .contacts-grid a { margin-bottom: 5px; color: #333 !important; }
    
    #wifi-qr-code img, .gallery-item img, .waste-item img, .local-item img, .extra-service-card img, .utility-item img { 
        max-width: 150px !important;
        display: block !important; 
        opacity: 1 !important;
        visibility: visible !important;
    }

    .gallery-grid, .utilities-grid, .manuals-grid { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
    .gallery-item, .utility-item, .manual-item { flex: 0 0 45% !important; width: 45% !important; margin-bottom: 10px !important; }
    .guida-accordion, .extra-service-card, .local-item, .wifi-card, .luggage-banner, .gyg-banner, .wifi-roaming-link { page-break-inside: avoid; }
    img { max-width: 100% !important; break-inside: avoid; }
    a { text-decoration: none; color: #000; }
    a[href]:after { content: " (" attr(href) ")"; font-size: 0.8rem; color: #666; }
}

/* ==========================================================================
   PARTE 4: INTEGRAZIONE METEO (v10.9)
   ========================================================================== */

/* [v11.7 #6] weather box: min-height 52px per evitare box troppo sottili su messaggi brevi */
/* [v11.8 #11] scroll-margin-top 110px: coerente con .guida-accordion, evita che la nav sticky copra il box */
.wg-weather-box { 
    margin: 20px 15px !important; 
    padding: 15px 20px !important; 
    border-radius: 12px !important; 
    font-family: 'Montserrat', sans-serif !important; 
    font-weight: 500 !important; 
    border-left-style: solid !important; 
    border-left-width: 5px !important;
    min-height: 52px !important;
    scroll-margin-top: 110px;
}

.mood-sunny  { background-color: #FFF9E6 !important; border-color: #FFCC00 !important; color: #856404 !important; }
.mood-rainy  { background-color: #E3F2FD !important; border-color: #2196F3 !important; color: #0D47A1 !important; }
.mood-cloudy { background-color: #F0F4F8 !important; border-color: #90A4B7 !important; color: #3D5166 !important; } /* ADD v11.2 */
.mood-windy  { background-color: #F0F4F8 !important; border-color: #90A4AE !important; color: #37474F !important; }
.mood-all    { background-color: #F8F9FA !important; border-color: #333 !important;    color: #333 !important;    }

.badge-meteo-consigliato { 
    background: #FFD700 !important; 
    color: #1F3A66 !important; 
    padding: 2px 8px !important; 
    border-radius: 4px !important; 
    font-weight: 800 !important; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
}

/* ==========================================================================
   PARTE 5: AI CHAT WIDGET (v11.0)
   Tutte le classi prefissate wg-chat-* per zero conflitti
   ========================================================================== */

/* FAB PILL -- fisso in basso a destra, sopra il concierge bar */
/* MODIFICA v11.6: bottom alzato da 90px a 150px per evitare sovrapposizione Iubenda */
/* MODIFICA v12.1: leggero incremento dimensioni (padding 12->14 / 18->22, font 0.9->0.98rem) */
#wg-chat-fab {
    position: fixed;
    bottom: 150px;
    right: 16px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--wg-color-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 22px;
    font-family: var(--wg-font-sans);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(31, 58, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#wg-chat-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(31, 58, 102, 0.45);
}
#wg-chat-fab .wg-chat-fab-icon { font-size: 1.18rem; line-height: 1; }
#wg-chat-fab .wg-chat-fab-label { white-space: nowrap; }

/* FUMETTO AUTO */
#wg-chat-bubble {
    position: fixed;
    bottom: 208px;
    right: 16px;
    z-index: 9997;
    background: #fff;
    color: var(--wg-color-primary);
    border: 1.5px solid var(--wg-color-primary);
    border-radius: 16px 16px 4px 16px;
    padding: 12px 36px 12px 14px;
    font-family: var(--wg-font-sans);
    font-size: 0.88rem;
    font-weight: 500;
    max-width: 220px;
    box-shadow: 0 4px 16px rgba(31, 58, 102, 0.15);
    line-height: 1.4;
    display: none; /* mostrato da JS dopo 3s */
    animation: wgBubbleFade 0.4s ease;
}
@keyframes wgBubbleFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.wg-chat-bubble-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.wg-chat-bubble-close:hover { color: #333; }

/* PANNELLO CHAT */
#wg-chat-panel {
    position: fixed;
    bottom: 150px;
    right: 16px;
    z-index: 9999;
    width: 340px;
    max-width: calc(100vw - 32px);
    max-height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(31, 58, 102, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--wg-font-sans);
    animation: wgPanelOpen 0.3s ease;
}
@keyframes wgPanelOpen {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* HEADER PANNELLO */
#wg-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--wg-color-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}
#wg-chat-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#wg-chat-close:hover { background: rgba(255,255,255,0.35); }

/* AREA MESSAGGI */
#wg-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f7f9fc;
    scroll-behavior: smooth;
}
#wg-chat-messages::-webkit-scrollbar { width: 4px; }
#wg-chat-messages::-webkit-scrollbar-thumb { background: #dde3ed; border-radius: 4px; }

/* MESSAGGI */
.wg-chat-msg {
    max-width: 85%;
    padding: 10px 13px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-word;
}
.wg-chat-msg.user {
    align-self: flex-end;
    background: var(--wg-color-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.wg-chat-msg.ai {
    align-self: flex-start;
    background: #fff;
    color: var(--wg-color-text);
    border: 1px solid #e8ecf2;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.wg-chat-msg.ai.typing {
    color: #aaa;
    font-style: italic;
}

/* PULSANTE WHATSAPP (livello 2) */
.wg-chat-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    background: #25D366;
    color: #fff !important;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
}
.wg-chat-wa-btn:hover { background: #128C7E; }

/* INPUT AREA */
#wg-chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #eef0f5;
    background: #fff;
    flex-shrink: 0;
}
#wg-chat-input {
    flex: 1;
    border: 1.5px solid #dde3ed;
    border-radius: 50px;
    padding: 9px 14px;
    font-size: 0.88rem;
    font-family: var(--wg-font-sans);
    outline: none;
    transition: border-color 0.2s;
    background: #f7f9fc;
}
#wg-chat-input:focus { border-color: var(--wg-color-primary); background: #fff; }
#wg-chat-send {
    width: 38px;
    height: 38px;
    background: var(--wg-color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}
#wg-chat-send:hover { background: var(--wg-color-accent); transform: scale(1.08); }
#wg-chat-send:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* RESPONSIVE -- su schermi piccoli pannello a tutta larghezza dal basso */
@media (max-width: 420px) {
    #wg-chat-panel {
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 75vh;
    }
    /* MODIFICA v11.6: padding-bottom per evitare sovrapposizione Iubenda su mobile */
    #wg-chat-input-area {
        padding-bottom: 56px;
    }
    #wg-chat-fab  { bottom: 140px; right: 12px; }
    #wg-chat-bubble { bottom: 198px; right: 12px; }
}

/* PRINT -- nasconde il widget in stampa/PDF */
@media print {
    #wg-chat-fab, #wg-chat-bubble, #wg-chat-panel { display: none !important; }
}

/* ==========================================================================
   PARTE 6: OVERRIDE ASTRA — PAGINE MARKETING (v11.3)
   Selettori scoped wg-alt-* (Perché scegliere noi / Why Choose Us)
   e wg-vs-* (Tariffe / Plans & Prices).
   Neutralizza interferenze dei selettori globali h1/h2/h3/p di Astra.
   ========================================================================== */

/* ── HERO: testo bianco su sfondo navy ── */
.wg-alt-hero h1,
.wg-alt-hero h1 em {
    color: #fff !important;
    border-bottom: none !important;
}
.wg-alt-hero p {
    color: rgba(255,255,255,0.75) !important;
    margin-bottom: 0 !important;
}

/* ── BLOCCHI NAVY "PERCHÉ GWG": testo bianco pieno ── */
.wg-alt-why p {
    color: #fff !important;
    margin-bottom: 0 !important;
}
.wg-alt-why strong {
    color: #fff !important;
}

/* ── TITOLI COMPETITOR: neutralizza border-bottom e colore Astra ── */
.wg-alt-comp-name {
    color: #1F3A66 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* ── SEZIONI TITOLI wg-alt-* e wg-vs-*: neutralizza border-bottom Astra ── */
.wg-alt-section-title,
.wg-vs-section-title,
.wg-alt-cta-box h2,
.wg-vs-cta-box h2 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.wg-alt-cta-box h2,
.wg-vs-cta-box h2 {
    color: #fff !important;
}

/* ── PARAGRAFI NELLE SEZIONI MARKETING: neutralizza margin-bottom Astra ── */
.wg-vs-scenario-label,
.wg-vs-prices-note,
.wg-alt-comp-tagline {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   PARTE 7: FAQ PAGE — CTA FINALE (v11.5)
   Classi wg-faq-cta-* necessarie per il box CTA in fondo alla pagina FAQ.
   Devono stare in style.css perché WPO Minify ignora i <style> inline
   nei blocchi HTML Gutenberg.
   ========================================================================== */
.wg-faq-cta {
    background: linear-gradient(135deg, #1F3A66 0%, #2d5299 100%);
    border-radius: 20px;
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}
.wg-faq-cta::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(230,90,90,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.wg-faq-cta h2 {
    font-size: 1.9rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 12px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.wg-faq-cta p {
    color: rgba(255,255,255,0.75) !important;
    font-size: 1rem !important;
    margin-bottom: 32px !important;
    max-width: 500px;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.65 !important;
}
.wg-faq-cta-btn {
    display: inline-block;
    background: #e65a5a;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 8px 28px rgba(230,90,90,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}
.wg-faq-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 38px rgba(230,90,90,0.55);
    color: #fff !important;
}
.wg-faq-cta-secondary {
    display: inline-block;
    margin-left: 16px;
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline !important;
    transition: color 0.2s;
}
.wg-faq-cta-secondary:hover { color: #fff !important; }
@media (max-width: 640px) {
    .wg-faq-cta { padding: 40px 24px; }
    .wg-faq-cta h2 { font-size: 1.5rem !important; }
    .wg-faq-cta-secondary { display: block; margin-left: 0; margin-top: 16px; }
}
/* ==========================================================================
   PARTE 8: HOMEPAGE AI ASSISTANT WIDGET — OVERRIDE IUBENDA (v11.6)
   Alza FAB, bubble e pannello di 60px per evitare sovrapposizione
   con il widget cookie Iubenda fisso in basso a destra.
   Applicato sia al widget turista (wg-chat-*) che homepage (wg-hpai-*).
   ========================================================================== */

/* Homepage widget — posizionamento base */
#wg-hpai-fab    { bottom: 88px; }
#wg-hpai-bubble { bottom: 148px; }
#wg-hpai-panel  { bottom: 88px; }

/* Homepage widget — responsive mobile */
@media (max-width: 420px) {
    #wg-hpai-fab    { bottom: 76px; right: 16px; }
    #wg-hpai-bubble { bottom: 136px; right: 16px; }
}

/* ==========================================================================
   PARTE 9: RECENSIONI HOST (v11.9)
   Dashboard: form invio recensione con stelle interattive
   Homepage: grid card recensioni approvate + aggregate score
   ========================================================================== */

/* --- Form Dashboard --- */
.wg-review-form-wrapper {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.wg-review-form-title {
    font-size: 1.2rem;
    color: var(--wg-color-primary);
    margin-bottom: 4px;
    text-align: left;
    border-bottom: none;
}
.wg-review-form-subtitle {
    font-size: 0.88rem;
    color: #777;
    margin-bottom: 20px;
}
.wg-review-form {
    background: var(--wg-color-light);
    border: 1px solid #e0e0e0;
    border-radius: var(--wg-border-radius);
    padding: 24px;
    max-width: 560px;
}
.wg-review-form__field {
    margin-bottom: 18px;
}
.wg-review-form__label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--wg-color-primary);
    margin-bottom: 8px;
}
.wg-review-form__textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: var(--wg-font-sans);
    color: var(--wg-color-text);
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.wg-review-form__textarea:focus {
    outline: none;
    border-color: var(--wg-color-primary);
}
.wg-review-form__input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 9px 12px;
    font-size: 0.9rem;
    font-family: var(--wg-font-sans);
    color: var(--wg-color-text);
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.wg-review-form__input:focus {
    outline: none;
    border-color: var(--wg-color-primary);
}
.wg-review-form__submit {
    margin-top: 4px;
}
.wg-review-char-count {
    display: block;
    font-size: 0.78rem;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

/* --- Stelle interattive (form dashboard) --- */
.wg-stars-input {
    display: flex;
    gap: 6px;
    cursor: pointer;
}
.wg-star-btn {
    font-size: 2rem;
    color: #ccc;
    transition: color 0.15s ease, transform 0.1s ease;
    user-select: none;
    line-height: 1;
}
.wg-star-btn:hover,
.wg-star-btn--active {
    color: #f5a623;
    transform: scale(1.15);
}

/* --- Feedback messaggio --- */
.wg-review-feedback {
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 0.88rem;
    margin-bottom: 14px;
}
.wg-review-feedback--error {
    background: #fff0f0;
    border: 1px solid #f5c6c6;
    color: #c0392b;
}
.wg-review-feedback--info {
    background: #f0f4ff;
    border: 1px solid #c6d4f5;
    color: var(--wg-color-primary);
}

/* --- Badge stato recensione (dashboard) --- */
.wg-review-status {
    display: inline-block;
    padding: 10px 16px;
    border-radius: var(--wg-border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
}
.wg-review-status--pending {
    background: #fffbe6;
    border: 1px solid #f5e04a;
    color: #7a6200;
}
.wg-review-status--approved {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

/* --- Sezione homepage: aggregate score --- */
.wg-reviews-section {
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 1rem 2rem 1rem;
}
.wg-reviews-aggregate {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.wg-reviews-avg-score {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--wg-color-primary);
    line-height: 1;
}
.wg-reviews-avg-stars .wg-star--full {
    color: #f5a623;
    font-size: 1.5rem;
}
.wg-reviews-avg-stars .wg-star--empty {
    color: #ccc;
    font-size: 1.5rem;
}
.wg-reviews-count {
    font-size: 0.9rem;
    color: #777;
}

/* --- Grid card recensioni (homepage) --- */
.wg-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 640px) {
    .wg-reviews-grid { grid-template-columns: 1fr; }
}
.wg-review-card {
    background: var(--wg-color-white);
    border: 1px solid #eee;
    border-radius: var(--wg-border-radius);
    padding: 20px 22px;
    box-shadow: var(--wg-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wg-review-card__stars .wg-star--full  { color: #f5a623; font-size: 1.1rem; }
.wg-review-card__stars .wg-star--empty { color: #ddd;    font-size: 1.1rem; }
.wg-review-card__text {
    font-size: 0.92rem;
    color: var(--wg-color-text);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.wg-review-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-top: 4px;
}
.wg-review-card__name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--wg-color-primary);
}
.wg-review-card__plan {
    font-size: 0.75rem;
    background: #e8eef6;
    color: var(--wg-color-primary);
    border-radius: 30px;
    padding: 2px 10px;
    font-weight: 600;
}
.wg-review-card__date {
    font-size: 0.78rem;
    color: #aaa;
    margin-left: auto;
}

/* =============================================================================
   v12.0 — MAPPA INTERATTIVA POI (Guida Locale — Leaflet.js)
   ============================================================================= */

/* Contenitore mappa */
.wg-poi-map-container {
    width: 100%;
    height: 280px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    background: #e8edf2;
}

/* Legenda categorie (sopra la mappa) */
.wg-poi-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 14px;
    background: #f8f9fb;
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.wg-poi-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #555;
}

.wg-poi-legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    flex-shrink: 0;
}

/* Card POI attiva (evidenziata al tap marker) */
.local-item.wg-poi-active {
    background: #eef2f9;
    border-radius: 8px;
    outline: 2px solid var(--wg-color-primary);
    outline-offset: 2px;
}

/* Responsive: altezza mappa su schermi più grandi */
@media (min-width: 480px) {
    .wg-poi-map-container {
        height: 320px;
    }
}

/* Stampa: nascondi mappa interattiva */
@media print {
    .wg-poi-map-container,
    .wg-poi-legend {
        display: none !important;
    }
}
/* ==========================================================================
   PARTE 10: BANNER RECEPTIONIST AI (v12.1)
   Banner sotto l'hero (single-guida.php v6.6). Classi prefissate wg-airec-*.
   Finto campo input (div, non <input>) + bottone invio simulato + chip.
   Gradiente blu primario: distinto dal rosso Butler e dal giallo meteo.
   ========================================================================== */

#wg-airec-banner {
    margin: 20px 10px 0;
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1F3A66 0%, #2B4D7D 100%);
    box-shadow: 0 6px 22px rgba(31, 58, 102, 0.32);
    font-family: var(--wg-font-sans);
    color: #fff;
    position: relative;
    overflow: hidden;
}
#wg-airec-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

/* Testata: icona + titolo + badge LIVE */
.wg-airec-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    position: relative;
    z-index: 1;
}
.wg-airec-icon {
    font-size: 1.3rem;
    line-height: 1;
}
.wg-airec-title {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    flex: 1;
    color: #fff;
}
.wg-airec-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    background: rgba(255, 255, 255, 0.14);
    padding: 4px 9px;
    border-radius: 50px;
    color: #fff;
}
.wg-airec-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: wgAirecPulse 1.8s infinite;
}
@keyframes wgAirecPulse {
    0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70%  { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Finto campo input: sembra un input, è un div cliccabile */
.wg-airec-fakeinput {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 50px;
    padding: 12px 8px 12px 16px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    z-index: 1;
}
.wg-airec-fakeinput:hover,
.wg-airec-fakeinput:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    outline: none;
}
.wg-airec-fakeinput-text {
    flex: 1;
    font-size: 0.86rem;
    line-height: 1.35;
    color: #8a94a3;
    font-weight: 500;
    text-align: left;
}
.wg-airec-fakeinput-send {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wg-color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
}

/* Chip suggerimenti (popolati da guida-app.js) */
.wg-airec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}
.wg-airec-chip {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-family: var(--wg-font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
    line-height: 1.2;
}
.wg-airec-chip:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}
.wg-airec-chip:active {
    transform: translateY(0);
}

/* Stampa: nascondi il banner AI */
@media print {
    #wg-airec-banner {
        display: none !important;
    }
}