 :root {
    --green: #0f4c5c;
    --green-2: #0b3b47;
    --green-3: #176478;
    --gold: #c8a46a;
    --gold-2: #b88a42;
    --sand: #f6f2eb;
    --cream: #fffcf8;
    --ink: #2f3437;
    --muted: #6f7779;
    --line: #e8e2d9;
    --white: #fff;
    --danger: #a63c31;
    --success: #176343;
    --shadow: 0 18px 55px rgba(15,76,92,.12);
    --radius: 22px;
    --container: 1220px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "Tajawal",Arial,sans-serif;
    line-height: 1.7
}

body[dir=ltr] {
    font-family: "Tajawal",Arial,sans-serif
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

button, input, select, textarea {
    font: inherit
}

button {
    cursor: pointer
}

.container {
    width: min(var(--container),calc(100% - 36px));
    margin-inline: auto
}

.section {
    padding: 86px 0
}

.skip-link {
    position: fixed;
    top: -80px;
    inset-inline-start: 20px;
    background: #fff;
    padding: 10px;
    z-index: 9999
}

.skip-link:focus {
    top: 20px
}

.eyebrow {
    display: inline-flex;
    color: var(--gold-2);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 8px
}

.eyebrow.light {
    color: #f3d79e
}

.btn {
    border: 0;
    border-radius: 14px;
    background: #938377;
    color: #fff;
    padding: 13px 22px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .22s
}

.btn:hover {
    background:#342E26;
    transform: translateY(-1px)
}

.btn-sm {
    padding: 9px 16px;
    border-radius: 11px;
    font-size: .9rem
}

.btn-block {
    width: 100%
}

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

.btn-outline:hover {
    color: #fff
}

.btn-gold {
    background: var(--gold);
    color: #17333a
}

.btn-gold:hover {
    background: #d7b778
}

.text-link {
    color: #2f3437;
    font-weight: 700
}

.link-danger {
    background: none;
    border: 0;
    color: var(--danger);
    padding: 5px
}

.site-header {
    height: 78px;
    background: #DED8CD;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232,226,217,.8);
    position: sticky;
    top: 0;
    z-index: 500
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
}

.brand {
    position: absolute;
    right: -88px;
    margin: 0;
}
.brand img {
    width: 70px;
    height: auto;
}

.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 700;
}
.main-nav a {
    position: relative;
    padding: 8px 0
}

.main-nav a:after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: .2s
}

.main-nav a:hover:after {
    width: 100%
}

.nav-actions {
    position: absolute;
  left: calc((100vw - 100%) / -2 + 30px);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-link {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 700
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
    width: 42px
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--green);
    margin: 7px
}

.user-menu {
    position: relative
}

.user-button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 13px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800
}

.avatar-lg {
    width: 48px;
    height: 48px;
    font-size: 1.2rem
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 220px;
    padding: 8px;
    display: none
}

.user-menu.open .user-dropdown {
    display: grid
}

.user-dropdown a {
    padding: 9px 11px;
    border-radius: 9px
}

.user-dropdown a:hover {
    background: var(--sand)
}

.user-dropdown hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line)
}

.hero {
    min-height: 715px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #123d48
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(7,39,47,.94) 0%,rgba(7,39,47,.72) 43%,rgba(7,39,47,.16) 75%),url('../img/property-1.jpg') center/cover no-repeat;
    transform: scale(1.02)
}

[dir=rtl] .hero-backdrop {
    background: linear-gradient(270deg,rgba(7,39,47,.94) 0%,rgba(7,39,47,.72) 43%,rgba(7,39,47,.16) 75%),url('../img/property-1.jpg') center/cover no-repeat
}

.hero-content {
    position: relative;
    color: #fff;
    padding-top: 20px
}

.hero-kicker {
    display: inline-block;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.09);
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: 700
}

.hero h1 {
    font-size: clamp(3rem,6vw,5.8rem);
    line-height: 1.02;
    margin: 18px 0;
    font-weight: 800;
    max-width: 750px
}

.hero h1 em {
    font-style: normal;
    color: #e3c68d
}

.hero-content>p {
    font-size: 1.2rem;
    color: #e5edef;
    max-width: 590px
}

.hero-search {
    margin-top: 38px;
    background: #f5f2ec;
    color: var(--ink);
    border-radius: 20px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr .8fr auto;
    gap: 4px;
    box-shadow: 0 25px 70px rgba(0,0,0,.24);
    max-width: 1110px
}

.hero-search>div {
    padding: 7px 15px;
    border-inline-end: 1px solid var(--line)
}

.hero-search label, .filters label {
    display: block;
    font-size: .78rem;
    font-weight: 800;
    color: var(--muted)
}

.hero-search input,
.hero-search select {
    width: 100%;
    border: 0;
    background: none;
    outline: 0;
    color: var(--ink);
    padding: 3px 0;
}


.btn-search {
    border-radius: 15px;
    min-width: 120px
}

.btn-search span {
    font-size: 1.5rem
}

.hero-trust {
    display: flex;
    gap: 26px;
    margin-top: 22px;
    font-size: .9rem;
    color: #d9e5e8
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px
}

.section-head h2, .experience-copy h2, .owner-cta h2, .about-grid h2 {
    font-size: clamp(1.8rem,3vw,2.65rem);
    line-height: 1.2;
    margin: 2px 0 8px
}

.section-head p {
    margin: 0;
    color: var(--muted)
}

.section-head>a {
    color: var(--green);
    font-weight: 800
}

.categories-section {
    background: var(--sand)
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px
}

.category-card {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: .2s
}

.category-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.category-icon {
    width: 52px;
    height: 52px;
    background: #edf4f5;
    color: var(--green);
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 1.5rem
}

.category-card h3 {
    margin: 0
}

.category-card p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem
}

.category-card .arrow {
    margin-inline-start: auto;
    color: var(--gold);
    font-size: 1.3rem
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px
}

.property-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: .24s
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.property-image {
    display: block;
    height: 265px;
    position: relative;
    overflow: hidden
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s
}

.property-card:hover .property-image img {
    transform: scale(1.045)
}

.card-category, .instant {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    background: rgba(255,255,255,.92);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800
}

.instant {
    top: auto;
    bottom: 14px;
    background: var(--green);
    color: #fff
}

.favorite-form {
    position: absolute;
    top: 13px;
    inset-inline-end: 13px
}

.favorite-btn {
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #7d898b;
    font-size: 1.2rem
}

.favorite-btn.active {
    color: #c94758
}

.property-body {
    padding: 18px
}

.property-location {
    color: var(--muted);
    font-size: .87rem
}

.property-body h3 {
    font-size: 1.16rem;
    margin: 5px 0 10px
}

.property-meta {
    display: flex;
    gap: 14px;
    color: var(--muted);
    font-size: .84rem;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line)
}

.property-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px
}

.property-foot strong {
    color: var(--green);
    font-size: 1.08rem
}

.property-foot small {
    font-weight: 500;
    color: var(--muted)
}

.property-foot a {
    color: var(--green);
    font-weight: 800;
    font-size: .87rem
}

.experience-banner {
    background: #665d52;
    color: #fff;
    padding: 86px 0
}

.experience-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.experience-copy>p {
    color: #c9dade;
    max-width: 600px
}

.steps {
    display: grid;
    gap: 19px;
    margin-top: 30px
}

.steps>div {
    display: flex;
    gap: 15px
}

.steps b {
    color: var(--gold);
    font-size: 1.2rem
}

.steps span {
    display: grid
}

.steps small {
    color: #bfcfd2
}

.experience-image {
    position: relative
}

.experience-image img {
    height: 460px;
    width: 100%;
    object-fit: cover;
    border-radius: 30px
}

.floating-note {
    position: absolute;
    bottom: 24px;
    inset-inline-start: -25px;
    background: #fff;
    color: var(--ink);
    padding: 16px 22px;
    border-radius: 16px;
    display: grid;
    box-shadow: var(--shadow)
}

.floating-note strong {
    font-size: 1.5rem;
    color: var(--green)
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.city-card {
    height: 230px;
    border-radius: 22px;
    overflow: hidden;
    position: relative
}

.city-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent,rgba(5,39,46,.82))
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s
}

.city-card:hover img {
    transform: scale(1.06)
}

.city-card>div {
    position: absolute;
    z-index: 1;
    bottom: 18px;
    inset-inline: 20px;
    color: #fff
}

.city-card h3 {
    font-size: 1.45rem;
    margin: 0
}

.city-card p {
    margin: 0;
    color: #dde7e9
}

.owner-cta {
    padding-top: 30px
}

.owner-cta-inner {
    background: #665d52;
    border-radius: 32px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center
}

.owner-cta p {
    color:#fff;
    max-width: 600px
}
.owner-cta h2 {
    color: #fff;
}
.owner-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px
}

.owner-stats div {
    background: #fff;
    border-radius: 17px;
    padding: 20px 12px;
    text-align: center
}

.owner-stats strong {
    display: block;
    color: var(--green);
    font-size: 1.55rem
}

.owner-stats span {
    font-size: .84rem;
    color: var(--muted)
}

.newsletter {
    background: #102e36;
    color: #fff;
    padding: 48px 0
}

.newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px
}

.newsletter h2 {
    margin: 0;
    font-size: 1.8rem
}

.newsletter p {
    margin: 4px 0;
    color: #b9cace
}

.newsletter-form {
    display: flex;
    background: #fff;
    border-radius: 15px;
    padding: 5px;
    min-width: 410px
}

.newsletter-form input {
    border: 0;
    outline: 0;
    padding: 10px;
    flex: 1
}

.site-footer {
    background: #DED8CD;
    color: #e7eff0;
    padding: 65px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 50px
}

.footer-grid h3 {
    color: #fff
}

.footer-grid>div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.footer-grid a {
    color: #2f3437
}

.footer-grid a:hover {
    color: #fff
}

.footer-brand img {
    width: 195px;
    filter: brightness(0) invert(1)
}

.footer-brand p {
    color: #2f3437;
    max-width: 340px
}

.socials {
    display: flex;
    gap: 8px
}

.socials a {
    width: 36px;
    height: 36px;
    border: 1px solid #31515a;
    border-radius: 50%;
    display: grid;
    place-items: center
}

.footer-bottom {
    border-top: 1px solid #26454d;
    margin-top: 45px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #8fa5aa;
    font-size: .87rem
}

.contact-line {
    color: #2f3437;
    margin: 2px
}

.whatsapp {
    position: fixed;
    bottom: 22px;
    inset-inline-end: 22px;
    background: #1fa764;
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    z-index: 300;
    box-shadow: 0 12px 28px rgba(0,0,0,.2)
}

.toast {
    position: fixed;
    top: 92px;
    inset-inline-end: 22px;
    z-index: 900;
    background: #fff;
    border-inline-start: 5px solid var(--green);
    box-shadow: var(--shadow);
    padding: 14px 45px 14px 18px;
    border-radius: 13px;
    max-width: 420px
}

.toast button {
    position: absolute;
    inset-inline-end: 10px;
    border: 0;
    background: none;
    font-size: 1.2rem
}

.toast-error {
    border-color: var(--danger)
}

.toast-warning {
    border-color: var(--gold)
}

.page-hero {
    padding: 115px 0;
    background: linear-gradient(120deg,#edf3f2,#f8f2e8);
    text-align: center
}

.page-hero.compact {
    padding: 70px 0
}

.page-hero h1 {
    font-size: clamp(2.2rem,4.5vw,4rem);
    line-height: 1.15;
    margin: 4px auto 12px;
    max-width: 900px
}

.page-hero p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 700px;
    margin: auto
}

.filters {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 12px 35px rgba(15,76,92,.08)
}

.filter-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr .75fr auto;
    gap: 10px;
    align-items: end
}

.filters input, .filters select, .sort-form select, .form-card input, .form-card select, .form-card textarea, .booking-card input, .booking-card select, .booking-card textarea, .inline-actions select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 11px;
    background: #fff;
    color: var(--ink);
    outline: none
}

.filters input:focus, .filters select:focus, .form-card input:focus, .form-card textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(15,76,92,.08)
}

.more-filters {
    margin-top: 10px
}

.more-filters summary {
    color: var(--green);
    font-weight: 700;
    cursor: pointer
}

.filter-extra {
    display: flex;
    align-items: end;
    gap: 15px;
    padding-top: 12px
}

.check {
    display: flex!important;
    align-items: center;
    gap: 8px
}

.check input {
    width: auto
}

.results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 34px 0 22px
}

.results-head h2 {
    margin: 0
}

.results-head p {
    margin: 0;
    color: var(--muted)
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 8px
}

.sort-form select {
    width: auto
}

.empty-state {
    text-align: center;
    padding: 70px 20px;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 24px
}

.empty-state>span {
    font-size: 4rem;
    color: var(--gold)
}

.breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 25px
}

.detail-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 24px
}

.detail-heading h1 {
    font-size: clamp(2rem,4vw,3.2rem);
    margin: 8px 0 2px
}

.detail-heading p {
    color: var(--muted);
    margin: 0
}

.detail-tags {
    display: flex;
    gap: 8px
}

.detail-tags span {
    background: var(--sand);
    color: var(--green);
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 700;
    font-size: .8rem
}

.detail-share button {
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 8px;
    border-radius: 24px;
    overflow: hidden
}

.gallery-item {
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #ddd
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s
}

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

.gallery .g0 {
    grid-row: 1/3
}

.gallery-few .g0 {
    grid-column: 1/-1
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 380px;
    gap: 55px;
    margin-top: 40px;
    align-items: start
}

.host-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px
}

.host-line>div {
    display: flex;
    align-items: center;
    gap: 12px
}

.host-line small {
    display: block;
    color: var(--muted)
}

.verified {
    color: var(--success);
    font-weight: 800
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line)
}

.quick-facts div {
    display: flex;
    gap: 10px;
    align-items: center
}

.quick-facts b {
    font-size: 1.5rem;
    color: var(--green)
}

.quick-facts span {
    display: grid
}

.quick-facts small {
    color: var(--muted)
}

.detail-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--line)
}

.detail-section h2 {
    font-size: 1.45rem;
    margin-top: 0
}

.rich-text {
    color: #50595b
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px
}

.amenities-grid div {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 12px
}

.amenities-grid span {
    color: var(--green);
    display: inline-block;
    width: 30px
}

.map-placeholder {
    min-height: 280px;
    border-radius: 20px;
    background: linear-gradient(135deg,#dce9e7,#f1e7d6);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 25px
}

.map-placeholder span {
    font-size: 3rem;
    color: var(--green)
}

.policies p {
    margin: 8px 0
}

.booking-card {
    position: sticky;
    top: 100px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 22px;
    padding: 23px;
    box-shadow: var(--shadow)
}

.booking-price {
    margin-bottom: 15px
}

.booking-price strong {
    font-size: 1.55rem;
    color: var(--green)
}

.booking-card form {
    display: grid;
    gap: 12px
}

.booking-card label {
    font-size: .82rem;
    font-weight: 800
}

.booking-card textarea {
    resize: vertical
}

.date-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px
}

.booking-note {
    font-size: .77rem;
    color: var(--muted);
    text-align: center;
    margin: 0
}

.price-hint {
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    padding-top: 15px;
    margin-top: 15px;
    font-size: .87rem
}

.related {
    margin-top: 70px
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 30px
}

.lightbox[hidden] {
    display: none
}

.lightbox img {
    max-height: 90vh;
    border-radius: 12px
}

.lightbox-close {
    position: absolute;
    top: 20px;
    inset-inline-end: 25px;
    background: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 45px;
    height: 45px
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center
}

.about-grid img {
    height: 480px;
    width: 100%;
    object-fit: cover;
    border-radius: 28px
}

.about-grid p {
    color: var(--muted)
}

.values {
    background: var(--sand)
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px
}

.value-grid article {
    background: #fff;
    padding: 25px;
    border-radius: 18px
}

.value-grid span {
    font-size: 1.8rem;
    color: var(--gold)
}

.value-grid h3 {
    margin: 8px 0
}

.value-grid p {
    color: var(--muted);
    margin: 0
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px
}

.contact-info>p {
    color: var(--muted)
}

.contact-box {
    display: grid;
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.contact-box a, .contact-box span {
    color: var(--green)
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.form-grid .full {
    grid-column: 1/-1
}

.form-card label {
    display: grid;
    gap: 6px;
    font-size: .86rem;
    font-weight: 800
}

.legal {
    max-width: 900px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 40px
}

.legal h2 {
    color: var(--green);
    margin-top: 30px
}

.legal p {
    color: #51595b
}

.auth-page {
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: 1fr 1fr
}

.auth-visual {
    position: relative;
    min-height: 800px
}

.auth-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent,rgba(4,37,44,.8))
}

.auth-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.auth-visual>div {
    position: absolute;
    z-index: 1;
    bottom: 60px;
    inset-inline: 55px;
    color: #fff
}

.auth-visual h2 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin: 8px 0
}

.auth-panel {
    display: grid;
    place-items: center;
    padding: 50px
}

.auth-card {
    width: min(460px,100%);
    display: grid;
    gap: 14px
}

.auth-card>img {
    width: 74px
}

.auth-card h1 {
    font-size: 2.2rem;
    margin: 5px 0 0
}

.auth-card>p {
    color: var(--muted);
    margin: 0 0 12px
}

.auth-card label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    font-size: .88rem
}

.auth-card input {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px
}

.auth-switch {
    text-align: center;
    color: var(--muted)
}

.auth-switch a {
    color: var(--green);
    font-weight: 800
}

.account-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.account-type label {
    position: relative
}

.account-type input {
    position: absolute;
    opacity: 0
}

.account-type span {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 12px;
    display: grid
}

.account-type input:checked+span {
    border-color: var(--green);
    background: #edf5f5
}

.account-type small {
    color: var(--muted)
}

.dashboard {
    background: #f7f6f2;
    min-height: 750px
}

.dash-layout {
    display: grid;
    grid-template-columns: 245px minmax(0,1fr);
    gap: 28px;
    align-items: start
}

.dash-side {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 17px;
    position: sticky;
    top: 100px
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 5px 17px;
    border-bottom: 1px solid var(--line)
}

.dash-user div {
    min-width: 0
}

.dash-user small {
    display: block;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.dash-side nav {
    display: grid;
    padding-top: 10px
}

.dash-side nav a {
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    color: #576063
}

.dash-side nav a:hover {
    background: var(--sand);
    color: var(--green)
}

.dash-main {
    min-width: 0
}

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px
}

.dash-head h1 {
    margin: 0;
    font-size: 2.1rem
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-bottom: 22px
}

.stat-grid.four {
    grid-template-columns: repeat(4,1fr)
}

.stat-grid>div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 20px
}

.stat-grid span, .stat-grid small {
    display: block;
    color: var(--muted)
}

.stat-grid strong {
    font-size: 1.8rem;
    color: var(--green)
}

.dash-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 20px
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px
}

.card-head h2 {
    margin: 0
}

.card-head>a {
    color: var(--green);
    font-weight: 700
}

.booking-list {
    display: grid
}

.booking-row {
    display: grid;
    grid-template-columns: 74px minmax(0,1fr) auto auto;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.booking-row:last-child {
    border-bottom: 0
}

.booking-row img {
    width: 74px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px
}

.booking-row small {
    display: block;
    color: var(--muted)
}

.booking-list.large .booking-row {
    grid-template-columns: 100px minmax(0,1fr) 130px 100px
}

.booking-list.large .booking-row img {
    width: 100px;
    height: 80px
}

.row-actions {
    display: grid;
    gap: 5px;
    text-align: center
}

.mini-empty {
    text-align: center;
    padding: 35px;
    color: var(--muted)
}

.tabs {
    display: flex;
    gap: 5px;
    overflow: auto;
    margin-bottom: 16px
}

.tabs a {
    white-space: nowrap;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px
}

.tabs a.active {
    background: var(--green);
    color: #fff;
    border-color: var(--green)
}

.table-wrap {
    overflow: auto
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px
}

.table-wrap th, .table-wrap td {
    text-align: start;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle
}

.table-wrap th {
    font-size: .8rem;
    color: var(--muted);
    background: #faf9f6
}

.table-wrap td small {
    display: block;
    color: var(--muted)
}

.table-place {
    display: flex;
    align-items: center;
    gap: 10px
}

.table-place img {
    width: 72px;
    height: 55px;
    object-fit: cover;
    border-radius: 9px
}

.table-actions, .inline-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap
}

.table-actions a {
    color: var(--green);
    font-weight: 700
}

.action-ok, .action-no, .inline-actions button {
    border: 0;
    border-radius: 8px;
    padding: 6px 9px;
    font-size: .8rem
}

.action-ok {
    background: #e0f5eb;
    color: #176343
}

.action-no {
    background: #ffe8e3;
    color: #9f3022
}

.badge {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .75rem;
    font-weight: 800;
    background: #eee
}

.badge-pending {
    background: #fff1cf;
    color: #8b6415
}

.badge-confirmed, .badge-approved, .badge-active, .badge-completed {
    background: #e0f5eb;
    color: #176343
}

.badge-cancelled, .badge-rejected, .badge-suspended {
    background: #ffe8e3;
    color: #9f3022
}

.badge-draft {
    background: #eceff0;
    color: #586568
}

.narrow {
    max-width: 700px
}

.narrow>label {
    margin-bottom: 15px
}

.booking-detail {
    max-width: 1050px
}

.booking-success {
    background: #e9f5f2;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px
}

.booking-success>span {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.5rem
}

.booking-success h1 {
    margin: 0;
    font-size: 1.6rem
}

.booking-success p {
    margin: 0;
    color: var(--muted)
}

.booking-success .badge {
    margin-inline-start: auto
}

.booking-detail-grid {
    display: grid;
    grid-template-columns: 1.4fr .75fr;
    gap: 20px
}

.booking-place {
    display: flex;
    gap: 18px
}

.booking-place img {
    width: 180px;
    height: 135px;
    object-fit: cover;
    border-radius: 15px
}

.detail-lines {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px
}

.detail-lines div, .price-summary>div {
    display: flex;
    justify-content: space-between;
    gap: 10px
}

.detail-lines span, .price-summary span {
    color: var(--muted)
}

.confirmed-info, .bank-box {
    background: var(--sand);
    padding: 17px;
    border-radius: 13px;
    margin-top: 20px
}

.price-summary {
    height: max-content
}

.price-summary>div {
    padding: 8px 0
}

.price-summary .grand {
    font-size: 1.2rem
}

.property-form h2 {
    margin-top: 30px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line)
}

.property-form h2:first-of-type {
    margin-top: 0
}

.four-cols {
    grid-template-columns: repeat(4,1fr)
}

.toggle-row {
    display: flex;
    gap: 25px;
    margin: 16px 0
}

.amenity-checks {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px
}

.amenity-checks label {
    display: flex;
    gap: 7px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px
}

.image-manage {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-bottom: 15px
}

.image-manage img {
    height: 115px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px
}

.image-manage label {
    display: flex;
    align-items: center;
    gap: 5px
}

.upload-box {
    border: 2px dashed var(--line);
    border-radius: 15px;
    text-align: center;
    padding: 28px;
    margin-bottom: 20px
}

.upload-box input {
    margin-top: 10px
}

.upload-box small {
    display: block;
    color: var(--muted)
}

.message-list {
    display: grid;
    gap: 14px
}

.message-card.unread {
    border-inline-start: 5px solid var(--gold)
}

.message-card p {
    color: #555f61
}

.info-card {
    background: #edf4f5
}

.info-card code {
    background: #dbe9e9;
    padding: 2px 6px;
    border-radius: 5px
}

@media (max-width: 1050px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 78px;
        inset-inline: 18px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 14px;
        box-shadow: var(--shadow)
    }

    .main-nav.open {
        display: grid
    }

    .nav-toggle {
        display: block;
        margin-inline-start: auto
    }

    .nav-actions {
        margin-inline-start: 0
    }

    .hero-search {
        grid-template-columns: 1fr 1fr 1fr
    }

    .hero-search .btn {
        grid-column: 1/-1
    }

    .hero-search>div:nth-child(4) {
        border: 0
    }

    .property-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .category-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .filter-main {
        grid-template-columns: repeat(3,1fr)
    }

    .filter-main .btn {
        height: 47px
    }

    .detail-layout {
        grid-template-columns: 1fr
    }

    .booking-card {
        position: relative;
        top: auto;
        max-width: 600px
    }

    .dash-layout {
        grid-template-columns: 1fr
    }

    .dash-side {
        position: relative;
        top: auto
    }

    .dash-side nav {
        display: flex;
        overflow: auto
    }

    .dash-side nav a {
        white-space: nowrap
    }

    .stat-grid.four {
        grid-template-columns: repeat(2,1fr)
    }

    .four-cols {
        grid-template-columns: repeat(2,1fr)
    }

}

@media (max-width: 760px) {
    .section {
        padding: 58px 0
    }

    .desktop-only {
        display: none
    }

    .brand img {
        width: 150px
    }

    .site-header {
        height: 68px
    }

    .main-nav {
        top: 68px
    }

    .nav-actions .btn {
        display: none
    }

    .hero {
        min-height: 790px;
        align-items: flex-end;
        padding-bottom: 45px
    }

    .hero-backdrop, [dir=rtl] .hero-backdrop {
        background: linear-gradient(0deg,rgba(7,39,47,.96),rgba(7,39,47,.22)),url('../img/property-1.jpg') center/cover
    }

    .hero h1 {
        font-size: 3.1rem
    }

    .hero-search {
        grid-template-columns: 1fr 1fr
    }

    .hero-search>div {
        border: 0;
        border-bottom: 1px solid var(--line)
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 9px 18px
    }

    .category-grid, .property-grid, .city-grid, .value-grid {
        grid-template-columns: 1fr
    }

    .property-image {
        height: 245px
    }

    .experience-inner, .owner-cta-inner, .about-grid, .contact-layout {
        grid-template-columns: 1fr
    }

    .experience-image img {
        height: 340px
    }

    .owner-cta-inner {
        padding: 28px
    }

    .owner-stats {
        grid-template-columns: 1fr 1fr 1fr
    }

    .newsletter-inner {
        display: grid
    }

    .newsletter-form {
        min-width: 0;
        width: 100%
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-brand {
        grid-column: 1/-1
    }

    .footer-bottom {
        display: grid
    }

    .filter-main {
        grid-template-columns: 1fr 1fr
    }

    .filter-main .btn {
        grid-column: 1/-1
    }

    .results-head {
        align-items: flex-start
    }

    .sort-form {
        display: grid
    }

    .gallery {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 250px 150px
    }

    .gallery .g0 {
        grid-column: 1/-1;
        grid-row: auto
    }

    .gallery .g3, .gallery .g4 {
        display: none
    }

    .detail-heading {
        align-items: flex-start
    }

    .quick-facts {
        grid-template-columns: 1fr 1fr
    }

    .amenities-grid {
        grid-template-columns: 1fr
    }

    .auth-page {
        grid-template-columns: 1fr
    }

    .auth-visual {
        display: none
    }

    .auth-panel {
        padding: 40px 18px
    }

    .stat-grid, .stat-grid.four {
        grid-template-columns: 1fr 1fr
    }

    .booking-row, .booking-list.large .booking-row {
        grid-template-columns: 70px 1fr
    }

    .booking-row>span, .booking-row>b, .booking-row>div:nth-last-child(-n+2) {
        grid-column: 2
    }

    .booking-detail-grid {
        grid-template-columns: 1fr
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .form-grid .full {
        grid-column: auto
    }

    .amenity-checks {
        grid-template-columns: 1fr 1fr
    }

    .image-manage {
        grid-template-columns: 1fr 1fr
    }

}

@media (max-width: 480px) {
    .container {
        width: min(100% - 24px,var(--container))
    }

    .hero h1 {
        font-size: 2.65rem
    }

    .hero-search {
        grid-template-columns: 1fr
    }

    .category-grid {
        gap: 10px
    }

    .owner-stats {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .filter-main {
        grid-template-columns: 1fr
    }

    .filter-extra {
        display: grid
    }

    .detail-heading {
        display: grid;
        gap: 12px
    }

    .quick-facts {
        grid-template-columns: 1fr
    }

    .date-pair {
        grid-template-columns: 1fr
    }

    .stat-grid, .stat-grid.four {
        grid-template-columns: 1fr
    }

    .booking-place {
        display: grid
    }

    .booking-place img {
        width: 100%;
        height: 190px
    }

    .detail-lines {
        grid-template-columns: 1fr
    }

    .amenity-checks, .four-cols {
        grid-template-columns: 1fr
    }

    .toast {
        inset-inline: 12px;
        top: 78px
    }

    .newsletter-form {
        display: grid
    }

    .account-type {
        grid-template-columns: 1fr
    }

}
.hero-date-field {
    position: relative;
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-date-text {
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
    color: var(--ink);
    pointer-events: none;
}

.hero-date-text.has-value {
    direction: ltr;
    unicode-bidi: isolate;
}

.hero-date-icon {
    color: #000;
    margin-inline-start: 10px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-date-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-date-field .native-hero-date {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}
.listing-page .hero-date-field {
    min-height: 48px;
    padding: 11px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.listing-page .hero-date-field:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.08);
}