/* Additions needed by the decoded /novy/ implementation. The visual base is the original theme. */
.novy-home-slider-shell {
    position: relative;
    z-index: 1;
    min-height: max(300px, calc(100vh - 145px));
    overflow: hidden;
    background: #1d1d1d;
}

@media (max-width: 768px) {
    .novy-home-slider-shell { min-height: 300px; }
}

.novy-submenu-toggle { display: none; }

@media (max-width: 767px) {
    .navbar-fixed-top .navbar-collapse.in {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    #taox-nav li { position: relative; }

    #taox-nav li.has-children > a {
        min-height: 42px;
        padding-right: 58px;
    }

    #taox-nav .novy-submenu-toggle {
        position: absolute;
        z-index: 2;
        top: 0;
        right: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        color: #501f27;
        border: 1px solid #d3b99f;
        border-radius: 50%;
        background: #f1e5d8;
        box-shadow: 0 1px 3px rgba(80, 31, 39, .14);
        cursor: pointer;
    }

    #taox-nav .novy-submenu-toggle:hover,
    #taox-nav .novy-submenu-toggle:focus,
    #taox-nav li.novy-submenu-open > .novy-submenu-toggle {
        color: #fff;
        border-color: #501f27;
        outline: 0;
        background: #501f27;
    }

    #taox-nav .novy-submenu-toggle i {
        transition: transform .2s ease;
    }

    #taox-nav li.novy-submenu-open > .novy-submenu-toggle i {
        transform: rotate(180deg);
    }

    #taox-nav .dropdown-menu {
        position: static;
        display: none !important;
        float: none;
        width: 100%;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: #f7f4f1;
        box-shadow: none;
    }

    #taox-nav li.novy-submenu-open > .dropdown-menu,
    #taox-nav li.novy-submenu-open:hover > .dropdown-menu {
        display: block !important;
    }

    #taox-nav .dropdown-menu > li {
        display: block;
        float: none;
        width: 100%;
    }

    #taox-nav .dropdown-menu > li > a {
        display: block;
        padding: 10px 20px 10px 44px;
        color: #5c514c;
        border-top: 1px solid #ebe4de;
        font-size: 13px;
        line-height: 20px;
        white-space: normal;
        text-align: left;
        text-transform: none;
    }

    #taox-nav .dropdown-menu.level_2 > li > a {
        display: flex;
        align-items: center;
        padding-left: 64px;
        background: #f1ece7;
        font-size: 12px;
    }

    #taox-nav .dropdown-menu.level_2 > li > a::before {
        content: '\2022';
        flex: 0 0 auto;
        margin-right: 8px;
        color: #9d612b;
        font-size: 17px;
        line-height: 1;
    }

    #taox-nav .dropdown-menu > li.active > a,
    #taox-nav .dropdown-menu > li > a:hover,
    #taox-nav .dropdown-menu > li > a:focus {
        color: #501f27;
        background: #eadfd6;
    }
}

.novy-slider-caption {
    position: initial !important;
    padding-top: 30px !important;
    color: #fff !important;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.novy-slider-caption h2 { margin: 0 0 8px; color: #fff; font-size: 48px; line-height: 1.08; }
.novy-slider-caption p { margin: 0; color: #fff; font-size: 18px; line-height: 1.45; }
.novy-slider-link { position: absolute; z-index: 4; inset: 0; display: block; }

/* Page hero titles use the full viewport instead of the legacy fixed-width container. */
.header-title > .boxBg > .container {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

.header-title .title-headbox {
    display: block;
    width: 100%;
    max-width: none;
    padding-right: 20px;
    padding-left: 20px;
    background: transparent;
}

@media (min-width: 769px) and (max-width: 1500px) {
    .header-title .title-headbox {
        font-size: clamp(30px, 2.65vw, 40px);
    }
}

.novy-reservation {
    max-width: 1180px;
    margin: 0 auto;
}

.novy-reservation-select {
    max-width: 650px;
    margin: 0 auto 35px;
}

.novy-reservation-select .form-control {
    height: 52px;
    font-size: 15px;
    font-weight: 700;
}

.novy-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 0 20px;
}

.novy-calendar-head p { margin: 0; }

.novy-calendar-legend {
    display: flex;
    gap: 18px;
    font-size: 13px;
}

.novy-calendar-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.novy-calendar-legend i {
    width: 13px;
    height: 13px;
    border: 1px solid #d6d6d6;
    border-radius: 0;
    background: #ddd;
}

.novy-calendar-legend i.booked {
    border-color: #c64848;
    background: #c64848;
}

.novy-calendar-legend i.half-start,
.novy-day.is-booked-start {
    background: linear-gradient(-45deg, #c64848 0%, #c64848 50%, #ddd 50%);
}

.novy-calendar-legend i.half-end,
.novy-day.is-booked-end {
    background: linear-gradient(45deg, #c64848 0%, #c64848 50%, #ddd 50%);
}

.novy-calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.novy-calendar-scroll {
    max-height: 735px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-color: #a7a7a7 #efefef;
    scrollbar-width: thin;
}

.novy-calendar-month {
    width: 307px;
    max-width: 100%;
    justify-self: center;
    padding: 0 5px 5px;
    border: 0;
    background: #f7f7f7;
}

.novy-calendar-month h3 {
    height: 38px;
    margin: 0 -5px 5px;
    padding: 0 12px;
    color: #fff;
    background: #787878;
    font-size: 18px;
    font-weight: 400;
    line-height: 38px;
    text-align: center;
    text-transform: capitalize;
}

.novy-weekdays,
.novy-days {
    display: grid;
    grid-template-columns: repeat(7, 38px);
    gap: 5px;
    justify-content: center;
    text-align: center;
}

.novy-weekdays {
    margin-bottom: 0;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.novy-weekdays span {
    width: 38px;
    height: 38px;
    line-height: 38px;
}

.novy-day {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 0;
    background: #ddd;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    line-height: 38px;
    cursor: pointer;
}

.novy-day.empty { visibility: hidden; }
.novy-day.is-past { opacity: .32; }
.novy-day.is-booked { color: #fff; border-color: #c64848; background: #c64848; }
.novy-day.is-booked-start,
.novy-day.is-booked-end { color: #222; }
.novy-day:disabled { cursor: not-allowed; }
.novy-day.is-selected-range { color: #fff; background: #a7794a; }
.novy-day.is-selected-start,
.novy-day.is-selected-end {
    color: #fff;
    outline: 3px solid #40362d;
    outline-offset: -3px;
    background: #c99052;
}

.novy-readonly-note {
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid #c99052;
    background: antiquewhite;
}

.novy-readonly-note strong { display: block; }
.novy-readonly-note .btn { margin: 12px 0 0 10px; }

.novy-reservation-form {
    margin-top: 38px;
    padding-top: 32px;
    border-top: 1px solid #e4e0da;
}
.novy-reservation-form textarea { min-height: 120px; resize: vertical; }
.novy-reservation-status { margin: 0 0 25px; }
.novy-reservation-status ul { margin: 8px 0 0; }
.novy-reservation-summary {
    margin-bottom: 22px;
    padding: 18px 22px;
    color: #fff;
    background: #40362d;
    text-align: center;
}
.novy-reservation-summary strong,
.novy-reservation-summary span { display: block; }
.novy-reservation-summary strong { color: #e7c595; font-size: 20px; }
.novy-reservation-required {
    margin-bottom: 24px;
    padding: 10px 14px;
    background: antiquewhite;
    font-weight: 700;
}
.novy-reservation-captcha { max-width: 260px; margin-bottom: 20px; }
.novy-reservation-captcha label { display: block; margin-bottom: 8px; font-weight: 700; }
.novy-reservation-form [data-reservation-submit]:disabled { opacity: .45; cursor: not-allowed; }

.novy-reservation-intro {
    margin-top: 40px;
    padding: 25px 0;
    color: #fff;
    background: #40362d;
    text-align: center;
}

.novy-reservation-intro strong,
.novy-reservation-intro span { display: block; }
.novy-reservation-intro strong { color: #e7c595; font-size: 32px; }
.novy-reservation-stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 4px;
}
.novy-reservation-stat-value .fa {
    color: #e7c595;
    font-size: 25px;
    line-height: 1;
}
.novy-reservation-stat-value strong { line-height: 1; }

.novy-contact-form textarea { min-height: 170px; resize: vertical; }
.novy-contact-status { margin-bottom: 25px; }
.novy-contact-status ul { margin: 8px 0 0; }
.novy-contact-captcha { max-width: 260px; margin-bottom: 20px; }
.novy-contact-captcha label { display: block; margin-bottom: 8px; font-weight: 700; }
.novy-contact-consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.novy-contact-consent input { margin-top: 5px; }
.novy-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.novy-contact-map { position: relative; overflow: hidden; }
.novy-contact-map iframe { display: block; width: 100%; height: 500px; border: 0; }
.novy-contact-map-marker {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 65px;
    height: 99px;
    transform: translate(-50%, -100%);
    pointer-events: none;
}
.novy-contact-map-link {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
}

.novy-actions-page { max-width: 1080px; }
.novy-actions-list { display: grid; gap: 26px; margin: 35px auto 10px; text-align: left; }
.novy-action-card { padding: 30px 34px; border: 1px solid #eadfd4; background: #fff; box-shadow: 0 8px 24px rgba(80, 31, 39, .06); }
.novy-action-card time { display: block; margin-bottom: 8px; color: #9d612b; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.novy-action-card h2 { margin: 0 0 12px; color: #501f27; font-family: 'Courgette', cursive; font-size: 29px; line-height: 1.3; }
.novy-action-summary { margin: 0 0 20px; color: #6d625d; font-size: 17px; font-weight: 500; line-height: 1.6; text-align: left; }
.novy-action-content, .novy-action-content p { text-align: left; }
.novy-action-content > :last-child { margin-bottom: 0; }
.novy-actions-empty { margin: 35px auto 10px; padding: 45px 25px; color: #756a64; border: 1px solid #eadfd4; background: #faf8f6; text-align: center; }
.novy-actions-empty i { color: #ba9e8c; font-size: 34px; }
.novy-actions-empty p { margin: 12px 0 0; }

@media (max-width: 991px) {
    .novy-calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .novy-calendar-head { align-items: flex-start; flex-direction: column; }
    .novy-calendar-legend { flex-wrap: wrap; }
    .novy-calendar-grid { grid-template-columns: 1fr; }
    .novy-calendar-scroll { max-height: 650px; padding-right: 3px; }
    .novy-readonly-note .btn { display: block; margin-left: 0; }
    .novy-action-card { padding: 24px 20px; }
}

@media (max-width: 340px) {
    .novy-calendar-month { width: 100%; padding-right: 2px; padding-left: 2px; }
    .novy-calendar-month h3 { margin-right: -2px; margin-left: -2px; }
    .novy-weekdays, .novy-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
    .novy-weekdays span, .novy-day { width: 100%; }
}
