
.heading-sm {
    font-size: var(--h4-font-size);
    font-weight: var(--h4-font-weight);
    line-height: var(--line-height-heading-small);
    letter-spacing: 0.15px;
}

.heading-xs {
    font-size: var(--h5-font-size);
    font-weight: var(--h5-font-weight);
}

.page-title {
background-image: linear-gradient(to top, #d16a16, #b75d14, #9f5011, #86440f, #6f380c);
}
.page-title:before {
    background: none;
}
.page-title.has-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-title.has-cover:before {
    background: rgba(0, 0, 0, 0.45);
}
.page-title .auto-container {
    position: relative;
}


.main-header .logo-box .logo img {
    max-height: 56px;
    width: auto;
}

.footer-style-one .about-widget .logo img {
    max-height: 60px;
    width: auto;
}

.banner-section-seven .banner-slider .content-box .btn {
    padding-top: 0;
    padding-bottom: 0;
}


@media (max-width: 767.98px) {
    .footer-style-one .footer-column,
    .footer-style-one .footer-bottom .copyright-text {
        text-align: center;
    }
    .footer-style-one .widget-social .social-icon {
        justify-content: center;
    }
    .footer-style-one .contact-list .inner .list-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


.main-header .ui-btn-outer .ui-btn.tripadvisor-btn,
.main-header .ui-btn-outer .ui-btn.booking-btn {
    display: inline-flex;
    align-items: center;
}

.main-header .ui-btn-outer .ui-btn.tripadvisor-btn img,
.main-header .ui-btn-outer .ui-btn.booking-btn img {
    height: 24px;
    width: auto;
}


@media (min-width: 992px) {
    .header-style-two .mobile-nav-toggler {
        display: none;
    }
}


@media (max-width: 991.98px) {
    .header-style-two .main-box .nav-outer {
        display: none;
    }
}

.header-style-two .header-top .inner-box .top-left span,
.header-style-two .header-top .inner-box .top-left span a,
.header-style-two .header-top .inner-box .top-right span,
.header-style-two .header-top .inner-box .top-right span a {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.header-style-two .header-top .inner-box .top-right span .icon {
    color: var(--theme-color1);
    margin-right: 10px;
}
.header-style-two .header-top .inner-box .top-left span a:hover,
.header-style-two .header-top .inner-box .top-left span a:focus,
.header-style-two .header-top .inner-box .top-left span a:visited,
.header-style-two .header-top .inner-box .top-right span a:hover,
.header-style-two .header-top .inner-box .top-right span a:focus,
.header-style-two .header-top .inner-box .top-right span a:visited {
    color: #fff;
}


.header-style-two .header-top .inner-box .top-right .lang-switcher a,
.header-style-two .header-top .inner-box .top-right .lang-switcher .current {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.lang-switcher a,
.lang-switcher .current {
    font-weight: 700;
    text-transform: uppercase;
}
.lang-switcher a {
    opacity: 0.6;
}
.lang-switcher a:hover,
.lang-switcher a:focus {
    opacity: 1;
}
.lang-switcher a + a,
.lang-switcher a + .current,
.lang-switcher .current + a,
.lang-switcher .current + .current {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid currentColor;
}


.lang-switcher-mobile {
    padding: 10px 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.daterangepicker {
    z-index: 1060 !important;
}


.input-group button[id$="-cleaner"] {
    display: none;
}

input[js-load="datepicker"] {
    padding-right: 2.75rem;
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1.15rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D16A16' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='7' y1='3' x2='7' y2='7'/%3E%3Cline x1='17' y1='3' x2='17' y2='7'/%3E%3C/svg%3E");
}

.form-control,
.form-select,
textarea.form-control {
    background-color: #fff !important;
    border-color: #6D676E !important;
    color: #04030F !important;
    font-size: 0.9rem !important;
}
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    box-shadow: none;
    outline: none;
}


.form-floating > textarea.form-control {
    height: auto;
    min-height: 150px;
}

.form-select {
    height: calc(2.25rem + 27px);
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 30px;
}

.news-block-four .image-box .image img:first-child {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
    opacity: 1;
    filter: none;
}


@media (max-width: 991.98px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
}
@media (max-width: 575.98px) {
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 24px;
    }
}

.sec-title h2 {
    font-size: 35px;
}
@media (max-width: 1199.98px) {
    .sec-title h2 {
        font-size: 32px;
    }
}
@media (max-width: 991.98px) {
    .sec-title h2 {
        font-size: 30px;
    }
}
@media (max-width: 767.98px) {
    .sec-title h2 {
        font-size: 28px;
    }
}
@media (max-width: 575.98px) {
    .sec-title h2 {
        font-size: 26px;
    }
}

@media (max-width: 575.98px) {
    .pricing-block-three .inner-box .content-column .inner-column .pricing-title {
        font-size: 22px;
    }
}


.banner-section-seven .banner-slider {
    min-height: 900px;
    height: 90vh;
}
@media (max-width: 1199.98px) {
    .banner-section-seven .banner-slider {
        min-height: auto;
    height: 90vh;
    }
}

@media (max-width: 768px) {
    .banner-section-seven .banner-slider {
        min-height: auto;
    height: 75vh;
    }
}

/* Prima dell'inizializzazione di slick mostra solo la prima slide (evita slide impilate / layout shift) */
.banner-section-seven .banner-slider:not(.slick-initialized) {
    overflow: hidden;
}
.banner-section-seven .banner-slider:not(.slick-initialized) .banner-slide:not(:first-child) {
    display: none;
}



.banner-section-seven .banner-slider .content-box .banner-title {
    position: relative;
    color: var(--theme-color-white);
    font-family: var(--title-font);
    font-weight: var(--h1-font-weight);
    font-size: 60px;
    line-height: 70px;
    margin-bottom: 0px;
}
@media (max-width: 1199.98px) {
    .banner-section-seven .banner-slider .content-box .banner-title {
        font-size: 50px;
        line-height: 60px;
    }
}
@media (max-width: 991.98px) {
    .banner-section-seven .banner-slider .content-box .banner-title {
        font-size: 43px;
        line-height: 1.3;
    }
}
@media (max-width: 767.98px) {
    .banner-section-seven .banner-slider .content-box .banner-title {
        font-size: 42px;
        padding: 0 15px;
    }
}
@media (max-width: 575.98px) {
    .banner-section-seven .banner-slider .content-box .banner-title {
        font-size: 36px;
    }
}

.banner-section-seven .banner-slider .content-box .text {
    position: relative;
}
@media (max-width: 767.98px) {
    .banner-section-seven .banner-slider .content-box .text {
        margin-top: 20px;
        line-height: 1.1;
    }
}


.banner-section-seven .banner-slider .image-1 picture {
    display: block;
    height: 100%;
    width: 100%;
}

.about-section-two .image-column .image-2 img {
    width: 320px;
    height: auto;
}
@media (max-width: 575.98px) {
    .about-section-two .image-column .image-2 img {
        width: 220px;
    }
}
@media (max-width: 991.98px) {
    .about-section-two .content-column {
        margin-bottom: 0;
    }
}


.services-section .service-block-home {
    margin-bottom: 30px;
}
.services-section .service-block-home .inner-box {
    background-color: var(--theme-color-light);
    border-radius: 8px;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    transition: box-shadow 300ms ease;
}
.services-section .service-block-home .inner-box:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}
.services-section .service-block-home .icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(var(--theme-color1-rgb), 0.1);
    margin-bottom: 20px;
}
.services-section .service-block-home .icon-box i {
    font-size: 28px;
    color: var(--theme-color1);
}
.services-section .service-block-home .content-box .title {
    font-size: 20px;
    margin-bottom: 10px;
}
.services-section .service-block-home .content-box .text {
    color: #121212;
    font-size: 15px;
    line-height: 1.6;
}


.news-section .news-preview-link {
    color: var(--theme-color1);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    transition: gap 200ms ease;
}
.news-section .news-preview-link:hover {
    gap: 6px;
}


.strengths-section {
    background-color: #F5F1ED;
}
.strengths-section .strength-block-home {
    margin-bottom: 30px;
}
.strengths-section .strength-block-home .inner-box {
    position: relative;
    height: 100%;
    padding: 0 30px;
    text-align: center;
}
@media (min-width: 992px) {
    .strengths-section .strength-block-home:not(:first-child) .inner-box {
        border-left: 1px solid rgba(4, 3, 15, 0.1);
    }
}
.strengths-section .strength-block-home .number {
    display: block;
    font-family: var(--title-font);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: rgba(239, 167, 107, 0.50);
    margin-bottom: -28px;
}
.strengths-section .strength-block-home .icon-box {
    position: relative;
    margin-bottom: 18px;
}
.strengths-section .strength-block-home .icon-box i {
    font-size: 34px;
    color: var(--theme-color1);
}
.strengths-section .strength-block-home .title {
    font-size: 20px;
    margin-bottom: 10px;
}
.strengths-section .strength-block-home .text {
    color: #121212;
    font-size: 15px;
    line-height: 1.6;
}

.rooms-section .room-block .inner-box .image-box figure {
    position: relative;
}
.rooms-section .room-block .inner-box .image-box figure:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: 1;
}


.pricing-section-three .pricing-block-three .inner-box .row {
    --bs-gutter-x: 0;
}
.pricing-section-three .pricing-block-three .inner-box .content-column {
    align-items: stretch;
}
.pricing-section-three .pricing-block-three .inner-box .content-column .inner-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--theme-light-background);
    padding: 40px;
    border-radius: 8px 0 0 8px;
}
.pricing-section-three .pricing-block-three .inner-box.content-align-right .content-column .inner-column {
    border-radius: 0 8px 8px 0;
}
.pricing-section-three .pricing-block-three .inner-box .image-column .image-box {
    margin-left: 0;
}
.pricing-section-three .pricing-block-three .inner-box.content-align-right .image-column .image-box {
    margin-right: 0;
}
.pricing-section-three .pricing-block-three .inner-box .image-column .image-box figure {
    overflow: hidden;
    border-radius: 0 8px 8px 0;
}
.pricing-section-three .pricing-block-three .inner-box.content-align-right .image-column .image-box figure {
    border-radius: 8px 0 0 8px;
}
@media (max-width: 767.98px) {
    .pricing-section-three .pricing-block-three .inner-box .content-column,
    .pricing-section-three .pricing-block-three .inner-box.content-align-right .content-column {
        order: 1;
    }
    .pricing-section-three .pricing-block-three .inner-box .image-column {
        order: 0;
    }
    .pricing-section-three .pricing-block-three .inner-box .content-column .inner-column,
    .pricing-section-three .pricing-block-three .inner-box.content-align-right .content-column .inner-column {
        border-radius: 0 0 8px 8px;
        padding: 30px;
    }
    .pricing-section-three .pricing-block-three .inner-box .image-column .image-box,
    .pricing-section-three .pricing-block-three .inner-box.content-align-right .image-column .image-box {
        margin: 0;
    }
    .pricing-section-three .pricing-block-three .inner-box .image-column .image-box figure,
    .pricing-section-three .pricing-block-three .inner-box.content-align-right .image-column .image-box figure {
        margin-bottom: 0;
        border-radius: 8px 8px 0 0;
    }
}


.room-booking-banner {
    background: linear-gradient(180deg, var(--theme-color2) 0%, var(--theme-color-white) 60%);
    box-shadow: 0 15px 40px rgba(4, 3, 15, 0.08);
}
.room-booking-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: var(--theme-color1);
    color: var(--theme-color-white);
    font-size: 26px;
}
.room-booking-banner .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.room-booking-banner .text {
    font-size: 15px;
    line-height: 18px;
}


body.popup-open {
    overflow: hidden;
}

.availability-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.availability-popup.active {
    opacity: 1;
    visibility: visible;
}
.availability-popup__backdrop {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 3, 15, 0.85);
}
.availability-popup__box {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--theme-color-white);
    border: 1px solid var(--theme-color1);
    border-radius: 8px;
    padding: 50px 45px 55px;
    transform: translateY(-30px);
    transition: all 0.3s ease;
}
.availability-popup.active .availability-popup__box {
    transform: translateY(0);
}
.availability-popup__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
    color: var(--headings-color);
    background-color: transparent;
    border: none;
    line-height: 1;
}
@media (max-width: 575.98px) {
    .availability-popup__box {
        padding: 40px 20px;
    }
}


.header-availability-btn {
    margin-right: 24px;
}
@media (max-width: 991.98px) {
    .header-availability-btn {
        display: none;
    }
}


.blog-details > .container > .row {
    --bs-gutter-x: 60px;
}

.product-details .bx-wrapper {
    position: relative;
}

.product-details .bxslider .image-box {
    margin-right: 0;
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}
.product-details .bxslider .image-box a {
    display: block;
    height: 100%;
}
.product-details .bxslider .image-box img {
    height: 100%;
    object-fit: cover;
}

.product-details .bx-controls-direction {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}
.product-details .bx-controls-direction a {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(4, 3, 15, 0.55);
    color: #fff;
    font-size: 15px;
    transform: translateY(-50%);
    transition: all 300ms ease;
    pointer-events: auto;
}
.product-details .bx-controls-direction a:hover {
    background-color: var(--theme-color1);
}
.product-details .bx-controls-direction a.bx-prev {
    left: 15px;
}
.product-details .bx-controls-direction a.bx-next {
    right: 15px;
}

.product-details .slider-pager {
    margin-top: 15px;
}
.product-details .slider-pager .thumb-box {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 0 6px;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.product-details .slider-pager .thumb-box li {
    float: none;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    margin: 0;
}
.product-details .slider-pager .thumb-box li a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 300ms ease;
}
.product-details .slider-pager .thumb-box li a:hover {
    opacity: 1;
}
.product-details .slider-pager .thumb-box li a.active {
    opacity: 1;
    border-color: var(--theme-color1);
}
.product-details .slider-pager .thumb-box li a:before {
    display: none;
}
.product-details .slider-pager .thumb-box li figure,
.product-details .slider-pager .thumb-box li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}


.rooms-section .room-block .inner-box .image-box figure {
    border-radius: 8px;
}
.news-section .news-block-four .image-box .image {
    border-radius: 8px;
}

.btn-style-one,
.btn-style-two,
.btn-style-three,
.btn-style-four {
    border-radius: 8px;
}


.header-style-two .main-box,
.header-style-two .sticky-header .main-box {
    border-radius: 8px;
}

.home-widget-section .widget-column {
    position: relative;
    z-index: 2;
}
.home-widget-section .widget-placeholder {
    background-color: #fff;
    border-radius: 8px;
    min-height: 320px;
    padding: 50px 40px;
}
@media (max-width: 991.98px) {
    .home-widget-section .widget-placeholder {
        margin-top: 40px;
    }
}

/* Tariffe camera (sidebar scheda camera) */
.room-rates__list {
  margin-top: 15px;
}
.room-rates__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.room-rates__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.room-rates__price {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--theme-color1);
}

/* Widget Beddy nel box "checkout-form-section-two" sotto lo slider in homepage */
/* flow-root evita che il margin-top negativo del box collassi sulla section:
   senza, sale tutta la section (sfondo compreso) e copre il fondo dello slider,
   mentre così lo sfondo parte sotto lo slider e solo il box vi si sovrappone. */
.checkout-form-section-two.beddy-section {
  display: flow-root;
}
.checkout-form-section-two .checkout-form--beddy {
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  padding: 30px 40px;
  background-color: #fff;
  border-radius: 8px;
}
.checkout-form-section-two .checkout-form__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}
.checkout-form-section-two .checkout-form__widget {
  width: 100%;
  min-width: 0;
}
@media (max-width: 991.98px) {
  .checkout-form-section-two .checkout-form--beddy {
    gap: 15px;
    padding: 25px 20px;
  }
}

/* Widget Beddy nella sidebar della scheda camera: sfondo bianco invece
   del grigio chiaro di .sidebar__post, con l'ombra del box in homepage */
.sidebar__post.room-beddy {
  background-color: var(--theme-color-white);
  box-shadow: 0px 10px 10px rgba(var(--theme-color-black-rgb), 0.05);
}
.room-beddy__widget {
  margin-top: 15px;
}


.contact-details__info li .icon {
    flex-shrink: 0;
}
.contact-details__info li .text {
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 575.98px) {
    .contact-details__info li .icon {
        width: 60px;
        height: 60px;
    }
    .contact-details__info li .icon span {
        font-size: 20px;
    }
    .contact-details__info li .text {
        margin-left: 20px;
    }
    .contact-details__info li .text a {
        font-size: 16px;
    }
}


/* Card camere home: su dispositivi touch nessun effetto hover, il tap apre direttamente la camera */
.room-block .inner-box .room-block__link {
    display: none;
}
@media (hover: none) {
    .room-block .inner-box .room-block__link {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 100;
    }
    .room-block .inner-box:hover:before {
        opacity: 0;
        visibility: hidden;
    }
    .room-block .inner-box:hover .box-caption {
        opacity: 0;
        visibility: hidden;
        bottom: 0;
    }
    .room-block .inner-box:hover .content-box {
        bottom: 22px;
    }
    .room-block .inner-box:hover .image-box figure img {
        transform: none;
    }
    .room-block .inner-box .overlay-anim:hover:before {
        height: 0;
        transition: none;
    }
}
@media (hover: none) and (max-width: 991.98px) {
    .room-block .inner-box:hover .content-box {
        bottom: 10px;
    }
}


@media (max-width: 575.98px) {
    .about-section-two .content-column .inner-column .sec-title h2 {
        font-size: 26px;
        line-height: 1.3;
    }
}


/* Breadcrumb nascosto: resta solo il JSON-LD BreadcrumbList per la SEO */
.page-breadcrumb {
    display: none;
}


/* Servizi non inclusi (dettaglio camera) */
.room-not-services-list li {
    gap: 15px;
}
.room-not-services-list li:last-child {
    margin-bottom: 0 !important;
}
.room-not-services-list .icon {
    width: 48px;
    height: 48px;
    margin-right: 0;
    border: 1px solid var(--theme-color1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.room-not-services-list li > div:last-child {
    min-width: 0;
    padding-top: 4px;
}
.room-not-services-list .title {
    line-height: 1.3;
}
.room-not-services-list .text {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.5;
}
@media (max-width: 575.98px) {
    .room-not-services-list li {
        gap: 12px;
        padding: 15px;
        margin-bottom: 12px !important;
        background-color: var(--theme-light-background);
        border-radius: 8px;
    }
    .room-not-services-list .icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .room-not-services-list li > div:last-child {
        padding-top: 0;
    }
    .room-not-services-list .title {
        font-size: 17px;
    }
    .room-not-services-list .text {
        font-size: 14px;
    }
}
