/* ==========================================================
   PAGINA ESCURSIONE — stile pubblico
   ========================================================== */

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .bc-current { color: var(--text); font-weight: 500; }

.esc-page {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ----- Slideshow ----- */
.esc-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16/8;
    background: #e0eaf5;
    overflow: hidden;
}
.esc-slideshow .slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.esc-slideshow .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s;
}
.esc-slideshow .slide.active { opacity: 1; }
.esc-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.esc-slideshow-empty .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c8d8eb 0%, #e0eaf5 100%);
    color: var(--navy);
    font-weight: 700;
    font-size: 120px;
    letter-spacing: -4px;
}
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--navy);
    font-size: 24px;
    line-height: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background .15s;
}
.slide-nav:hover { background: #fff; }
.slide-nav.prev { left: 12px; }
.slide-nav.next { right: 12px; }
.slide-dots {
    position: absolute;
    bottom: 16px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.slide-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background .15s;
}
.slide-dots .dot.active { background: #fff; }

/* ----- Layout 2 colonne ----- */
.esc-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    padding: 32px;
}
@media (max-width: 880px) {
    .esc-grid {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
}

.esc-head {
    margin-bottom: 24px;
}
.esc-cat {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-soft);
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.esc-cat a { color: inherit; text-decoration: none; }
.esc-cat a:hover { text-decoration: underline; }
.esc-head h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.esc-orari {
    color: var(--text-muted);
    margin: 8px 0 0;
}

.esc-block {
    margin-bottom: 32px;
}
.esc-block h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 12px;
}

.rich-content { line-height: 1.7; color: var(--text); }
.rich-content p { margin: 0 0 12px; }
.rich-content ul, .rich-content ol { margin: 0 0 12px; padding-left: 22px; }
.rich-content li { margin-bottom: 6px; }
.rich-content strong { font-weight: 600; }
.rich-content a { color: var(--accent); }
.rich-content blockquote {
    margin: 12px 0;
    padding: 12px 16px;
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    color: var(--text);
}

.meeting-point {
    background: var(--bg);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    border-radius: 4px;
    margin: 0;
}

.extra-public-list {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.extra-public {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.extra-public:last-child { border-bottom: none; }
.extra-public strong { display: block; font-weight: 600; }
.extra-public small { color: var(--text-muted); font-size: 13px; }
.extra-public-price {
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}
.extra-public-price span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 13px;
}

/* ----- Box prezzo (sticky) ----- */
.esc-side {
    position: relative;
}
@media (min-width: 881px) {
    .esc-side { position: sticky; top: 90px; align-self: start; }
}
.price-box {
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.discount-tag {
    background: linear-gradient(135deg, #f97066 0%, #d14520 100%);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}
.discount-tag small {
    display: block;
    font-weight: 400;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}
.price-from {
    font-size: 13px;
    color: var(--text-muted);
}
.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -1px;
    line-height: 1;
    margin: 4px 0 4px;
}
.price-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.price-rows {
    list-style: none;
    margin: 0 0 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.price-rows li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
}
.price-rows li em {
    font-style: normal;
    color: #047857;
    font-weight: 600;
}
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}
.price-info {
    font-size: 13px;
    color: var(--text-muted);
    margin: 12px 0 0;
    text-align: center;
    line-height: 1.5;
}
.payment-list {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.payment-list small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pay-pill {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg);
    color: var(--text);
    font-size: 12px;
    border-radius: 999px;
    margin: 0 4px 4px 0;
}
