/* Modern Cozy header — visually paired with the existing dark footer. */
.cozy-booking-header {
    position: relative;
    z-index: 1030;
    min-height: 104px;
    padding: 0;
    background: #111311;
    border-bottom: 1px solid #232323;
    font-family: "Montserrat", sans-serif;
}

.cozy-header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    min-height: 104px;
    margin: 0 auto;
    padding: 8px 32px;
}

.cozy-header-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #fff !important;
}

.cozy-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 88px;
    padding: 2px;
    background: #000;
    border: 1px solid #292929;
    border-radius: 2px;
}

.cozy-header-logo {
    display: block;
    max-width: 100%;
    max-height: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cozy-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: 16px;
    line-height: 1.15;
}

.cozy-brand-kicker {
    margin-bottom: 6px;
    color: #d0ae54;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cozy-brand-kicker i { margin-right: 5px; }

.cozy-brand-name {
    overflow: hidden;
    max-width: 330px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cozy-header-nav {
    align-items: center;
    gap: 8px;
}

.cozy-booking-header .navbar-nav .nav-item {
    margin: 0 0 0 8px !important;
}

.cozy-booking-header .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px !important;
    color: #f4f4f2 !important;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .045em;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cozy-booking-header .cozy-rooms-link {
    position: relative;
    gap: 8px;
}

.cozy-booking-header .cozy-rooms-link.active::after {
    position: absolute;
    right: 14px;
    bottom: 5px;
    left: 14px;
    height: 2px;
    background: #d0ae54;
    content: "";
}

.cozy-booking-header .cozy-selector {
    min-width: 0;
    background: #171917;
    border-color: #2a2e2a !important;
}

.cozy-booking-header .cozy-code-selector {
    min-width: 70px;
    justify-content: center;
    padding-right: 24px !important;
    padding-left: 14px !important;
}

.cozy-booking-header .cozy-code-selector > strong {
    color: #fff;
    font-size: 11px;
    letter-spacing: .06em;
}

.cozy-booking-header button.cozy-language-switch {
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    padding-right: 14px !important;
    padding-left: 14px !important;
}

.cozy-booking-header .cozy-selector-item.dropdown .cozy-code-selector::after {
    position: absolute;
    right: 10px;
    content: "\f107" !important;
}

.cozy-booking-header .cozy-selector-menu { min-width: 230px; }

.cozy-booking-header .cozy-selector-menu .dropdown-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    font-family: "Montserrat", sans-serif;
    text-align: left;
}

.cozy-booking-header .cozy-selector-menu .dropdown-item strong {
    margin-left: auto;
    padding-left: 18px;
    color: #d0ae54;
    font-size: 10px;
}

.cozy-booking-header .cozy-selector-menu .dropdown-item i {
    margin-left: 9px;
    color: #d0ae54;
}

.cozy-booking-header .cozy-selector-menu .dropdown-item.active {
    color: #fff !important;
    background: #222622;
}

.cozy-booking-header .btn-login {
    min-width: 122px;
    margin-left: 10px !important;
    padding: 0 !important;
    border: 0 !important;
}
.cozy-booking-header .navbar-nav-connexion {
    width: 122px;
    min-width: 122px;
    justify-content: center !important;
    white-space: nowrap;
}
.cozy-booking-header .selector-loading { opacity: .55; pointer-events: none; }

.cozy-booking-header .navbar-nav .nav-link:hover,
.cozy-booking-header .navbar-nav .nav-link:focus,
.cozy-booking-header .navbar-nav .show > .nav-link {
    color: #fff !important;
    background: #1d201d;
    border-color: #d0ae54;
}

.cozy-booking-header .navbar-nav-connexion {
    min-width: 118px;
    justify-content: center;
    color: #111311 !important;
    background: #d0ae54;
    border-color: #d0ae54 !important;
    font-weight: 700;
}

.cozy-booking-header .navbar-nav-connexion:hover,
.cozy-booking-header .navbar-nav-connexion:focus {
    color: #111311 !important;
    background: #e3c46d !important;
    border-color: #e3c46d !important;
}

.cozy-booking-header .dropdown-menu {
    margin-top: 12px;
    padding: 8px;
    background: #171917;
    border: 1px solid #2d312d;
    border-radius: 2px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
}

.cozy-booking-header .dropdown-item {
    padding: 10px 12px;
    color: #f5f3ec !important;
    border-radius: 2px;
    font-size: 12px;
}

.cozy-booking-header .dropdown-item:hover,
.cozy-booking-header .dropdown-item:focus {
    color: #111311 !important;
    background: #d0ae54;
}

.cozy-booking-header .action-form {
    min-width: 290px;
    padding: 20px;
    color: #fff;
}

.cozy-booking-header .action-form .hint-text {
    color: #fff;
}

.cozy-header-toggler {
    margin-left: auto;
    padding: 8px 10px;
    border-color: #d0ae54 !important;
    border-radius: 2px;
}

/* Premium booking hero */
.cozy-booking-hero {
    margin: 0 !important;
    font-family: "Montserrat", sans-serif;
}

.cozy-booking-hero #destination-masthead {
    margin: 0 !important;
}

.cozy-booking-hero div#masthead_wrapper {
    display: block;
    border: 0;
}

.cozy-booking-hero .masthead-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 360px;
    height: auto;
    overflow: hidden;
    background-image: var(--hotel-banner-image, url("../img/cozy1-hero.jpg"));
    background-position: center;
    background-size: cover;
}

.cozy-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 12, 10, .96) 0%, rgba(15, 18, 15, .84) 45%, rgba(15, 18, 15, .28) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .34), transparent 55%);
}

.cozy-booking-hero .masthead-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 32px 92px;
}

.cozy-booking-hero .title-container {
    position: relative;
    display: block;
    width: min(680px, 62%) !important;
    height: auto;
}

.cozy-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    color: #d0ae54;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.cozy-hero-eyebrow::before {
    width: 32px;
    height: 1px;
    margin-right: 12px;
    background: #d0ae54;
    content: "";
}

.cozy-booking-hero h1.title {
    max-width: 650px;
    margin: 0 0 17px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 4vw, 3.75rem) !important;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.035em;
    text-shadow: 0 2px 22px rgba(0, 0, 0, .28);
    text-transform: none;
}

.cozy-hero-intro {
    max-width: 610px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.75;
}

.cozy-hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.cozy-hero-contact > a,
.cozy-hero-contact > span {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.cozy-hero-contact > a:hover { color: #d0ae54; text-decoration: none; }

.cozy-hero-contact i {
    margin-right: 9px;
    color: #d0ae54;
}

.cozy-hero-benefits {
    position: absolute;
    z-index: 3;
    right: 32px;
    bottom: 0;
    left: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1376px;
    min-height: 58px;
    margin: 0 auto;
    color: #f4f4f1;
    background: rgba(17, 19, 17, .94);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.cozy-hero-benefits span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.cozy-hero-benefits span + span { border-left: 1px solid #303330; }
.cozy-hero-benefits i { margin-right: 9px; color: #d0ae54; }

@media (max-width: 991.98px) {
    .cozy-brand-copy { display: none; }
}

@media (max-width: 767.98px) {
    .cozy-booking-header,
    .cozy-header-inner { min-height: 82px; }

    .cozy-header-inner {
        flex-wrap: wrap;
        padding: 9px 16px;
    }

    .cozy-logo-frame {
        width: 80px;
        height: 66px;
    }

    .cozy-header-logo { max-height: 60px; }

    .cozy-booking-header .navbar-collapse {
        flex-basis: calc(100% + 32px);
        margin: 9px -16px -9px;
        padding: 10px 16px 16px;
        background: #111311;
        border-top: 1px solid #232323;
    }

    .cozy-header-nav { align-items: stretch; }

    .cozy-booking-header .navbar-nav .nav-item {
        width: 100%;
        margin: 3px 0 !important;
    }

    .cozy-booking-header .navbar-nav .nav-link {
        justify-content: space-between;
        min-height: 44px;
        background: #171917;
        border-color: #292c29;
    }

    .cozy-booking-header .dropdown-menu {
        margin-top: 4px;
        box-shadow: none;
    }

    .cozy-booking-header .action-form { min-width: 100%; }

    .cozy-booking-hero .masthead-content-wrapper { min-height: 430px; }

    .cozy-booking-hero .masthead-content {
        padding: 46px 20px 140px;
    }

    .cozy-booking-hero .title-container { width: 100% !important; }

    .cozy-booking-hero h1.title {
        font-size: 2.25rem !important;
        line-height: 1.08;
    }

    .cozy-hero-intro { font-size: 13px; }

    .cozy-hero-contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .cozy-hero-benefits {
        right: 12px;
        bottom: 12px;
        left: 12px;
        grid-template-columns: 1fr;
    }

    .cozy-hero-benefits span {
        justify-content: flex-start;
        min-height: 38px;
        padding: 8px 14px;
    }

    .cozy-hero-benefits span + span {
        border-top: 1px solid #303330;
        border-left: 0;
    }
}
