/* ============================================================
   COMPARISON MATRIX v2 — Horizontal Scroll, Row-Aligned Grid
   1 project per viewport, swipe to compare
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --primary: #059669; /* Emerald 600 */
    --primary-dark: #047857; /* Emerald 700 */
    --primary-light: #d1fae5; /* Emerald 100 */
    --plyr-color-main: #059669;
    --navy: #0B192C;
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-light: #EFF6FF;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --text-dark: #111827;
    --text-mid: #374151;
    --text-muted: #6B7280;
    --text-faint: #9CA3AF;
    --green: #25D366;
    --green-dark: #16A34A;
    --orange: #F97316;
    --gold: #F59E0B;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-sticky: 0 2px 12px rgba(0,0,0,0.1);

    --col-count: 1;
    --col-width: clamp(360px, 45vw, 600px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== PAGE HEADER REMOVED ===== */

/* ===== BHK TABS ===== */
.bhk-tabs {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
}

.bhk-tabs-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.bhk-tabs-inner::-webkit-scrollbar { display: none; }

.bhk-tab {
    padding: 7px 18px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    font-family: inherit;
}
.bhk-tab:hover { border-color: var(--blue); color: var(--blue); }
.bhk-tab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.bhk-tab .tab-count {
    display: inline-block;
    margin-left: 4px;
    background: rgba(0,0,0,0.08);
    padding: 1px 6px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
}
.bhk-tab.active .tab-count { background: rgba(255,255,255,0.3); }

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 100%;
}

/* ===== STICKY HEADER BAR ===== */
.sticky-header-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-header-bar.has-shadow {
    box-shadow: var(--shadow-sticky);
}

.sticky-header-bar.compact {
    transform: translateY(0);
}

.sticky-header-track {
    display: grid;
    transition: transform 0.06s linear;
}

.header-cell {
    position: relative;
    padding: 18px 24px;
    text-align: center;
    transition: padding 0.3s ease;
}

.header-cell:not(.last-col)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    bottom: 15%;
    width: 2px;
    background: linear-gradient(180deg, 
        rgba(37, 99, 235, 0.8) 0%, 
        rgba(147, 197, 253, 1) 50%, 
        rgba(37, 99, 235, 0.8) 100%
    );
    border-radius: 2px;
    z-index: 2;
}

.header-cell:not(.last-col)::before {
    content: 'VS';
    position: absolute;
    top: 50%;
    right: -11px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 100px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    letter-spacing: 0.5px;
    border: 1.5px solid #FFFFFF;
}

/* Project name: distinctive serif font with gradient */
.header-cell .project-name {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0B192C;
    line-height: 1.3;
    margin-bottom: 6px;
    transition: font-size 0.3s ease, margin 0.3s ease;
    animation: syncedColorCycle 12s ease-in-out infinite;
}

.header-cell .price-label {
    font-size: 0.65rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
    transition: all 0.3s ease;
    animation: syncedColorCycle 12s ease-in-out infinite;
}

.header-cell .price-tag {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    transition: font-size 0.3s ease;
    display: inline-block;
    animation: syncedColorCycle 12s ease-in-out infinite, softPriceScale 3.5s ease-in-out infinite;
}

@keyframes syncedColorCycle {
    0%, 100% { color: #0B192C; } /* Premium Navy */
    25% { color: #064E3B; } /* Emerald */
    50% { color: #4C1D95; } /* Royal Purple */
    75% { color: #92400E; } /* Bronze/Gold */
}

@keyframes softPriceScale {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0px rgba(0,0,0,0);
    }
    50% {
        transform: scale(1.04) translateY(-1px);
        text-shadow: 0 4px 12px rgba(0,0,0, 0.1);
    }
}

/* ── Compact mode (on scroll) ── */
.sticky-header-bar.compact .header-cell {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sticky-header-bar.compact .project-name {
    font-size: 1rem;
    margin-bottom: 0;
}

.sticky-header-bar.compact .price-label {
    display: none;
}

.sticky-header-bar.compact .price-tag {
    font-size: 0.95rem;
}

/* ===== SCROLL HINT BAR ===== */
.scroll-hint-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--bg-light);
    font-size: 0.72rem;
    color: var(--text-faint);
    border-bottom: 1px solid var(--border-light);
}
.scroll-hint-bar i { font-size: 0.65rem; }

/* ===== COMPARISON SCROLL WRAPPER ===== */
.comparison-scroll {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    -webkit-overflow-scrolling: touch;
}
.comparison-scroll::-webkit-scrollbar { height: 6px; }
.comparison-scroll::-webkit-scrollbar-track { background: transparent; }
.comparison-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 100px;
}
.comparison-scroll::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* ===== COMPARISON GRID (Row-Based) ===== */
.comparison-grid {
    display: grid;
    /* --col-count and --col-width set by JS */
    width: max-content;
    background: #F8FAFC;
    column-gap: 0;
}

.grid-cell {
    position: relative;
    background: var(--white);
    padding: 20px 20px;
    border-bottom: 1px solid #F1F5F9;
}

.grid-cell:not(.last-col)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        rgba(37, 99, 235, 0.3) 0%, 
        rgba(203, 213, 225, 0.8) 30%, 
        rgba(203, 213, 225, 0.8) 70%, 
        rgba(37, 99, 235, 0.3) 100%
    );
    z-index: 2;
}

/* Row separator: thicker bottom border between row groups */
.grid-cell.row-end {
    border-bottom: 1px solid var(--border-light);
}

/* ===== ROW: HERO VISUALS ===== */
.cell-hero {
    padding: 16px 24px;
}

.hero-img-wrap {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-light);
}

.hero-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.hero-img-wrap:hover img { transform: scale(1.03); }

.possession-badge {
    position: absolute;
    bottom: 10px; left: 10px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(22, 163, 74, 0.9);
    color: var(--white);
    backdrop-filter: blur(6px);
}

.no-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    color: var(--text-faint);
    font-size: 0.8rem;
    flex-direction: column;
    gap: 6px;
}
.no-media-placeholder i { font-size: 1.4rem; opacity: 0.4; }

/* ===== ROW: DIMENSIONS & SPECS ===== */
.cell-specs {
    padding: 16px 24px;
}

.row-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b1b1b;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.row-label i { font-size: 1rem; color: var(--emerald, #059669); }

.specs-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.spec-chip {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    text-align: left;
}

.spec-chip .spec-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    display: block;
}

.spec-chip .spec-lbl {
    font-size: 0.62rem;
    color: var(--text-muted);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.spec-chip.full-width { grid-column: 1 / -1; }

/* ===== ROW: MEDIA (Flat & Society) ===== */
.cell-media {
    padding: 16px 24px;
}

.media-video-wrap {
    width: 100%;
    height: 100%;
    background: #000;
    aspect-ratio: 16 / 9;
}

.media-video-wrap video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== INTERACTIVE GALLERY ===== */
.interactive-gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0B192C;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: opacity 0.15s ease-in-out;
}

.media-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(11, 25, 44, 0.8);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 100px;
    backdrop-filter: blur(6px);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.media-type-badge i {
    font-size: 0.62rem;
    color: #60A5FA;
}

.media-img-wrap {
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.media-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.media-img-wrap:hover img {
    transform: scale(1.04);
}

.zoom-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 25, 44, 0.75);
    color: var(--white);
    padding: 6px 12px;
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 100px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.media-img-wrap:hover .zoom-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 5px;
}
.gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}
.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.gallery-thumb {
    width: 65px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-light);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--bg-light);
    position: relative;
    transition: all 0.2s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    border-color: var(--text-faint);
}

.gallery-thumb.active {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Video thumbnail overlay and placeholder */
.thumb-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.8rem;
    z-index: 2;
    transition: background 0.2s ease;
}
.gallery-thumb:hover .thumb-video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.thumb-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1E293B;
    color: #94A3B8;
    gap: 2px;
}
.thumb-video-placeholder i {
    font-size: 0.75rem;
}
.thumb-video-placeholder span {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== REDESIGNED FACILITIES & AMENITIES ===== */
.cell-amenities {
    padding: 16px 24px;
}

.row-label-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.row-label-wrap .row-label {
    margin-bottom: 0;
}

.amenity-score-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
}

.amenity-score-badge.score-high {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.amenity-score-badge.score-mid {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.amenity-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amenity-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.amenity-card.available {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.amenity-card.available:hover {
    transform: translateY(-2px);
    border-color: #93C5FD;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.amenity-card.unavailable {
    background: #F8FAFC;
    border-color: #F1F5F9;
    opacity: 0.55;
}

.amenity-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amenity-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.amenity-icon-box.pool { background: #E0F2FE; color: #0284C7; }
.amenity-icon-box.club { background: #FEF3C7; color: #D97706; }
.amenity-icon-box.kids { background: #D1FAE5; color: #059669; }
.amenity-icon-box.gym { background: #EDE9FE; color: #7C3AED; }
.amenity-icon-box.amphitheater { background: #FFE4E6; color: #E11D48; }
.amenity-icon-box.security { background: #DBEAFE; color: #2563EB; }
.amenity-icon-box.parking { background: #E0E7FF; color: #4F46E5; }

.amenity-text {
    display: flex;
    flex-direction: column;
}

.amenity-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}

.amenity-sub {
    font-size: 0.65rem;
    color: #64748B;
    font-weight: 500;
    margin-top: 1px;
}

.amenity-status-pill {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-yes {
    background: #DCFCE7;
    color: #16A34A;
    border: 1px solid #86EFAC;
}

.status-no {
    background: #F1F5F9;
    color: #94A3B8;
}

/* ===== REDESIGNED PROXIMITY & CONNECTIVITY ===== */
.cell-proximity {
    padding: 16px 24px;
}

.proximity-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proximity-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.proximity-card:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
}

.prox-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prox-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.prox-name {
    font-size: 0.83rem;
    font-weight: 600;
    color: #334155;
}

.prox-distance-pill {
    background: #0B192C;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.prox-distance-pill i {
    font-size: 0.6rem;
    color: #60A5FA;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    min-height: 50vh;
}
.empty-state i { font-size: 2.5rem; color: var(--text-faint); margin-bottom: 16px; }
.empty-state h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; }
.empty-state a { margin-top: 16px; color: var(--blue); text-decoration: none; font-weight: 600; }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-content img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

/* ===== RESPONSIVE — Wider content on larger screens ===== */
@media (min-width: 700px) {
    .specs-mini-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .spec-chip.full-width {
        grid-column: auto;
    }
    .media-carousel img {
        height: 120px;
        min-width: 170px;
    }
}

/* ===== Entry Animation ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.grid-cell {
    animation: fadeInUp 0.4s ease both;
}

/* ============================================================
   CHATBOT UI
   ============================================================ */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #C9A96E;
    color: #1a1a1a;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(201, 169, 110, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(201, 169, 110, 0.6);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.chat-window.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.chat-header {
    background: rgba(201, 169, 110, 0.1);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-info i {
    color: #C9A96E;
    font-size: 20px;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.chat-close {
    background: transparent;
    border: none;
    color: rgba(0,0,0,0.5);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.chat-close:hover {
    color: #C9A96E;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.message p {
    margin: 0;
    font-size: 14px;
}

.message.ai-message {
    background: rgba(201, 169, 110, 0.1);
    color: #1a1a1a;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.message.user-message {
    background: #C9A96E;
    color: #1a1a1a;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 16px;
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    display: flex;
    gap: 10px;
    background: #fff;
}

.chat-input-area input {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 10px 16px;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-area input:focus {
    border-color: #C9A96E;
}

.chat-send {
    background: #C9A96E;
    color: #1a1a1a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.chat-send:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .chat-window {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: none;
    }
}
