/* === css/main.css === */
/* ===== 2.html-ის ფერის სისტემა (იისფერი) ===== */
:root {
    --color-primary:       #7B3FBE;
    --color-primary-dark:  #5B2D8E;
    --color-primary-light: #9B4FD4;
    --color-secondary:     #C06BB0;
    --color-accent:        #E08898;
    --color-purple-soft:   #f3eeff;
    --color-purple-border: #c4a0f5;
    --color-dark:          #1a1a2e;
    --color-text:          #1a1a2e;
    --color-muted:         #9ca3af;
    --color-bg-light:      #e9ecef;
    --gradient-hero:       linear-gradient(135deg, #5B2D8E 0%, #7B3FBE 30%, #9B4FD4 55%, #C06BB0 80%, #E08898 100%);
    --gradient-btn:        linear-gradient(135deg, #7B3FBE, #C06BB0);
    --gradient-cta:        linear-gradient(135deg, #5B2D8E 0%, #9B4FD4 50%, #C06BB0 100%);
}

/* ზოგადი გადანიშვნა და ძირითადი სტილები */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* main.css */
@import url('_header.css');
@import url('_forms.css');
@import url('_search-section.css');
@import url('_property-cards.css');
@import url('_datetime-picker.css');
@import url('_responsive.css');
@import url('_components.css');

/* გლობალური სტილები */
body {
    font-family: 'Noto Sans Georgian', 'Plus Jakarta Sans', 'Poppins', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: var(--color-text);
    line-height: 1.6;
}

h1 {
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 30px;
}

/* Section labels (like 2.html) */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-purple-soft);
    color: var(--color-primary);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    letter-spacing: 0.05em;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@keyframes blSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* === css/_header.css === */
header.app-header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.app-header.scrolled {
    background: rgba(91, 45, 142, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Logo text */
.header-logo-text {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Georgian', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-ge {
    color: #E8B4FF;
}

/* Center nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: white;
}

/* Right side */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* "განათავსე ბინა" pill button */
.header-btn-post {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 40px;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.header-btn-post:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hamburger (hidden on desktop) */
.hamburger-btn {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(91, 45, 142, 0.98);
    backdrop-filter: blur(20px);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.mobile-menu-overlay.open {
    display: flex;
}

.mobile-menu-overlay a {
    color: white;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.mobile-menu-overlay a:hover {
    opacity: 1;
}

.mobile-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80%;
    max-width: 280px;
    margin-top: 16px;
}

.mobile-btn-outline {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 40px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    opacity: 1 !important;
}

.mobile-btn-solid {
    background: white !important;
    color: #7B3FBE !important;
    border-radius: 40px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    opacity: 1 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .header-right .nav-link {
        display: none;
    }

    .header-right .header-btn-post {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === css/_forms.css === */
/* ზოგადი ფორმის ელემენტები */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3436;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f8f9fa;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23495057%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.1-6.4H18.5c-5%200-9.3%203.3-11.1%208.1-1.9%204.7-1.5%2010%20.7%2014.5l127.7%20127.7c3.9%203.9%2010.1%203.9%2014%200L280.3%2093.5c2.2-4.4%202.6-9.8%20.7-14.3z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 12px top 50%;
    background-size: 14px;
    padding-right: 30px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #1e90ff;
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.checkbox-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
}

.search-button {
    width: 100%;
    padding: 14px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-button:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-button:active {
    transform: translateY(0);
}
/* === css/_search-section.css === */
/* ========== HERO / SEARCH SECTION ========== */
.search-section {
    position: relative;
    background: linear-gradient(135deg, #5B2D8E 0%, #7B3FBE 30%, #9B4FD4 55%, #C06BB0 80%, #E08898 100%);
    min-height: 100vh;
}

/* Decorative blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-blob-1 {
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.06);
    top: -100px; right: -100px;
    filter: blur(60px);
}
.hero-blob-2 {
    width: 300px; height: 300px;
    background: rgba(224,136,152,0.2);
    bottom: 200px; left: -80px;
    filter: blur(80px);
}

/* Hero inner */
.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 160px 24px 48px; /* Reduced from 200px */
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1440px) {
    .hero-inner {
        padding-top: 130px;
    }
}

@media (max-height: 800px) {
    .hero-inner {
        padding-top: 110px;
        padding-bottom: 30px;
    }
}

/* Two-column grid */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    width: 100%;
}

/* Left column */
.hero-left {
    color: white;
}

.hero-sub {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Georgian', sans-serif;
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 32px;
    white-space: nowrap;
}

.hero-desc {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.625;
    max-width: 448px;
    margin-bottom: 40px;
}

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: white;
    line-height: 1;
}

.stat-lbl {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* Right column — diamond mosaic */
.hero-images-col {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
    min-width: 0;
    overflow: visible;
}

.diamond-mosaic {
    position: relative;
    width: 340px;
    height: 360px;
    overflow: visible;
}

.dm-diamond {
    position: absolute;
    transform: rotate(45deg);
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.4);
}

.dm-diamond-lg {
    border: 2px solid rgba(255,255,255,0.6) !important;
    box-shadow: 0 14px 35px rgba(0,0,0,0.4) !important;
}

.dm-diamond img {
    width: 145%;
    height: 145%;
    object-fit: cover;
    transform: rotate(-45deg) translate(-14%, -14%);
}

/* Rating badge */
.dm-rating {
    position: absolute;
    bottom: -40px;
    right: -10px;
    background: white;
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 10;
}

.dm-rating-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.dm-rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #F59E0B;
}

.dm-rating-stars strong {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a2e;
}

/* ===== SEARCH BAR — bottom of hero section ===== */
.hero-text-bg {
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

@media (max-width: 600px) {
    .hero-text-bg {
        background: transparent !important;
    }
}

.hero-search-bar {
    position: relative;
    z-index: 10;
    margin-top: 20px;
}

.hero-search-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-search-spacer {
    height: 8px;
    background: white;
}

/* Search form (white card) */
.search-form {
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 40px rgba(91,45,142,0.18);
    padding: 28px 30px 24px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.price-range-toggle-button,
.detailed-search-toggle-button {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #f8f9fa;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #2d3436;
    text-align: left;
    margin-bottom: 15px;
}

.price-range-toggle-button:hover,
.detailed-search-toggle-button:hover {
    background-color: #e9ecef;
}

.price-range-fields,
.detailed-search-fields {
    display: none;
    margin-top: 10px;
}

.price-range-fields {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.price-range-fields input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

.price-range-fields input:focus {
    border-color: #7B3FBE;
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 0.2rem rgba(123,63,190,0.2);
}

.detailed-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.date-range-section { margin-bottom: 20px; }

.date-range-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#searchButton {
    padding: 12px 28px;
    background: linear-gradient(135deg, #7B3FBE, #C06BB0);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: filter 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

#searchButton:hover {
    filter: brightness(1.08);
    transform: scale(1.02);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-images-col {
        display: none;
    }
    .hero-inner {
        padding-top: 80px;
    }
    .hero-title {
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .hero-title { font-size: 28px; }
    .search-form {
        border-radius: 16px 16px 0 0;
        padding: 20px 16px 16px;
    }
    .form-row { grid-template-columns: 1fr; }
}

/* HERO ANIMS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes archFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}
.h-anim-1 { animation: fadeUp 0.8s ease 0.1s both; }
.h-anim-2 { animation: fadeUp 0.8s ease 0.25s both; }
.h-anim-3 { animation: fadeUp 0.8s ease 0.4s both; }
.h-anim-4 { animation: fadeUp 0.8s ease 0.55s both; }
.arch-float-1 { animation: archFloat 6s ease-in-out infinite; }
.arch-float-2 { animation: archFloat 7s ease-in-out 1s infinite; }
.arch-float-3 { animation: archFloat 5.5s ease-in-out 2s infinite; }

/* Helper classes for responsiveness */
.mobile-break {
    display: none;
}
.mobile-only-stats {
    display: none !important;
}
.desktop-only-stats {
    display: flex !important;
}

/* ======================================================== */
/* Pill Search Bar — 100% matches 2.html visually           */
/* ======================================================== */

/* Container: matches 2.html .search-bar (padding:4px, border-radius:60px) */
.search-form.pill-style {
    background: #ffffff;
    border-radius: 60px;
    box-shadow: 0 8px 40px rgba(91, 45, 142, 0.25);
    padding: 4px;
    border: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-form.pill-style.collapsed { cursor: pointer; }

/* Row wrapper */
.search-initial-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

/* Fields wrapper: flex:1, mirrors 2.html .search-container */
.search-form.pill-style .search-container {
    display: flex;
    flex: 1;
    flex-wrap: nowrap;
    align-items: stretch;
}

/* Button wrapper: padding:10px, mirrors 2.html .search-btn-wrap */
.search-form.pill-style .search-btn-wrap {
    padding: 10px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Each field: flex:1, border-right separator, mirrors 2.html .search-field */
.main-field-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
}

.search-form.pill-style.collapsed .search-container .main-field-group {
    border-right: 1px solid #e5e7eb;
}
.search-form.pill-style.collapsed .search-container .main-field-group:last-child {
    border-right: none;
}

/* Pill field inner: padding:18px 24px gap:12px, mirrors 2.html .search-field */
.pill-field-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    height: 100%;
}

.pill-field-content {
    flex: 1;
    min-width: 0;
}

/* Label: mirrors 2.html .search-field-title */
.main-field-group label {
    font-size: 12px;
    font-weight: 700;
    color: #4A1D7C;
    letter-spacing: 0.03em;
    margin-bottom: 3px;
    display: block;
    text-transform: none;
}

/* Select: transparent background, mirrors 2.html input */
.main-field-group select {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 14px;
    font-weight: 500;
    color: #111111;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    width: 100%;
    height: auto;
}

/* Hide old separator divs (border-right handles separation now) */
.main-field-sep { display: none !important; }

/* Search button: mirrors 2.html .search-btn */
.collapsed-search-btn-compact {
    background: linear-gradient(135deg, #7B3FBE, #C06BB0);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}
.collapsed-search-btn-compact:hover {
    filter: brightness(1.08);
    transform: scale(1.02);
}

/* ---- EXPANDED STATE ---- */
.search-form.pill-style.expanded {
    border-radius: 24px;
    padding: 28px 30px 24px;
    display: block;
}

.search-form.pill-style.expanded .search-initial-row {
    display: block;
    margin-bottom: 20px;
}

.search-form.pill-style.expanded .search-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.search-form.pill-style.expanded .search-btn-wrap {
    display: none;
}

.search-form.pill-style.expanded .main-field-group {
    border-right: none !important;
}

.search-form.pill-style.expanded .pill-field-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    height: auto;
}

.search-form.pill-style.expanded .pill-field-wrap > svg {
    display: none;
}

.search-form.pill-style.expanded .pill-field-content {
    width: 100%;
}

.search-form.pill-style.expanded .main-field-group select {
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    width: 100% !important;
}

.search-form.pill-style.expanded .main-field-group label {
    color: #2d3436;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
    margin-bottom: 6px;
}

.search-form.pill-style.expanded #searchButton {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 15px;
    display: flex;
}

/* Expanded/Collapsed transition */
.expandable-search-content {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.search-form.pill-style.expanded .expandable-search-content {
    opacity: 1;
    max-height: 2000px;
    margin-top: 15px;
    overflow: visible;
}

.search-form.pill-style.expanded .form-control {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.2s;
}

.search-form.pill-style.expanded .form-control:focus {
    border-color: #7B3FBE;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(123, 63, 190, 0.15);
}

/* ---- MOBILE (mirrors 2.html mobile) ---- */
@media (max-width: 600px) {
    .search-form.pill-style {
        border-radius: 20px !important;
        padding: 4px;
    }
    
    /* Collapsed state styles - hide original rows and show custom trigger */
    .search-form.pill-style.collapsed {
        padding: 10px !important;
        border-radius: 50px !important;
        transform: translateY(-16px); /* Move slightly up towards header */
    }
    .search-form.pill-style.collapsed .search-initial-row {
        display: none !important;
    }
    .search-form.pill-style.collapsed .mobile-search-trigger {
        display: flex !important;
    }
    .search-form.pill-style.expanded {
        margin-left: -10px !important;
        margin-right: -10px !important;
        width: auto !important; /* let block model handle expansion symmetrically */
        box-sizing: border-box;
    }
    .search-form.pill-style.expanded .mobile-search-trigger {
        display: none !important;
    }
    
    /* Horizontal side-by-side fields logic kept for when it is shown in other forms if needed, but not needed here */
    .search-form.pill-style.collapsed .search-initial-row {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
    }
    .search-form.pill-style.collapsed .search-container {
        width: 100% !important;
        flex: none !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .search-form.pill-style.collapsed .search-container .main-field-group {
        border-right: 1px solid #e5e7eb !important;
        border-bottom: none !important;
        flex: 1 !important;
    }
    .search-form.pill-style.collapsed .search-container .main-field-group:last-child {
        border-right: none !important;
    }
    .search-form.pill-style.collapsed .pill-field-wrap {
        padding: 10px 8px !important;
        gap: 6px !important;
    }
    .search-form.pill-style.collapsed .pill-field-wrap svg {
        width: 14px !important;
        height: 14px !important;
    }
    .search-form.pill-style.collapsed .main-field-group label {
        font-size: 9px !important;
        margin-bottom: 1px !important;
    }
    .search-form.pill-style.collapsed .main-field-group select {
        font-size: 10px !important;
    }
    .search-form.pill-style.collapsed .search-btn-wrap {
        width: 100% !important;
        padding: 4px 10px 10px 10px !important;
    }
    .search-form.pill-style.collapsed .collapsed-search-btn-compact {
        width: 100% !important;
        border-radius: 14px !important;
        margin: 0 !important;
        justify-content: center !important;
    }

    /* Expanded state styles - vertical layout */
    .search-form.pill-style.expanded {
        padding: 20px 16px 16px;
        border-radius: 20px !important;
    }
    .search-form.pill-style.expanded .search-initial-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .search-form.pill-style.expanded .search-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .search-form.pill-style.expanded .main-field-group {
        border-right: none !important;
        border-bottom: none !important;
    }
    .search-form.pill-style.expanded .pill-field-wrap {
        padding: 0 !important;
    }
}



/* === css/_property-cards_v2.css === */
/* გაუმჯობესებული შედეგების სექცია - ელეგანტური და კომპლექსური */
.results-section {
    padding: 40px 20px;
    background-color: #e9ecef;
    margin: 0;
}

.results-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
    text-align: center;
    letter-spacing: 0.5px;
}

.results-count {
    text-align: center;
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-weight: 400;
}

#resultsContainer {
    width: 100%;
}


/* ელეგანტური უძრავი ქონების ბარათის დიზაინი */
/* ელეგანტური უძრავი ქონების ბარათის დიზაინი */
.property-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #e8ecf0;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(91, 45, 142, 0.15);
    border-color: #c4a0f5;
}

/* გაუმჯობესებული უძრავი ქონების სურათები */
.property-images {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.property-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-images img {
    transform: scale(1.06);
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

.image-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
}

/* Premium / Featured ribbon */
.featured-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 6px 14px 6px 10px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    border-radius: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.featured-ribbon i {
    font-size: 11px;
    color: #fff176;
}

/* სართულის badge — სურათის ქვედა-მარცხენა კუთხეში */
.floor-badge {
    position: absolute;
    bottom: 46px;
    left: 12px;
    background: rgba(44, 62, 80, 0.75);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.floor-badge i {
    font-size: 10px;
    color: #90caf9;
}

/* შეფასების badge — იმავე (მარცხენა) მხარეს, სურათების მთვლელის დონეზე */
.card-rating-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 5;
}

/* Featured card — ოქროსფერი border */
.property-card:has(.featured-ribbon) {
    border-color: #f39c12;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.2);
}

.property-card:has(.featured-ribbon):hover {
    box-shadow: 0 8px 35px rgba(243, 156, 18, 0.35);
}

/* ფასი სურათზე */
.price-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ხელმისაწვდომობის badge */
.image-avail-badge {
    position: absolute;
    top: 12px;
    right: 54px;
    background: rgba(123,63,190, 0.88);
    color: white;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.avail-dot {
    width: 7px;
    height: 7px;
    background: #7fffb0;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}

/* ვარსკვლავები + რეიტინგი */
.image-rating {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.58);
    color: white;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.image-rating .stars {
    color: #ffd700;
    font-size: 14px;
    line-height: 1;
}

.image-rating .rating-num {
    color: #fff;
    font-weight: 700;
}

.image-rating .rating-count {
    color: rgba(255,255,255,0.75);
    font-size: 11px;
}

.image-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #495057;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.property-card:hover .image-navigation {
    opacity: 1;
}

.image-navigation:hover {
    background: white;
    color: var(--color-primary, #7B3FBE);
    transform: translateY(-50%) scale(1.1);
}

.image-navigation.prev {
    left: 12px;
}

.image-navigation.next {
    right: 12px;
}

.no-image-placeholder {
    height: 240px;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.no-image-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    opacity: 0.6;
}

.no-image-placeholder p {
    font-size: 14px;
    font-weight: 500;
}

/* გაუმჯობესებული უძრავი ქონების კონტენტი */
.property-card h3 {
    color: #2c3e50;
    margin: 20px 20px 16px 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.property-details {
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5a6c7d;
    font-weight: 500;
    padding: 10px 14px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.property-detail:hover {
    background-color: var(--color-purple-soft, #f3eeff);
    border-color: var(--color-purple-border, #c4a0f5);
    transform: translateY(-1px);
}

.property-detail i {
    color: var(--color-primary, #7B3FBE);
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.property-detail span {
    font-weight: 600;
    color: #34495e;
}

/* კლასიკური მახასიათებლების ეტიკეტები */
.property-features {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: var(--color-purple-soft, #f3eeff);
    color: var(--color-primary, #7B3FBE);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feature-tag:hover {
    background: var(--color-primary, #7B3FBE);
    color: white;
    transform: translateY(-1px);
}

/* გაუმჯობესებული დამატების თარიღი */
.property-card div[style*="margin-top: 10px"] {
    margin: 16px 20px 20px 20px !important;
    padding: 10px 14px;
    background-color: #f1f3f4;
    border-radius: 6px;
    font-size: 12px !important;
    color: #6c757d !important;
    font-weight: 500;
    border-left: 3px solid #34495e;
}

/* განახლებული ღილაკების კონტეინერი - დეტალები მარცხნივ, ჯავშანი მარჯვნივ */
.property-actions {
    padding: 0 20px 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between; /* ცვლილება: flex-end -> space-between */
}

.property-button {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.details-button {
    background: var(--gradient-btn, linear-gradient(135deg, #7B3FBE, #C06BB0));
    color: white;
    order: 1;
}

.details-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.booking-button {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    order: 2;
}

.booking-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* მახასიათებლების ბლოკის საწყისი დამალვა */
.property-features.property-features-hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

/* მახასიათებლების ბლოკის გამოჩენა */
.property-features.property-features-visible {
    display: flex;
    opacity: 1;
    transition: opacity 0.4s ease-in;
}

/* ID/ნახვების ხაზი — ყოველთვის საკუთარ სრულ ხაზზე, რომ მახასიათებლების
   ჭდეებს არ დაეფაროს/გადაეფაროს (flex-wrap-ში sizing-ის გარეშე ხდებოდა) */
.property-footer-details {
    width: 100%;
    flex-basis: 100%;
}

/* ბინის მდებარეობის მინი-რუქა ჩამოშლად დეტალებში (მობილურის expand) */
.card-mini-map {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 4px;
    background: #eee;
}

/* Google Maps-ზე გახსნის ღილაკი */
.gmaps-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gmaps-link-btn:hover {
    background: #f1f6ff;
    border-color: #1a73e8;
}

/* Old property-item class (დავტოვოთ fallback-ისთვის) */
.property-item {
    display: none; /* ახლა არ გამოიყენება */
}

/* მობილური რესპონსიული სტილები */
@media (max-width: 768px) {
    #resultsContainer {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
        padding: 0 10px;
        justify-items: center;
    }

    .property-list {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
        padding: 0 10px;
        justify-items: center;
    }

    .property-card {
        width: 100%;
        max-width: 650px;
        margin: 0;
    }

    .property-actions {
        flex-direction: column;
        gap: 10px;
    }

    .property-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #resultsContainer {
        max-width: 100%;
        padding: 0 10px;
        justify-items: center;
    }

    .property-list {
        max-width: 100%;
        padding: 0 10px;
        justify-items: center;
    }

    .property-card {
        width: 100%;
        max-width: 100%;
    }

    .property-images {
        height: 200px;
    }

    .property-card h3 {
        font-size: 18px;
        margin: 16px 16px 12px 16px;
    }

    .property-details {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .property-features {
        padding: 0 16px 16px 16px;
    }

    .property-actions {
        padding: 0 16px 16px 16px;
    }
}

/* განახლებული Property Section - Grid Layout როგორც Results Section-ში */
.property-section { 
    padding: 40px 20px; 
    background-color: #e9ecef; 
}

.property-section h2 { 
    text-align: center; 
    margin-bottom: 40px; 
    color: #2c3e50; 
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.property-list { 
    margin: 0 auto;
}

/* Fallback for browsers that don't support emojis */
@supports not (content: '🏠') {
    .property-info p:nth-child(2):before { content: '■'; }
    .property-info p:nth-child(3):before { content: '●'; }
    .property-info p:nth-child(4):before { content: '□'; }
    .property-info p:nth-child(5):before { content: '○'; }
    .property-info p:nth-child(6):before { content: '▣'; }
    .property-price:before { content: '$' !important; }
}

/* Refined Property Info for old .property-item (if used) */
.property-info { 
    padding: 20px; 
}

.property-info h3 { 
    margin: 0 0 16px 0; 
    color: #2c3e50; 
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.property-info p { 
    margin: 8px 0; 
    color: #5a6c7d; 
    font-size: 13px;
    font-weight: 500;
    padding: 10px 14px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-info p:hover {
    background-color: var(--color-purple-soft, #f3eeff);
    border-color: var(--color-purple-border, #c4a0f5);
    transform: translateY(-1px);
}

/* Unicode icons instead of Font Awesome - more reliable */
.property-info p:before {
    color: var(--color-primary, #7B3FBE);
    width: 16px;
    text-align: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Unicode იკონები Font Awesome-ის ნაცვლად */
.property-info p:nth-child(2):before { content: '🏠'; }
.property-info p:nth-child(3):before { content: '📍'; }
.property-info p:nth-child(4):before { content: '🚪'; }
.property-info p:nth-child(5):before { content: '🛁'; }
.property-info p:nth-child(6):before { content: '🏢'; }

.property-price { 
    font-weight: 600 !important; 
    color: var(--color-primary, #7B3FBE) !important; 
    font-size: 16px !important; 
    margin-top: 12px !important;
    padding: 12px 16px !important;
    background-color: var(--color-purple-soft, #f3eeff) !important;
    border: 1px solid var(--color-purple-border, #c4a0f5) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.property-price:before {
    content: '💰' !important;
    font-size: 16px !important;
    color: #1e90ff !important;
    flex-shrink: 0 !important;
}

.property-price:hover {
    background-color: #bbdefb !important;
    transform: translateY(-1px) !important;
}

/* 🌟 გულის (Favorite) ღილაკის სტილები */
.favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    background: white !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
    padding: 0;
}
.favorite-btn:hover {
    transform: scale(1.15);
}
.favorite-btn i {
    font-size: 14px;
    color: #d1d5db;
    transition: color 0.2s ease;
}
.favorite-btn.is-active i {
    color: #ec4899 !important;
}

/* Card Body Content wrapper */
.card-body-content {
    padding: 18px 20px 20px;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.card-header-left h3 {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Georgian', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1a1a2e;
    margin: 0 !important;
    line-height: 1.3;
}

.card-location-text {
    font-size: 12px;
    color: #7B3FBE;
    margin-top: 3px;
    font-weight: 500;
}

/* Rating Badge inside Card Body */
.card-rating-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fef9ee;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 13px;
    color: #1a1a2e;
}

.card-rating-badge .star {
    color: #F59E0B;
}

.card-rating-badge strong {
    font-weight: 700;
}

/* Quick Details Row */
.quick-details-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    font-size: 11px;
    color: #4a5568;
    margin-top: 12px;
    margin-bottom: 16px;
    width: 100%;
}

.quick-details-row span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    white-space: nowrap;
}

.quick-details-row i {
    font-size: 16px;
    color: #64748b;
}

/* Feature Tags Wrapper */
.card-features-wrapper {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.card-feature-tag {
    background: #f3eeff;
    color: #7B3FBE;
    border-radius: 20px;
    font-size: 11px;
    padding: 3px 10px;
    font-weight: 500;
}

/* Short Description (shown on card instead of feature tags) */
.card-short-description {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 🛡️ ვერიფიკაციის Badge-ის სტილები */
.verified-badge {
    position: absolute;
    top: 48px;
    left: 12px;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    letter-spacing: 0.3px;
}
.verified-badge i {
    color: #00ffcc;
    font-size: 11px;
}

/* =========================================================
   Desktop Property Details Modal (Airbnb Style)
   ========================================================= */
.desktop-property-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.desktop-property-modal.open {
    display: flex;
}

.desktop-property-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.desktop-property-modal .modal-content.airbnb-style-modal {
    position: relative;
    background: #ffffff;
    width: 98vw;
    max-width: 1800px; /* თითქმის მთელი ეკრანი, "დეტალურად" ფანჯარას მეტი ადგილი რომ ჰქონდეს */
    height: 97vh;
    border-radius: 20px;
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Only scroll the body, not the whole modal if we had fixed header */
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(50px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.desktop-property-modal .modal-close-btn {
    position: absolute;
    top: 24px;
    left: 24px; /* Move to left like Airbnb or keep right? Let's keep top-left */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1e293b;
    cursor: pointer;
    z-index: 100;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.desktop-property-modal .modal-close-btn:hover {
    background: #e2e8f0;
}

.desktop-property-modal .modal-body-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px 60px; /* Top padding small because close button is absolute */
    margin-top: 50px; /* Space for close button */
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 1. Header Top */
.desktop-property-modal .modal-header-top h2,
.desktop-property-modal .modal-header-top #modalTitle {
    font-size: 26px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
    line-height: 1.2;
}

.desktop-property-modal .modal-header-meta #modalLocation i {
    color: #e31c5f;
    margin-right: 2px;
}

.desktop-property-modal .modal-header-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #222222;
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

/* 2. Image Grid */
.airbnb-image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 10px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.airbnb-image-grid .grid-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.airbnb-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.2s;
}

.airbnb-image-grid img:hover {
    filter: brightness(0.9);
}

/* Specific image placements in grid */
.airbnb-image-grid .grid-img-wrap:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.airbnb-image-grid .grid-img-wrap:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.airbnb-image-grid .grid-img-wrap:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}
.airbnb-image-grid .grid-img-wrap:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
.airbnb-image-grid .grid-img-wrap:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Adapt grid if fewer images */
.airbnb-image-grid.grid-count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 500px;
}
.airbnb-image-grid.grid-count-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 500px;
}
.airbnb-image-grid.grid-count-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
}
.airbnb-image-grid.grid-count-3 .grid-img-wrap:nth-child(2) { grid-row: 1 / 2; }
.airbnb-image-grid.grid-count-3 .grid-img-wrap:nth-child(3) { grid-row: 2 / 3; grid-column: 2 / 3; }
.airbnb-image-grid.grid-count-4 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
}
.airbnb-image-grid.grid-count-4 .grid-img-wrap:nth-child(4) { grid-column: 2 / 4; }

/* Show All Photos button */
.show-all-photos-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: white;
    border: 1px solid #222222;
    padding: 7px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.1s, box-shadow 0.1s;
    z-index: 10;
}
.show-all-photos-btn:active {
    transform: scale(0.96);
}

/* 3. Main Content Split */
.modal-main-content-split {
    display: flex;
    gap: 80px;
    margin-top: 10px;
}

.modal-info-section {
    flex: 1.8;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.modal-booking-sidebar {
    flex: 1;
    position: relative;
}

.modal-sticky-box {
    position: sticky;
    top: 20px;
    background: white;
    border: 1px solid #dddddd;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.modal-divider {
    border: none;
    border-top: 1px solid #dddddd;
    margin: 0;
}

/* Info Section Styling */
.modal-quick-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.modal-quick-details span {
    font-size: 16px;
    color: #222222;
    display: flex;
    align-items: center;
    gap: 6px;
}
.modal-quick-details span i {
    font-size: 18px;
    color: var(--color-primary, #7B3FBE);
    width: 20px;
    text-align: center;
}

.modal-info-section h3,
.modal-rooms-section h3,
.modal-info-section .modal-sec-title,
.modal-rooms-section .modal-sec-title,
.modal-features-section .modal-sec-title,
.modal-reviews-section .modal-sec-title,
.modal-calendar-section .modal-sec-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary-dark, #5B2D8E);
    margin-bottom: 20px;
    position: relative;
    padding-left: 14px;
}

.modal-info-section h3::before,
.modal-rooms-section h3::before,
.modal-info-section .modal-sec-title::before,
.modal-rooms-section .modal-sec-title::before,
.modal-features-section .modal-sec-title::before,
.modal-reviews-section .modal-sec-title::before,
.modal-calendar-section .modal-sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #7B3FBE, #e31c5f);
}

/* When moved to the top of the modal on mobile, give it its own spacing
   since it's no longer inside .modal-info-section's flex gap */
.modal-body-scrollable > .modal-rooms-section {
    margin-bottom: 8px;
}

.modal-description {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 18px 20px;
}

.modal-description h3,
.modal-description .modal-sec-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary, #7B3FBE);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-description h3::before,
.modal-description .modal-sec-title::before {
    content: "\f075"; /* fa-comment-dots style quote icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 15px;
    color: #555555;
}

.modal-quick-details span i.bed-count-icon {
    color: #555555;
}

.modal-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    white-space: pre-wrap;
}

.modal-rooms-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.modal-room-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fafafa;
}
.modal-room-card .room-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary-dark, #5B2D8E);
    margin-bottom: 6px;
    font-size: 15px;
}
.modal-room-card .room-card-title i {
    color: #e31c5f;
}
.modal-room-card .room-card-beds {
    font-size: 14px;
    color: #444;
    margin-bottom: 4px;
}
.modal-room-card .room-card-bathroom {
    font-size: 13px;
    color: #2e9e5b;
    display: flex;
    align-items: center;
    gap: 5px;
}
.modal-room-card .room-card-bathroom.no-bathroom {
    color: #999;
}

/* შეფასებების სია (კომენტარები) — მახასიათებლების ქვემოთ */
.modal-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal-review-card .room-card-title {
    justify-content: space-between;
}
.modal-review-score {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #1a1a2e;
    font-size: 14px;
}
.modal-review-score .star {
    color: #F59E0B;
}
.modal-review-comment {
    font-size: 14px;
    color: #444;
    margin: 6px 0 4px;
    line-height: 1.5;
}
.modal-review-date {
    font-size: 12px;
    color: #999;
}

.modal-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.modal-features-list span {
    font-size: 16px;
    color: #222222;
    display: flex;
    align-items: center;
    gap: 12px;
}
.modal-features-list span i {
    font-size: 13px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #7B3FBE;
    background: rgba(123, 63, 190, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Sidebar Styling */
.modal-price-box {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.modal-price-box > span {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
}

/* ფასის მოპირდაპირე მხარეს — შეფასება + გული, ერთმანეთის გვერდით */
.modal-price-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fef9ee;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: #1a1a2e;
}
.modal-rating .star {
    color: #F59E0B;
}
.modal-rating strong {
    font-weight: 700;
}

/* პატარა შეფასების ვერსია — მისამართის გასწვრივ */
.modal-rating-small {
    padding: 3px 8px;
    font-size: 12px;
    text-decoration: none;
}

/* გული ფასის გვერდით მოდალში (ჩვეულებრივი .favorite-btn ისევ absolute-ია,
   აქ კი ჩვეულებრივ flow-ში გვჭირდება) */
.modal-favorite-btn.favorite-btn {
    position: static;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid #dddddd !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* გაზიარების ღილაკი რუკის ქვემოთ */
.modal-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 11px 14px;
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    color: #222222;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.modal-share-btn:hover {
    background: #f7f7f7;
    border-color: #b0b0b0;
}
.modal-share-msg {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    color: #1e8e3e;
    font-weight: 600;
}

/* ID (მარჯვნივ) / ნახვები (მარცხნივ) — გაზიარების ღილაკის ქვემოთ, ბოლო ხაზი */
.modal-id-views-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #777;
}
.modal-views-display,
.modal-id-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-property-modal .modal-book-btn {
    width: 100%;
    background: linear-gradient(to right, #1fa855 0%, #17a35a 50%, #0e8f4f 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.desktop-property-modal .modal-book-btn:hover {
    opacity: 0.9;
}

.modal-mini-map-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}
.modal-mini-map-wrap .map-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-dark, #5B2D8E);
    margin-bottom: 8px;
}
.modal-mini-map-wrap .map-label i {
    color: #e31c5f;
}
#modalMiniMap {
    height: 180px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

/* Calendar Container inside modal */
.modal-calendar-section .flatpickr-calendar {
    box-shadow: none !important;
    border: none !important;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .desktop-property-modal .modal-content.airbnb-style-modal {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .desktop-property-modal .modal-body-scrollable {
        padding: 20px 16px 40px;
        gap: 24px;
        margin-top: 44px;
    }

    .desktop-property-modal .modal-header-top h2,
    .desktop-property-modal .modal-header-top #modalTitle {
        font-size: 22px;
    }

    /* Stack image grid into a single vertical column on mobile */
    .airbnb-image-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 8px !important;
    }
    .airbnb-image-grid .grid-img-wrap {
        grid-column: 1 / 2 !important;
        grid-row: auto !important;
        height: 220px !important;
    }

    /* Stack info + booking sidebar vertically */
    .modal-main-content-split {
        flex-direction: column;
        gap: 24px;
    }
    .modal-sticky-box {
        position: static;
    }
}
/* === css/_datetime-picker.css === */
/* Datetime picker dropdown */
.datetime-field {
    position: relative;
}

.datetime-display {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: border-color 0.3s ease;
    color: #495057;
    display: flex;
    align-items: center;
}

.datetime-display:hover {
    border-color: #1e90ff;
}

.datetime-display.active {
    border-color: #1e90ff;
    box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
}

.datetime-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.datetime-dropdown.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.dropdown-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-section {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.date-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.date-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Calendar styling for date range selection */
.calendar-container {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    color: #333;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #1e90ff;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.calendar-header button:hover {
    background-color: #e3f2fd;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.days-of-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.days-of-week div {
    padding: 8px 0;
    font-size: 0.9em;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-day {
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9em;
    font-weight: 500;
    color: #34495e;
    background-color: #fcfcfc;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day.empty {
    background-color: transparent;
    cursor: default;
    pointer-events: none;
}

.calendar-day:not(.empty):not(.selected):hover {
    background-color: #e3f2fd;
    border-color: #a0d8ff;
}

/* Styles for selected, booked, available */
.calendar-day.selected {
    background: #1e90ff !important;
    color: white !important;
    font-weight: 600;
}

.calendar-day.booked {
    background:#dc3545 !important;
    color:white !important;
    cursor:not-allowed !important;
    opacity: 0.7;
}

.calendar-day.available {
    background:#28a745;
    color:white;
}

/* Past dates */
.calendar-day.past-date {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}

.calendar-day.today {
    border: 2px solid #1e90ff;
    background-color: #e0f2f7;
}

.time-section {
    padding: 15px;
    display: none;
}

.time-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #555;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 2px;
}

.time-slot {
    padding: 10px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    background: white;
    transition: all 0.2s ease;
    user-select: none;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot:hover {
    background: #e3f2fd;
    border-color: #1976d2;
    transform: translateY(-1px);
}

/* Hour slot styles */
.hour-slot.selected {
    background:#1e90ff;
    border-color:#1e90ff;
    color:white;
}

.hour-slot.booked {
    background:#dc3545;
    border-color:#dc3545;
    color:white;
    cursor:not-allowed;
}

.hour-slot.past-hour {
    background-color: #e9ecef;
    border-color: #ccc;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.booked-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 10px;
    font-size: 12px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-actions {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #eee;
}

.btn-dropdown {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    flex: 1;
    min-height: 38px;
}

.btn-clear {
    background: #6c757d;
    color: white;
}

.btn-clear:hover {
    background: #5a6268;
}

/* საათების არჩევის ღილაკი - მწვანე */
.btn-show-hours {
    background: #28a745;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-show-hours:hover {
    background: #218838;
}

.btn-show-hours:active {
    background: #1e7e34;
    transform: scale(0.98);
}

.btn-show-hours i {
    font-size: 14px;
}

.btn-confirm {
    background: #1e90ff;
    color: white;
}

.btn-confirm:hover {
    background: #1575d6;
}

/* Booking type selector */
.booking-type-selector {
    display: flex;
    gap: 10px;
    margin: 15px;
    justify-content: center;
    display: none;
}

.booking-type-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.booking-type-btn.active {
    background:#1e90ff;
    border-color:#1e90ff;
    color:white;
}

.selected-info{
    background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);
    padding:15px;
    margin:15px;
    border-radius:10px;
    border-left:4px solid #1e90ff
}

.selected-info h4{
    color:#333;
    margin-bottom:8px;
    font-weight:600;
    font-size:15px
}

.selected-info p{
    margin:4px 0;
    color:#666;
    font-size:13px
}

/* Dual Column Time Picker (შესვლა / გამოსვლა) */
#timeGrid.has-dual-picker,
#timeGrid:has(.time-picker-dual-container) {
    display: block !important;
    max-height: none !important;
    overflow-y: visible !important;
    width: 100% !important;
}

.time-picker-dual-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 10px 0 !important;
    margin-bottom: 10px !important;
    user-select: none !important;
}

.time-picker-column {
    flex: 1 1 0% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: calc(50% - 8px) !important;
    min-width: 0 !important;
    max-width: 200px !important;
    box-sizing: border-box !important;
}

.time-picker-column-header {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 12px !important;
    text-align: center !important;
    letter-spacing: -0.2px !important;
}

.time-picker-wheel {
    width: 100% !important;
    max-height: 220px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 10px 0 !important;
    scroll-behavior: smooth !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    overflow-x: hidden !important;
}

.time-picker-wheel::-webkit-scrollbar {
    width: 4px;
    height: 0px;
}
.time-picker-wheel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.time-picker-wheel::-webkit-scrollbar-button,
.time-picker-wheel::-webkit-scrollbar-button:single-button,
.time-picker-wheel::-webkit-scrollbar-thumb:horizontal,
.time-picker-wheel::-webkit-scrollbar:horizontal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.time-picker-option {
    width: 100% !important;
    padding: 6px 0 !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    border-radius: 8px !important;
    line-height: 1.3 !important;
}

.time-picker-option:hover:not(.disabled):not(.active) {
    color: #475569 !important;
    background: #f8fafc !important;
}

.time-picker-option.active {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    background: transparent !important;
    transform: scale(1.05) !important;
}

.time-picker-option.disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
}

/* ===== მობილური - სრული ეკრანი ===== */
@media (max-width: 768px) {
    .datetime-dropdown {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        border-radius: 0 !important;
        z-index: 2000 !important;
        display: none;
        flex-direction: column;
        overflow: hidden;
        margin-top: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .datetime-dropdown.show {
        display: flex !important;
    }

    /* Header - ფიქსირებული */
    .datetime-dropdown .dropdown-header {
        flex-shrink: 0;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 2001;
        border-radius: 0;
    }

    .dropdown-header h4 {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin: 0;
    }

    .dropdown-header button {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #999;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s;
    }

    .dropdown-header button:active {
        background: #f0f0f0;
    }

    /* კალენდარი - scrollable */
    .datetime-dropdown .date-section {
        flex: 1;
        overflow-y: auto;
        padding: 0;
        background: white;
    }

    .calendar-container {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
        background: white;
        box-shadow: none;
        border-radius: 0;
    }

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

    .calendar-header button {
        padding: 10px 12px;
        border: 1px solid #ddd;
        background: white;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        min-height: 44px;
    }

    .calendar-header h3 {
        font-size: 16px;
        font-weight: 600;
        flex: 1;
        text-align: center;
        color: #333;
    }

    .days-of-week {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 6px;
        margin-bottom: 10px;
        text-align: center;
    }

    .days-of-week div {
        font-weight: 600;
        color: #666;
        font-size: 12px;
        padding: 8px 0;
    }

    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 6px;
        margin-bottom: 20px;
    }

    .calendar-day {
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
        background: white;
        transition: all 0.3s;
        min-height: 40px;
        padding: 0;
    }

    .calendar-day.empty {
        cursor: default;
        background: transparent;
        border: none;
    }

    .calendar-day.past-date {
        background: #f5f5f5;
        color: #999;
        cursor: not-allowed;
        border-color: #ddd;
    }

    .calendar-day.today {
        border-color: #ff6b6b;
        background: #fff5f5;
        color: #ff6b6b;
        font-weight: 700;
    }

    .calendar-day.selected {
        background: #1e90ff !important;
        color: white !important;
        border-color: #1e90ff !important;
    }

    .calendar-day:not(.empty):not(.past-date):not(.selected):hover {
        border-color: #1e90ff;
        background: #e6f0ff;
    }

    /* რეზერვირების ტიპი */
    .booking-type-selector {
        display: none;
        flex-shrink: 0;
        gap: 10px;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background: white;
        margin: 0;
    }

    .booking-type-selector.show {
        display: flex !important;
    }

    .booking-type-btn {
        flex: 1;
        padding: 12px 8px;
        border: 2px solid #ddd;
        background: white;
        border-radius: 6px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 600;
        color: #666;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 48px;
    }

    .booking-type-btn.active {
        background: #1e90ff;
        color: white;
        border-color: #1e90ff;
    }

    /* დრო */
    .datetime-dropdown .time-section {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
        background: white;
        display: none;
    }

    .time-section.show {
        display: block !important;
    }

    .time-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 15px;
        max-height: none;
        overflow-y: visible;
    }

    .hour-slot {
        padding: 12px 8px;
        border: 2px solid #e0e0e0;
        background: white;
        border-radius: 6px;
        text-align: center;
        cursor: pointer;
        font-size: 13px;
        font-weight: 500;
        color: #333;
        transition: all 0.3s;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hour-slot.past-hour {
        background: #f5f5f5;
        color: #999;
        border-color: #ddd;
        cursor: not-allowed;
    }

    .hour-slot.selected {
        background: #1e90ff;
        color: white;
        border-color: #1e90ff;
    }

    .hour-slot:not(.past-hour):hover {
        border-color: #1e90ff;
        background: #e6f0ff;
    }

    /* ღილაკები - ფიქსირებული ქვემოთ */
    .datetime-dropdown .dropdown-actions {
        display: flex;
        gap: 10px;
        padding: 12px 15px;
        background: #f8f9fa;
        border-top: 1px solid #eee;
        flex-shrink: 0;
        position: sticky;
        bottom: 0;
        z-index: 2001;
    }

    .btn-dropdown {
        flex: 1;
        padding: 10px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-clear {
        background: #6c757d;
        color: white;
    }

    .btn-clear:active {
        background: #5a6268;
        transform: scale(0.98);
    }

    /* საათების არჩევა ღილაკი მობილურზე - მწვანე */
    .btn-show-hours {
        flex: 1;
        padding: 10px;
        font-size: 14px;
        font-weight: 600;
        min-height: 42px;
        background: #28a745;
        color: white;
    }

    .btn-show-hours:active {
        background: #218838;
        transform: scale(0.98);
    }

    .btn-confirm {
        background: #1e90ff;
        color: white;
    }

    .btn-confirm:active {
        background: #1575d6;
        transform: scale(0.98);
    }
}

/* მცირე მობილური (480px) */
@media (max-width: 480px) {
    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        font-size: 12px;
        min-height: 38px;
        border-width: 1.5px;
    }

    .time-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .hour-slot {
        font-size: 12px;
        padding: 10px 6px;
        min-height: 42px;
    }

    .booking-type-selector {
        gap: 8px;
        padding: 12px;
    }

    .booking-type-btn {
        font-size: 12px;
        padding: 10px 8px;
        min-height: 44px;
    }

    .dropdown-header h4 {
        font-size: 16px;
    }

    .btn-dropdown {
        font-size: 13px;
        padding: 10px;
        min-height: 40px;
    }

    .btn-show-hours {
        font-size: 13px;
        padding: 10px;
        min-height: 40px;
    }

    .selected-info {
        padding: 12px;
        margin: 12px;
    }

    .selected-info h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .selected-info p {
        font-size: 12px;
        margin: 4px 0;
    }
}

/* Custom Modal Backdrop for DateTime Picker */
.datetime-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4); /* Slate 900 overlay */
    backdrop-filter: blur(4px);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.datetime-modal-backdrop.show {
    display: block;
    opacity: 1;
}

/* Desktop Center Pop-up Modal Style */
@media (min-width: 769px) {
    .datetime-dropdown {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 460px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        background: white !important;
        border-radius: 20px !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        z-index: 1501 !important; /* above backdrop */
        margin: 0 !important;
        animation: modalFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }
    
    @keyframes modalFadeIn {
        from { opacity: 0; transform: translate(-50%, -45%) scale(0.96); }
        to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    }
}
/* === css/_components.css === */
/* ჩატვირთვის სპინერი */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.spinner {
    border: 3px solid #f3eeff;
    border-top: 3px solid var(--color-primary, #7B3FBE);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* შეცდომის შეტყობინება */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin: 20px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* ელეგანტური "ცარიელი შედეგები" */
.no-results {
    text-align: center;
    padding: 60px 30px;
    color: #7f8c8d;
    background: white;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf0;
}

.no-results h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 600;
}

.no-results p {
    font-size: 15px;
    line-height: 1.5;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Loading, Empty, Error States for property lists */
.loading, .empty-properties, .error {
    text-align: center;
    padding: 24px 30px;
    color: #7f8c8d;
    grid-column: 1 / -1;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    border: none;
    margin: 0 auto;
    max-width: 500px;
}

.loading {
    background: #ffffff;
}

/* Loading spinner with CSS animation instead of Font Awesome */
.loading:before {
    content: '⏳';
    font-size: 2.5rem;
    color: var(--color-primary, #7B3FBE);
    margin-bottom: 15px;
    display: block;
    opacity: 0.6;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-properties { 
    font-style: italic; 
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    color: #6c757d;
}

.empty-properties h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 600;
}

.empty-properties:before {
    content: '🏘️';
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.error { 
    color: #dc3545; 
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.error h3 {
    color: #721c24;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 600;
}

.error:before {
    content: '⚠️';
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.success-message:before {
    content: '✅';
    margin-right: 8px;
}

#debugInfo {
    font-family: monospace;
    max-height: 100px;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-size: 12px;
    color: #6c757d;
}

/* Hide debug in production */
.production #debugInfo {
    display: none;
}

/* Booking Modals */
.booking-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.booking-success-modal .modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.success-header {
    text-align: center;
    margin-bottom: 20px;
}

.success-header i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 10px;
}

.success-header h3 {
    color: #333;
    margin: 0;
}

.booking-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.success-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-btn, linear-gradient(135deg, #7B3FBE, #C06BB0));
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.search-criteria-info {
    background: linear-gradient(135deg, var(--color-purple-soft, #f3eeff), #ead6ff);
    border: 1px solid var(--color-primary, #7B3FBE);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    animation: slideDown 0.3s ease;
}

.criteria-info-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.criteria-info-content i {
    color: var(--color-primary, #7B3FBE);
    font-size: 1.2rem;
}

.clear-criteria-btn {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.clear-criteria-btn:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* === css/_responsive.css === */
/* რესპონსიული დიზაინი - მობილური ვერსია */

/* ტაბლეტი და მობილური (768px და ნაკლები) */
@media (max-width: 768px) {
    /* სურათის ნავიგაცია ყოველთვის ხილულია მობილურზე */
    .image-navigation {
        opacity: 1;
    }

    /* მობილურის გმირი ოვერლეი */
    .mobile-hero-overlay {
        display: block !important;
    }

    /* პოპულარული ბინები სათაური მობილურზე */
    .listings-header h2 {
        font-size: 22px !important;
    }

    /* ყველას ნახვა ღილაკი მობილურზე — საერთოდ დამალული */
    .listings-header .view-all-btn,
    .view-all-btn {
        display: none !important;
    }

    /* ბინების კარტების სიგანის გაზრდა მობილურზე (კონტეინერის padding-ის შემცირება) */
    #listings > .max-w-7xl,
    #destinations > .max-w-7xl,
    #listings > .container,
    #destinations > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Header & Mobile Menu */
    /* Header & Mobile Menu */
    header.app-header {
        padding: 0 !important;
        background: rgba(155, 79, 212, 0.88) !important; /* Beautiful semi-transparent light purple */
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    header.app-header > div {
        padding: 10px 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .header-right {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .header-right .header-btn-post {
        display: inline-flex !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        padding: 8px 16px !important;
        border-radius: 40px !important;
        text-decoration: none !important;
        height: 38px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        transition: all 0.2s ease !important;
    }
    .header-right .header-btn-post:active {
        background: rgba(255, 255, 255, 0.25) !important;
    }
    .hamburger-btn {
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        transition: all 0.3s ease !important;
        cursor: pointer;
    }
    .hamburger-btn:active {
        background: rgba(255, 255, 255, 0.25) !important;
        transform: scale(0.95);
    }
    .mobile-menu-overlay {
        background: linear-gradient(135deg, rgba(91, 45, 142, 0.98) 0%, rgba(123, 63, 190, 0.98) 100%) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        padding: 80px 24px 40px 24px !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    .mobile-menu-overlay a {
        font-family: 'Plus Jakarta Sans', 'Noto Sans Georgian', sans-serif !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        color: white !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        width: 100% !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        opacity: 0.9 !important;
        transition: all 0.3s ease !important;
    }
    .mobile-menu-overlay a::after {
        content: "→";
        font-size: 18px;
        opacity: 0.6;
        transition: transform 0.3s ease;
    }
    .mobile-menu-overlay a:active {
        opacity: 1 !important;
        padding-left: 8px !important;
        color: #E8B4FF !important;
    }
    .mobile-menu-overlay a:active::after {
        transform: translateX(5px);
        opacity: 1;
    }
    .mobile-close-btn {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }
    .mobile-close-btn:active {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: rotate(90deg) scale(0.9);
    }
    .mobile-menu-actions {
        width: 100% !important;
        max-width: none !important;
        margin-top: auto !important;
        gap: 12px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .mobile-btn-outline {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        color: white !important;
        border-radius: 30px !important;
        padding: 14px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-align: center !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }
    .mobile-btn-outline:active {
        background: rgba(255, 255, 255, 0.2) !important;
    }
    .mobile-btn-solid {
        background: linear-gradient(135deg, #FFD700, #FFA500) !important;
        color: #5B2D8E !important;
        border-radius: 30px !important;
        padding: 14px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-align: center !important;
        text-decoration: none !important;
        border: none !important;
        box-shadow: 0 6px 20px rgba(255, 165, 0, 0.25) !important;
        transition: all 0.2s ease !important;
    }
    .mobile-btn-solid:active {
        transform: translateY(1px) scale(0.98) !important;
    }

    /* 🔥 Hero & Search Section - Premium Mobile Redesign */
    .search-section {
        padding: 20px 0 0 0 !important;
        margin: 0 !important;
        min-height: auto !important;
        background: linear-gradient(135deg, #5B2D8E 0%, #7B3FBE 50%, #9B4FD4 100%) !important;
    }
    .hero-inner {
        padding: 60px 16px 20px 16px !important;
    }
    .hero-sub-desktop {
        display: none !important;
    }
    .mobile-break {
        display: block !important;
    }
    .hero-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin-bottom: 16px !important;
        white-space: normal !important;
    }
    .hero-desc {
        text-align: center !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin: 0 auto 24px auto !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }
    .desktop-only-stats {
        display: none !important;
    }
    .mobile-only-stats {
        display: flex !important;
        justify-content: center !important;
        gap: 16px !important;
        margin: 20px auto 30px auto !important;
        width: 100% !important;
    }
    .stat-num {
        font-size: 24px !important;
    }
    .stat-lbl {
        font-size: 10px !important;
    }
    .hero-images-col {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto !important;
        min-height: 400px !important;
        padding: 20px 0 40px 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }
    .diamond-mosaic {
        transform: scale(1) !important; /* Made cubes slightly larger */
        transform-origin: center center !important;
        margin: 0 auto !important;
    }
    .dm-rating {
        bottom: -20px !important;
        right: -10px !important;
        padding: 8px 12px !important;
        border-radius: 12px !important;
    }
    @media (max-width: 380px) {
        .diamond-mosaic {
            transform: scale(0.88) !important;
        }
    }
    .hero-search-bar {
        margin-top: 10px !important;
    }
    .hero-search-inner {
        padding: 0 12px !important;
    }
    .search-form {
        margin: 0 !important;
        padding: 24px 20px !important;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(0, 0, 0, 0.03) !important;
        border-bottom: none !important;
    }
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 16px !important;
    }
    .form-group label {
        font-size: 12px !important;
        color: #7B3FBE !important;
        font-weight: 600 !important;
        margin-bottom: 6px !important;
        display: block;
    }
    .form-control {
        font-size: 14px !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        border: 1px solid #E2E8F0 !important;
        background-color: #F8FAFC !important;
        color: #1e293b !important;
        height: auto !important;
        transition: all 0.2s ease !important;
    }
    .form-control:focus {
        border-color: #7B3FBE !important;
        background-color: #ffffff !important;
        box-shadow: 0 0 0 3px rgba(123, 63, 190, 0.15) !important;
    }
    .price-range-toggle-button,
    .detailed-search-toggle-button {
        font-size: 14px !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        background-color: #F1F5F9 !important;
        border: 1px solid #E2E8F0 !important;
        color: #475569 !important;
        font-weight: 600 !important;
        margin-bottom: 12px !important;
        transition: all 0.2s ease !important;
    }
    .price-range-toggle-button:active,
    .detailed-search-toggle-button:active {
        background-color: #E2E8F0 !important;
    }
    .price-range-fields input {
        font-size: 14px !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        border: 1px solid #E2E8F0 !important;
        background-color: #F8FAFC !important;
    }
    .detailed-search-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .checkbox-section {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .checkbox-group {
        grid-template-columns: 1fr 1fr !important; /* 2 Columns on mobile so it's compact! */
        gap: 10px !important;
    }
    .checkbox-group label {
        font-size: 12px !important;
        font-weight: 500 !important;
        color: #475569 !important;
    }
    .search-button {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        justify-content: center !important;
        box-shadow: 0 6px 18px rgba(123, 63, 190, 0.2) !important;
        margin-top: 10px !important;
    }
    .date-range-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    input[type="datetime-local"] {
        font-size: 14px !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        border: 1px solid #E2E8F0 !important;
        background-color: #F8FAFC !important;
    }

    /* ძიების შედეგების სექცია */
    .results-section {
        padding: 25px 0 !important;
    }

    .results-section h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    /* ძიების შედეგების Container */
    #resultsContainer {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 !important;
        justify-items: center !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* ძიების შედეგების ბარათები */
    #resultsContainer .property-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #f1f5f9 !important;
    }

    /* ახალი განცხადებების სექცია */
    .property-section {
        padding: 30px 0 !important;
    }
    
    .property-section .px-6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* ახალი განცხადებების Container */
    .property-list {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 !important;
        justify-items: center !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* ახალი განცხადებების ბარათები - იგივე ზომა */
    .property-list .property-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #f1f5f9 !important;
    }

    /* ბარათის შიდა ელემენტები */
    .property-images {
        height: 220px !important;
        border-radius: 16px 16px 0 0 !important;
    }

    .property-card h3 {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        margin: 16px 16px 12px 16px !important;
        line-height: 1.35 !important;
    }

    .property-details {
        padding: 0 16px !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 Columns on mobile! */
        gap: 8px !important;
        margin-bottom: 16px !important;
    }

    .property-detail {
        padding: 8px 10px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
        border: 1px solid #f1f5f9 !important;
        background-color: #f8fafc !important;
    }

    .property-features {
        padding: 0 16px 16px 16px !important;
        gap: 6px !important;
    }

    .feature-tag {
        font-size: 10px !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
    }

    .property-actions {
        padding: 0 16px 16px 16px !important;
        flex-direction: row !important; /* Side-by-side buttons on mobile! */
        gap: 8px !important;
    }

    .property-button {
        flex: 1 !important;
        width: auto !important;
        padding: 10px 8px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        justify-content: center !important;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .loading, .empty-properties, .error {
        padding: 40px 20px;
        margin: 20px auto;
    }

    /* ============================================
       🆕 თარიღის dropdown - სრული ეკრანის რეჟიმი
    ============================================ */
    .datetime-field {
        width: 100%;
    }

    .datetime-dropdown {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        border-radius: 0 !important;
        z-index: 2000 !important;
        display: none;
        flex-direction: column;
        overflow: hidden;
        margin-top: 0 !important;
    }

    .datetime-dropdown.show {
        display: flex !important;
    }

    /* 🆕 Header - ფიქსირებული */
    .datetime-dropdown .dropdown-header {
        flex-shrink: 0;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-header h4 {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .dropdown-header button {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #999;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 🆕 კალენდრის სექცია - JavaScript დაამალავს */
    .datetime-dropdown .date-section {
        flex: 1;
        overflow-y: auto;
        padding: 0;
        background: white;
    }

    /* კალენდარი */
    .calendar-container {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
        background: white;
    }

    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        gap: 15px;
    }

    .calendar-header button {
        padding: 10px 15px;
        border: 1px solid #ddd;
        background: white;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        min-height: 44px;
        min-width: 44px;
    }

    .calendar-header h3 {
        font-size: 18px;
        font-weight: 600;
        flex: 1;
        text-align: center;
        color: #333;
    }

    /* კვირის დღეები */
    .days-of-week {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
        margin-bottom: 12px;
        text-align: center;
    }

    .days-of-week div {
        font-weight: 600;
        color: #666;
        font-size: 12px;
        padding: 8px 4px;
    }

    /* კალენდრის რიცხვები */
    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
        margin-bottom: 20px;
    }

    .calendar-day {
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 500;
        font-size: 16px;
        background: white;
        transition: all 0.3s ease;
        min-height: 45px;
    }

    .calendar-day.empty {
        cursor: default;
        background: transparent;
        border: none;
    }

    .calendar-day.past-date {
        background: #f5f5f5;
        color: #999;
        cursor: not-allowed;
        border-color: #ddd;
    }

    .calendar-day.today {
        border-color: #ff6b6b;
        background: #fff5f5;
        color: #ff6b6b;
        font-weight: 700;
    }

    .calendar-day.selected {
        background: #1e90ff;
        color: white;
        border-color: #1e90ff;
    }

    .calendar-day:not(.empty):not(.past-date):hover {
        border-color: #1e90ff;
        background: #e6f0ff;
        transform: scale(1.05);
    }

    /* 🆕 წიგნის ტიპის სელექტორი */
    .booking-type-selector {
        display: none; /* JavaScript გააქტიურებს */
        flex-shrink: 0;
        gap: 10px;
        margin: 0;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background: white;
    }

    .booking-type-btn {
        flex: 1;
        padding: 12px 10px;
        border: 2px solid #ddd;
        background: white;
        border-radius: 6px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 600;
        color: #666;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 48px;
    }

    .booking-type-btn.active {
        background: #1e90ff;
        color: white;
        border-color: #1e90ff;
    }

    .booking-type-btn i {
        font-size: 14px;
    }

    /* 🆕 საათების სექცია */
    .time-section {
        flex: 1;
        overflow-y: auto;
        padding: 0 15px;
        margin-bottom: 15px;
        background: white;
        display: none; /* JavaScript გააქტიურებს */
    }

    .time-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 15px;
        padding-top: 15px;
    }

    .hour-slot {
        padding: 12px 8px;
        border: 2px solid #e0e0e0;
        background: white;
        border-radius: 6px;
        text-align: center;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        transition: all 0.3s ease;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hour-slot.past-hour {
        background: #f5f5f5;
        color: #999;
        border-color: #ddd;
        cursor: not-allowed;
    }

    .hour-slot.selected {
        background: #1e90ff;
        color: white;
        border-color: #1e90ff;
    }

    .hour-slot:not(.past-hour):hover {
        border-color: #1e90ff;
        background: #e6f0ff;
    }

    /* 🆕 შერჩეული ინფორმაცია */
    .selected-info {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin: 15px;
        flex-shrink: 0;
    }

    .selected-info h4 {
        color: #333;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .selected-info p {
        font-size: 13px;
        color: #666;
        margin: 6px 0;
        padding: 4px 0;
    }

    .selected-info p strong {
        color: #333;
        font-weight: 600;
    }

    /* 🆕 ღილაკები - ფიქსირებული ქვემოთ */
    .dropdown-actions {
        display: flex;
        gap: 10px;
        padding: 15px;
        background: #f8f9fa;
        border-top: 1px solid #eee;
        flex-shrink: 0;
        position: sticky;
        bottom: 0;
        z-index: 10;
    }

    .btn-dropdown {
        flex: 1;
        padding: 14px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        transition: all 0.3s ease;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-clear {
        background: #6c757d;
        color: white;
    }

    .btn-clear:active {
        background: #5a6268;
        transform: scale(0.98);
    }

    .btn-confirm {
        background: #1e90ff;
        color: white;
    }

    .btn-confirm:active {
        background: #1575d6;
        transform: scale(0.98);
    }

    /* 🆕 მთელი დღე შეტყობინება */
    .time-grid > div[style*="grid-column"] {
        grid-column: 1 / -1 !important;
        padding: 20px !important;
        background: #e3f2fd;
        border-radius: 8px;
        font-size: 14px;
        color: #1e90ff;
        text-align: center;
        border: 2px solid #1e90ff;
        font-weight: 600;
    }
}

/* მცირე მობილური (480px და ნაკლები) */
@media (max-width: 480px) {
    /* Header */
    header.app-header {
        flex-direction: row;
        align-items: center;
        padding: 15px 20px;
        justify-content: space-between;
    }

    .header-actions {
        margin-top: 0;
        width: auto;
        justify-content: flex-end;
        flex-shrink: 0;
        flex-direction: row-reverse;
    }

    .action-button,
    .language-dropdown {
        flex-grow: 0;
        text-align: center;
        justify-content: center;
    }

    .language-dropdown-content {
        right: 0;
        left: auto;
        transform: none;
        min-width: 140px;
    }

    /* 🔥 Search Section - პატარა ეკრანებზე */
    .search-section {
        padding: 20px 0;
        margin: 0 !important; /* ←← აქაც 0 */
        margin-bottom: 20px !important;
    }

    .search-section h2 {
        font-size: 20px;
        padding: 0 10px;
    }

    .search-form {
        margin: 0 10px; /* შიდა padding პატარა */
        padding: 15px 10px;
    }

    .form-control,
    .price-range-toggle-button,
    .detailed-search-toggle-button,
    .price-range-fields input,
    .search-button {
        font-size: 13px;
        padding: 8px;
    }

    input[type="datetime-local"] {
        font-size: 13px;
        padding: 8px;
    }

    /* ძიების შედეგების სექცია */
    .results-section {
        padding: 20px 0;
    }

    .results-section h2 {
        font-size: 28px;
    }

    /* ძიების შედეგების Container */
    #resultsContainer {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
        justify-items: center !important;
        max-width: 100% !important;
    }

    /* ძიების შედეგების ბარათები */
    #resultsContainer .property-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 8px;
    }

    /* ახალი განცხადებების სექცია */
    .property-section {
        padding: 20px 0;
    }

    /* ახალი განცხადებების Container */
    .property-list {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
        justify-items: center !important;
        max-width: 100% !important;
    }

    /* ახალი განცხადებების ბარათები - იგივე ზომა */
    .property-list .property-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 8px;
    }

    /* ბარათის შიდა ელემენტები */
    .property-card h3 {
        font-size: 16px;
        margin: 12px 12px 10px 12px;
    }

    .property-details {
        padding: 0 12px;
        margin-bottom: 12px;
    }

    .property-detail {
        padding: 6px 10px;
        font-size: 11px;
    }

    .property-features {
        padding: 0 12px 12px 12px;
    }

    .feature-tag {
        font-size: 10px;
        padding: 4px 8px;
    }

    .property-actions {
        padding: 0 12px 12px 12px;
    }

    .loading, .empty-properties, .error {
        padding: 30px 15px;
        margin: 15px auto;
    }

    /* 🆕 კალენდარი მობილურზე - კომპაქტური */
    .calendar-grid {
        gap: 6px;
    }

    .calendar-day {
        font-size: 14px;
        min-height: 40px;
        border-width: 1.5px;
    }

    /* 🆕 საათები - 3 სვეტი პატარა ეკრანებზე */
    .time-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .hour-slot {
        font-size: 12px;
        padding: 10px 6px;
        min-height: 44px;
    }

    .booking-type-selector {
        gap: 8px;
        padding: 12px;
    }

    .booking-type-btn {
        font-size: 12px;
        padding: 10px 8px;
        min-height: 44px;
    }

    .dropdown-header h4 {
        font-size: 14px;
    }

    .btn-dropdown {
        font-size: 14px;
        padding: 12px;
        min-height: 44px;
    }

    .selected-info {
        padding: 12px;
        margin: 12px;
    }

    .selected-info h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .selected-info p {
        font-size: 12px;
        margin: 4px 0;
    }
}

/* მობილური მენიუს სტილები */
@media (max-width: 768px) {
    /* Header overflow fix */
    header.app-header {
        overflow: visible !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    /* მენიუს dropdown */
    .menu-dropdown {
        position: relative;
        z-index: 1001;
    }
    
    .menu-dropdown-content {
        position: absolute;
        top: 100% !important;
        right: 0;
        left: auto;
        background-color: white;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        overflow: visible;
        z-index: 1002 !important;
        transform: translateY(5px);
        border: 1px solid #e0e0e0;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .menu-dropdown.show .menu-dropdown-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .menu-item {
        padding: 15px 20px;
        min-height: 48px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        border-bottom: 1px solid #f1f3f5;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    .menu-button {
        color: #ffffff !important;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 500;
    }
    
    .menu-button .menu-icon {
        order: 0;
        margin-right: 6px;
        margin-left: 0;
    }
    
    .menu-button .menu-icon::before,
    .menu-button .menu-icon::after,
    .menu-button .menu-icon div {
        background-color: #ffffff !important;
    }
    
    /* ენის dropdown */
    .language-dropdown {
        position: relative;
        z-index: 1001;
    }
    
    .language-dropdown-content {
        position: absolute;
        top: 100% !important;
        right: 0;
        left: auto;
        background-color: white;
        min-width: 150px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        overflow: visible;
        z-index: 1002 !important;
        transform: translateY(5px);
        border: 1px solid #e0e0e0;
    }
    
    .language-dropdown.show .language-dropdown-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .language-dropdown-content a {
        padding: 12px 15px;
        min-height: 44px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
}

/* ულტრა მობილური dropdown პოზიციონირება */
@media (max-width: 480px) {
    header.app-header {
        flex-direction: row;
        align-items: center;
        padding: 15px 10px;
        overflow: visible !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        justify-content: space-between;
    }
    
    .header-actions {
        margin-top: 0;
        width: auto;
        justify-content: flex-end;
        position: relative;
        flex-shrink: 0;
    }
    
    .menu-dropdown-content {
        right: 0;
        left: auto;
        width: auto;
        min-width: 200px;
        max-width: 250px;
    }
    
    .language-dropdown-content {
        right: 0;
        left: auto;
        min-width: 120px;
        transform: translateY(5px);
    }
}

/* Touch devices მხარდაჭერა */
@media (pointer: coarse) {
    .menu-button,
    .language-button {
        min-height: 48px;
        padding: 12px 16px;
    }
    
    .menu-item,
    .language-dropdown-content a {
        min-height: 48px;
        padding: 16px 20px;
    }
}

/* Hover effects გათიშვა touch devices-ზე */
@media (hover: none) and (pointer: coarse) {
    .menu-item:hover,
    .language-dropdown-content a:hover {
        background-color: transparent;
    }
    
    .menu-item:active,
    .language-dropdown-content a:active {
        background-color: #f8f9fa;
        transform: scale(0.98);
    }
}
/* === css/_footer.css === */
/* Footer სტილები */
.site-footer {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 50px 20px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 30px;
    text-align: center;
}

.footer-column h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffffff;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #7B3FBE, #C06BB0);
    border-radius: 2px;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* სოციალური ქსელები */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: linear-gradient(135deg, #7B3FBE, #C06BB0);
    transform: translateY(-3px);
}

/* კონტაქტის ინფო */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-info li i {
    color: var(--color-secondary, #C06BB0);
    width: 20px;
    text-align: center;
}

/* Copyright */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* რესპონსიული დიზაინი */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 15px 15px 15px;
        margin-top: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column h3 {
        font-size: 22px;
    }

    .footer-column h4 {
        font-size: 17px;
    }

    .contact-info li {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 10px 10px 10px;
    }

    .footer-column h3 {
        font-size: 20px;
    }

    .footer-column h4 {
        font-size: 16px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
/* === css/voice-search.css === */
/* Voice Search (ხმოვანი ძიება) Styles */

/* Floating Mobile Voice Search Button */
.voice-search-float-btn {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7B3FBE 0%, #C06BB0 100%);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(123, 63, 190, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: 14px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.voice-search-float-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(123, 63, 190, 0.6);
}

.voice-search-float-btn:active {
    transform: translateY(0) scale(0.97);
}

.voice-search-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.voice-search-float-btn.recording {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.55);
    animation: voicePulse 1.5s infinite;
}

@keyframes voicePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(225, 29, 72, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

/* Modal Overlay for Voice Search Feedback */
.voice-search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.voice-search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.voice-search-modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 28px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.voice-search-modal-overlay.active .voice-search-modal-card {
    transform: translateY(0) scale(1);
}

.voice-mic-wave-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B3FBE, #C06BB0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    position: relative;
    box-shadow: 0 10px 25px rgba(123, 63, 190, 0.35);
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    user-select: none;
}

.voice-mic-wave-container:hover {
    transform: scale(1.06);
}

.voice-mic-wave-container:active {
    transform: scale(0.95);
}

.voice-mic-wave-container.error {
    background: linear-gradient(135deg, #ef4444, #f87171);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.35);
}

.voice-mic-wave-container.listening::before,
.voice-mic-wave-container.listening::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid #7B3FBE;
    animation: waveExpand 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    opacity: 0;
}

.voice-mic-wave-container.listening::after {
    animation-delay: 1s;
}

@keyframes waveExpand {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.voice-manual-input-wrap {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.voice-manual-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.voice-manual-input:focus {
    border-color: #7B3FBE;
}

.voice-manual-btn {
    background: linear-gradient(135deg, #7B3FBE, #C06BB0);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.voice-manual-btn:hover {
    opacity: 0.9;
}

.voice-status-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.voice-transcript-text {
    font-size: 15px;
    color: #475569;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 14px 16px;
    border-radius: 14px;
    margin: 16px 0;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    word-break: break-word;
}

.voice-parsed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.voice-tag {
    font-size: 12px;
    font-weight: 600;
    background: #f1f5f9;
    color: #4A1D7C;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.voice-close-modal-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.voice-permission-guide {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    margin: 12px 0;
    text-align: left;
    font-size: 13px;
    color: #334155;
}

.voice-permission-guide ol {
    margin: 8px 0 0 18px;
    padding: 0;
    line-height: 1.6;
}

.voice-permission-guide li {
    margin-bottom: 4px;
}

.voice-reload-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.voice-reload-btn:hover {
    opacity: 0.92;
}
