/* Viaggio in Egitto — Viaggio bridge styles */

/* Sticky footer: keep the footer flush at the bottom of the viewport on
   short pages (e.g. /viaggiosumisura) instead of leaving a blank gap
   below it when page content is shorter than the browser window. */
#smooth-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#smooth-content main {
    flex: 1 0 auto;
}
#smooth-content footer.footer-section {
    flex-shrink: 0;
}

/* Site-wide spacing: 20px section padding */
.section-padding,
.viaggio-home-section,
.margin_60,
#global-faq.section-padding {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.viaggio-home-section .section-title {
    margin-bottom: 20px;
}

.breadcrumb-wrapper .page-heading,
.breadcrumb-wrapper-2 .page-heading,
.breadcrumb-wrapper-2.style-tour-page .page-heading {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.breadcrumb-wrapper .page-heading.style-2 h1 {
    margin-top: 20px;
}

.breadcrumb-wrapper .page-heading.style-2 .list {
    margin-top: 20px;
    gap: 20px;
}

.faqs {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body {
    padding-top: 0;
}
.hide_inq_btn {
    display: none !important;
}
.viaggio-site-logo img {
    max-height: 50px;
    width: auto;
}
.viaggio-mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.viaggio-mobile-nav > ul > li {
    border-bottom: 1px solid rgba(21, 21, 21, 0.1);
}
.viaggio-mobile-nav a,
.viaggio-mobile-nav summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    color: var(--header, #151515);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.viaggio-mobile-nav summary {
    list-style: none;
}
.viaggio-mobile-nav summary::-webkit-details-marker {
    display: none;
}
.viaggio-mobile-nav summary::after {
    content: "+";
    color: var(--theme, #f06b53);
    font-size: 20px;
    line-height: 1;
}
.viaggio-mobile-nav details[open] > summary::after {
    content: "-";
}
.viaggio-mobile-nav details ul {
    padding: 0 0 10px 14px;
}
.viaggio-mobile-nav details li a {
    padding: 7px 0;
    color: var(--text, #4b5555);
    font-size: 14px;
    font-weight: 600;
}
.viaggio-mobile-nav details details summary {
    padding: 7px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text, #4b5555);
}
.viaggio-mobile-nav details details ul {
    padding-left: 14px;
}
.viaggio-mobile-nav .viaggio-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 10px 18px !important;
    border-radius: 8px;
    background: var(--theme, #f06b53);
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.viaggio-header-cta {
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--theme, #f06b53);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.viaggio-header-cta:hover {
    color: #fff !important;
    background: #e05a42;
}
.header-main .main-menu ul li .submenu li.viaggio-nav-cta-item {
    padding: 8px 20px 12px;
}
.header-main
    .main-menu
    ul
    li
    .submenu
    li.viaggio-nav-cta-item
    .viaggio-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 12px);
    margin-left: 6px;
    padding: 10px 16px !important;
    border-radius: 8px;
    background: var(--theme, #f06b53);
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
}
.header-main
    .main-menu
    ul
    li
    .submenu
    li.viaggio-nav-cta-item
    .viaggio-nav-cta::before {
    display: none;
}
.header-main
    .main-menu
    ul
    li
    .submenu
    li.viaggio-nav-cta-item
    .viaggio-nav-cta:hover {
    color: #fff !important;
    margin-left: 6px;
}
.footer-widget-wrapper .single-footer-widget .footer-content .social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-widget-wrapper .single-footer-widget .footer-content .social-icon a i {
    font-size: 18px;
    line-height: 1;
    color: inherit;
}
.contact-section-2::before {
    pointer-events: none;
}
.contact-section-2.viaggio-contact-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.contact-section-2 .container {
    position: relative;
    z-index: 1;
}
.contact-section-2 .viaggio-newsletter-social {
    position: relative;
    z-index: 2;
}
.contact-section-2 .viaggio-newsletter-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--theme, #f06b53);
    background: var(--theme, #f06b53);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
.contact-section-2 .viaggio-newsletter-social a:hover {
    background: var(--theme, #f06b53);
    border-color: var(--theme, #f06b53);
    color: #fff;
}
.contact-section-2 .viaggio-newsletter-social a i {
    font-size: 18px;
    line-height: 1;
    color: inherit;
}

@media (min-width: 1200px) {
    .viaggio-footer-brand {
        padding-top: 42px;
    }
}
.viaggio-footer-bottom-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.viaggio-footer-bottom-bar p {
    margin: 0;
}
.footer-bottom.style-1 {
    border-top: none;
    border-bottom: none;
    margin-bottom: 24px;
}
.footer-widget-wrapper {
    padding: 48px 0 24px;
}
.footer-widget-wrapper .single-footer-widget {
    margin-top: 16px;
}
.viaggio-footer-bottom-logo img {
    display: block;
    max-height: 70px;
    width: auto;
}
@media (max-width: 767px) {
    .viaggio-footer-bottom-logo img {
        max-height: 56px;
    }
}
@media (max-width: 1199px) {
    .mean__menu-wrapper {
        display: none !important;
    }
    .header-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}
/* Center main nav in the header bar */
@media (min-width: 1200px) {
    .header-main {
        position: relative;
        padding: 22px 0;
    }
    .mean__menu-wrapper {
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        transform: translateX(-50%);
        display: flex !important;
        align-items: center;
        pointer-events: none;
    }
    .mean__menu-wrapper .main-menu {
        pointer-events: auto;
    }
    .header-main .main-menu ul li a {
        font-size: 18px;
        font-weight: 600;
    }
    .header-main .main-menu ul li {
        margin-inline-end: 45px;
    }
}
.viaggio-package-card .tour-place-bottom .rating,
.viaggio-package-card .tour-list li.viaggio-hide-people {
    display: none !important;
}
@media (min-width: 992px) {
    #sidebar,
    .viaggio-sticky-booking,
    .viaggio-floating-booking,
    #sidebar.viaggio-sticky-booking,
    #sidebar.viaggio-floating-booking,
    .viaggio-blog-booking-widget,
    .viaggio-package-detail .tour-details-side,
    .viaggio-package-detail .tour-details-sidebar,
    .viaggio-package-detail .tour-sidebar-items,
    .viaggio-package-booking-panel {
        position: sticky !important;
        top: 100px !important;
        z-index: 25;
        align-self: flex-start;
    }

    #sidebar #booking_box.viaggio-booking-frame,
    .viaggio-sticky-booking #booking_box.viaggio-booking-frame,
    .viaggio-floating-booking #booking_box.viaggio-booking-frame {
        width: 100%;
    }
}

@media (max-width: 991px) {
    #sidebar,
    .viaggio-sticky-booking,
    .viaggio-floating-booking,
    #sidebar.viaggio-sticky-booking,
    #sidebar.viaggio-floating-booking {
        position: relative;
        top: auto;
        z-index: 1;
    }
}

#booking_box.viaggio-booking-frame,
.package-inquiry-box #booking_box.viaggio-booking-frame {
    margin-bottom: 0;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(21, 21, 21, 0.08);
    background: #fff;
    color: var(--text, #333);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
}

#booking_box.viaggio-booking-frame {
    overflow-y: visible;
}

#booking_box.viaggio-booking-frame h3.inner {
    display: none !important;
}

#booking_box.viaggio-booking-frame form > .row,
#booking_box.viaggio-booking-frame .row.align-items-center {
    row-gap: 12px;
}

#booking_box.viaggio-booking-frame .form-group {
    margin-bottom: 9px !important;
}

#booking_box.viaggio-booking-frame .form-control {
    width: 100%;
    min-height: 42px;
    height: 42px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-radius: 12px;
    background: #fff;
    color: var(--text, #333);
    font-size: 15px;
    font-weight: 600;
    box-shadow: none;
}

#booking_box.viaggio-booking-frame textarea.form-control {
    min-height: 64px;
    height: 64px !important;
    padding-top: 10px;
}

#booking_box.viaggio-booking-frame .input-group {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 6px;
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-radius: 12px;
    background: #fff;
}

#booking_box.viaggio-booking-frame .input-group input {
    border: 0 !important;
    text-align: center;
    color: var(--theme, #f06b53);
    font-weight: 700;
}

#booking_box.viaggio-booking-frame .input-group button {
    width: 30px !important;
    height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 50%;
    background: rgba(9, 65, 93, 0.08) !important;
    color: var(--header, #09415d) !important;
}

#booking_box.viaggio-booking-frame label {
    color: var(--header, #1f2f2f);
    font-size: 13px;
    font-weight: 700;
}

#booking_box.viaggio-booking-frame .viaggio-pax-row {
    --bs-gutter-x: 12px;
    row-gap: 12px;
}

#booking_box.viaggio-booking-frame .viaggio-pax-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

#booking_box.viaggio-booking-frame .viaggio-pax-field label {
    margin-bottom: 0;
    line-height: 1.25;
}

#booking_box.viaggio-booking-frame .viaggio-pax-field .input-group {
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
}

#booking_box.viaggio-booking-frame .viaggio-pax-field .input-group-btn {
    display: flex;
    flex: 0 0 auto;
}

#booking_box.viaggio-booking-frame .viaggio-pax-field .input-number {
    min-width: 0;
    flex: 1 1 auto;
    width: 1% !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
}

#booking_box.viaggio-booking-frame
    .viaggio-pax-field
    .input-group-btn:first-child
    button {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#booking_box.viaggio-booking-frame
    .viaggio-pax-field
    .input-group-btn:last-child
    button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

#booking_box.viaggio-booking-frame .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
}

#booking_box.viaggio-booking-frame .form-check-input {
    float: none;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: 50%;
    box-shadow: none;
}

#booking_box.viaggio-booking-frame .form-check-input:checked {
    background-color: var(--theme, #f06b53);
    border-color: var(--theme, #f06b53);
}

#booking_box.viaggio-booking-frame .form-check-label {
    margin: 0;
    color: var(--text, #4b5555);
    font-weight: 700;
}

#booking_box.viaggio-booking-frame .btn_full {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: var(--theme, #f06b53) !important;
    color: #fff !important;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 800;
    text-transform: none;
    box-shadow: 0 10px 22px rgba(240, 107, 83, 0.24);
}

#booking_box.viaggio-booking-frame form > .btn_full[type="submit"] {
    margin-top: 10px;
    margin-bottom: 0;
}

#booking_box.viaggio-booking-frame .btn_full:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(240, 107, 83, 0.3);
}

#booking_box.viaggio-booking-frame .flightFelid {
    display: none !important;
    margin-top: 0.5rem;
}

#booking_box.viaggio-booking-frame .flightFelid.active {
    display: block !important;
}

#booking_box.viaggio-booking-frame .fa-calendar-alt {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--header, #09415d);
    cursor: pointer;
    pointer-events: auto;
    z-index: 3;
}

#booking_box.viaggio-booking-frame input[id="check_in"],
#booking_box.viaggio-booking-frame input[id="check_out"] {
    cursor: pointer;
    padding-right: 2.75rem;
}

.datepicker.dropdown-menu {
    z-index: 100050 !important;
}

/* Smaller, more compact booking form on mobile — the full-size version
   doesn't comfortably fit small screens */
@media (max-width: 575px) {
    #booking_box.viaggio-booking-frame {
        padding: 12px;
    }
    #booking_box.viaggio-booking-frame form > .row,
    #booking_box.viaggio-booking-frame .row.align-items-center {
        row-gap: 6px;
    }
    #booking_box.viaggio-booking-frame .form-group {
        margin-bottom: 4px !important;
    }
    #booking_box.viaggio-booking-frame .form-control {
        min-height: 32px;
        height: 32px;
        padding: 0.3rem 0.6rem;
        font-size: 12px;
    }
    #booking_box.viaggio-booking-frame textarea.form-control {
        min-height: 42px;
        height: 42px !important;
    }
    #booking_box.viaggio-booking-frame .input-group {
        min-height: 32px;
        padding: 3px;
    }
    #booking_box.viaggio-booking-frame .input-group button {
        width: 22px !important;
        height: 22px !important;
    }
    #booking_box.viaggio-booking-frame label {
        font-size: 11px;
    }
    #booking_box.viaggio-booking-frame .viaggio-pax-row {
        row-gap: 6px;
    }
    #booking_box.viaggio-booking-frame .form-check {
        gap: 5px;
    }
    #booking_box.viaggio-booking-frame .form-check-input {
        width: 16px;
        height: 16px;
    }
    #booking_box.viaggio-booking-frame .btn_full {
        padding: 8px 14px;
        font-size: 13px;
    }
}

.package-inquiry-box {
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.blog-cover {
    min-height: 320px;
    background-size: cover;
    background-position: center;
}

/* Blog archive (news-grid.html layout) */
.viaggio-blog-hero.breadcrumb-wrapper {
    margin-bottom: 48px;
}
.viaggio-blog-hero.breadcrumb-wrapper .page-heading {
    padding-top: 72px !important;
    padding-bottom: 56px !important;
}
@media (max-width: 991px) {
    .viaggio-blog-hero.breadcrumb-wrapper {
        margin-bottom: 32px;
    }
    .viaggio-blog-hero.breadcrumb-wrapper .page-heading {
        padding-top: 48px !important;
        padding-bottom: 40px !important;
    }
}
@media (max-width: 575px) {
    .viaggio-blog-hero.breadcrumb-wrapper {
        margin-bottom: 24px;
    }
    .viaggio-blog-hero.breadcrumb-wrapper .page-heading {
        padding-top: 36px !important;
        padding-bottom: 32px !important;
    }
}
.viaggio-blog-archive .news-card-items.viaggio-click-card {
    cursor: pointer;
}
.viaggio-blog-archive .page-nav-wrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.viaggio-blog-archive .page-nav-wrap .page-numbers.disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Embedded FAQ section (same style as /faqs page) */
.viaggio-faq-page.faq-section,
.viaggio-faq-embed.viaggio-faq-page {
    background-color: #fff !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
.viaggio-faq-page .faq-wrapper .faq-left-content .faq-box-item,
.viaggio-faq-embed .faq-wrapper .faq-left-content .faq-box-item {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 0 !important;
    margin-top: 0 !important;
}
.viaggio-faq-page .faq-wrapper .faq-left-content .faq-box-item .faq-items-4,
.viaggio-faq-embed .faq-wrapper .faq-left-content .faq-box-item .faq-items-4 {
    margin-top: 24px !important;
}
.viaggio-faq-page .faq-left-content .text,
.viaggio-faq-embed .faq-left-content .text {
    margin-bottom: 24px;
}

/* Package listing hero (legacy .banners markup) */
.banners {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
}
.banners .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}
.banners .banners_content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    width: 100%;
    padding: 0 1rem;
}
.banners .banners_content h1 {
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 700;
    margin: 0;
}
.banners img {
    width: 100%;
    display: block;
    max-height: 280px;
    object-fit: cover;
}

/* Legal / static pages (termini, privacy) — scoped so legacy CSS does not break the footer grid */
.viaggio-legal-page .banners {
    min-height: 420px;
}
.viaggio-legal-page .banners .overlay {
    background: rgba(0, 0, 0, 0.4);
}
.viaggio-legal-page .banners_desc,
.viaggio-legal-page .banner_desc {
    background: #fff;
    padding: 32px 27px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 4px 4px 0 rgba(205, 205, 205, 0.25);
}
.viaggio-legal-page .banners_desc {
    top: -40px;
    left: 50%;
    transform: translate(-50%);
    max-width: 960px;
}
.viaggio-legal-page .banners_desc p,
.viaggio-legal-page .banner_desc p {
    font-size: 16px;
    line-height: 29px;
    text-align: center;
    color: #000;
    margin: 0;
}
.viaggio-legal-page .box_style_1 {
    background: #fff;
    border-radius: 3px;
    border: 1px solid #ddd;
    margin-bottom: 25px;
    padding: 30px;
    color: #666;
}
.viaggio-legal-page .box_style_1 h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 0.5rem;
}
.viaggio-legal-page .box_style_1 p {
    margin: 0 0 20px;
}
.viaggio-legal-page .box_style_1 ul,
.viaggio-legal-page .box_style_1 ol {
    margin-top: 0;
    margin-bottom: 1rem;
}
.viaggio-legal-page .reviews {
    margin-bottom: 0;
}

/* About page (informazione-su-di-noi) */
.viaggio-about-page .viaggio-about-breadcrumb {
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.viaggio-about-page .viaggio-about-content {
    padding-top: 20px;
    padding-bottom: 20px;
}
.viaggio-about-page .viaggio-about-intro {
    max-width: 920px;
    margin: 0 auto 40px;
    text-align: center;
}
.viaggio-about-page .viaggio-about-intro h2 {
    color: var(--header, #151515);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 20px;
}
.viaggio-about-page .viaggio-about-intro p {
    color: var(--text, #4b5555);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.viaggio-about-page .viaggio-about-intro p:last-child {
    margin-bottom: 0;
}
.viaggio-about-page .viaggio-about-feature {
    position: relative;
    height: 100%;
    padding: 30px 30px 24px 120px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text, #4b5555);
}
.viaggio-about-page .viaggio-about-feature-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme, #f06b53);
    font-size: 28px;
    line-height: 1;
}
.viaggio-about-page .viaggio-about-feature h3 {
    color: var(--header, #151515);
    font-size: 22px;
    margin-bottom: 12px;
}
.viaggio-about-page .viaggio-about-feature p {
    margin: 0;
    line-height: 1.7;
}
.viaggio-about-page .viaggio-about-managed {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.viaggio-about-page .viaggio-about-managed h3 {
    color: var(--header, #151515);
    font-size: 22px;
    margin-bottom: 16px;
}
.viaggio-about-page .viaggio-about-managed p {
    color: var(--text, #4b5555);
    line-height: 1.7;
    margin-bottom: 16px;
}
.viaggio-about-page .viaggio-about-managed p:last-child {
    margin-bottom: 0;
}
.viaggio-about-page .viaggio-about-managed a {
    color: var(--theme, #f06b53);
}
.viaggio-about-page .reviews {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .viaggio-about-page .viaggio-about-breadcrumb {
        min-height: 320px;
    }
    .viaggio-about-page .viaggio-about-feature {
        padding: 24px 24px 20px 96px;
    }
    .viaggio-about-page .viaggio-about-feature-icon {
        top: 24px;
        left: 24px;
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    .viaggio-about-page .viaggio-about-intro p {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .viaggio-about-page .viaggio-about-feature {
        padding: 88px 20px 20px;
    }
    .viaggio-about-page .viaggio-about-feature-icon {
        top: 20px;
        left: 20px;
    }
}

@media (max-width: 991px) {
    .viaggio-legal-page .banners {
        min-height: 320px;
    }
    .viaggio-legal-page .banners_desc {
        top: 0;
        left: auto;
        transform: none;
        margin-top: 1.5rem;
    }
}

@media (min-width: 992px) {
    .viaggio-blog-sidebar {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

.viaggio-tailor-section {
    background: #f8f9fa;
}
.viaggio-tailor-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.viaggio-home-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.viaggio-home-section .section-title {
    margin-bottom: 20px;
}

.viaggio-home-section .section-title p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.viaggio-click-card {
    cursor: pointer;
}
.viaggio-click-card:focus-visible {
    outline: 3px solid rgba(240, 107, 83, 0.45);
    outline-offset: 4px;
}

.tour-place-section-2 .row > [class*="col-"] {
    display: flex;
}

.tour-place-section-2 .viaggio-package-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
}

.tour-place-section-2 .viaggio-package-card .tour-place-image {
    aspect-ratio: 39 / 25;
}

.tour-place-section-2 .viaggio-package-card .tour-place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-place-section-2 .viaggio-package-card .tour-place-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.tour-place-section-2 .viaggio-package-card .tour-place-content h3 {
    min-height: 56px;
}

.tour-place-section-2
    .viaggio-package-card
    .tour-place-content
    .tour-place-bottom {
    margin-top: auto;
}

@media (max-width: 991px) {
    .viaggio-home-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .viaggio-home-section .section-title {
        margin-bottom: 20px;
    }
}

/* Package detail (tour-details.html) — full width, no side padding */
.viaggio-tour-meta-bar.list {
    flex-wrap: wrap;
    row-gap: 12px;
}
.viaggio-tour-meta-bar .viaggio-tour-meta-bar-item span {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}
@media (max-width: 575px) {
    .viaggio-tour-meta-bar .viaggio-tour-meta-bar-item span {
        max-width: 140px;
    }
}
.viaggio-package-page .container,
.viaggio-package-page .container-fluid,
.viaggio-package-page .viaggio-tour-detail-faq .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 100px !important;
    padding-right: 100px !important;
}
@media (max-width: 1199px) {
    .viaggio-package-page .container,
    .viaggio-package-page .container-fluid,
    .viaggio-package-page .viaggio-tour-detail-faq .container {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}
@media (max-width: 575px) {
    .viaggio-package-page .container,
    .viaggio-package-page .container-fluid,
    .viaggio-package-page .viaggio-tour-detail-faq .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
.viaggio-package-detail .SingelTaps {
    padding: 20px !important;
}
.viaggio-wiki-detail .news-details-post {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
}
.tour-details-wrappers
    .tour-details-side
    .tour-sidebar-items.viaggio-package-booking-panel,
.viaggio-package-detail
    .tour-details-wrappers
    .tour-details-content
    .tour-details-side
    .tour-sidebar-items {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Legacy critical CSS sets all .col-* to width:100% — restore Bootstrap grid on detail page */
@media (min-width: 992px) {
    .viaggio-package-detail .tour-details-content > .row > .col-lg-8 {
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
        width: 66.666667% !important;
    }
    .viaggio-package-detail .tour-details-content > .row > .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}
.viaggio-package-detail .tour-details-side,
.viaggio-package-detail .tour-details-sidebar,
.viaggio-package-detail .viaggio-package-booking-panel,
.viaggio-package-detail #booking_box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}
.viaggio-package-detail #booking_box h3.inner {
    display: none !important;
}
.viaggio-package-detail #booking_box form > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.viaggio-package-detail #booking_box form .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
@media (min-width: 576px) {
    .viaggio-package-detail #booking_box form .row > .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
    .viaggio-package-detail #booking_box form .row > .col-md-5 {
        flex: 0 0 41.666667% !important;
        max-width: 41.666667% !important;
        width: 41.666667% !important;
    }
    .viaggio-package-detail #booking_box form .row > .col-7 {
        flex: 0 0 58.333333% !important;
        max-width: 58.333333% !important;
        width: 58.333333% !important;
    }
}
.viaggio-package-detail #booking_box .form-control,
.viaggio-package-detail #booking_box select,
.viaggio-package-detail #booking_box textarea {
    width: 100% !important;
    max-width: 100% !important;
}
.viaggio-package-detail .details-image {
    overflow: hidden;
    border-radius: 10px;
}
.viaggio-package-detail .details-image img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}
.viaggio-package-detail .details-video {
    position: relative;
    min-height: 200px;
    height: 100%;
}
.viaggio-package-detail .details-video iframe,
.viaggio-package-detail .details-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: 0;
    display: block;
}
.viaggio-package-detail .tour-left-content .Taps {
    margin-bottom: 1.5rem;
}
.viaggio-package-detail .tour-left-content > h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}
.viaggio-package-detail .tour-left-content > h3:first-child {
    margin-top: 0;
}
.viaggio-tour-richtext,
.viaggio-tour-richtext p,
.viaggio-tour-check-list,
.viaggio-tour-check-list p,
.viaggio-tour-check-list li {
    color: var(--text, #666);
    font-size: 16px;
    line-height: 1.8;
}
.viaggio-tour-richtext img,
.viaggio-package-detail .details-thumb img {
    width: 100%;
    border-radius: 10px;
}
.viaggio-tour-richtext a,
.viaggio-tour-check-list a,
.viaggio-news-richtext a {
    color: #0d6efd;
    text-decoration: underline;
}
.viaggio-tour-richtext a:hover,
.viaggio-tour-check-list a:hover,
.viaggio-news-richtext a:hover {
    color: #0a58ca;
}
.viaggio-package-description {
    position: relative;
}
.viaggio-package-description-content.is-collapsed {
    max-height: 180px;
    overflow: hidden;
    position: relative;
}
.viaggio-package-description-content.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
}
.viaggio-package-description-content.is-expanded {
    max-height: none;
    overflow: visible;
}
.viaggio-description-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--theme, #f06b53);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.viaggio-description-toggle:hover {
    color: var(--header, #09415d);
}
.viaggio-tour-check-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.viaggio-tour-includes-stack {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 24px;
    width: 100%;
}
.viaggio-tour-includes-stack > .viaggio-tour-includes-section {
    display: flex !important;
    flex: 1 1 calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
    width: calc(50% - 12px) !important;
    min-width: 0;
}
@media (max-width: 767px) {
    .viaggio-tour-includes-stack > .viaggio-tour-includes-section {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}
.viaggio-tour-includes-stack > .viaggio-tour-includes-section:only-child {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}
.viaggio-tour-includes-section .list-item {
    width: 100%;
    height: 100%;
    padding: 22px 20px;
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.viaggio-tour-includes-section .list-item h3 {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.3;
}
.viaggio-package-detail .viaggio-tour-includes-section .list-item {
    padding: 22px 20px;
}
.viaggio-package-detail .viaggio-tour-includes-section .viaggio-tour-check-list,
.viaggio-package-detail
    .viaggio-tour-includes-section
    .viaggio-tour-check-list
    p,
.viaggio-package-detail
    .viaggio-tour-includes-section
    .viaggio-tour-check-list
    li {
    font-size: 15px;
    line-height: 1.65;
}
.viaggio-package-detail
    .viaggio-tour-includes-section
    .viaggio-tour-check-list
    li {
    margin-bottom: 10px;
    padding-left: 24px;
}
.viaggio-tour-check-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
}
.viaggio-tour-check-list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
    font-weight: 900;
}
.viaggio-tour-check-list-in li::before {
    content: "\f00c";
    color: var(--theme, #f06b53);
}
.viaggio-tour-check-list-out li::before {
    content: "\f00d";
    color: var(--theme, #f06b53);
}
.viaggio-tour-highlights li i {
    color: var(--theme, #f06b53);
}
.viaggio-package-detail .accordion-body .details-thumb {
    margin-bottom: 0;
}
.viaggio-tour-pricing-groups {
    --bs-gutter-y: 40px;
    row-gap: 40px;
}
.viaggio-price-grid {
    --bs-gutter-x: 32px;
    --bs-gutter-y: 32px;
    row-gap: 32px;
}
.viaggio-price-grid > [class*="col-"],
.viaggio-tour-hotels .row > [class*="col-"] {
    display: flex;
}
.viaggio-package-detail .new-prices-tbl,
.viaggio-package-detail .new-hotel-boxes {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.viaggio-package-detail .new-prices-tbl {
    padding: 18px;
}
.viaggio-package-detail .new-prices-tbl_title {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(21, 21, 21, 0.1);
    color: var(--theme, #f06b53);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}
.viaggio-package-detail .new-prices-tbl_data {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    color: var(--header, #1f2f2f);
    font-size: 16px;
    font-weight: 600;
}
.viaggio-tour-hotels h3 {
    margin-bottom: 18px;
}
.viaggio-package-detail .new-hotel-boxes-img {
    min-height: 170px;
    background-position: center;
    background-size: cover;
}
.viaggio-package-detail .new-hotel-boxes-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    color: var(--header, #1f2f2f);
    font-size: 16px;
    font-weight: 700;
}
.viaggio-general-info {
    display: grid;
    gap: 24px;
}
.viaggio-general-info-item h4 {
    margin-bottom: 12px;
    color: var(--header, #1f2f2f);
    font-size: 22px;
    font-weight: 700;
}
.viaggio-general-info-item {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(21, 21, 21, 0.1);
}
.viaggio-general-info-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.viaggio-tour-share ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--theme, #f06b53);
    color: #fff;
}
.viaggio-tour-share ul li a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}
.button_moblie {
    display: none;
}
@media (max-width: 785px) {
    .button_moblie {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        display: block;
        width: 100%;
        padding: 12px 16px;
        background: #fff;
        box-shadow: 0 -8px 24px rgba(21, 21, 21, 0.12);
    }
    .button_moblie a,
    .button_moblie button {
        width: 100%;
    }
    .button_moblie button {
        display: block;
        border: 0;
        border-radius: 10px;
        background: var(--theme, #f06b53);
        color: #fff;
        padding: 14px 18px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
    }
}
.viaggio-package-detail .viaggio-tour-youtube iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 10px;
}
.viaggio-package-detail .pic_360 {
    min-height: 360px;
}
.viaggio-package-detail .tour-details-sidebar .box_style_1,
.viaggio-package-detail .tour-details-sidebar #booking_box {
    margin-bottom: 0;
}
.viaggio-tour-detail-faq.faqs {
    margin-top: 0;
}

/* Listing page — full-width container */
.tour-sidebar-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 100px !important;
    padding-right: 100px !important;
}
@media (max-width: 1199px) {
    .tour-sidebar-section .container {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}
@media (max-width: 575px) {
    .tour-sidebar-section .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Tour sidebar listing cards */
.tour-sidebar-section .viaggio-package-grid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    row-gap: 0;
}
.tour-sidebar-section .viaggio-package-grid > [class*="col-"] {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    display: flex;
}
.tour-sidebar-section .tour-place-item.style-2 {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(21, 21, 21, 0.08);
    transition: box-shadow 0.3s ease;
    width: 100%;
}
.tour-sidebar-section .tour-place-item.style-2:hover {
    box-shadow: 0 8px 30px rgba(21, 21, 21, 0.1);
}
.tour-sidebar-section .tour-place-item.style-2 .tour-place-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    overflow: hidden;
    border-radius: 0;
}
.tour-sidebar-section .tour-place-item.style-2 .tour-place-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transform: none !important;
}
.tour-sidebar-section .tour-place-item.style-2 .tour-place-content {
    padding: 16px;
}
.tour-sidebar-section .tour-place-item.style-2 .tour-place-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 50px;
}
.tour-sidebar-section .tour-place-item.style-2 .sidebar-text {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tour-sidebar-section .tour-place-item.style-2 .tour-list {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(21, 21, 21, 0.08);
    gap: 16px;
    flex-wrap: wrap;
}
.tour-sidebar-section .tour-place-item.style-2 .tour-list li {
    font-size: 14px;
    color: var(--text, #666);
}
.tour-sidebar-section .tour-place-item.style-2 .tour-list li i {
    color: var(--theme, #f06b53);
}
.tour-sidebar-section .tour-sidebar-bg-image-items {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
    aspect-ratio: 3 / 4;
    min-height: 320px;
}
.tour-sidebar-section .tour-sidebar-bg-image-items img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px;
}
.tour-sidebar-section .viaggio-filter-count {
    font-weight: 700;
    color: var(--theme, #f06b53);
}
.viaggio-listing-description {
    max-width: 820px;
    margin: 16px auto 0;
    text-align: left;
}
.viaggio-listing-description .viaggio-description-toggle {
    margin-left: 0;
}
.viaggio-listing-description p:last-child {
    margin-bottom: 0;
}
.viaggio-listing-sidebar {
    position: sticky;
    top: 100px;
}
@media (max-width: 1199px) {
    .viaggio-listing-sidebar {
        position: static;
    }
}

/* Listing hero (tour-sidebar.html breadcrumb) */
.viaggio-listing-hero.breadcrumb-wrapper-2 {
    z-index: 30;
    overflow: visible;
    margin: 134px 15px 30px !important;
    background-position: center;
    background-size: cover;
}
.viaggio-listing-hero.breadcrumb-wrapper-2 .page-heading {
    position: relative;
    z-index: 2;
    padding-top: 150px !important;
    padding-bottom: 150px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
}
.hero-section-2.fix {
    overflow: visible !important;
}
.hero-section-2 {
    position: relative;
    z-index: 20;
    overflow: visible;
}
.hero-section-2 .hero-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.hero-section-2 .hero-slider-bg .swiper-slide {
    height: 100%;
}
.hero-section-2 .hero-slider-bg .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transform: scale(1);
    transition: all 8s ease-out;
    z-index: 1;
}
.hero-section-2 .hero-slider-bg .hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(21, 21, 21, 0) 14.56%,
        #151515 99.88%
    );
    z-index: -1;
}
.hero-section-2 .hero-slider-bg .swiper-slide.swiper-slide-active .hero-bg {
    transform: scale(1.19);
}
.hero-section-2 .hero-section-2__content {
    position: relative;
    z-index: 2;
}
.hero-section-2 .hero-section-2__content .from-box,
.hero-section-2 .hero-section-2__content .from-box .box-item-2,
.hero-section-2 .hero-section-2__content .from-box .form-clt,
.hero-section-2 .hero-section-2__content .from-box .form {
    overflow: visible;
}
.hero-section-2 .hero-section-2__content .single-select,
.hero-section-2 .hero-section-2__content .nice-select {
    position: relative;
    z-index: 50;
}
.hero-section-2 .hero-section-2__content .nice-select.open {
    z-index: 10020;
}
.hero-section-2 .hero-section-2__content .nice-select .list {
    z-index: 10020;
    max-height: 280px;
    overflow-x: hidden;
    overflow-y: auto;
}
.hero-section-2 + .feature-exprience-section-2 {
    position: relative;
    z-index: 1;
}

/* Home experience section — custom public/images assets */
.feature-exprience-section-2 .feature-exprience-wrapper .left-image {
    height: 466px;
    min-height: 280px;
    overflow: hidden;
}

.feature-exprience-section-2 .feature-exprience-wrapper .left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.feature-exprience-section-2
    .feature-exprience-wrapper
    .counter-main-box
    .group-image {
    max-width: 170px;
    width: 100%;
    overflow: hidden;
}

.feature-exprience-section-2
    .feature-exprience-wrapper
    .counter-main-box
    .group-image
    img {
    width: 100%;
    height: 50px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.feature-exprience-section-2
    .feature-exprience-wrapper
    .adventure-box-2
    .info-item
    img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 1399px) {
    .feature-exprience-section-2 .feature-exprience-wrapper .left-image {
        height: 420px;
    }
}

@media (max-width: 991px) {
    .feature-exprience-section-2 .feature-exprience-wrapper .left-image {
        height: 360px;
    }

    .feature-exprience-section-2
        .feature-exprience-wrapper
        .counter-main-box
        .group-image {
        max-width: 150px;
    }

    .feature-exprience-section-2
        .feature-exprience-wrapper
        .counter-main-box
        .group-image
        img {
        height: 44px;
    }
}

@media (max-width: 575px) {
    .feature-exprience-section-2 .feature-exprience-wrapper .left-image {
        height: 280px;
    }
}

/* Home about section — custom public/images assets */
.about-section-2 .about-wrapper-2 .about-content .about-item .about-image {
    max-width: 410px;
    width: 100%;
    aspect-ratio: 410 / 330;
}

.about-section-2 .about-wrapper-2 .about-content .about-item .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-section-2 .about-wrapper-2 .about-image-item .about-image-2 {
    flex: 1 1 0;
    min-width: 0;
    max-width: 420px;
    height: 650px;
}

.about-section-2 .about-wrapper-2 .about-image-item .about-image-2.style-2 {
    flex: 1 1 0;
    min-width: 0;
    max-width: 410px;
    height: 470px;
}

.about-section-2 .about-wrapper-2 .about-image-item .about-image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 1399px) {
    .about-section-2 .about-wrapper-2 .about-image-item .about-image-2 {
        height: 520px;
    }

    .about-section-2 .about-wrapper-2 .about-image-item .about-image-2.style-2 {
        height: 380px;
    }
}

@media (max-width: 991px) {
    .about-section-2 .about-wrapper-2 .about-image-item .about-image-2,
    .about-section-2 .about-wrapper-2 .about-image-item .about-image-2.style-2 {
        max-width: 100%;
        height: 360px;
    }
}

/* Home feature section — custom public/images assets */
.feature-section-2.viaggio-feature-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-section-2.viaggio-feature-section .feature-bg-content h2 img {
    width: 130px;
    height: 70px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    vertical-align: middle;
}

@media (max-width: 575px) {
    .feature-section-2.viaggio-feature-section .feature-bg-content h2 img {
        width: 90px;
        height: 48px;
    }
}

/* Home commitment section — custom public/images assets */
.commitment-section.viaggio-commitment-section
    .commitment-wrapper
    .commitment-content
    .commitment-left
    .commitment-image {
    max-width: 370px;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.commitment-section.viaggio-commitment-section
    .commitment-wrapper
    .commitment-content
    .commitment-left
    .commitment-image
    img,
.commitment-section.viaggio-commitment-section
    .commitment-wrapper
    .commitment-image-item
    .commitment-image
    img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.commitment-section.viaggio-commitment-section
    .commitment-wrapper
    .commitment-image-item
    .commitment-image {
    flex: 1 1 0;
    min-width: 0;
    max-width: 470px;
    height: 530px;
}

.commitment-section.viaggio-commitment-section
    .commitment-wrapper
    .commitment-image-item
    .commitment-image.style-2 {
    flex: 1 1 0;
    min-width: 0;
    max-width: 485px;
    height: 300px;
    align-self: flex-end;
}

@media (max-width: 1600px) {
    .commitment-section.viaggio-commitment-section
        .commitment-wrapper
        .commitment-image-item
        .commitment-image {
        height: 475px;
    }

    .commitment-section.viaggio-commitment-section
        .commitment-wrapper
        .commitment-image-item
        .commitment-image.style-2 {
        height: 280px;
    }
}

@media (max-width: 1399px) {
    .commitment-section.viaggio-commitment-section
        .commitment-wrapper
        .commitment-image-item
        .commitment-image,
    .commitment-section.viaggio-commitment-section
        .commitment-wrapper
        .commitment-image-item
        .commitment-image.style-2 {
        max-width: 100%;
        height: 360px;
    }

    .commitment-section.viaggio-commitment-section
        .commitment-wrapper
        .commitment-image-item
        .commitment-image.style-2 {
        align-self: stretch;
    }
}

/* Home tour benefit section — custom public/images assets */
.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-image {
    height: 330px;
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-image
    img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-image-wide {
    min-height: 330px;
}

@media (max-width: 1399px) {
    .tour-benefit-section-2.viaggio-tour-benefit-section
        .tour-benefit-wrapper-2
        .tour-benefit-image {
        height: 270px;
    }

    .tour-benefit-section-2.viaggio-tour-benefit-section
        .tour-benefit-wrapper-2
        .tour-benefit-image-wide {
        min-height: 270px;
    }
}

/* Tour benefit cards — hover look as default, no hover change */
.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2::before {
    transform: scaleX(1) rotateX(0deg);
    opacity: 1;
    z-index: 1;
    transition: none;
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2
    .icon {
    position: relative;
    z-index: 9;
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2
    .icon
    i {
    color: var(--white);
    transform: rotateY(360deg);
    transition: none;
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2
    .content
    h5 {
    position: relative;
    z-index: 9;
    color: var(--white);
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2
    .content
    p {
    position: relative;
    z-index: 9;
    color: var(--white);
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2
    .content
    p
    a {
    color: var(--white);
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2:hover::before {
    transform: scaleX(1) rotateX(0deg);
    opacity: 1;
    z-index: 1;
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2:hover
    .icon
    i {
    color: var(--white);
    transform: rotateY(360deg);
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-item-2:hover
    .content
    p {
    color: var(--white);
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-image
    img {
    transform: scale3d(1.1, 1.1, 1);
    transition: none;
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-image::after {
    height: 250%;
    background-color: transparent;
    transition: none;
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-image:hover
    img {
    transform: scale3d(1.1, 1.1, 1);
}

.tour-benefit-section-2.viaggio-tour-benefit-section
    .tour-benefit-wrapper-2
    .tour-benefit-image:hover::after {
    height: 250%;
    background-color: transparent;
}

/* Home testimonials — admin review photos */
.testimonial-section-2.viaggio-testimonial-section
    .testimonial-info-items
    .client-image {
    flex: 0 0 230px;
    width: 230px;
    height: 230px;
    min-width: 230px;
    min-height: 230px;
}

.testimonial-section-2.viaggio-testimonial-section
    .testimonial-info-items
    .client-image
    img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 575px) {
    .testimonial-section-2.viaggio-testimonial-section
        .testimonial-info-items
        .client-image {
        flex: 0 0 180px;
        width: 180px;
        height: 180px;
        min-width: 180px;
        min-height: 180px;
    }
}

.adventure-section-2 .viaggio-adventure-slider-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}
.adventure-section-2 .viaggio-adventure-slider-track {
    flex: 1;
    min-width: 0;
}
.adventure-section-2 .viaggio-adventure-prev,
.adventure-section-2 .viaggio-adventure-next {
    position: static;
    transform: none;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(21, 21, 21, 0.55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}
.adventure-section-2 .viaggio-adventure-prev:hover,
.adventure-section-2 .viaggio-adventure-next:hover,
.adventure-section-2 .viaggio-adventure-prev:focus-visible,
.adventure-section-2 .viaggio-adventure-next:focus-visible {
    background: var(--theme, #f06b53);
    border-color: var(--theme, #f06b53);
    color: #fff;
}
.adventure-section-2 .viaggio-adventure-prev.swiper-button-disabled,
.adventure-section-2 .viaggio-adventure-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
@media (max-width: 575px) {
    .adventure-section-2 .viaggio-adventure-slider-wrap {
        gap: 10px;
    }
    .adventure-section-2 .viaggio-adventure-prev,
    .adventure-section-2 .viaggio-adventure-next {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
}
.adventure-section-2 .activities-item-2 .activities-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.viaggio-listing-hero .from-box,
.viaggio-listing-hero .from-box .box-item-2,
.viaggio-listing-hero .from-box .form-clt,
.viaggio-listing-hero .from-box .form {
    overflow: visible;
}
.viaggio-listing-hero .single-select,
.viaggio-listing-hero .nice-select {
    position: relative;
    z-index: 50;
}
.viaggio-listing-hero .nice-select.open {
    z-index: 10020;
}
.viaggio-listing-hero .nice-select .list {
    z-index: 10020;
}
@media (max-width: 1399px) {
    .viaggio-listing-hero.breadcrumb-wrapper-2 {
        margin-top: 60px !important;
    }
}
@media (max-width: 991px) {
    .viaggio-listing-hero.breadcrumb-wrapper-2 .page-heading {
        padding-top: 120px !important;
        padding-bottom: 130px !important;
    }
}
@media (max-width: 575px) {
    .viaggio-listing-hero.breadcrumb-wrapper-2 .page-heading {
        padding-top: 90px !important;
        padding-bottom: 110px !important;
    }
}

/* Smaller, less-blurred hero search box on the home page */
.hero-section-2__content.hero-2 .from-box {
    padding: 22px 36px;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    margin-top: 24px;
}
.hero-section-2__content.hero-2 .from-box h3 {
    margin-bottom: 18px;
    font-size: 20px;
}
.hero-section-2__content.hero-2 .from-box .box-item-2 {
    margin-top: 18px;
}
@media (max-width: 1399px) {
    .hero-section-2__content.hero-2 .from-box {
        padding: 16px 20px;
    }
}
@media (max-width: 575px) {
    .hero-section-2__content.hero-2 .from-box {
        padding: 14px 16px;
        -webkit-backdrop-filter: blur(0.5px);
        backdrop-filter: blur(0.5px);
        margin-top: 16px;
    }
    .hero-section-2__content.hero-2 .from-box h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .hero-section-2__content.hero-2 .from-box .box-item-2 {
        margin-top: 12px;
    }
}

/* Smaller, less-blurred hero search box on package listing pages */
.breadcrumb-wrapper-2.viaggio-listing-hero .page-heading .from-box {
    padding: 22px 36px;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    margin-top: 24px;
}
.breadcrumb-wrapper-2.viaggio-listing-hero .page-heading .from-box h3 {
    margin-bottom: 18px;
    font-size: 20px;
}
.breadcrumb-wrapper-2.viaggio-listing-hero .page-heading .from-box .box-item-2 {
    margin-top: 18px;
}
@media (max-width: 1399px) {
    .breadcrumb-wrapper-2.viaggio-listing-hero .page-heading .from-box {
        padding: 16px 20px;
    }
}
@media (max-width: 575px) {
    .breadcrumb-wrapper-2.viaggio-listing-hero .page-heading .from-box {
        padding: 14px 16px;
        -webkit-backdrop-filter: blur(0.5px);
        backdrop-filter: blur(0.5px);
        margin-top: 16px;
    }
    .breadcrumb-wrapper-2.viaggio-listing-hero .page-heading .from-box h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .breadcrumb-wrapper-2.viaggio-listing-hero .page-heading .from-box .box-item-2 {
        margin-top: 12px;
    }
}
.viaggio-listing-hero .breadcrumb-sub-title h1 {
    color: #fff;
}
.viaggio-listing-hero .breadcrumb-items a,
.viaggio-listing-hero .breadcrumb-items li {
    color: #fff;
}

/* Radio-filter link styling inside listing sidebar */
.tour-sidebar-wrapper .radio-filter li label a {
    text-decoration: none;
    color: inherit;
}
.tour-sidebar-wrapper .radio-filter li label a:hover {
    color: var(--theme, #f06b53);
}
/* White (inactive) star in reviews filter */
.tour-sidebar-wrapper .ratting i.white {
    color: #ccc !important;
}
/* jQuery UI slider theming for price filter */
.tour-sidebar-wrapper .ui-slider-horizontal {
    height: 5px;
    border: none;
    cursor: pointer;
    background: rgba(251, 91, 50, 0.1);
    border-radius: 3px;
}
.tour-sidebar-wrapper .ui-slider-horizontal .ui-slider-range {
    background: var(--theme, #f06b53);
    border-radius: 3px;
}
.tour-sidebar-wrapper .ui-slider-horizontal .ui-slider-handle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--theme, #f06b53);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    top: -6px;
    cursor: pointer;
    outline: none;
}
.tour-sidebar-wrapper .price-filter-wrap .price {
    display: flex;
    margin-top: 20px;
    align-items: center;
}
.tour-sidebar-wrapper .price-filter-wrap .price span {
    margin-right: 5px;
    font-weight: 500;
}
.tour-sidebar-wrapper .price-filter-wrap .price input {
    padding: 0;
    border: none;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    color: var(--header, #151515);
    width: auto;
}

/* FAQ accordion inside package / cruise pages */
.viaggio-package-detail .faq-box-item,
.sectionView .faq-box-item {
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-radius: 10px;
    background-color: transparent;
    padding: 35px 50px;
    margin-top: 20px;
}
@media (max-width: 1399px) {
    .viaggio-package-detail .faq-box-item,
    .sectionView .faq-box-item {
        padding: 30px;
    }
}
.viaggio-package-detail .faq-items-4,
.sectionView .faq-items-4 {
    position: relative;
    z-index: 9;
    margin-top: 10px;
}
.viaggio-package-detail .faq-items-4 .accordion-item,
.sectionView .faq-items-4 .accordion-item {
    border: none;
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid rgba(21, 21, 21, 0.1);
}
.viaggio-package-detail .faq-items-4 .accordion-item h2 button,
.sectionView .faq-items-4 .accordion-item h2 button {
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    box-shadow: none;
    padding: 20px 30px;
    color: #151515;
    cursor: pointer;
}
@media (max-width: 575px) {
    .viaggio-package-detail .faq-items-4 .accordion-item h2 button,
    .sectionView .faq-items-4 .accordion-item h2 button {
        font-size: 16px;
        line-height: 1.6;
        padding: 22px 20px;
    }
}
.viaggio-package-detail .faq-items-4 .accordion-body,
.sectionView .faq-items-4 .accordion-body {
    padding: 20px 30px;
    padding-top: 0;
    background-color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom: none;
}
.viaggio-package-detail .faq-items-4 .accordion-body p,
.sectionView .faq-items-4 .accordion-body p {
    color: #151515;
    font-size: 16px;
    line-height: 32px;
    font-weight: 400;
}
@media (max-width: 575px) {
    .viaggio-package-detail .faq-items-4 .accordion-body p,
    .sectionView .faq-items-4 .accordion-body p {
        font-size: 14px;
        line-height: 28px;
    }
}
.viaggio-package-detail .faq-items-4 .accordion-button,
.sectionView .faq-items-4 .accordion-button {
    background-color: transparent;
    color: #151515;
    border-radius: 20px !important;
}
.viaggio-package-detail .faq-items-4 .accordion-button::after,
.sectionView .faq-items-4 .accordion-button::after {
    content: "\f054";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    transition: all 0.3s ease-in-out !important;
    color: #151515;
    border: none !important;
    width: initial;
    height: initial;
    line-height: initial;
    background-color: transparent;
    background-image: none;
}
.viaggio-package-detail .faq-items-4 .accordion-button:not(.collapsed),
.sectionView .faq-items-4 .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #151515;
    border-radius: 10px 10px 0 0 !important;
    border-bottom: none;
    z-index: 999;
    position: relative;
    box-shadow: none;
}
.viaggio-package-detail .faq-items-4 .accordion-button:not(.collapsed)::after,
.sectionView .faq-items-4 .accordion-button:not(.collapsed)::after {
    content: "\f077";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    color: #151515;
    transform: rotate(0);
    background-image: none;
}

/* Wiki detail (news-details layout) */
.viaggio-wiki-detail .viaggio-blog-cover-hero img {
    width: 100%;
    height: clamp(260px, 42vw, 420px);
    object-fit: cover;
    border-radius: 14px;
}

/* Tour detail — horizontal scrollable image strip on mobile */
@media (max-width: 767px) {
    .viaggio-package-detail .row.g-2.mb-4 {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 8px !important;
        padding-bottom: 8px;
        margin-left: 0;
        margin-right: 0;
    }
    .viaggio-package-detail .row.g-2.mb-4 > [class*="col-"] {
        flex: 0 0 78vw;
        max-width: 78vw;
        width: 78vw;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-align: start;
    }
    .viaggio-package-detail .row.g-2.mb-4 .details-image {
        height: 220px;
        overflow: hidden;
        border-radius: 10px;
    }
    .viaggio-package-detail .row.g-2.mb-4 .details-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Sidebar promo image card */
.tour-sidebar-wrapper .tour-sidebar-bg-image-items,
.viaggio-listing-sidebar .tour-sidebar-bg-image-items {
    position: relative;
    aspect-ratio: unset;
    min-height: 0;
    height: 360px;
}
.tour-sidebar-wrapper .tour-sidebar-bg-image-items img,
.viaggio-listing-sidebar .tour-sidebar-bg-image-items img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.tour-sidebar-wrapper .tour-sidebar-bg-image-items .tour-bg-content,
.viaggio-listing-sidebar .tour-sidebar-bg-image-items .tour-bg-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 16px 16px;
    text-align: center;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        transparent 100%
    );
    border-radius: 0 0 10px 10px;
}
.tour-sidebar-wrapper .tour-sidebar-bg-image-items .tour-bg-content .theme-btn,
.viaggio-listing-sidebar
    .tour-sidebar-bg-image-items
    .tour-bg-content
    .theme-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding-left: 12px;
    padding-right: 12px;
    white-space: normal;
    margin-top: 8px;
}

/* Listing page booking form in sidebar */
.viaggio-listing-booking-widget #booking_box.viaggio-booking-frame {
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-height: none;
    overflow-y: visible;
}

/* Destinazioni popolari — mobile slider / desktop grid */
.viaggio-destinations-swiper .swiper-slide {
    height: auto;
}
.viaggio-destinations-swiper .destination-item-2 {
    height: 100%;
}
.viaggio-destinations-pagination {
    margin-top: 16px;
    position: static !important;
}
@media (min-width: 768px) {
    .viaggio-destinations-swiper .swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        transform: none !important;
        width: 100% !important;
        gap: 24px;
    }
    .viaggio-destinations-swiper .swiper-slide {
        flex: 0 0 calc(33.333% - 16px) !important;
        width: calc(33.333% - 16px) !important;
        max-width: calc(33.333% - 16px) !important;
        margin-right: 0 !important;
    }
    .viaggio-destinations-pagination {
        display: none;
    }
}

/* Scopri i nostri tour — mobile slider */
.viaggio-tours-swiper .swiper-slide {
    height: auto;
}
.viaggio-tours-swiper .tour-place-item-2 {
    height: 100%;
}
.viaggio-tours-pagination {
    margin-top: 16px;
    position: static !important;
}
@media (min-width: 768px) {
    .viaggio-tours-swiper {
        overflow: visible;
    }
    .viaggio-tours-swiper .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
        transform: none !important;
        transition: none !important;
    }
    .viaggio-tours-swiper .swiper-slide {
        width: calc(25% - 18px) !important;
        margin-bottom: 0;
    }
    .viaggio-tours-pagination {
        display: none;
    }
}

/* Leggi i Nostri Ultimi Wiki e Blog — mobile slider */
.viaggio-wikiblog-swiper .swiper-slide {
    height: auto;
}
.viaggio-wikiblog-swiper .news-card-items-2 {
    height: 100%;
}
.viaggio-wikiblog-pagination {
    margin-top: 16px;
    position: static !important;
}
@media (min-width: 768px) {
    .viaggio-wikiblog-swiper {
        overflow: visible;
    }
    .viaggio-wikiblog-swiper .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        transform: none !important;
        transition: none !important;
    }
    .viaggio-wikiblog-swiper .swiper-slide {
        width: calc(25% - 18px) !important;
        margin-bottom: 0;
    }
    .viaggio-wikiblog-swiper .viaggio-wikiblog-slide--first {
        width: calc(50% - 12px) !important;
    }
    .viaggio-wikiblog-pagination {
        display: none;
    }
}

/* Disable page preloader */
#preloader {
    display: none !important;
}

/* ── Dropdown menu spacing ── */
.header-main .main-menu ul li .submenu {
    min-width: 260px;
    padding: 12px 0;
    border-radius: 0 0 10px 10px;
}
.header-main .main-menu ul li .submenu li a {
    padding: 9px 20px 9px 32px;
    line-height: 1.4;
    font-size: 15px;
}
.header-main .main-menu ul li .submenu li + li {
    border-top: 1px solid #f2f2f2;
}
.header-main .main-menu ul li .submenu li a::before {
    bottom: 50%;
    transform: translateY(50%);
}
/* Last nav item dropdown: open leftward to prevent right-side overflow */
.header-main .main-menu ul > li:last-child > .submenu {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

/* ── Package detail booking sidebar: single sticky element ──
   The booking column previously had FOUR competing position declarations
   (#sidebar, .sticky-style, .viaggio-package-booking-panel — all sticky — plus a GSAP pin).
   The GSAP pin reparented the element out of its column, which is what let the form
   overlap the footer. GSAP is now disabled; here we keep exactly ONE sticky element
   (the column wrapper .tour-details-side) and force the nested wrappers static.
   A sticky element is clamped to its containing block (the section), so it can never
   reach the footer, which lives outside the section. */
@media (min-width: 992px) {
    .viaggio-package-detail .tour-details-side {
        position: sticky !important;
        top: 100px !important;
        align-self: flex-start;
        z-index: 5;
    }
    .viaggio-package-detail
        .tour-details-side
        .tour-details-sidebar.sticky-style,
    .viaggio-package-detail
        .tour-details-side
        .tour-sidebar-items.viaggio-package-booking-panel {
        position: static !important;
        top: auto !important;
        z-index: auto;
    }
}

/* Anchor offset for sticky header */
h3[id], h2[id], h4[id],
.viaggio-news-split[id],
.details-thumb[id],
[id^="wiki-section-"] {
    scroll-margin-top: 110px;
}

/* ── Quick links / TOC box (blog & wiki) ── */
.viaggio-wiki-toc {
    padding: 20px 24px;
    background: #f8f9fa;
    border-left: 4px solid var(--theme, #f06b53);
    border-radius: 0 12px 12px 0;
}
.viaggio-wiki-toc h5 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--header, #1f2f2f);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.viaggio-wiki-toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc-counter;
}
.viaggio-wiki-toc ul li {
    counter-increment: toc-counter;
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(21, 21, 21, 0.07);
}
.viaggio-wiki-toc ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.viaggio-wiki-toc ul li::before {
    content: counter(toc-counter, decimal-leading-zero);
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--theme, #f06b53);
    min-width: 22px;
}
.viaggio-wiki-toc ul li a {
    color: var(--header, #1f2f2f);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}
.viaggio-wiki-toc ul li a:hover {
    color: var(--theme, #f06b53);
}

/* ── Package listing card (new design) ── */
.viaggio-card-new {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.25s ease;
    cursor: pointer;
}
.viaggio-card-new:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.13);
    transform: translateY(-3px);
}
.viaggio-card-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 520 / 360;
}
.viaggio-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.viaggio-card-new:hover .viaggio-card-img-wrap img {
    transform: scale(1.05);
}
.viaggio-card-badge {
    position: absolute;
    top: 22px;
    left: -30px;
    z-index: 2;
    width: 120px;
    padding: 6px 0;
    background: #4caf50;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transform: rotate(-45deg);
    pointer-events: none;
}
.viaggio-card-badge--toprated {
    background: var(--theme, #f06b53);
}
.viaggio-card-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--theme, #f06b53);
    color: #fff;
    gap: 10px;
    flex-shrink: 0;
}
.viaggio-card-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.viaggio-card-stars i {
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}
.viaggio-card-stars span {
    margin-left: 4px;
    font-size: 12px;
    opacity: 0.92;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.viaggio-card-dur {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.viaggio-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.viaggio-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--header, #1f2f2f);
}
.viaggio-card-title a {
    color: inherit;
    text-decoration: none;
}
.viaggio-card-title a:hover {
    color: var(--theme, #f06b53);
}
.viaggio-card-desc {
    margin: 0;
    font-size: 14px;
    color: var(--text, #666);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.viaggio-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(21, 21, 21, 0.08);
    gap: 10px;
}
.viaggio-card-price {
    font-size: 14px;
    color: var(--text, #555);
    font-weight: 500;
    line-height: 1.2;
}
.viaggio-card-price span {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--theme, #f06b53);
    line-height: 1.1;
}
.viaggio-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    background: var(--theme, #f06b53);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.viaggio-card-btn:hover {
    background: #e05a42;
    color: #fff !important;
}

/* ── Lightbox ── */
.viaggio-lb-trigger {
    display: block;
    cursor: zoom-in;
    text-decoration: none;
}
.viaggio-lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.viaggio-lb-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.viaggio-lb-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.viaggio-lb-img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}
.viaggio-lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100001;
    transition: background 0.2s, border-color 0.2s;
}
.viaggio-lb-close:hover {
    background: var(--theme, #f06b53);
    border-color: var(--theme, #f06b53);
}
.viaggio-lb-prev,
.viaggio-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100001;
    transition: background 0.2s, border-color 0.2s;
}
.viaggio-lb-prev { left: 16px; }
.viaggio-lb-next { right: 16px; }
.viaggio-lb-prev:hover,
.viaggio-lb-next:hover {
    background: var(--theme, #f06b53);
    border-color: var(--theme, #f06b53);
}
.viaggio-lb-prev.is-hidden,
.viaggio-lb-next.is-hidden {
    opacity: 0.25;
    pointer-events: none;
}
.viaggio-lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    z-index: 100001;
    white-space: nowrap;
}

/* ── Itinerary cards ── */
.viaggio-itin-card {
    border: 1px solid rgba(21, 21, 21, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #fff;
}
.viaggio-itin-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
}
.viaggio-itin-card-inner.viaggio-itin-toggle {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
.viaggio-itin-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--header, #1f2f2f);
    line-height: 1.4;
}
.viaggio-itin-card-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.viaggio-itin-card-img {
    flex-shrink: 0;
    width: 90px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
}
.viaggio-itin-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.viaggio-itin-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fb5b32;
    background: transparent;
    color: #fb5b32;
    font-size: 12px;
    flex-shrink: 0;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}
.viaggio-itin-card--collapsible.is-closed .viaggio-itin-toggle-icon {
    background: #fb5b32;
    color: #fff;
}
.viaggio-itin-toggle-icon i {
    transition: transform 0.3s ease;
}
.viaggio-itin-card--collapsible .viaggio-itin-body {
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
    max-height: 2000px;
    opacity: 1;
}
.viaggio-itin-card--collapsible.is-closed .viaggio-itin-body {
    max-height: 0;
    opacity: 0;
}
.viaggio-itin-card--collapsible.is-closed .viaggio-itin-toggle-icon i {
    transform: rotate(180deg);
}
.viaggio-itin-body {
    padding: 0 20px 18px;
}

.tour-sidebar-section .section-title h2 {
    font-weight: 400;
}
