/* Tours Naples Prenotazioni — calendario e scheda del tour.
   I colori si possono cambiare dal tema ridefinendo --tn-blu, --tn-rosso e --tn-scuro. */
.tn-prenota, .tn-dati, .tn-totale, .tn-nota, .tn-itinerario, .tn-incluso, .tn-faq, .tn-grazie-wa {
	--tn-b: var(--tn-blu, #1f6fb8);
	--tn-r: var(--tn-rosso, #e32229);
	--tn-s: var(--tn-scuro, #0d2640);
	--tn-l: rgba(13, 38, 64, .12);
}
.tn-prenota { width: 100%; margin: 6px 0 18px; }
.tn-passo { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-weight: 700; color: var(--tn-s); }
.tn-passo span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tn-b); color: #fff; font-size: 13px; }
.tn-passo small { font-weight: 400; opacity: .6; }

.tn-cal { background: #fff; border: 1px solid var(--tn-l); border-radius: 14px; padding: 14px; transition: opacity .2s; }
.tn-cal.is-carico { opacity: .45; pointer-events: none; }
.tn-cal__testa { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--tn-s); }
.tn-cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--tn-l); background: #fff; color: var(--tn-s); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.tn-cal__nav:hover:not([disabled]) { background: var(--tn-b); color: #fff; border-color: var(--tn-b); }
.tn-cal__nav[disabled] { opacity: .3; cursor: default; }
.tn-cal__griglia { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.tn-cal__gs { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .5; padding: 4px 0; }
.tn-cal__g { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; color: #9aa6b2; font-size: 14px; padding: 0; cursor: default; }
.tn-cal__g.is-libero { background: #eef5fc; color: var(--tn-s); font-weight: 700; cursor: pointer; }
.tn-cal__g.is-libero:hover { background: var(--tn-b); color: #fff; }
.tn-cal__g.is-scelto, .tn-cal__g.is-scelto:hover { background: var(--tn-r); color: #fff; }
.tn-vuoto, .tn-attesa { margin: 10px 0 0; font-size: 14px; opacity: .65; }

.tn-orari { display: flex; flex-wrap: wrap; gap: 10px; }
.tn-ora { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 120px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--tn-l); background: #fff; color: var(--tn-s); cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.tn-ora strong { font-size: 18px; }
.tn-ora small { font-size: 12px; opacity: .65; }
.tn-ora:hover { border-color: var(--tn-b); transform: translateY(-2px); }
.tn-ora.is-scelta { background: var(--tn-b); border-color: var(--tn-b); color: #fff; }
.tn-ora.is-scelta small { opacity: .85; }

.tn-prenota.tn-manca .tn-cal, .tn-prenota.tn-manca .tn-orari { animation: tn-scuoti .5s; outline: 2px solid var(--tn-r); outline-offset: 4px; border-radius: 14px; }
@keyframes tn-scuoti { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

form.cart .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }
.tn-totale { flex: 0 0 100%; width: 100%; clear: both; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: 16px 0 0; padding: 14px 16px; background: #eef5fc; border-radius: 12px; color: var(--tn-s); }
.tn-totale strong { font-size: 18px; }
.tn-totale[hidden] { display: none !important; }
.tn-nota { flex: 0 0 100%; width: 100%; clear: both; margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid var(--tn-r); background: #fff; font-size: 14px; line-height: 1.5; }
.tn-a-persona { font-size: .6em; font-weight: 400; opacity: .65; }

.tn-dati { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; list-style: none; margin: 0 0 22px; padding: 0; }
.tn-dati li { background: #fff; border: 1px solid var(--tn-l); border-radius: 12px; padding: 10px 14px; }
.tn-dati span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tn-b); }
.tn-dati strong { color: var(--tn-s); }

.tn-itinerario { list-style: none; margin: 0; padding: 0; counter-reset: tappa; }
.tn-itinerario li { position: relative; padding: 0 0 18px 34px; border-left: 2px solid var(--tn-l); margin-left: 10px; }
.tn-itinerario li::before { content: ''; position: absolute; left: -8px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--tn-b); }
.tn-itinerario li:last-child { border-color: transparent; }
.tn-itinerario li span { display: inline-block; min-width: 56px; margin-right: 10px; font-weight: 700; color: var(--tn-r); }
.tn-incluso { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.tn-lista { list-style: none; margin: 0; padding: 0; }
.tn-lista li { position: relative; padding: 5px 0 5px 28px; }
.tn-lista li::before { position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.tn-lista--si li::before { content: '✓'; background: #1f9d55; }
.tn-lista--no li::before { content: '✕'; background: var(--tn-r); }
.tn-mappa { position: relative; padding-top: 46%; border-radius: 14px; overflow: hidden; border: 1px solid var(--tn-l); }
.tn-mappa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tn-indirizzo { font-weight: 700; color: var(--tn-s); }
.tn-faq details { border-bottom: 1px solid var(--tn-l); padding: 12px 0; }
.tn-faq summary { cursor: pointer; font-weight: 700; color: var(--tn-s); }
.tn-faq details p { margin: 8px 0 0; }
.tn-grazie-wa { margin: 0 0 24px; padding: 22px; border-radius: 14px; background: #eef5fc; text-align: center; }
.tn-grazie-wa p { margin: 0 0 12px; }
.tn-btn-wa { display: inline-block; padding: 14px 26px; border-radius: 999px; background: #25d366; color: #fff !important; font-weight: 700; text-decoration: none; }
.tn-btn-wa:hover { background: #1ebe5a; }
