/* ==========================================================================
   Exquisite Pool Villas — customer site
   Black · gold · white, bright and airy. Loaded after Bootstrap/AdminLTE.
   ========================================================================== */

:root {
    --ev-ink: #0d0d0f;
    --ev-ink-2: #19191c;
    --ev-ink-3: #2a2a2e;
    --ev-gold: #c6a15b;
    --ev-gold-light: #ead6a6;
    --ev-gold-deep: #94733a;
    --ev-white: #ffffff;
    --ev-pearl: #f7f6f2;
    --ev-line: #e8e3d8;
    --ev-text: #26262a;
    --ev-muted: #76767c;
    --ev-display: 'Marcellus', 'Prompt', serif;
    --ev-body: 'Jost', 'Prompt', system-ui, sans-serif;
    --ev-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ev-shadow: 0 30px 60px -40px rgba(13, 13, 15, 0.45);
    --ev-header-h: 84px;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body.ev-body {
    font-family: var(--ev-body);
    font-weight: 400;
    color: var(--ev-text) !important;
    background: var(--ev-white) !important;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.ev-body h1, .ev-body h2, .ev-body h3, .ev-body h4, .ev-body h5 {
    font-family: var(--ev-display);
    font-weight: 400;
    color: var(--ev-ink);
    letter-spacing: 0.01em;
}
.ev-body a { color: var(--ev-gold-deep); transition: color 0.2s; }
.ev-body a:hover { color: var(--ev-ink); text-decoration: none; }
.ev-body img { max-width: 100%; }
.ev-body ::selection { background: var(--ev-gold-light); color: var(--ev-ink); }

.ev-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ev-main { min-height: 60vh; overflow-x: clip; }
.ev-main--offset { padding-top: var(--ev-header-h); }
.ev-section { padding: 96px 0; }
.ev-section--pearl { background: var(--ev-pearl); }
.ev-section--tight { padding: 64px 0; }

.ev-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ev-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ev-gold-deep);
}
.ev-eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.ev-eyebrow--light { color: var(--ev-gold-light); }

.ev-heading { margin-bottom: 48px; }
.ev-heading h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 14px 0 0; }
.ev-heading p { color: var(--ev-muted); max-width: 620px; margin: 16px 0 0; }
.ev-heading--center { text-align: center; }
.ev-heading--center .ev-eyebrow::after { content: ''; width: 36px; height: 1px; background: currentColor; }
.ev-heading--center p { margin-left: auto; margin-right: auto; }
.ev-heading--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

.ev-rule { width: 64px; height: 2px; background: var(--ev-gold); border: 0; margin: 22px 0; }

/* ---------- buttons ---------- */
.ev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid var(--ev-ink);
    border-radius: 2px;
    background: var(--ev-ink);
    color: var(--ev-white) !important;
    font-family: var(--ev-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s var(--ev-ease), color 0.25s, border-color 0.25s, transform 0.25s;
}
.ev-btn:hover { background: var(--ev-gold); border-color: var(--ev-gold); color: var(--ev-ink) !important; }
.ev-btn:disabled, .ev-btn.disabled { opacity: 0.45; pointer-events: none; }
.ev-btn--gold { background: var(--ev-gold); border-color: var(--ev-gold); color: var(--ev-ink) !important; }
.ev-btn--gold:hover { background: var(--ev-ink); border-color: var(--ev-ink); color: var(--ev-gold-light) !important; }
.ev-btn--outline { background: transparent; color: var(--ev-ink) !important; }
.ev-btn--outline:hover { background: var(--ev-ink); color: var(--ev-white) !important; border-color: var(--ev-ink); }
.ev-btn--light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--ev-white) !important; }
.ev-btn--light:hover { background: var(--ev-white); border-color: var(--ev-white); color: var(--ev-ink) !important; }
.ev-btn--line { background: #06c755; border-color: #06c755; }
.ev-btn--line:hover { background: #05b04b; border-color: #05b04b; color: #fff !important; }
.ev-btn--block { width: 100%; }
.ev-btn--sm { min-height: 40px; padding: 0 18px; font-size: 12px; }

.ev-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ev-ink) !important;
    border-bottom: 1px solid var(--ev-gold);
    padding-bottom: 4px;
}
.ev-link i { transition: transform 0.25s var(--ev-ease); }
.ev-link:hover i { transform: translateX(4px); }

/* legacy Bootstrap buttons used by booking scripts */
.ev-body .btn { border-radius: 2px; font-family: var(--ev-body); letter-spacing: 0.06em; }
.ev-body .btn-success, .ev-body .bg-gradient-success, .ev-body .btn-primary {
    background: var(--ev-ink) !important;
    border-color: var(--ev-ink) !important;
    color: var(--ev-white) !important;
    padding: 0.7rem 1.6rem;
    box-shadow: none !important;
}
.ev-body .btn-success:hover, .ev-body .bg-gradient-success:hover, .ev-body .btn-primary:hover {
    background: var(--ev-gold) !important;
    border-color: var(--ev-gold) !important;
    color: var(--ev-ink) !important;
}
.ev-body .btn-outline-info { border-color: var(--ev-line) !important; color: var(--ev-ink) !important; }
.ev-body .btn-outline-info:hover { background: var(--ev-ink) !important; color: #fff !important; }

/* ---------- forms ---------- */
.ev-body .form-control, .ev-body .custom-select {
    height: auto;
    min-height: 48px;
    border: 1px solid var(--ev-line);
    border-radius: 2px;
    color: var(--ev-ink);
    font-family: var(--ev-body);
    box-shadow: none !important;
}
.ev-body .form-control:focus { border-color: var(--ev-gold); }
.ev-body label { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ev-muted); margin-bottom: 8px; }
.ev-body .form-check-label { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ev-text); }
.ev-body .input-group-text { background: var(--ev-pearl); border-color: var(--ev-line); border-radius: 2px; color: var(--ev-gold-deep); }
.ev-body .custom-file-label { border-radius: 2px; border-color: var(--ev-line); min-height: 48px; line-height: 2.2; }
.ev-body .custom-file-label::after { height: 46px; line-height: 2.2; background: var(--ev-ink); color: #fff; border-radius: 0; }

/* ---------- header ---------- */
.ev-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    height: var(--ev-header-h);
    transition: background 0.35s var(--ev-ease), box-shadow 0.35s, height 0.35s;
}
.ev-header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ev-header.is-solid, .ev-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 var(--ev-line), 0 20px 40px -30px rgba(13, 13, 15, 0.35);
    backdrop-filter: blur(12px);
}
.ev-header.is-overlay:not(.is-scrolled) { background: linear-gradient(180deg, rgba(8, 8, 10, 0.55), rgba(8, 8, 10, 0)); }

.ev-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--ev-ink) !important; }
.ev-brand img { height: 50px; width: auto; }
.ev-brand__text { display: flex; flex-direction: column; line-height: 1; }
.ev-brand__text b { font-family: var(--ev-display); font-weight: 400; font-size: 20px; letter-spacing: 0.24em; }
.ev-brand__text small { margin-top: 6px; font-size: 10px; letter-spacing: 0.42em; color: var(--ev-gold-deep); }
.is-overlay:not(.is-scrolled) .ev-brand { color: var(--ev-white) !important; }
.is-overlay:not(.is-scrolled) .ev-brand__text small { color: var(--ev-gold-light); }

.ev-nav { display: flex; align-items: center; gap: 4px; }
.ev-nav a {
    position: relative;
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ev-ink-3) !important;
}
.ev-nav a::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 1px;
    background: var(--ev-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ev-ease);
}
.ev-nav a:hover::after, .ev-nav a.is-active::after { transform: scaleX(1); }
.ev-nav a.is-active { color: var(--ev-gold-deep) !important; }
.is-overlay:not(.is-scrolled) .ev-nav a { color: rgba(255, 255, 255, 0.88) !important; }
.is-overlay:not(.is-scrolled) .ev-nav a.is-active { color: var(--ev-gold-light) !important; }

.ev-header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ev-lang { display: inline-flex; flex-shrink: 0; border: 1px solid var(--ev-line); border-radius: 2px; overflow: hidden; }
.ev-lang span { white-space: nowrap; padding: 5px 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--ev-muted); }
.ev-lang span.is-on { background: var(--ev-ink); color: var(--ev-gold-light); }
.is-overlay:not(.is-scrolled) .ev-lang { border-color: rgba(255, 255, 255, 0.4); }
.is-overlay:not(.is-scrolled) .ev-lang span { color: rgba(255, 255, 255, 0.75); }
.is-overlay:not(.is-scrolled) .ev-lang span.is-on { background: var(--ev-white); color: var(--ev-ink); }

.ev-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ev-line);
    border-radius: 2px;
    background: transparent;
    color: var(--ev-ink) !important;
    font-size: 17px;
    cursor: pointer;
}
.is-overlay:not(.is-scrolled) .ev-icon-btn { border-color: rgba(255, 255, 255, 0.4); color: var(--ev-white) !important; }
.ev-header .ev-btn--outline { min-height: 44px; }
.is-overlay:not(.is-scrolled) .ev-header__actions .ev-btn--outline { border-color: rgba(255, 255, 255, 0.7); color: var(--ev-white) !important; }
.is-overlay:not(.is-scrolled) .ev-header__actions .ev-btn--outline:hover { background: var(--ev-white); color: var(--ev-ink) !important; }

.ev-user { position: relative; }
.ev-user__btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.ev-user__btn img { flex-shrink: 0; }
.ev-user__name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
/* logged in (no Book now button there): the name only shows on very wide screens */
@media (max-width: 1699.98px) { .ev-user__name { display: none; } }
.ev-user__btn img, .ev-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--ev-gold); }
.is-overlay:not(.is-scrolled) .ev-user__btn { color: var(--ev-white); }
.ev-user .dropdown-menu { border: 1px solid var(--ev-line); border-radius: 2px; box-shadow: var(--ev-shadow); padding: 8px; min-width: 220px; margin-top: 12px; }
.ev-user .dropdown-item { padding: 10px 14px; font-size: 14px; color: var(--ev-text); border-radius: 2px; }
.ev-user .dropdown-item i { width: 20px; color: var(--ev-gold-deep); }
.ev-user .dropdown-item:hover { background: var(--ev-pearl); color: var(--ev-ink); }

/* mobile menu */
.ev-menu {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: var(--ev-ink);
    color: var(--ev-white);
    display: flex;
    flex-direction: column;
    padding: 24px 28px calc(28px + env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ev-ease), transform 0.35s var(--ev-ease), visibility 0.35s;
    overflow-y: auto;
}
.ev-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.ev-menu__top { display: flex; align-items: center; justify-content: space-between; }
.ev-menu__top .ev-brand { color: var(--ev-white) !important; }
.ev-menu__top .ev-brand__text small { color: var(--ev-gold-light); }
.ev-menu__close { color: var(--ev-white) !important; border-color: rgba(255, 255, 255, 0.25) !important; }
.ev-menu__links { list-style: none; margin: 44px 0 0; padding: 0; }
.ev-menu__links li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ev-menu__links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-family: var(--ev-display); font-size: 26px; color: var(--ev-white) !important; }
.ev-menu__links a i { font-size: 14px; color: var(--ev-gold); }
.ev-menu__links a.is-active { color: var(--ev-gold-light) !important; }
.ev-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.ev-menu__user { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.8); }
body.ev-menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.ev-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--ev-white); overflow: hidden; }
.ev-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: ev-zoom 18s var(--ev-ease) both; }
.ev-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 10, 0.2) 0%, rgba(8, 8, 10, 0) 35%, rgba(8, 8, 10, 0.15) 55%, rgba(8, 8, 10, 0.72) 100%); }
.ev-hero__content { position: relative; z-index: 1; width: 100%; padding-bottom: 150px; }
.ev-hero h1 { color: var(--ev-white); font-size: clamp(40px, 7vw, 92px); line-height: 1.02; margin: 18px 0 0; letter-spacing: 0.04em; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.ev-hero p { max-width: 560px; margin: 20px 0 0; font-size: 18px; font-weight: 300; color: rgba(255, 255, 255, 0.9); }
.ev-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@keyframes ev-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* inner page hero */
.ev-pagehero { position: relative; padding: calc(var(--ev-header-h) + 72px) 0 88px; color: var(--ev-white); overflow: hidden; background: var(--ev-ink); }
.ev-pagehero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.ev-pagehero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 10, 0.55), rgba(8, 8, 10, 0.35) 60%, rgba(8, 8, 10, 0.65)); }
.ev-pagehero .ev-container { position: relative; z-index: 1; }
.ev-pagehero h1 { color: var(--ev-white); font-size: clamp(34px, 5vw, 60px); margin: 14px 0 0; line-height: 1.1; }
.ev-pagehero p { color: rgba(255, 255, 255, 0.82); max-width: 620px; margin: 14px 0 0; }

/* ---------- search ---------- */
.ev-search {
    position: relative;
    z-index: 5;
    background: var(--ev-white);
    border-top: 2px solid var(--ev-gold);
    box-shadow: 0 40px 70px -40px rgba(13, 13, 15, 0.5);
    padding: 26px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}
.ev-search--float { margin-top: -86px; }
.ev-search__field label { display: flex; align-items: center; gap: 8px; }
.ev-search__field label i { color: var(--ev-gold); }
.ev-search__field .form-control { border-width: 0 0 1px; padding-left: 0; font-size: 17px; background: transparent; }
.ev-search__field .form-control:focus { border-color: var(--ev-gold); }
.ev-search__field .form-control[readonly] { background: transparent; cursor: pointer; }
.ev-stepper { display: flex; align-items: center; border-bottom: 1px solid var(--ev-line); min-height: 48px; }
.ev-stepper .form-control { border: 0 !important; text-align: center; font-size: 17px; -moz-appearance: textfield; }
.ev-stepper .form-control::-webkit-inner-spin-button, .ev-stepper .form-control::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ev-stepper button { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--ev-line); background: var(--ev-white); color: var(--ev-ink); border-radius: 50%; cursor: pointer; transition: all 0.2s; }
.ev-stepper button:hover { border-color: var(--ev-gold); color: var(--ev-gold-deep); }
.ev-search .ev-btn { min-height: 56px; padding: 0 36px; }

/* datepicker */
.datepicker.dropdown-menu { border: 1px solid var(--ev-line); border-radius: 2px; box-shadow: var(--ev-shadow); padding: 10px; font-family: var(--ev-body); }
.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.active { background: var(--ev-ink) !important; color: var(--ev-gold-light) !important; text-shadow: none; }
.datepicker table tr td.today { background: var(--ev-gold-light) !important; }
.datepicker table tr td, .datepicker table tr th { border-radius: 2px; width: 36px; height: 34px; }

/* ---------- stats ---------- */
.ev-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ev-line); border-bottom: 1px solid var(--ev-line); }
.ev-stat { padding: 34px 24px; text-align: center; }
.ev-stat + .ev-stat { border-left: 1px solid var(--ev-line); }
.ev-stat b { display: block; font-family: var(--ev-display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--ev-gold-deep); }
.ev-stat b i { font-size: 34px; }
.ev-stat span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ev-muted); }

/* ---------- villa card ---------- */
.ev-grid { display: grid; gap: 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ev-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ev-villa { display: flex; flex-direction: column; background: var(--ev-white); transition: transform 0.45s var(--ev-ease); }
.ev-villa:hover { transform: translateY(-6px); }
.ev-villa__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ev-pearl); }
.ev-villa__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ev-ease); }
.ev-villa:hover .ev-villa__media img { transform: scale(1.06); }
.ev-villa__media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.55)); }
.ev-tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 12px; background: var(--ev-ink); color: var(--ev-gold-light); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.ev-tag--gold { background: var(--ev-gold); color: var(--ev-ink); }
.ev-villa__price { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: var(--ev-white); line-height: 1.2; }
.ev-villa__price small { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ev-gold-light); }
.ev-villa__price s { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-right: 6px; }
.ev-villa__price b { font-family: var(--ev-display); font-weight: 400; font-size: 26px; }
.ev-villa__price em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.ev-villa__body { padding: 20px 2px 0; display: flex; flex-direction: column; flex: 1; }
.ev-villa__name { font-size: 23px; line-height: 1.25; margin: 0; }
.ev-villa__name a { color: var(--ev-ink) !important; }
.ev-villa__loc { margin-top: 6px; font-size: 14px; color: var(--ev-muted); }
.ev-villa__loc i { color: var(--ev-gold); margin-right: 4px; }
.ev-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--ev-line); list-style: none; font-size: 14px; color: var(--ev-text); }
.ev-specs li { display: inline-flex; align-items: center; gap: 7px; }
.ev-specs i { color: var(--ev-gold-deep); font-size: 13px; }
.ev-villa__foot { margin-top: auto; padding-top: 18px; }

/* ---------- split feature ---------- */
.ev-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ev-arch { position: relative; }
.ev-arch__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 320px 320px 0 0; }
.ev-arch__small { position: absolute; right: -40px; bottom: -40px; width: 46%; aspect-ratio: 1; object-fit: cover; border: 10px solid var(--ev-white); box-shadow: var(--ev-shadow); }
.ev-arch__badge { position: absolute; left: -24px; top: 18%; background: var(--ev-ink); color: var(--ev-white); padding: 18px 22px; text-align: center; line-height: 1.1; }
.ev-arch__badge b { display: block; font-family: var(--ev-display); font-weight: 400; font-size: 34px; color: var(--ev-gold-light); }
.ev-arch__badge span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.ev-perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.ev-perks li { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.ev-perks i { flex: 0 0 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ev-gold); border-radius: 50%; color: var(--ev-gold-deep); }

/* ---------- gallery strip ---------- */
.ev-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 12px; }
.ev-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.ev-mosaic img:first-child { grid-row: span 2; }

/* ---------- CTA ---------- */
.ev-cta { position: relative; padding: 130px 0; color: var(--ev-white); text-align: center; overflow: hidden; background: var(--ev-ink); }
.ev-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.ev-cta .ev-container { position: relative; z-index: 1; }
.ev-cta h2 { color: var(--ev-white); font-size: clamp(32px, 4.6vw, 56px); margin: 16px auto 0; max-width: 820px; line-height: 1.15; }
.ev-cta p { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 18px auto 0; }
.ev-cta__actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- events / articles ---------- */
.ev-post { display: block; color: var(--ev-text) !important; }
.ev-post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ev-pearl); }
.ev-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ev-ease); }
.ev-post:hover .ev-post__media img { transform: scale(1.05); }
.ev-post h3 { font-size: 21px; margin: 18px 0 6px; line-height: 1.35; }
.ev-post small { color: var(--ev-muted); letter-spacing: 0.06em; }

.ev-prose { font-size: 17px; line-height: 1.85; color: var(--ev-text); overflow-wrap: anywhere; }
/* CMS content is sometimes pasted inside <pre> or wide tables/iframes: keep it inside the column */
.ev-prose pre { white-space: pre-wrap; font-family: inherit; font-size: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; overflow: visible; }
.ev-prose table, .ev-prose iframe, .ev-prose video { max-width: 100%; }
.ev-prose table { display: block; overflow-x: auto; }
.ev-prose img { height: auto !important; margin: 12px 0; }
.ev-prose h1, .ev-prose h2, .ev-prose h3 { margin: 1.4em 0 0.6em; }
.ev-prose p { margin: 0 0 1em; }
.ev-prose table { width: 100%; }
.ev-card { background: var(--ev-white); border: 1px solid var(--ev-line); padding: 40px; }
.ev-card--pad-lg { padding: 56px; }

.ev-empty { text-align: center; padding: 72px 24px; border: 1px dashed var(--ev-line); color: var(--ev-muted); }
.ev-empty i { font-size: 34px; color: var(--ev-gold); margin-bottom: 14px; }
.ev-empty h3 { font-size: 24px; }

/* ---------- villa detail ---------- */
.ev-detail-top { padding-top: calc(var(--ev-header-h) + 28px); }
.ev-gallery { position: relative; background: var(--ev-ink); overflow: hidden; }
.ev-gallery .carousel-item img { width: 100%; height: min(72vh, 680px); object-fit: cover; }
.ev-gallery .carousel-control-prev, .ev-gallery .carousel-control-next { width: 64px; opacity: 1; }
.ev-gallery .carousel-control-prev span, .ev-gallery .carousel-control-next span {
    width: 48px; height: 48px; border-radius: 50%; background-color: rgba(13, 13, 15, 0.55); background-size: 14px; backdrop-filter: blur(6px); transition: background-color 0.2s;
}
.ev-gallery .carousel-control-prev:hover span, .ev-gallery .carousel-control-next:hover span { background-color: rgba(13, 13, 15, 0.85); }
.ev-gallery__count { position: absolute; right: 18px; bottom: 16px; z-index: 5; padding: 6px 12px; background: rgba(8, 8, 10, 0.7); color: #fff; font-size: 12px; letter-spacing: 0.14em; }
.box_slide_over { width: 100%; overflow: hidden; white-space: nowrap; margin-top: 10px; }
.img_scroll { display: flex; gap: 8px; position: relative; transition: transform 0.5s var(--ev-ease); }
.box_slide_over img { flex: 0 0 132px; width: 132px; height: 84px; object-fit: cover; margin: 0 !important; }
.click_over_scroll { cursor: pointer; opacity: 0.5; transition: opacity 0.2s; border: 2px solid transparent; }
.click_over_scroll:hover { opacity: 0.9; }
.active_img { border: 2px solid var(--ev-gold) !important; opacity: 1; }

.ev-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; margin-top: 44px; }
.ev-detail__title h1 { font-size: clamp(32px, 4vw, 50px); margin: 12px 0 0; line-height: 1.1; }
.ev-detail__loc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: var(--ev-muted); }
.ev-detail__loc i { color: var(--ev-gold); }
.ev-specbar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0 0; border: 1px solid var(--ev-line); }
.ev-specbar div { padding: 20px 14px; text-align: center; }
.ev-specbar div + div { border-left: 1px solid var(--ev-line); }
.ev-specbar i { color: var(--ev-gold-deep); font-size: 20px; }
.ev-specbar b { display: block; margin-top: 8px; font-family: var(--ev-display); font-weight: 400; font-size: 26px; line-height: 1; color: var(--ev-ink); }
.ev-specbar span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ev-muted); }

.ev-tabs.nav-tabs { border-bottom: 1px solid var(--ev-line); gap: 8px; margin-top: 40px; }
.ev-tabs .nav-link { border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0; padding: 14px 6px; margin-right: 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ev-muted) !important; background: none !important; }
.ev-tabs .nav-link.active { color: var(--ev-ink) !important; border-bottom-color: var(--ev-gold) !important; }

.ev-block { padding: 34px 0; border-bottom: 1px solid var(--ev-line); }
.ev-block:last-child { border-bottom: 0; }
.ev-block h3 { font-size: 24px; margin: 0 0 18px; }
.ev-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 24px; }
.ev-amenities > div { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.ev-amenities i { color: var(--ev-gold-deep); width: 18px; text-align: center; }

.ev-booking-card { position: sticky; top: calc(var(--ev-header-h) + 20px); background: var(--ev-ink); color: var(--ev-white); padding: 30px; }
.ev-booking-card small { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ev-gold-light); }
.ev-booking-card .ev-price-big { font-family: var(--ev-display); font-size: 44px; line-height: 1; color: var(--ev-white); margin: 10px 0 4px; }
.ev-booking-card .ev-price-big em { font-family: var(--ev-body); font-style: normal; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.ev-booking-card s { color: rgba(255, 255, 255, 0.5); font-size: 14px; }
.ev-booking-card hr { border-color: rgba(255, 255, 255, 0.12); margin: 22px 0; }
.ev-booking-card .ev-btn { width: 100%; }
.ev-booking-card p { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin: 14px 0 0; }

.ev-calendar-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 8px; }
.ev-pricelist { list-style: none; margin: 0; padding: 0; }
.ev-pricelist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--ev-line); font-size: 15px; }
.ev-pricelist b { font-weight: 500; color: var(--ev-ink); }
/* today's row is filled with the Thai colour of the day (holidays use the calendar legend colours) */
.ev-pricelist li.ev-day { align-items: center; margin: 4px -12px; padding: 12px; border: 0; border-radius: 2px; color: #fff; box-shadow: 0 12px 24px -16px rgba(13, 13, 15, 0.6); }
.ev-day__today { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 20px; background: rgba(255, 255, 255, 0.92); color: var(--ev-ink); font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 1px; }
.ev-pricelist li.ev-day b { color: inherit; font-weight: 600; }
.ev-day--sun { background: #e0312f; }
.ev-day--mon { background: #fbd235; color: var(--ev-ink) !important; }
.ev-day--tue { background: #e8508a; }
.ev-day--wed { background: #2e9b4a; }
.ev-day--thu { background: #f28a1e; }
.ev-day--fri { background: #3aa7e8; }
.ev-day--sat { background: #7d3fb0; }
.ev-day--ph { background: rgb(255, 168, 0); color: var(--ev-ink) !important; }
.ev-day--ah { background: rgb(0, 132, 255); }
.ev-legend { display: grid; gap: 10px; margin-top: 8px; font-size: 14px; }
.ev-legend > div { display: flex; align-items: center; gap: 10px; }

/* full calendar */
.ev-body .fc { font-family: var(--ev-body); }
.ev-body .fc .fc-toolbar-title { font-family: var(--ev-display); font-size: 26px; color: var(--ev-ink); }
.ev-body .fc .fc-button-primary { background: var(--ev-white); border: 1px solid var(--ev-line); color: var(--ev-ink); border-radius: 2px; box-shadow: none !important; }
.ev-body .fc .fc-button-primary:hover, .ev-body .fc .fc-button-primary:not(:disabled):active { background: var(--ev-ink); border-color: var(--ev-ink); color: var(--ev-gold-light); }
.ev-body .fc-theme-standard td, .ev-body .fc-theme-standard th, .ev-body .fc-theme-standard .fc-scrollgrid { border-color: var(--ev-line); }
.ev-body .fc .fc-col-header-cell-cushion { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ev-muted); padding: 10px 4px; }
.ev-body .fc .fc-daygrid-day-number { color: var(--ev-ink) !important; font-size: 16px; }
.ev-body .fc .fc-day-today { background: rgba(198, 161, 91, 0.12) !important; }
.ev-body .fc .fc-highlight { background: rgba(198, 161, 91, 0.3); }
.fc .fc-day-other .fc-daygrid-day-top { z-index: 4; position: relative; }
.fc .fc-bg-event .fc-event-title { color: #000 !important; font-size: 13px !important; }
.fc .fc-bg-event { opacity: 1; }
.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events { min-height: 0 !important; }
.fc .fc-daygrid-day-top { display: block; }
.fc-daygrid-day { cursor: pointer; }

.box_status { width: 16px; height: 16px; display: inline-block; flex: 0 0 16px; border-radius: 2px; }
.red_color { background-color: rgb(255, 0, 0); }
.blue_color { background-color: rgb(0, 132, 255); }
.or_color { background-color: rgb(255, 168, 0); }
.green_color { background-color: rgb(3, 163, 0); }
.yel_color { background-color: rgb(255, 230, 0); }

/* ---------- modals ---------- */
.ev-body .modal-content { border: 0; border-radius: 2px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.ev-body .modal-header { border-bottom: 1px solid var(--ev-line); padding: 20px 26px; align-items: center; }
.ev-body .modal-title { font-family: var(--ev-display); font-size: 24px; color: var(--ev-ink); }
.ev-body .modal-header .close { font-size: 26px; opacity: 0.6; color: var(--ev-ink); text-shadow: none; }
.ev-body .modal-body { padding: 26px; }
.ev-modal-hero { margin: -26px -26px 24px; padding: 30px 26px; background: var(--ev-ink); color: #fff; text-align: center; }
.ev-modal-hero small { letter-spacing: 0.2em; text-transform: uppercase; color: var(--ev-gold-light); font-size: 11px; }
.ev-modal-hero .ev-price-big { font-family: var(--ev-display); font-size: 38px; line-height: 1.1; margin-top: 6px; }
.ev-modal-hero p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.ev-terms { max-height: 230px; overflow-y: auto; padding: 18px 20px; background: var(--ev-pearl); font-size: 14px; line-height: 1.7; text-align: left; }
.ev-terms h4 { font-size: 18px; margin: 0 0 8px; }
.ev-terms h4 + p { margin-top: 0; }
.ev-terms p { margin: 0 0 6px; }

.ev-login { text-align: center; }
.ev-login img { height: 64px; }
.ev-login h5 { font-family: var(--ev-display); font-size: 26px; margin: 12px 0 22px; }
.ev-login form { text-align: left; }
.ev-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ev-muted); }
.ev-divider::before, .ev-divider::after { content: ''; flex: 1; height: 1px; background: var(--ev-line); }

/* ---------- payment ---------- */
.ev-pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev-body .payment {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--ev-line);
    border-radius: 2px;
    background: var(--ev-white);
    color: var(--ev-text);
    text-align: left;
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ev-body .payment:hover { border-color: var(--ev-gold); box-shadow: var(--ev-shadow); }
.ev-body .payment.is-selected { border-color: var(--ev-gold); box-shadow: inset 0 0 0 1px var(--ev-gold); background: #fffcf4; }
.ev-body .payment.is-selected::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--ev-gold); color: var(--ev-ink); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.payment img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; flex: 0 0 52px; }
.ev-pay-text { display: flex; flex-direction: column; line-height: 1.35; }
.ev-pay-text strong { font-size: 16px; font-weight: 500; color: var(--ev-ink); }
.ev-pay-text em { font-style: normal; font-size: 13px; color: var(--ev-gold-deep); }
.ev-pay-text small { font-size: 12px; color: var(--ev-muted); }

.ev-summary { background: var(--ev-pearl); padding: 30px; }
.ev-summary h2 { font-size: 26px; margin: 0 0 16px; }
.ev-summary__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--ev-line); }
.ev-summary__row > :last-child { margin-left: auto; text-align: right; }
.ev-summary__row--total { border-bottom: 0; padding-top: 16px; font-size: 18px; }
.ev-summary__row--total { align-items: baseline; }
.ev-summary__row--total b { font-family: var(--ev-body); font-weight: 500; font-size: 30px; color: var(--ev-gold-deep); font-variant-numeric: tabular-nums; }
.ev-summary__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: 14px; color: var(--ev-muted); }
.ev-summary__meta i { color: var(--ev-gold-deep); margin-right: 4px; }
.ev-timer { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 16px; background: var(--ev-ink); color: var(--ev-gold-light); font-size: 14px; letter-spacing: 0.04em; }
.ev-timer .btn { margin-top: 8px; }

.ev-villa-mini { display: flex; align-items: center; gap: 18px; }
.ev-villa-mini img { width: 120px; height: 90px; object-fit: cover; flex: 0 0 120px; }
.ev-villa-mini h1 { font-size: 28px; margin: 4px 0 0; }

/* ---------- history ---------- */
.ev-history { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 22px; border: 1px solid var(--ev-line); background: var(--ev-white); }
.ev-history + .ev-history { margin-top: 18px; }
.ev-history img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ev-history h4 { font-size: 22px; margin: 0 0 6px; }
.ev-history h4 small { font-family: var(--ev-body); font-size: 13px; color: var(--ev-muted); letter-spacing: 0.1em; margin-right: 6px; }
.ev-history ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: 14px; color: var(--ev-muted); }
.ev-history ul i { width: 18px; color: var(--ev-gold-deep); }
.ev-status { display: inline-block; padding: 4px 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid currentColor; }
.ev-status--wait { color: #8a8a90; }
.ev-status--ok { color: #1f8a4c; }
.ev-status--cancel { color: #c0392b; }
.ev-status--other { color: var(--ev-gold-deep); }

/* ---------- footer ---------- */
.ev-footer { background: var(--ev-ink); color: rgba(255, 255, 255, 0.72); padding: 88px 0 0; margin-top: 0; }
.ev-footer a { color: rgba(255, 255, 255, 0.72) !important; }
.ev-footer a:hover { color: var(--ev-gold-light) !important; }
.ev-footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr; gap: 48px; }
.ev-footer__logo { width: 170px; margin-bottom: 20px; }
.ev-footer h4 { font-family: var(--ev-body); font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ev-gold); margin: 0 0 20px; }
.ev-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ev-footer ul i { width: 20px; color: var(--ev-gold); }
.ev-social { display: flex; gap: 10px; margin-top: 22px; }
.ev-social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; font-size: 16px; }
.ev-social a:hover { border-color: var(--ev-gold); }
.ev-footer__bottom { margin-top: 64px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.ev-footer .fb-page { max-width: 100%; }

/* floating LINE */
.ev-float-line { position: fixed; right: 20px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 1020; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; background: var(--ev-white); border: 1px solid var(--ev-line); border-radius: 40px; box-shadow: 0 20px 40px -20px rgba(13, 13, 15, 0.45); color: var(--ev-ink) !important; font-size: 13px; line-height: 1.2; }
.ev-float-line small { display: block; font-size: 11px; color: var(--ev-muted); }
.ev-float-line span.ev-float-line__icon { width: 44px; height: 44px; border-radius: 50%; background: #06c755; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.ev-float-line:hover { color: var(--ev-ink) !important; transform: translateY(-2px); }

/* logged-in bottom bar (phones) */
.ev-tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1025; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ev-ink); border-radius: 16px; padding: 8px 4px; box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.55); }
.ev-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.62) !important; }
.ev-tabbar a i { font-size: 18px; }
.ev-tabbar a.is-active { color: var(--ev-gold-light) !important; }
.ev-has-tabbar .ev-float-line { bottom: calc(96px + env(safe-area-inset-bottom)); }
.ev-has-tabbar .ev-footer__bottom { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

/* sweetalert */
.swal2-popup { font-family: var(--ev-body) !important; border-radius: 2px !important; }
.swal2-styled.swal2-confirm { background: var(--ev-ink) !important; border-radius: 2px !important; }

/* legacy classes still printed by the CMS */
.txt_location { color: inherit; }
.txt_price_temp { text-decoration: line-through; }
.color_mark { color: #c0392b; }
.card img { width: 100%; }

.ev-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
@media (max-width: 991.98px) { .ev-auth { grid-template-columns: 1fr; } }

/* ---------- error pages ---------- */
.ev-error { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; background: var(--ev-white); }
.ev-error img { width: 200px; }
.ev-error b { display: block; font-family: var(--ev-display); font-weight: 400; font-size: clamp(90px, 16vw, 170px); line-height: 1; color: var(--ev-gold); margin-top: 16px; }
.ev-error h1 { font-size: 34px; margin: 10px 0; }
.ev-error p { color: var(--ev-muted); max-width: 460px; margin: 0 auto 28px; }

/* ---------- AOS: keep motion subtle ---------- */
[data-aos] { transition-timing-function: var(--ev-ease) !important; }

/* ---------- Thai: no wide tracking or forced caps on Thai script ---------- */
html[lang="th"] .ev-nav a, html[lang="th"] .ev-btn, html[lang="th"] .ev-link, html[lang="th"] .ev-eyebrow,
html[lang="th"] .ev-body label, html[lang="th"] .ev-stat span, html[lang="th"] .ev-specbar span, html[lang="th"] .ev-tabs .nav-link,
html[lang="th"] .ev-footer h4, html[lang="th"] .ev-tag, html[lang="th"] .ev-villa__price small, html[lang="th"] .ev-booking-card small,
html[lang="th"] .ev-modal-hero small, html[lang="th"] .ev-divider, html[lang="th"] .ev-arch__badge span {
    letter-spacing: 0.02em;
    text-transform: none;
}
html[lang="th"] .ev-nav a { font-size: 15px; font-weight: 400; }
html[lang="th"] .ev-btn { font-size: 15px; }
html[lang="th"] .ev-eyebrow { font-size: 14px; }
html[lang="th"] .ev-body label { font-size: 14px; }
html[lang="th"] .ev-heading h2, html[lang="th"] .ev-hero p { line-height: 1.35; }

/* ---------- responsive ---------- */
@media (max-width: 1535.98px) {
    .ev-header .ev-btn--gold { display: none !important; }
    .ev-nav { gap: 0; }
    .ev-nav a { padding: 10px 9px; letter-spacing: 0.1em; }
    .ev-nav a::after { left: 9px; right: 9px; }
}
@media (max-width: 1199.98px) {
    .ev-header__actions .ev-lang { display: none !important; }
    .ev-brand__text small { display: none; }
}
@media (max-width: 1199.98px) {
    .ev-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ev-detail { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
    .ev-calendar-wrap { grid-template-columns: 1fr; }
    .ev-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991.98px) {
    :root { --ev-header-h: 72px; }
    .ev-section { padding: 72px 0; }
    .ev-search { grid-template-columns: 1fr 1fr; }
    .ev-search .ev-btn { grid-column: 1 / -1; }
    .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ev-split { grid-template-columns: 1fr; gap: 72px; }
    .ev-arch { max-width: 520px; margin: 0 auto; width: 100%; }
    .ev-arch__small { right: -8px; }
    .ev-arch__badge { left: -8px; }
    .ev-detail { grid-template-columns: minmax(0, 1fr); }
    .ev-booking-card { position: static; }
    .ev-pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ev-history { grid-template-columns: 160px minmax(0, 1fr); }
    .ev-history > :last-child { grid-column: 1 / -1; }
    .ev-mosaic { grid-template-rows: 200px 200px; }
}
@media (max-width: 767.98px) {
    .ev-brand img { height: 42px; }
    .ev-brand__text b { font-size: 16px; }
    .ev-brand__text small { font-size: 9px; letter-spacing: 0.34em; }
    .ev-hero__content { padding-bottom: 60px; }
    .ev-hero p { font-size: 16px; }
    .ev-search { grid-template-columns: 1fr; padding: 22px 20px; gap: 16px; }
    .ev-search--float { margin-top: 0; }
    .ev-hero--search .ev-search--float { margin-top: -40px; }
    .ev-stats { grid-template-columns: repeat(2, 1fr); }
    .ev-stat:nth-child(3) { border-left: 0; }
    .ev-stat:nth-child(n + 3) { border-top: 1px solid var(--ev-line); }
    .ev-stat b { font-size: 36px; }
    .ev-grid, .ev-grid--4 { grid-template-columns: 1fr; gap: 40px; }
    .ev-specbar { grid-template-columns: repeat(2, 1fr); }
    .ev-specbar div:nth-child(3) { border-left: 0; }
    .ev-specbar div:nth-child(n + 3) { border-top: 1px solid var(--ev-line); }
    .ev-gallery .carousel-item img { height: 300px; }
    .ev-detail-top { padding-top: var(--ev-header-h); }
    .ev-detail-top .ev-container:first-child { padding: 0; }
    .ev-pay-grid { grid-template-columns: 1fr; }
    .ev-card, .ev-card--pad-lg { padding: 24px; }
    .ev-history { grid-template-columns: 1fr; }
    .ev-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
    .ev-mosaic img:first-child { grid-column: span 2; grid-row: auto; }
    .ev-footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .ev-float-line { padding: 5px; }
    .ev-float-line .ev-float-line__text { display: none; }
    .ev-cta { padding: 96px 0; }
    .ev-villa-mini { flex-direction: column; text-align: center; }
}
