:root {
    --primary-color: #A67C52; /* Warm sophisticated gold/bronze */
    --primary-hover: #8B633E;
    --bg-dark: #FDFBF7; /* Warm off-white / sand */
    --bg-light: #F4F1EA;
    --text-main: #2C2C2C;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid rgba(166, 124, 82, 0.55);
    outline-offset: 3px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    transition: var(--transition);
}

/* Keep the public header below WordPress's toolbar during client previews. */
body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

.header.scrolled {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    color: #ffffff;
    text-decoration: none;
}

.logo-img {
    height: 54px;
    width: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo:hover .logo-img {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .logo-img { height: 44px; }
}

@media (max-width: 480px) {
    .logo-img { height: 38px; }
}

/* legacy inline-emblem lockup styles (kept for reference) */
.logo-mark {
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo:hover .logo-mark {
    transform: translateY(-2px);
}

/* New wordmark lockup: VILLA RAPLA · ✳ · EST. 2025 */
.logo-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: #ffffff;
    padding-left: 0.34em; /* compensate trailing letter-spacing */
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.logo-divider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0.35rem 0 0.28rem;
    color: #E0C08B;
}

.logo-divider .line {
    height: 1px;
    background: currentColor;
    flex: 1;
    opacity: 0.5;
}

.logo-divider .ministar {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    color: #E0C08B;
}

.logo-est {
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: #E0C08B;
    padding-left: 0.28em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}

@media (max-width: 480px) {
    .logo-mark { width: 38px; height: 38px; }
    .logo-name { font-size: 1.02rem; letter-spacing: 0.22em; padding-left: 0.22em; }
    .logo-est { font-size: 0.46rem; letter-spacing: 0.2em; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--primary-color);
}

.nav-link.is-active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.45rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
}

.language-switcher-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.language-switcher-link:hover,
.language-switcher-link.is-active {
    color: var(--primary-color);
}

.language-switcher-separator {
    color: rgba(255, 255, 255, 0.3);
}

.nav-language-switcher {
    display: none;
}

.header-language-switcher {
    display: block;
}

/* Language Links */
.lang-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-body);
    opacity: 0.8;
    transition: var(--transition);
}

.lang-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Burger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--text-main);
    color: var(--bg-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-media .hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    min-width: 0;
}

.hero-title {
    max-width: 950px;
    margin: 0 auto;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.08;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-booking-widget {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero.is-contact-only {
    min-height: 780px;
    height: auto;
    padding: 8.5rem 0 5rem;
}

.hero-contact-card {
    max-width: 760px;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--text-main);
    text-align: left;
}

.hero-contact-eyebrow,
.room-contact-eyebrow {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-contact-card h2 {
    margin: 0 0 0.7rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    line-height: 1.15;
}

.hero-contact-intro {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.hero-contact-room {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: stretch;
    margin: 0.75rem 0;
    border: 1px solid rgba(166, 124, 82, 0.22);
    border-radius: 10px;
    background: rgba(166, 124, 82, 0.07);
    color: var(--text-main);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-contact-room:hover,
.hero-contact-room:focus-visible {
    border-color: rgba(166, 124, 82, 0.55);
    box-shadow: 0 10px 24px rgba(51, 42, 32, 0.1);
    transform: translateY(-2px);
}

.hero-contact-room:focus-visible {
    outline: 3px solid rgba(166, 124, 82, 0.35);
    outline-offset: 3px;
}

.hero-contact-room.is-text-only {
    display: block;
}

.hero-contact-room-media {
    display: block;
    min-height: 156px;
    overflow: hidden;
}

.hero-contact-room-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.hero-contact-room:hover .hero-contact-room-media img {
    transform: scale(1.025);
}

.hero-contact-room-details {
    display: flex;
    min-width: 0;
    padding: 1rem 1.1rem;
    flex-direction: column;
}

.hero-contact-room-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.hero-contact-room-title {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-contact-room-heading strong {
    color: #76502c;
    font-size: 1rem;
    white-space: nowrap;
}

.hero-contact-room-subtitle {
    display: -webkit-box;
    margin-top: 0.45rem;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hero-contact-room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-top: 0.65rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.hero-contact-room-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.hero-contact-room-meta i,
.hero-contact-room-cta i {
    color: var(--primary-color);
}

.hero-contact-room-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.7rem;
    color: #76502c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-contact-actions.is-single-action {
    grid-template-columns: 1fr;
}

.hero-contact-actions .btn,
.room-contact-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    text-align: center;
    text-decoration: none;
}

.hero-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    margin: 1.25rem 0 0;
}

.hero-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 650;
    text-decoration: none;
}

.hero-contact-links i {
    color: var(--primary-color);
}

.hero-contact-note,
.room-contact-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-contact-note i,
.room-contact-note i {
    margin-top: 0.2rem;
    color: var(--primary-color);
}

.horizontal-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.horizontal-form .form-group {
    flex: 1;
    min-width: 150px;
    margin-bottom: 0;
    text-align: left;
}

.horizontal-form input,
.horizontal-form select,
.horizontal-form .vr-number-stepper {
    min-width: 0;
    max-width: 100%;
}

.horizontal-form .submit-group {
    flex: 1;
    min-width: 180px;
}

.horizontal-form .btn {
    width: 100%;
    height: 3rem; /* match input heights roughly */
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sections */
.section {
    padding: 6rem 0;
}

/* Standalone content pages keep the fixed navigation readable without a hero image. */
.vr-section-page .header {
    background: rgba(18, 18, 18, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
    padding: 1rem 0;
}

.section-page-main {
    min-height: 62vh;
    padding-top: 86px;
}

.vr-section-page .section-page-main > .elementor > .elementor-element:first-child .section {
    padding-top: 5rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.about-image-wrapper {
    min-width: 0;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(230px, 1.15fr) minmax(180px, 0.85fr);
    gap: 0.9rem;
}

.about-gallery-item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #e9e5df;
    box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}

.about-gallery-item.is-featured {
    grid-column: 1 / -1;
}

.about-gallery.image-count-1,
.about-gallery.image-count-2 {
    grid-template-rows: auto;
}

.about-gallery.image-count-1 {
    grid-template-columns: 1fr;
}

.about-gallery.image-count-1 .about-gallery-item {
    aspect-ratio: 4 / 3;
}

.about-gallery.image-count-2 .about-gallery-item {
    aspect-ratio: 4 / 5;
}

.about-gallery.image-count-2 .about-gallery-item.is-featured {
    grid-column: auto;
}

.about-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.about-gallery-item:hover .about-gallery-image {
    transform: scale(1.015);
}

.about-quote {
    margin: 1rem 0 0;
    padding: 0.85rem 0 0.85rem 1.1rem;
    border-left: 2px solid rgba(166, 124, 82, 0.55);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.08rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* About body paragraphs (Meist story) */
.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Section eyebrow (small caps label above title) */
.section-eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Rooms price and booking rules */
.rooms-rate-summary {
    margin: -1.5rem auto 1.5rem;
}

.rooms-price {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0;
}

.rooms-price strong {
    color: var(--primary-color);
    font-weight: 600;
}

.minimum-stay-note,
.booking-minimum-stay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.minimum-stay-note {
    margin: 0.35rem 0 0;
}

.minimum-stay-note i,
.booking-minimum-stay i {
    color: var(--primary-color);
}

.vrb-public-stay-times { display:flex;justify-content:center;flex-wrap:wrap;gap:.55rem 1rem;margin:0 0 1.35rem;color:var(--text-muted);font-size:.82rem;line-height:1.4; }
.vrb-public-stay-times span { display:inline-flex;align-items:center;gap:.4rem; }
.vrb-public-stay-times i { color:var(--primary-color); }
.summary-stay-time { display:block;margin-top:.15rem;color:var(--text-muted);font-size:.72rem;font-weight:500;text-align:right; }

/* Check-in / check-out badges */
.checkin-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.checkin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-main);
    text-transform: uppercase;
}

.checkin-badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.checkin-divider {
    width: 1px;
    height: 20px;
    background: var(--primary-color);
    opacity: 0.5;
}

/* Perks row (Meist plussid) */
.perks-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem 3.5rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.perk {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    text-align: center;
    min-width: 120px;
}

.perk i {
    font-size: 1.9rem;
    color: var(--primary-color);
}

.perk span {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-main);
    font-weight: 500;
}

/* Whole-villa private booking banner */
.villa-private-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #2C2C2C 0%, #3a3326 100%);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.villa-private-content {
    flex: 1 1 320px;
}

.villa-private-tag {
    display: inline-block;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.villa-private-content h3 {
    font-family: var(--font-heading);
    color: #FDFBF7;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.villa-private-content p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 0;
}

.villa-private-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .villa-private-banner {
        padding: 2rem 1.5rem;
    }
    .villa-private-btn {
        width: 100%;
        text-align: center;
    }
}

/* Rooms Section */
.room-card {
    position: relative;
    background: var(--bg-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-avail-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background: rgba(166, 124, 82, 0.95);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.room-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.room-card:hover .room-image {
    transform: scale(1.05);
}

.room-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
}

.room-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.room-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Factual stay highlights (used instead of unverified guest reviews) */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    min-width: 0;
    overflow-wrap: anywhere;
}

.highlight-card > i {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.highlight-card h3 {
    color: var(--text-main);
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.highlight-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Room Layout */
.room-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.room-content-wrapper > *,
.villa-private-content,
.room-info {
    min-width: 0;
}

/* Room Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 1rem;
}

.gallery-grid.full-width {
    grid-template-rows: 280px 280px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .gallery-grid .large {
        grid-row: auto;
        height: 250px;
    }
    .gallery-grid .gallery-item:not(.large) {
        height: 200px;
    }
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: 1 / -1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-more-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    transition: var(--transition);
}

.gallery-item:hover .gallery-more-overlay {
    background: rgba(0,0,0,0.5);
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-swiper {
    width: 90%;
    height: 80%;
}

.lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-swiper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.room-features {
    display: flex;
    justify-content: flex-start;
    gap: 1.2rem;
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 1rem 0 0 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.room-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.room-features i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.rooms-swiper .swiper-wrapper {
    align-items: stretch;
}

.rooms-swiper .swiper-slide {
    display: flex;
    height: auto;
}

.rooms-swiper .room-card {
    width: 100%;
}

.rooms-swiper .room-info h3 {
    line-height: 1.25;
    min-height: 3.75rem;
}

.rooms-swiper .room-info > p {
    margin-bottom: 1.5rem;
}

.rooms-swiper .room-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.rooms-swiper .room-features li {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid rgba(166, 124, 82, 0.12);
    border-radius: 7px;
    background: rgba(166, 124, 82, 0.055);
}

.rooms-swiper .room-features .room-feature-bed {
    grid-column: 1 / -1;
}

.rooms-swiper .room-features i {
    width: 1.35rem;
    text-align: center;
}

.room-feature-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.room-feature-label {
    margin-bottom: 0.2rem;
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.room-feature-value {
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.rooms-swiper {
    padding-bottom: 4rem !important;
}

.rooms-carousel-wrapper.is-single-room {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
}

.rooms-carousel-wrapper.is-single-room .rooms-swiper {
    padding-bottom: 0 !important;
}

.rooms-carousel-wrapper.is-single-room .swiper-slide {
    width: 100% !important;
}

.rooms-carousel-wrapper.is-single-room .swiper-button-prev,
.rooms-carousel-wrapper.is-single-room .swiper-button-next,
.rooms-carousel-wrapper.is-single-room .swiper-pagination {
    display: none;
}

.rooms-swiper .swiper-pagination {
    bottom: 1rem !important;
}

.rooms-carousel-wrapper .swiper-button-prev,
.reviews-carousel-wrapper .swiper-button-prev {
    left: -60px;
    top: 40%;
}

.rooms-carousel-wrapper .swiper-button-next,
.reviews-carousel-wrapper .swiper-button-next {
    right: -60px;
    top: 40%;
}

@media (min-width: 769px) and (max-width: 1180px) {
    .rooms-carousel-wrapper .swiper-button-prev {
        left: 8px;
    }

    .rooms-carousel-wrapper .swiper-button-next {
        right: 8px;
    }

    .rooms-carousel-wrapper .swiper-button-prev,
    .rooms-carousel-wrapper .swiper-button-next {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,0.92);
        box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    }

    .rooms-carousel-wrapper .swiper-button-prev::after,
    .rooms-carousel-wrapper .swiper-button-next::after {
        font-size: 1rem;
        font-weight: 700;
    }
}

/* Booking Section */
.booking {
    background: linear-gradient(rgba(18,18,18,0.9), rgba(18,18,18,0.9)), url('assets/images/villa_hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.booking-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    background: var(--bg-dark);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-main);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

.booking-price-line {
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin: -0.8rem 0 0.35rem;
}

.booking-minimum-stay {
    margin: 0 0 1.35rem;
}

.checkout-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-fields-grid input {
    width: 100%;
    min-height: 46px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    font: inherit;
}

.checkout-account-prefill { margin:-.65rem 0 1.5rem;padding:.8rem 1rem;border-left:3px solid var(--primary-color);background:var(--bg-light);color:var(--text-muted);font-size:.88rem;line-height:1.5; }
.checkout-account-prefill a { color:var(--primary-color);font-weight:650;white-space:nowrap; }
.checkout-account-options { margin:0 0 1.5rem;padding:1rem 1.1rem;border:1px solid rgba(167,123,78,.28);border-radius:8px;background:var(--bg-light); }
.checkout-account-options h3 { margin:0 0 .55rem;font-family:var(--font-heading);font-size:1.05rem;color:var(--text-main); }
.checkout-account-options p { margin:.35rem 0;color:var(--text-muted);font-size:.88rem;line-height:1.5; }
.checkout-account-options a { color:var(--primary-color);font-weight:650; }
.checkout-account-options .checkout-account-choice { margin:.8rem 0 .35rem; }
.checkout-account-options small { display:block;color:var(--text-muted);line-height:1.45; }
.checkout-account-required { padding-left:.85rem;border-left:3px solid var(--primary-color); }
.checkout-guest-note { margin:0 0 1.5rem; }
.checkout-guest-note label { display:block;margin-bottom:.5rem;font-size:.9rem;font-weight:500; }
.checkout-guest-note textarea { display:block;width:100%;min-height:110px;padding:.8rem 1rem;border:1px solid rgba(0,0,0,.1);border-radius:4px;font:inherit;resize:vertical; }
.checkout-guest-note small { display:block;margin-top:.45rem;color:var(--text-muted);font-size:.8rem;line-height:1.45; }
.checkout-custom-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:0 0 1.75rem;padding:1.5rem 0;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(0,0,0,.1); }
.checkout-custom-fields .vrb-custom-field { display:flex;flex-direction:column;gap:.5rem;grid-column:1/-1;font-size:.9rem;font-weight:500; }
.checkout-custom-fields .vrb-custom-field input:not([type="checkbox"]),.checkout-custom-fields .vrb-custom-field select,.checkout-custom-fields .vrb-custom-field textarea { width:100%;min-height:46px;padding:.8rem 1rem;border:1px solid rgba(0,0,0,.1);border-radius:4px;background:#fff;font:inherit; }
.checkout-custom-fields .vrb-custom-field textarea { min-height:105px;resize:vertical; }
.checkout-custom-fields .vrb-custom-field small { color:var(--text-muted);font-size:.8rem;font-weight:400;line-height:1.45; }
.checkout-custom-fields .vrb-custom-field.is-checkbox { flex-direction:row;align-items:flex-start;gap:.7rem;padding:.85rem 1rem;border:1px solid rgba(167,123,78,.25);border-radius:6px;background:var(--bg-light); }
.checkout-custom-fields .vrb-custom-field.is-checkbox input { margin-top:.2rem; }
.checkout-custom-fields .vrb-custom-field.is-checkbox span { display:flex;flex-direction:column;gap:.25rem; }
.checkout-custom-fields .vrb-custom-field-content { grid-column:1/-1; }
.checkout-custom-fields .vrb-custom-field-content h3 { margin:0;font-family:var(--font-heading);font-size:1.15rem; }
.checkout-custom-fields .vrb-custom-field-content p { margin:.35rem 0 0;color:var(--text-muted);line-height:1.55; }
@media (max-width:700px) { .checkout-custom-fields { grid-template-columns:1fr; } }

.checkout-services {
    margin: 2rem 0 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.checkout-services[hidden] {
    display: none;
}

.checkout-apartments { margin:2rem 0; }
.checkout-apartments[hidden] { display:none; }
.checkout-apartment-list { display:grid;gap:.8rem; }
.checkout-apartment-card { display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.85rem;border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:1rem 1.1rem;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s; }
.checkout-apartment-card:has(input[data-unit]:checked) { border-color:var(--primary-color);box-shadow:0 0 0 1px var(--primary-color); }
.checkout-apartment-card > input { accent-color:var(--primary-color); }
.checkout-apartment-card.is-unavailable { opacity:.58;cursor:not-allowed;background:var(--bg-light); }
.checkout-apartment-copy { display:grid;gap:.2rem;min-width:0; }
.checkout-apartment-copy small { color:var(--text-muted);line-height:1.35; }
.checkout-apartment-guests { display:grid;gap:.3rem;justify-items:end;color:var(--text-muted);font-size:.8rem; }
.checkout-apartment-guests select { min-width:72px;padding:.5rem;border:1px solid rgba(0,0,0,.18);border-radius:5px;background:#fff; }
.checkout-apartment-status { margin:.85rem 0 0;color:var(--text-muted);font-size:.9rem; }

.checkout-coupon {
    margin: 2rem 0;
    padding: 1.35rem;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: var(--bg-light);
}

.checkout-coupon h2 {
    margin: 0 0 .3rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.checkout-coupon p {
    margin: 0;
    color: var(--text-muted);
}

.checkout-coupon-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .65rem;
    margin-top: 1rem;
}

.checkout-coupon-control input {
    width: 100%;
    min-width: 0;
    text-transform: uppercase;
}

.checkout-coupon-control .btn {
    min-width: 100px;
    padding: .75rem 1rem;
}

.checkout-coupon-status {
    min-height: 1.35em;
    margin-top: .65rem !important;
    font-size: .9rem;
}

.summary-coupon-row strong {
    color: #25713a;
}

@media (max-width: 480px) {
    .checkout-coupon-control {
        grid-template-columns: 1fr;
    }

    .checkout-coupon-control .btn {
        width: 100%;
    }
}

.checkout-services-heading h2 {
    margin-bottom: 0.35rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.checkout-services-heading p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
}

.checkout-services-list {
    display: grid;
    gap: 1rem;
}

.checkout-service-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: var(--bg-light);
}

.checkout-service-card.has-image {
    grid-template-columns: auto minmax(0, 1fr);
}

.checkout-service-card > img {
    width: 112px;
    height: 86px;
    border-radius: 6px;
    object-fit: cover;
}

.checkout-service-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-service-title h3 {
    margin: 0;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.08rem;
}

.checkout-service-package-badge {
    display: inline-block;
    margin: 0 0.45rem 0.2rem 0;
    padding: 0.22rem 0.48rem;
    border-radius: 999px;
    background: rgba(177, 132, 83, 0.14);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
}

.checkout-service-title strong {
    flex: 0 0 auto;
    color: var(--primary-color);
    font-size: 0.82rem;
    text-align: right;
}

.checkout-service-copy > p {
    margin: 0.45rem 0 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkout-service-copy > .checkout-service-includes {
    margin-top: -0.25rem;
    padding: 0.55rem 0.7rem;
    border-radius: 5px;
    background: rgba(177, 132, 83, 0.08);
    color: var(--text-main);
    font-size: 0.82rem;
}

.checkout-service-control {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    margin-top: 0.75rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.checkout-service-control input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkout-service-control select {
    min-width: 82px;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(0,0,0,0.16);
    border-radius: 4px;
    background: #fff;
    font: inherit;
}

.summary-price-details {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.summary-price-details[hidden] {
    display: none;
}

.summary-price-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.55rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.summary-price-row strong {
    flex: 0 0 auto;
    color: var(--text-main);
}

.booking-confirmation-note {
    border: 1px solid rgba(166, 124, 82, 0.25);
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.booking-confirmation-note h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.booking-confirmation-note p {
    color: var(--text-muted);
}

.booking-payment-methods {
    margin-top: 0.75rem;
    color: var(--primary-color) !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.woocommerce-order-pay .woocommerce,
.woocommerce-order-received .woocommerce {
    width: min(900px, calc(100% - 2rem));
    margin: 2.5rem auto 6rem;
}

body.woocommerce-page .header .logo-img {
    width: auto;
    height: 54px;
    max-width: 320px;
}

body.woocommerce-page .footer .footer-logo {
    width: auto;
    height: 64px;
    max-width: 320px;
}

.woocommerce-order-pay .header,
.woocommerce-order-received .header {
    padding: 1rem 0;
    background: rgba(18, 18, 18, 0.97);
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.woocommerce-order-pay .site-main,
.woocommerce-order-received .site-main {
    max-width: none;
    min-height: 70vh;
    padding-top: 86px;
}

.woocommerce-order-pay .page-header,
.woocommerce-order-received .page-header {
    padding: 3.5rem 1rem 0;
    text-align: center;
}

.woocommerce-order-pay .page-header .entry-title,
.woocommerce-order-received .page-header .entry-title {
    width: min(900px, 100%);
    margin: 0 auto;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
}

.woocommerce-order-pay .page-content,
.woocommerce-order-received .page-content {
    width: 100%;
}

.woocommerce-order-pay #payment,
.woocommerce-order-received .woocommerce-order {
    padding: 2rem;
    border: 1px solid rgba(166, 124, 82, 0.18);
    border-radius: 12px;
    background: var(--bg-light);
    box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}

.woocommerce-order-pay #payment .button,
.woocommerce-order-pay #place_order {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    body.woocommerce-page .header .logo-img {
        height: 44px;
        max-width: 250px;
    }

    body.woocommerce-page .footer .footer-logo {
        height: 52px;
        max-width: 260px;
    }

    .woocommerce-order-pay .site-main,
    .woocommerce-order-received .site-main {
        padding-top: 76px;
    }

    .woocommerce-order-pay .page-header,
    .woocommerce-order-received .page-header {
        padding-top: 2.5rem;
    }

    .woocommerce-order-pay .woocommerce,
    .woocommerce-order-received .woocommerce {
        margin-top: 2rem;
        margin-bottom: 4rem;
    }

    .woocommerce-order-pay #payment,
    .woocommerce-order-received .woocommerce-order {
        padding: 1.25rem;
    }
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.form-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.booking-legal-links {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.84rem;
}

.booking-legal-links a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.payment-methods {
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.payment-methods p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #262626; /* Premium dark charcoal */
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo {
    height: 64px;
    width: auto;
    display: block;
    margin-bottom: 1.2rem;
}

@media (max-width: 480px) {
    .footer-logo { height: 52px; }
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-contact address {
    max-width: 320px;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    line-height: 1.6;
}

.footer a {
    color: inherit;
    text-decoration-color: rgba(255,255,255,0.35);
    text-underline-offset: 3px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    text-align: right;
}

.footer-credit a {
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-funding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-funding-copy {
    display: grid;
    gap: 0.25rem;
    max-width: 340px;
}

.footer-funding-copy strong {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.footer-funding-copy span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
}

.footer-funding-logo-wrap {
    display: inline-flex;
    max-width: min(320px, 100%);
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    background: #fff;
}

.footer-funding-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 58px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 992px) {
    .header-actions {
        gap: 1rem;
    }
    .nav {
        display: none; /* Mobile menu base state */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    .nav-link {
        font-size: 1.5rem;
    }
    .header-language-switcher {
        display: none;
    }
    .nav-language-switcher {
        display: block;
        margin-top: 0.25rem;
    }
    .nav-language-switcher .language-switcher {
        font-size: 1rem;
        letter-spacing: 0.12em;
    }
    .menu-toggle {
        display: flex;
    }
    .header-book-btn {
        display: none; /* Hide standard book button on very small screens or keep it? Let's hide on mobile nav and put it in nav if needed, or keep it. Actually let's just hide the text and make it small */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .highlight-grid {
        grid-template-columns: 1fr;
    }
    .room-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .room-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .room-content-wrapper > * {
        width: 100%;
    }
    .hero-title {
        font-size: clamp(2.35rem, 8vw, 3rem);
    }
    .room-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-funding {
        align-items: flex-start;
        flex-direction: column;
    }
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
    .footer-credit {
        text-align: left;
    }
    .horizontal-form .form-group {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }
    .horizontal-form .submit-group {
        min-width: 0;
        width: 100%;
    }
    .checkout-fields-grid {
        grid-template-columns: 1fr;
    }
    .checkout-apartment-card {
        grid-template-columns: auto minmax(0,1fr);
    }
    .checkout-apartment-guests {
        grid-column: 2;
        justify-items:start;
    }
    .checkout-service-card.has-image {
        grid-template-columns: 1fr;
    }
    .checkout-service-card > img {
        width: 100%;
        height: min(180px, 42vw);
    }
    .checkout-service-title {
        flex-direction: column;
        gap: 0.3rem;
    }
    .checkout-service-title strong {
        text-align: left;
    }
    .info-card {
        padding: 1.5rem !important;
    }
    .booking-widget {
        padding: 2rem 1.5rem !important;
    }
    .rooms-swiper {
        padding: 0 0 3rem 0 !important;
    }
    .rooms-carousel-wrapper .swiper-button-prev,
    .rooms-carousel-wrapper .swiper-button-next,
    .reviews-carousel-wrapper .swiper-button-prev,
    .reviews-carousel-wrapper .swiper-button-next {
        display: none; /* User will just swipe on mobile */
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header {
        padding: 1rem 0;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .hero {
        min-height: 760px;
        height: auto;
    }

    .hero-title {
        font-size: clamp(2.05rem, 10vw, 2.55rem);
        line-height: 1.08;
    }

    .hero-content {
        padding-top: 90px;
        padding-bottom: 3rem;
    }

    .hero-booking-widget {
        padding: 1.25rem;
    }

    .hero.is-contact-only {
        min-height: 760px;
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }

    .hero.is-contact-only .hero-subtitle {
        margin-bottom: 1.25rem;
    }

    .hero-contact-card {
        margin-top: 1.25rem;
    }

    .hero-contact-actions {
        grid-template-columns: 1fr;
    }

    .hero-contact-room {
        grid-template-columns: clamp(104px, 29vw, 112px) minmax(0, 1fr);
    }

    .hero-contact-room-media {
        min-height: 156px;
    }

    .hero-contact-room-details {
        padding: 0.85rem;
    }

    .hero-contact-room-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
    }

    .hero-contact-room-heading strong {
        white-space: normal;
    }

    .hero-contact-room-subtitle {
        display: none;
    }

    .hero-contact-room-meta {
        gap: 0.35rem 0.75rem;
        font-size: 0.76rem;
    }

    .hero-contact-room-cta {
        font-size: 0.66rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

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

    .section {
        padding: 4.5rem 0;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .about-gallery {
        grid-template-rows: minmax(190px, 58vw) minmax(150px, 46vw);
        gap: 0.65rem;
    }

    .about-quote {
        margin-top: 0.8rem;
    }

    .villa-private-banner {
        padding: 1.5rem 1.25rem;
        gap: 1.25rem;
        overflow: hidden;
    }

    .villa-private-content {
        flex-basis: 100%;
    }

    .villa-private-content h3 {
        font-size: 1.55rem;
    }

    .villa-private-btn {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        line-height: 1.4;
    }

    .room-info {
        padding: 1.5rem;
    }

    .rooms-swiper .room-info h3 {
        min-height: 0;
    }

    .room-avail-tag {
        max-width: calc(100% - 2rem);
        text-align: center;
    }

    .room-hero {
        min-height: 560px !important;
        height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 2rem !important;
    }

    .room-hero-container {
        align-content: flex-end;
    }

    .room-title {
        font-size: 2.5rem !important;
        line-height: 1.05;
    }

    .room-subtitle {
        font-size: 1.05rem !important;
    }

    .room-meta-hero {
        flex-direction: column;
        gap: 0.8rem !important;
        width: 100%;
    }

    .gallery-grid.full-width {
        grid-template-rows: 250px 200px 200px;
    }

    .gallery-grid .gallery-item.large {
        grid-row: auto;
    }

    .amenities-grid {
        grid-template-columns: 1fr !important;
    }

    .flatpickr-calendar.open:not(.inline) {
        width: min(380px, calc(100vw - 2rem)) !important;
    }

    .checkout-hero {
        padding-top: 6.5rem !important;
    }

    .checkout-hero h1 {
        font-size: 2.4rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Location Map Section */
.location.section {
    /* Background handled by HTML classes for alternating logic */
}

.map-wrapper {
    width: 100%;
    height: 390px;
    overflow: hidden;
    border-top: 1px solid rgba(166, 124, 82, 0.14);
    border-bottom: 1px solid rgba(166, 124, 82, 0.14);
}

.location-map-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.location-map-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(166, 124, 82, 0.16);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(44, 44, 44, 0.08);
}

.location-map-card-header {
    min-height: 132px;
    padding: 1.5rem 1.6rem 1.35rem;
}

.location-map-card-header h3 {
    margin: 0 0 0.45rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.25;
}

.location-map-card-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.location-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    min-height: 67px;
    margin: 0;
    padding: 1rem 1.35rem;
    list-style: none;
}

.location-map-legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.79rem;
    line-height: 1.35;
}

.map-legend-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(166, 124, 82, 0.45);
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    font-size: 0.68rem;
}

.map-legend-villa,
.map-legend-bus {
    border-color: transparent;
    background: var(--primary-color);
    color: #fff;
}

.map-legend-rail {
    border-color: transparent;
    background: var(--text-main);
    color: #fff;
}

/* Contact page */
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0 auto 3rem;
    max-width: 1050px;
}

.contact-detail-card {
    display: flex;
    min-width: 0;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 2rem 1.35rem;
    border: 1px solid rgba(166, 124, 82, 0.18);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(44, 44, 44, 0.07);
    color: var(--text-main);
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

a.contact-detail-card:hover {
    border-color: rgba(166, 124, 82, 0.55);
    transform: translateY(-3px);
}

.contact-detail-card i {
    color: var(--primary-color);
    font-size: 1.55rem;
    margin-bottom: 0.35rem;
}

.contact-detail-card span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-detail-card strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 400;
}

.contact-booking-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1050px;
    margin: 0 auto;
    padding: 2.25rem 2.5rem;
    border-radius: 10px;
    background: var(--bg-light);
}

.contact-booking-callout h2 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 0.45rem;
}

.contact-booking-callout p {
    color: var(--text-muted);
    margin: 0;
    max-width: 650px;
}

.contact-booking-callout .btn {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .section-page-main {
        padding-top: 76px;
    }

    .vr-section-page .section-page-main > .elementor > .elementor-element:first-child .section {
        padding-top: 3.5rem;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
    }

    .contact-detail-card {
        min-height: 150px;
    }

    .contact-booking-callout {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.75rem 1.5rem;
    }

    .contact-booking-callout .btn {
        width: 100%;
    }
}

.vr-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.custom-map-marker {
    background: transparent;
    border: none;
}

.map-marker-badge {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 20, 20, 0.25);
    color: var(--primary-color);
    font-size: 0.92rem;
}

.map-marker-villa,
.map-marker-bus {
    background: var(--primary-color);
    color: #fff;
}

.map-marker-rail {
    background: var(--text-main);
    color: #fff;
}

.map-popup-title {
    margin: 0 0 0.35rem;
    color: #121212;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.25;
}

.map-popup-subtitle {
    margin: 0;
    color: #555;
    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1.45;
}

/* Leaflet Popup overrides */
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: #F4F1EA !important;
    color: #2C2C2C !important;
    border: 1px solid rgba(166, 124, 82, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
}

.leaflet-popup-content {
    margin: 12px 16px !important;
    font-family: var(--font-body);
}

.leaflet-popup-close-button {
    color: #A67C52 !important;
    padding: 8px 8px 0 0 !important;
}

/* Leaflet Zoom Control overrides */
.leaflet-bar {
    border: 1px solid rgba(166, 124, 82, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    border-radius: 4px !important;
    overflow: hidden;
}

.leaflet-bar a, .leaflet-bar a:hover {
    background-color: #FDFBF7 !important;
    color: #A67C52 !important;
    border-bottom: 1px solid rgba(166, 124, 82, 0.1) !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.leaflet-bar a:hover {
    background-color: #F4F1EA !important;
}

.leaflet-bar a:first-child {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

.leaflet-bar a:last-child {
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-bottom: none !important;
}

.leaflet-pane {
    min-width: 1px;
    min-height: 1px;
}

@media (max-width: 900px) {
    .location-map-grid {
        grid-template-columns: 1fr;
    }

    .location-map-card-header,
    .location-map-legend {
        min-height: 0;
    }

    .map-wrapper {
        height: 360px;
    }
}

@media (max-width: 480px) {
    .location-map-card-header {
        padding: 1.25rem 1.2rem 1.1rem;
    }

    .location-map-card-header h3 {
        font-size: 1.3rem;
    }

    .map-wrapper {
        height: 320px;
    }

    .location-map-legend {
        padding: 0.9rem 1rem;
    }
}

/* Popup Calendar Wider Width */
.flatpickr-calendar.open:not(.inline) {
    width: 380px !important;
    padding: 10px !important;
}
.flatpickr-calendar.open:not(.inline) .flatpickr-days,
.flatpickr-calendar.open:not(.inline) .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 480px) {
    .flatpickr-calendar.open:not(.inline):not(.vr-room-date-calendar) {
        width: calc(100vw - 2rem) !important;
        max-width: 380px !important;
    }
}

/* Shared Flatpickr day styling */
.flatpickr-day {
    font-family: var(--font-body);
    color: var(--text-main);
    border-radius: 4px;
    margin: 2px;
    height: 42px !important;
    max-width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
    border: 1px solid transparent;
}
.flatpickr-day:not(.flatpickr-disabled) {
    background: rgba(166, 124, 82, 0.04);
    border: 1px solid rgba(166, 124, 82, 0.1);
}
.flatpickr-day.has-price {
    line-height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.day-price {
    display: block;
    font-size: 0.65rem;
    color: var(--primary-color);
    font-weight: 600;
}

.flatpickr-day.selected .day-price, 
.flatpickr-day.startRange .day-price, 
.flatpickr-day.endRange .day-price,
.flatpickr-day.selected.inRange .day-price, 
.flatpickr-day.startRange.inRange .day-price, 
.flatpickr-day.endRange.inRange .day-price {
    color: rgba(255, 255, 255, 0.9);
}
.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, 
.flatpickr-day.startRange.prevMonthDay, 
.flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, 
.flatpickr-day.startRange.nextMonthDay, 
.flatpickr-day.endRange.nextMonthDay {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.flatpickr-day.inRange, 
.flatpickr-day.prevMonthDay.inRange, 
.flatpickr-day.nextMonthDay.inRange, 
.flatpickr-day.today.inRange, 
.flatpickr-day.prevMonthDay.today.inRange, 
.flatpickr-day.nextMonthDay.today.inRange, 
.flatpickr-day:hover, 
.flatpickr-day.prevMonthDay:hover, 
.flatpickr-day.nextMonthDay:hover, 
.flatpickr-day:focus, 
.flatpickr-day.prevMonthDay:focus, 
.flatpickr-day.nextMonthDay:focus {
    background: rgba(166, 124, 82, 0.15);
    border-color: rgba(166, 124, 82, 0.15);
    color: var(--text-main);
}
.flatpickr-day.flatpickr-disabled .day-price { color: rgba(166, 124, 82, 0.4); text-decoration: line-through; }

#vr-search-result {
    max-width: 760px;
    margin: -1.75rem auto 2.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: 6px;
    background: rgba(44, 120, 83, 0.1);
    color: #225f42;
    font-weight: 500;
}

#vr-search-result.none-free {
    background: rgba(150, 65, 65, 0.1);
    color: #8b3636;
}

#vr-multi-booking-link { display:inline-flex;margin-left:1rem;color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px; }
@media (max-width: 600px) { #vr-multi-booking-link { display:flex;margin:.65rem 0 0; } }

.room-card.vr-free {
    box-shadow: 0 0 0 2px rgba(44, 120, 83, 0.35), 0 15px 40px rgba(0,0,0,0.08);
}

.room-card.vr-busy {
    opacity: 0.72;
}

.vr-search-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.45rem 0.7rem;
    border-radius: 4px;
    background: #fff;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    font-size: 0.78rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .flatpickr-calendar.open:not(.inline) {
        width: calc(100vw - 2rem) !important;
        left: 1rem !important;
        right: 1rem !important;
    }

}

@media (max-width: 280px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-title {
        font-size: 2.05rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-booking-widget,
    .highlight-card {
        padding: 1rem;
    }

    .btn {
        padding-left: 1rem;
        padding-right: 1rem;
        white-space: normal;
    }
}
.checkout-rate-plans{margin:2rem 0}.checkout-rate-plan-list{display:grid;gap:.8rem}.checkout-rate-plan-card{display:flex;align-items:flex-start;gap:.85rem;border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:1rem 1.1rem;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s}.checkout-rate-plan-card:has(input:checked){border-color:var(--primary-color);box-shadow:0 0 0 1px var(--primary-color)}.checkout-rate-plan-card input{margin-top:.25rem;accent-color:var(--primary-color)}.checkout-rate-plan-copy{display:grid;gap:.35rem;min-width:0;flex:1;color:var(--text-muted);line-height:1.45}.checkout-rate-plan-heading{display:flex;justify-content:space-between;gap:1rem;color:var(--text-main)}.checkout-rate-plan-copy small{display:block;color:var(--text-muted)}
.vrb-public-booking-pause{margin:0 0 1.5rem;padding:1rem 1.1rem;border:1px solid #d5a14d;border-radius:8px;background:#fff8e8;color:#4a3824}.vrb-public-booking-pause-wide{max-width:900px;margin:0 auto 2rem}.vrb-public-booking-pause strong{display:block;margin-bottom:.35rem;font-family:var(--font-heading);font-size:1.08rem}.vrb-public-booking-pause p{margin:.35rem 0;line-height:1.55}.vrb-public-booking-contacts{display:flex;flex-wrap:wrap;gap:.5rem 1rem}.vrb-public-booking-contacts a{color:#805a2c;font-weight:700;text-decoration:underline;text-underline-offset:2px}.vrb-public-booking-pause+.room-content-wrapper{margin-top:0}

.room-contact-booking-widget h3 {
    margin: 0 0 0.75rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.65rem;
    line-height: 1.2;
}

.room-contact-booking-widget .booking-price-line {
    margin-bottom: 0.35rem;
    text-align: left;
}

.room-contact-booking-widget .booking-minimum-stay {
    justify-content: flex-start;
    margin-bottom: 1.25rem;
}

.room-contact-intro {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.room-contact-actions {
    display: grid;
    gap: 0.75rem;
}

.room-contact-actions .btn {
    gap: 0.55rem;
}

.room-contact-email {
    display: inline-block;
    margin-top: 1rem;
    color: #76502c;
    font-weight: 650;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

/* Public booking controls */
select.vr-public-select:not([hidden]),
.horizontal-form select:not([hidden]),
.booking-form select:not([hidden]),
.checkout-page select:not([hidden]),
.vrb-review-score-grid select:not([hidden]),
.flatpickr-current-month .flatpickr-monthDropdown-months {
    min-height: 46px;
    padding: 0.7rem 2.5rem 0.7rem 0.9rem;
    border: 1px solid rgba(53, 45, 38, 0.18);
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23A67C52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 0.9rem center;
    background-repeat: no-repeat;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.horizontal-form select:not([hidden]),
.booking-form select:not([hidden]) {
    width: 100%;
}

.booking-form select.vr-public-select:not([hidden]) {
    margin-top: 0.5rem;
}

.checkout-apartment-guests select:not([hidden]) {
    min-width: 150px;
}

.checkout-service-control select:not([hidden]) {
    min-width: 112px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    min-height: 36px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.45rem;
    background-position: right 0.4rem center;
    background-size: 10px auto;
}

select.vr-public-select:not([hidden]):hover,
.horizontal-form select:not([hidden]):hover,
.booking-form select:not([hidden]):hover,
.checkout-page select:not([hidden]):hover,
.vrb-review-score-grid select:not([hidden]):hover {
    border-color: rgba(166, 124, 82, 0.65);
}

select.vr-public-select:not([hidden]):focus-visible,
.horizontal-form select:not([hidden]):focus-visible,
.booking-form select:not([hidden]):focus-visible,
.checkout-page select:not([hidden]):focus-visible,
.vrb-review-score-grid select:not([hidden]):focus-visible,
.flatpickr-current-month .flatpickr-monthDropdown-months:focus-visible {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.18);
}

select.vr-public-select:not([hidden]):disabled,
.horizontal-form select:not([hidden]):disabled,
.booking-form select:not([hidden]):disabled,
.checkout-page select:not([hidden]):disabled,
.vrb-review-score-grid select:not([hidden]):disabled {
    background-color: #f1eee9;
    color: #756f68;
    cursor: not-allowed;
    opacity: 1;
}

select option {
    background: #fff;
    color: var(--text-main);
}

.vr-number-stepper {
    display: grid;
    grid-template-columns: 46px minmax(48px, 1fr) 46px;
    width: 100%;
    min-height: 48px;
    overflow: hidden;
    border: 1px solid rgba(53, 45, 38, 0.18);
    border-radius: 8px;
    background: #fff;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-form label .vr-number-stepper {
    margin-top: 0.5rem;
}

.vr-number-stepper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.18);
}

.vr-number-stepper-button {
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font: 600 1.35rem/1 var(--font-body);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.vr-number-stepper-button:first-child {
    border-right: 1px solid rgba(53, 45, 38, 0.12);
}

.vr-number-stepper-button:last-child {
    border-left: 1px solid rgba(53, 45, 38, 0.12);
}

.vr-number-stepper-button:hover:not(:disabled),
.vr-number-stepper-button:focus-visible {
    outline: 0;
    background: rgba(166, 124, 82, 0.12);
    color: #76502c;
}

.vr-number-stepper-button:disabled {
    color: #b8b1aa;
    cursor: not-allowed;
}

.vr-number-stepper-value {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.35rem;
    color: inherit;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
}

.vr-number-stepper.is-disabled {
    background: #f1eee9;
    color: #756f68;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    border-color: #d7d1c9 !important;
    background: #e7e3dd !important;
    box-shadow: none !important;
    color: #77716a !important;
    cursor: not-allowed !important;
    opacity: 1;
    transform: none !important;
}

.room-mobile-booking-link {
    display: none;
}

#roomBookingSidebar,
#bookingFormSidebar {
    scroll-margin-top: 110px;
}

@media (max-width: 768px) {
    .room-mobile-booking-link {
        display: inline-flex;
        flex: 1 0 100%;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        margin-top: 0.25rem;
        text-shadow: none;
    }

    .room-page .gallery-grid.full-width {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        height: clamp(220px, 68vw, 270px);
    }

    .room-page .gallery-grid.full-width .gallery-item.large {
        grid-row: 1 / -1;
        height: auto;
    }

    .room-page .gallery-grid.full-width .gallery-item:not(.large) {
        height: auto;
    }

    .room-booking-sidebar {
        order: -1;
    }

    .room-booking-sidebar .booking-widget,
    .checkout-page .checkout-sidebar .booking-widget {
        position: static !important;
        top: auto !important;
    }

    .checkout-page .checkout-sidebar {
        order: -1;
    }

    .checkout-page .room-content-wrapper {
        gap: 1.25rem;
    }

    .checkout-page .checkout-form-container .info-card {
        margin-bottom: 0 !important;
    }

    .checkout-apartment-guests select:not([hidden]) {
        width: min(100%, 210px);
        min-width: 0;
    }
}

/* Room booking: one date-range picker, one verified summary, one next action. */
.room-date-fieldset {
    position: relative;
    min-width: 0;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
}

.room-date-fieldset > legend {
    margin-bottom: 0.55rem;
    padding: 0;
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.room-date-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(53, 45, 38, 0.18);
    border-radius: 9px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.room-date-control:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.18);
}

.room-date-field {
    min-width: 0;
    padding: 0.7rem 0.75rem 0.75rem;
    color: var(--text-main);
    cursor: pointer;
}

.room-date-field > span:first-child {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.room-date-input-wrap {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem;
}

.room-date-input-wrap > i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.room-date-field input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-main);
    font: 650 0.88rem/1.35 var(--font-body);
    cursor: pointer;
    text-overflow: ellipsis;
}

.room-date-field input::placeholder {
    color: #817a72;
    font-weight: 500;
    opacity: 1;
}

.room-date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a928a;
    font-size: 0.72rem;
}

.room-date-range-source {
    position: absolute !important;
    left: 50%;
    bottom: 0;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.room-date-help {
    margin: 0.55rem 0 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.room-booking-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin: -0.45rem 0 0.75rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(166, 124, 82, 0.24);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.72);
}

.room-booking-summary[hidden] {
    display: none !important;
}

.room-booking-summary-stay,
.room-booking-summary-total {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.room-booking-summary-stay strong {
    overflow: hidden;
    color: var(--text-main);
    font-size: 0.88rem;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.room-booking-summary-stay span,
.room-booking-summary-total span {
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.4;
}

.room-booking-summary-total {
    align-items: flex-end;
    text-align: right;
}

.room-booking-summary-total strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    white-space: nowrap;
}

.room-availability-status {
    min-height: 2.8em;
    margin: 0 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.room-availability-status[data-state="checking"] {
    color: #76502c;
}

.room-availability-status[data-state="success"] {
    color: #276343;
    font-weight: 650;
}

.room-availability-status[data-state="error"] {
    color: #8b3636;
    font-weight: 600;
}

.vr-room-calendar-header,
.vr-room-calendar-footer {
    display: none;
}

.flatpickr-calendar.vr-room-date-calendar.open {
    width: min(660px, calc(100vw - 2rem)) !important;
    max-width: calc(100vw - 2rem) !important;
    padding: 0.9rem !important;
    border: 1px solid rgba(53, 45, 38, 0.12) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 24px 60px rgba(36, 30, 25, 0.2) !important;
}

.flatpickr-calendar.vr-room-date-calendar .flatpickr-months,
.flatpickr-calendar.vr-room-date-calendar .flatpickr-innerContainer,
.flatpickr-calendar.vr-room-date-calendar .flatpickr-rContainer,
.flatpickr-calendar.vr-room-date-calendar .flatpickr-weekdays,
.flatpickr-calendar.vr-room-date-calendar .flatpickr-days {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.flatpickr-calendar.vr-room-date-calendar .flatpickr-weekdays,
.flatpickr-calendar.vr-room-date-calendar .flatpickr-days {
    display: flex !important;
    gap: 1rem;
}

.flatpickr-calendar.vr-room-date-calendar .flatpickr-weekdaycontainer,
.flatpickr-calendar.vr-room-date-calendar .dayContainer {
    display: grid !important;
    flex: 1 1 0;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 3px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.flatpickr-calendar.vr-room-date-calendar .flatpickr-day,
.flatpickr-calendar.vr-room-date-calendar .flatpickr-weekday {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.flatpickr-calendar.vr-room-date-calendar .flatpickr-day {
    height: 48px !important;
    border-radius: 6px;
}

.flatpickr-calendar.vr-room-date-calendar .flatpickr-day:focus-visible {
    outline: 2px solid #76502c;
    outline-offset: 1px;
}

@media (max-width: 899px) {
    .flatpickr-calendar.vr-room-date-calendar .flatpickr-weekdays,
    .flatpickr-calendar.vr-room-date-calendar .flatpickr-days {
        gap: 0;
    }

    .flatpickr-calendar.vr-room-date-calendar .flatpickr-weekdaycontainer,
    .flatpickr-calendar.vr-room-date-calendar .dayContainer {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    body.vr-room-calendar-open {
        overflow: hidden;
    }

    body.vr-room-calendar-open::before {
        content: "";
        position: fixed;
        z-index: 9998;
        inset: 0;
        background: rgba(25, 22, 19, 0.48);
        backdrop-filter: blur(2px);
    }

    .flatpickr-calendar.vr-room-date-calendar.open {
        position: fixed !important;
        z-index: 9999 !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: none !important;
        max-height: min(84vh, 650px);
        margin: 0 !important;
        padding: 0.75rem max(1rem, env(safe-area-inset-right)) calc(0.8rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)) !important;
        overflow-y: auto;
        border: 0 !important;
        border-radius: 18px 18px 0 0 !important;
        box-shadow: 0 -18px 50px rgba(25, 22, 19, 0.24) !important;
        animation: none !important;
        transform: none !important;
    }

    .flatpickr-calendar.vr-room-date-calendar::before,
    .flatpickr-calendar.vr-room-date-calendar::after {
        display: none !important;
    }

    .flatpickr-calendar.vr-room-date-calendar .flatpickr-prev-month,
    .flatpickr-calendar.vr-room-date-calendar .flatpickr-next-month {
        top: 58px !important;
        height: 42px;
        padding: 12px !important;
    }

    .vr-room-calendar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        margin-bottom: 0.25rem;
        color: var(--text-main);
        font-family: var(--font-heading);
        font-size: 1.15rem;
    }

    .vr-room-calendar-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(166, 124, 82, 0.1);
        color: var(--text-main);
        font-size: 1.1rem;
        cursor: pointer;
    }

    .vr-room-calendar-close:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }

    .vr-room-calendar-footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.75rem;
        align-items: center;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(53, 45, 38, 0.12);
    }

    .vr-room-calendar-hint {
        overflow: hidden;
        color: var(--text-main);
        font-size: 0.82rem;
        font-weight: 650;
        line-height: 1.35;
        text-overflow: ellipsis;
    }

    .vr-room-calendar-footer .btn {
        min-height: 46px;
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }

    .room-date-control {
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    }

    .room-date-field {
        padding-right: 0.6rem;
        padding-left: 0.6rem;
    }

    .room-date-field input {
        font-size: 0.82rem;
    }
}

@media (max-width: 390px) {
    .room-date-input-wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .room-date-input-wrap > i {
        display: none;
    }

    .vr-room-calendar-footer {
        grid-template-columns: 1fr;
    }

    .vr-room-calendar-footer .btn {
        width: 100%;
    }
}
