/**
 * Inzertný Web - Hlavný CSS
 * Clean Utility Blue: biele pozadie, modrá primárna, cool sivé, klasický inzertný portál
 * Farby: #2563EB blue, #1D4ED8 dark, #0EA5E9 sky, #F8FAFC bg, #0F172A dark
 */

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --primary-pale: #DBEAFE;
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --sky: #0EA5E9;
    --accent: #0EA5E9;
    --bg-light: #F8FAFC;
    --bg-cool: #F8FAFC;
    --bg-blue: #EFF6FF;
    --bg-soft: #F1F5F9;
    --white: #FFFFFF;
    --dark: #0F172A;
    --black: #020617;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --success: #16A34A;
    --warning: #EAB308;
    --danger: #DC2626;
    --info: #0EA5E9;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
    --shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 6px -1px rgba(15,23,42,0.07), 0 2px 4px -2px rgba(15,23,42,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.08), 0 4px 6px -4px rgba(15,23,42,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15,23,42,0.1);
    --shadow-blue: 0 4px 14px rgba(37,99,235,0.25);
    --shadow-blue-soft: 0 2px 8px rgba(37,99,235,0.15);
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-pill: 999px;
    --transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-body); 
    font-size: 15px; 
    line-height: 1.6; 
    color: var(--gray-700); 
    background: var(--bg-cool); 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-sans);
    font-weight: 700; 
    line-height: 1.25; 
    color: var(--dark); 
    margin-bottom: 0.5rem; 
    letter-spacing: -0.015em;
}
h1 { font-size: 2.25rem; font-weight: 800; } 
h2 { font-size: 1.85rem; } 
h3 { font-size: 1.35rem; } 
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }

::selection { background: var(--blue); color: var(--white); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2rem 0; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) { 
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { 
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}

/* HEADER — Clean Utility */
.header { 
    background: var(--white); 
    border-bottom: 1px solid var(--gray-200);
    position: sticky; 
    top: 0; 
    z-index: 100; 
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; gap: 1rem; position: relative; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 700; color: var(--dark); text-decoration: none; flex-shrink: 0; font-family: var(--font-sans); }
.logo svg { width: 26px; height: 26px; color: var(--blue); }
.logo span { color: var(--dark); }
.logo-img { 
    height: 40px; 
    width: auto; 
    max-width: 200px; 
    object-fit: contain; 
}

.nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links li { position: relative; }
.nav-links a { 
    color: var(--gray-700); 
    font-weight: 500; 
    padding: 0.5rem 0; 
    display: flex; 
    align-items: center; 
    gap: 0.3rem; 
    white-space: nowrap; 
    font-size: 0.9rem; 
    font-family: var(--font-sans);
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu { 
    position: absolute; 
    top: 100%; left: 0; 
    background: var(--white); 
    border: 1px solid var(--gray-200); 
    border-radius: var(--radius); 
    box-shadow: var(--shadow-lg); 
    padding: 0.4rem 0; 
    min-width: 210px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(8px); 
    transition: var(--transition); 
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { 
    display: block; 
    padding: 0.55rem 1.1rem; 
    color: var(--gray-700); 
    font-size: 0.88rem;
}
.nav-dropdown-menu a:hover { background: var(--bg-blue); color: var(--blue-dark); }
.user-dropdown > .nav-dropdown-menu { opacity: 0; visibility: hidden; }
.user-dropdown:hover > .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu-btn { cursor: pointer; }
.user-name { color: var(--dark); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-messages { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-light); color: var(--gray-600); transition: var(--transition); }
.nav-messages:hover { background: var(--bg-blue); color: var(--primary); }
.nav-messages svg { width: 20px; height: 20px; }
.nav-messages-badge { position: absolute; top: -2px; right: -2px; background: var(--danger); color: white; font-size: 0.625rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--white); }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.25rem; color: var(--dark); cursor: pointer; padding: 0.5rem; width: 40px; height: 40px; align-items: center; justify-content: center; }

/* Mobile Menu */
@media (max-width: 1024px) { 
    .header-inner { 
        padding: 0.75rem 0; 
        flex-wrap: nowrap; 
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Logo - allow full width */
    .logo { 
        flex: 0 1 auto;
        min-width: 0;
    }
    .logo-img {
        max-height: 40px;
        width: auto;
        max-width: 100%;
    }
    
    /* Nav container - positioned for dropdown */
    .nav { 
        position: static;
        flex: 0 0 auto;
    }
    
    /* Nav links - hidden by default, shown when active */
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: var(--white); 
        box-shadow: var(--shadow-lg); 
        flex-direction: column; 
        padding: 1rem;
        z-index: 1000;
    } 
    .nav-links.active { 
        display: flex !important; 
    }
    .nav-links li { width: 100%; border-bottom: 1px solid var(--gray-100); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { display: block; padding: 1rem; }
    .nav-dropdown > a::after { display: none; }
    .nav-dropdown-menu { 
        position: static; 
        box-shadow: none; 
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1rem;
        background: var(--bg-light);
        border-radius: var(--radius);
        margin: 0.5rem 0;
    }
    
    /* Header actions - pushed to RIGHT edge */
    .header-actions { 
        display: flex;
        align-items: center;
        gap: 0.4rem; 
        flex: 0 0 auto;
        margin-left: auto;
    }
    
    /* Mobile toggle always visible */
    .mobile-toggle { 
        display: flex !important;
    } 
    
    /* Hide text on all buttons */
    .btn-add .btn-text,
    .btn-register .btn-text { display: none !important; }
    .user-name { display: none !important; }
    
    /* All action buttons - uniform circular style */
    .btn-add, 
    .btn-register,
    .btn-login,
    .user-menu-btn,
    .nav-messages { 
        padding: 0 !important; 
        width: 38px !important; 
        height: 38px !important; 
        min-width: 38px !important;
        max-width: 38px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .btn-add svg, 
    .btn-register svg,
    .btn-login svg,
    .user-menu-btn svg,
    .nav-messages svg { 
        margin: 0 !important; 
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Login button styling */
    .btn-login {
        background: var(--bg-light) !important;
        border-color: var(--gray-200) !important;
    }
    .btn-login span { display: none !important; }
    .btn-login svg { stroke: var(--gray-600); }
    .btn-login:hover {
        background: var(--bg-blue) !important;
        border-color: var(--primary) !important;
    }
    .btn-login:hover svg { stroke: var(--primary); }
    
    /* User menu button styling */
    .user-menu-btn {
        background: var(--bg-light) !important;
        border-color: var(--gray-200) !important;
    }
    .user-menu-btn svg { stroke: var(--gray-600); }
    .user-menu-btn:hover {
        background: var(--bg-blue) !important;
        border-color: var(--primary) !important;
    }
    .user-menu-btn:hover svg { stroke: var(--primary); }
    .user-menu-btn i.fa-chevron-down { display: none !important; }
    
    /* User dropdown container */
    .user-dropdown {
        position: relative;
        flex-shrink: 0;
    }
    
    /* User dropdown menu - positioned correctly */
    .user-dropdown .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        margin-top: 0.5rem;
        min-width: 180px;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        border-radius: var(--radius);
        padding: 0.5rem 0;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
    }
    .user-dropdown:hover .nav-dropdown-menu,
    .user-dropdown:focus-within .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .user-dropdown .nav-dropdown-menu a {
        display: block;
        padding: 0.75rem 1rem;
        color: var(--dark);
        text-decoration: none;
        font-size: 0.9rem;
    }
    .user-dropdown .nav-dropdown-menu a:hover {
        background: var(--bg-light);
    }
    
    /* Messages icon */
    .nav-messages { 
        background: var(--bg-light);
    }
    .nav-messages:hover {
        background: var(--bg-blue);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header-inner { 
        padding: 0.5rem 0; 
    }
    .header-actions { gap: 0.25rem; }
    
    .btn-add, 
    .btn-register, 
    .btn-login, 
    .user-menu-btn,
    .nav-messages { 
        width: 34px !important; 
        height: 34px !important; 
        min-width: 34px !important;
        max-width: 34px !important;
    }
    
    .btn-add svg, 
    .btn-register svg,
    .btn-login svg,
    .user-menu-btn svg,
    .nav-messages svg { 
        width: 16px !important;
        height: 16px !important;
    }
    
    .mobile-toggle { 
        width: 34px; 
        height: 34px; 
    }
    
    .logo-img { max-height: 34px; }
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.6rem 1.25rem; font-size: 0.92rem; font-weight: 600; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; font-family: var(--font-sans); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-lg { padding: 0.85rem 1.85rem; font-size: 1rem; }
.btn-lg svg { width: 18px; height: 18px; }

.btn-primary { 
    background: var(--blue); 
    color: var(--white); 
    box-shadow: var(--shadow-blue-soft);
}
.btn-primary:hover { 
    background: var(--blue-dark);
    box-shadow: var(--shadow-blue); 
    color: var(--white); 
}
.btn-secondary { background: var(--white); color: var(--dark); border-color: var(--gray-300); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline { background: transparent; color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--bg-blue); }
.btn-outline-blue { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: var(--white); color: var(--blue-dark); border-color: var(--white); }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #15803D; color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #B91C1C; color: var(--white); }
.btn-accent { background: var(--sky); color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* CARDS */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); border: 1px solid var(--gray-200); }
.card:hover { box-shadow: var(--shadow-md); }
.card-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-200); font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.card-body { padding: 1.25rem; }
.card-footer { padding: 0.85rem 1.25rem; border-top: 1px solid var(--gray-200); background: var(--gray-50); }

/* PROPERTY CARD — Compact utility */
.property-card { 
    background: var(--white); 
    border-radius: var(--radius-lg); 
    border: 1px solid var(--gray-200);
    overflow: hidden; 
    transition: var(--transition); 
    display: flex; 
    flex-direction: column; 
}
.property-card:hover { 
    border-color: var(--blue);
    box-shadow: var(--shadow-md); 
}
.property-card-image { position: relative; height: 200px; overflow: hidden; background: var(--gray-100); }
.property-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.property-card:hover .property-card-image img { transform: scale(1.04); }
.property-card-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.35rem; z-index: 2; }
.property-card-price-tag {
    position: absolute;
    bottom: 0.75rem; left: 0.75rem;
    background: var(--blue);
    color: var(--white);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-blue-soft);
    z-index: 2;
    font-family: var(--font-sans);
}
.property-card-body { padding: 1rem 1.15rem 0.75rem; flex: 1; }
.property-card-location { display: flex; align-items: center; gap: 0.35rem; color: var(--gray-500); font-size: 0.82rem; margin-bottom: 0.45rem; font-weight: 500; }
.property-card-location svg, .property-card-location i { width: 13px; height: 13px; color: var(--blue); }
.property-card-title { 
    font-family: var(--font-sans);
    font-size: 1.05rem; 
    font-weight: 600; 
    margin-bottom: 0.65rem; 
    color: var(--dark); 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    line-height: 1.35; 
}
.property-card-title a { color: inherit; }
.property-card-title a:hover { color: var(--blue); }

.property-card-features { display: flex; gap: 0.9rem; padding-top: 0.7rem; border-top: 1px solid var(--gray-100); margin-top: 0.7rem; flex-wrap: wrap; }
.property-card-feature { display: flex; align-items: center; gap: 0.3rem; color: var(--gray-600); font-size: 0.82rem; font-weight: 500; }
.property-card-feature svg, .property-card-feature i { width: 14px; height: 14px; color: var(--gray-400); }
.property-card-features span { display: flex; align-items: center; gap: 0.3rem; color: var(--gray-600); font-size: 0.82rem; font-weight: 500; }
.property-card-features span i { color: var(--gray-400); }
.property-card-distances { display: flex; gap: 0.75rem; margin-top: 0.5rem; flex-wrap: wrap; font-size: 0.76rem; color: var(--gray-500); }
.property-card-distances span { display: inline-flex; align-items: center; gap: 0.25rem; }
.property-card-distances i { color: var(--gray-400); }
.property-card-footer { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0.85rem 1.15rem; 
    border-top: 1px solid var(--gray-100); 
    background: var(--gray-50);
}
.property-card-price { 
    font-family: var(--font-sans);
    font-size: 1.2rem; 
    font-weight: 700; 
    color: var(--blue); 
}

/* BADGES — Sharp utility */
.badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.55rem; font-size: 0.7rem; font-weight: 700; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-sans); }
.badge svg, .badge i { width: 11px; height: 11px; font-size: 10px; }
.badge-primary { background: var(--blue); color: var(--white); }
.badge-success { background: var(--success); color: var(--white); }
.badge-warning { background: var(--warning); color: var(--dark); }
.badge-danger { background: var(--danger); color: var(--white); }
.badge-boosted { background: var(--blue-dark); color: var(--white); }
.badge-verified { background: var(--success); color: var(--white); }
.badge-light { background: rgba(255,255,255,0.95); color: var(--dark); }
.badge-new { background: var(--sky); color: var(--white); }

/* FORMS */
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: var(--gray-700); font-size: 0.85rem; font-family: var(--font-sans); }
.form-label.required::after { content: ' *'; color: var(--danger); }
.form-control { width: 100%; padding: 0.65rem 0.9rem; font-size: 0.92rem; font-family: var(--font-body); border: 1px solid var(--gray-300); border-radius: var(--radius); background: var(--white); transition: var(--transition); color: var(--dark); }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.form-control.error { border-color: var(--danger); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1.1rem; padding-right: 2.75rem; cursor: pointer; }
.form-hint { font-size: 0.875rem; color: var(--gray-500); margin-top: 0.375rem; }
.form-error { font-size: 0.875rem; color: var(--danger); margin-top: 0.375rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.form-check input[type="checkbox"], .form-check input[type="radio"] { width: 1.125rem; height: 1.125rem; accent-color: var(--primary); cursor: pointer; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* HERO — Utility clean white + blue accents */
.hero { 
    background: var(--white);
    color: var(--dark); 
    padding: 4rem 0 3rem; 
    position: relative; 
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
}
.hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%);
}
.hero::after { 
    content: ''; 
    position: absolute; 
    bottom: -200px; right: -100px; 
    width: 500px; height: 500px; 
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%); 
    border-radius: 50%; 
    pointer-events: none;
}

.hero-content { 
    position: relative; 
    z-index: 1; 
    max-width: 920px; 
    margin: 0 auto;
}

.hero h1 { 
    font-size: 2.5rem; 
    color: var(--dark) !important; 
    margin-bottom: 1rem; 
    line-height: 1.15; 
    font-weight: 800;
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
}
.hero h1 .accent { 
    color: var(--blue);
}
.hero p { 
    font-size: 1.05rem; 
    color: var(--gray-600) !important; 
    margin: 0 auto 1.75rem; 
    max-width: 620px;
    line-height: 1.6;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: var(--bg-blue);
    border-radius: var(--radius-sm);
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    font-family: var(--font-sans);
}
.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

.hero-cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Hero stats — utility row */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 2.5rem;
    background: var(--bg-blue);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--primary-pale);
}
.hero-stat { 
    text-align: center; 
    padding: 0 1.75rem;
    flex: 1;
    position: relative;
}
.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 60%;
    background: var(--primary-pale);
}
.hero-stat-value {
    font-family: var(--font-sans);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    display: block;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}
.hero-stat-value .plus { color: var(--blue); }
.hero-stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 2rem; }
    .hero-stat-value { font-size: 1.4rem; }
    .hero-stat { padding: 0 1.1rem; }
}
@media (max-width: 768px) { 
    .hero { padding: 2.5rem 0; } 
    .hero h1 { font-size: 1.65rem; } 
    .hero p { font-size: 0.95rem; }
    .hero-stats { flex-direction: column; gap: 0; padding: 0; }
    .hero-stat { padding: 0.85rem; width: 100%; }
    .hero-stat:not(:last-child)::after { 
        width: 60%; height: 1px; 
        right: 50%; top: auto; bottom: 0;
        transform: translateX(50%);
    }
}

/* SEARCH BOX — Utility */
.search-box { 
    background: var(--white); 
    border-radius: var(--radius-lg); 
    padding: 1.25rem; 
    box-shadow: var(--shadow-md); 
    position: relative; 
    z-index: 2; 
    border: 1px solid var(--gray-200);
}
.search-box-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 0.85rem; }
.search-box .form-group { margin-bottom: 0; }
@media (max-width: 1024px) { .search-box-filters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .search-box-filters { grid-template-columns: 1fr; } }

/* FILTER SIDEBAR */
.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }
@media (max-width: 1024px) { .listings-layout { grid-template-columns: 1fr; } }

.filter-sidebar { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 100px; height: fit-content; box-shadow: var(--shadow); }
.filter-section { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-200); }
.filter-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filter-title { font-weight: 600; margin-bottom: 1rem; color: var(--dark); }

/* PROPERTY DETAIL */
.property-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 0.5rem; border-radius: var(--radius-xl); overflow: hidden; height: 500px; }
.property-gallery-main { position: relative; cursor: pointer; }
.property-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.property-gallery-grid { display: grid; grid-template-rows: repeat(2, 1fr); gap: 0.5rem; }
.property-gallery-grid img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: var(--transition); }
.property-gallery-grid img:hover { opacity: 0.9; }
@media (max-width: 768px) { .property-gallery { grid-template-columns: 1fr; height: auto; } .property-gallery-main { height: 300px; } .property-gallery-grid { display: none; } }

.property-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; }
.property-title { font-size: 1.75rem; margin-bottom: 0.5rem; line-height: 1.3; }
.property-location { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-600); }
.property-location svg { width: 18px; height: 18px; }
.property-price-box { text-align: right; flex-shrink: 0; }
.property-price { font-size: 1.75rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.property-price-per { color: var(--gray-500); font-size: 0.875rem; white-space: nowrap; }

.property-details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.property-detail-item { background: var(--bg-blue); border-radius: var(--radius); padding: 1rem; text-align: center; }
.property-detail-value { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.property-detail-label { font-size: 0.875rem; color: var(--gray-600); }
@media (max-width: 768px) { .property-details-grid { grid-template-columns: repeat(2, 1fr); } .property-header { flex-direction: column; } .property-price-box { text-align: left; } }

.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.amenity-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: var(--bg-light); border-radius: var(--radius); }
.amenity-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--white); border-radius: 50%; }
.amenity-icon svg { width: 16px; height: 16px; }
@media (max-width: 768px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }

.seller-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); position: sticky; top: 100px; }
.seller-info { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.seller-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-blue); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; color: var(--primary); flex-shrink: 0; }
.seller-name { font-weight: 600; margin-bottom: 0.25rem; }
.seller-verified { display: flex; align-items: center; gap: 0.25rem; color: var(--success); font-size: 0.875rem; }
.seller-verified svg { width: 14px; height: 14px; }

/* CHAT */
.chat-container { display: flex; flex-direction: column; height: 500px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; background: var(--gray-50); }
.chat-message { max-width: 70%; padding: 0.75rem 1rem; border-radius: var(--radius-lg); }
.chat-message.sent { align-self: flex-end; background: var(--primary); color: var(--white); border-bottom-right-radius: 4px; }
.chat-message.received { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-input { display: flex; gap: 0.5rem; padding: 1rem; border-top: 1px solid var(--gray-200); background: var(--white); }
.chat-input input { flex: 1; }

/* FOOTER */
.footer { 
    background: var(--dark); 
    color: var(--gray-300); 
    padding: 4rem 0 1.75rem; 
    margin-top: auto; 
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%);
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; margin-bottom: 2.5rem; position: relative; z-index: 1; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo span { color: var(--white); }
.footer-brand p { margin-top: 0.85rem; max-width: 340px; opacity: 0.7; line-height: 1.65; font-size: 0.9rem; }
.footer-logo-img { 
    height: 44px; 
    width: auto; 
    max-width: 200px;
    background: rgba(255,255,255,0.06);
    padding: 6px 12px;
    border-radius: var(--radius);
}
.footer h5 { 
    color: var(--white); 
    margin-bottom: 1.25rem; 
    font-size: 0.85rem; 
    font-family: var(--font-sans); 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.7rem; font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--sky); }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); border-radius: var(--radius); color: rgba(255,255,255,0.8); transition: var(--transition); }
.footer-social a:hover { background: var(--blue); color: var(--white); }
.footer-social svg, .footer-social i { width: 16px; height: 16px; font-size: 16px; }
.footer-bottom { padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; opacity: 0.7; position: relative; z-index: 1; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; } }

/* ADMIN */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { 
    width: 260px; 
    background: var(--dark); 
    color: var(--white); 
    position: fixed; 
    top: 0; 
    left: 0; 
    bottom: 0; 
    overflow-y: auto; 
    z-index: 1000;
    transition: transform 0.3s ease;
}
.admin-sidebar-header { 
    padding: 1.5rem; 
    border-bottom: 1px solid var(--gray-800); 
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}
.admin-sidebar-close:hover { color: white; }
.admin-sidebar-nav { padding: 1rem 0; }
.admin-nav-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.5rem; color: var(--gray-400); transition: var(--transition); text-decoration: none; }
.admin-nav-item svg { width: 20px; height: 20px; }
.admin-nav-item:hover, .admin-nav-item.active { background: rgba(255,255,255,0.1); color: var(--white); }
.admin-nav-item.active { border-left: 3px solid var(--accent); }
.admin-nav-divider { height: 1px; background: var(--gray-800); margin: 1rem 0; }
.admin-content { flex: 1; margin-left: 260px; background: var(--bg-light); min-height: 100vh; }
.admin-header { 
    background: var(--white); 
    padding: 1rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: var(--shadow-sm); 
    position: sticky; 
    top: 0; 
    z-index: 50; 
    gap: 1rem;
}
.admin-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-header-title {
    font-size: 1.25rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-header-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
}
.admin-header-link:hover { color: var(--primary); }
.admin-header-user {
    color: var(--gray-500);
    font-size: 0.875rem;
}
.admin-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
}
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}
.admin-sidebar-overlay.active { display: block; }
.admin-main { padding: 2rem; }
.admin-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }

/* Admin mobile responsive */
@media (max-width: 1024px) { 
    .admin-sidebar { 
        transform: translateX(-100%); 
    } 
    .admin-sidebar.open { 
        transform: translateX(0); 
    } 
    .admin-content { 
        margin-left: 0; 
    }
    .admin-menu-toggle {
        display: block;
    }
    .admin-sidebar-close {
        display: block;
    }
    .admin-header {
        padding: 0.75rem 1rem;
    }
    .admin-main {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .admin-header-title {
        font-size: 1rem;
        max-width: 150px;
    }
    .admin-header-link-text {
        display: none;
    }
    .admin-header-user {
        display: none;
    }
    .admin-page-header {
        flex-direction: column;
        align-items: stretch;
    }
    .admin-page-header .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Admin dashboard grid responsive */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
@media (max-width: 1024px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin filter form responsive */
.admin-filter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.admin-filter-form .form-control {
    flex: 1;
    min-width: 150px;
}
.admin-filter-form .btn {
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .admin-filter-form {
        flex-direction: column;
    }
    .admin-filter-form .form-control,
    .admin-filter-form .btn {
        width: 100%;
    }
    .admin-filter-buttons {
        display: flex;
        gap: 0.5rem;
    }
    .admin-filter-buttons .btn {
        flex: 1;
    }
}

/* Admin mobile cards - hide on desktop, show on mobile */
.admin-mobile-cards { display: none !important; }
.admin-desktop-table { display: block !important; }

@media (max-width: 768px) {
    .admin-mobile-cards { display: block !important; }
    .admin-desktop-table { display: none !important; }
}

/* Admin mobile card styles */
.admin-card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-card-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.admin-card-header {
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.admin-card-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.admin-card-img-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    flex-shrink: 0;
}

.admin-card-content {
    flex: 1;
    min-width: 0;
}

.admin-card-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.admin-card-title a {
    color: inherit;
    text-decoration: none;
}

.admin-card-title a:hover {
    color: var(--primary);
}

.admin-card-subtitle {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.admin-card-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.admin-card-body {
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
}

.admin-card-meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-600);
}

.admin-card-meta i {
    color: var(--gray-400);
    width: 16px;
}

.admin-card-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-card-footer {
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--gray-100);
}

.admin-card-footer .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.5rem;
}

.admin-card-footer .btn-icon {
    flex: 0 0 auto;
    width: 36px;
    padding: 0.5rem;
}

/* Stats grid for admin pages - horizontal scrollable on mobile */
.admin-stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
    min-width: 140px;
    flex-shrink: 0;
}

.admin-stat-card-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-stat-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.admin-stat-card-value.green { color: var(--success); }
.admin-stat-card-value.orange { color: var(--warning); }
.admin-stat-card-value.red { color: var(--danger); }
.admin-stat-card-value.blue { color: var(--primary); }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.stat-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.stat-card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 1.25rem; }
.stat-card-icon svg { width: 24px; height: 24px; }
.stat-card-icon i { font-size: 1.25rem; }
.stat-card-icon.blue { background: var(--bg-blue); color: var(--primary); }
.stat-card-icon.green { background: #dcfce7; color: var(--success); }
.stat-card-icon.orange { background: #fef3c7; color: var(--warning); }
.stat-card-icon.red { background: #fee2e2; color: var(--danger); }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--dark); }
.stat-label { color: var(--gray-600); font-size: 0.875rem; }
@media (max-width: 1280px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; } }

/* TABLES */
.table-container { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 1rem 1.25rem; text-align: left; }
.table th { background: var(--gray-50); font-weight: 600; color: var(--gray-700); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.025em; }
.table td { border-top: 1px solid var(--gray-200); }
.table tbody tr:hover { background: var(--gray-50); }
.table-actions { display: flex; gap: 0.5rem; }
.table-actions a, .table-actions button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); border: none; cursor: pointer; transition: var(--transition); text-decoration: none; }
.table-actions svg { width: 16px; height: 16px; }
.table-actions .edit { background: var(--bg-blue); color: var(--primary); }
.table-actions .view { background: #dcfce7; color: var(--success); }
.table-actions .delete { background: #fee2e2; color: var(--danger); }
.table-actions .login-as { background: #fef3c7; color: #92400e; }
.table-actions a:hover, .table-actions button:hover { opacity: 0.8; }

/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.75rem; border-radius: var(--radius); border: 1px solid var(--gray-300); color: var(--gray-700); font-weight: 500; transition: var(--transition); text-decoration: none; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.pagination .disabled { opacity: 0.5; pointer-events: none; }

/* ALERTS */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }

/* LIGHTBOX */
.lightbox-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 9999; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay > .card { max-height: 90vh; overflow-y: auto; }
.lightbox-content { max-width: 90%; max-height: 90vh; }
.lightbox-content img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { background: var(--gray-200); }
.lightbox-close svg { width: 24px; height: 24px; }

/* TABS */
.tabs { display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 1.5rem; }
.tab { padding: 0.75rem 1.5rem; font-weight: 500; color: var(--gray-600); border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: var(--transition); }
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { color: var(--gray-700); margin-bottom: 0.5rem; }
.empty-state p { color: var(--gray-500); margin-bottom: 1.5rem; }

/* SPINNER */
.spinner { width: 40px; height: 40px; border: 3px solid var(--gray-200); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* UTILITIES */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-500); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.d-flex { display: flex; }
.d-none { display: none; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }

.two-column-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
@media (max-width: 1024px) { .two-column-layout { grid-template-columns: 1fr; } }

/* Seller Card Enhanced */
.seller-avatar-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.seller-type { font-size: 0.8rem; color: var(--gray-500); }
.seller-stats { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); margin: 1rem 0; }
.seller-stat { flex: 1; text-align: center; }
.seller-stat-value { display: block; font-weight: 700; font-size: 1.1rem; color: var(--dark); }
.seller-stat-label { font-size: 0.75rem; color: var(--gray-500); }
.seller-countries { font-size: 0.85rem; margin-bottom: 1rem; padding: 0.5rem; background: var(--gray-50); border-radius: var(--radius); }

/* Competing Alert */
.competing-alert { background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: var(--radius-lg); padding: 1rem; display: flex; gap: 1rem; align-items: flex-start; }
.competing-alert-icon { width: 40px; height: 40px; background: var(--warning); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.competing-alert-content { flex: 1; }
.competing-alert-content strong { display: block; margin-bottom: 0.25rem; }
.competing-alert-content p { font-size: 0.85rem; color: var(--gray-700); margin-bottom: 0.75rem; }

/* Price Chart */
.price-trend-card { border: 2px solid var(--primary); }
.price-trend-card .card-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
.price-chart-container { height: 250px; margin-bottom: 1.5rem; }
.price-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-stat { text-align: center; padding: 1rem; background: var(--gray-50); border-radius: var(--radius); }
.price-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.price-stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.25rem; }
@media (max-width: 640px) { .price-stats-grid { grid-template-columns: 1fr; } }

/* ===========================
   HERO MODERN SECTION
   =========================== */
.hero-modern {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
    background: #0f172a;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero-bg-ocean { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%); }
.hero-bg-sunset { background: linear-gradient(135deg, #1e1b4b 0%, #7c2d12 50%, #ea580c 100%); }
.hero-bg-forest { background: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%); }
.hero-bg-midnight { background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%); }
.hero-bg-coral { background: linear-gradient(135deg, #4c1d95 0%, #be185d 50%, #f43f5e 100%); }
.hero-bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-bg-video { background: #000; }
.hero-bg-video .video-container {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hero-bg-video .video-container iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;
    min-height: 100vh; min-width: 177.77vh;
    transform: translate(-50%, -50%);
}
.hero-bg-video video {
    position: absolute; top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.2) 0%, transparent 40%);
}
.hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 50px 160px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.3), transparent);
    background-size: 200px 200px;
    animation: heroParticles 20s linear infinite;
}
@keyframes heroParticles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}
.hero-modern .container { position: relative; z-index: 1; }
.hero-content { text-align: center; color: white; max-width: 800px; margin: 0 auto 2rem; }
.hero-content h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; color: white; }
.hero-content p { font-size: 1.25rem; opacity: 0.9; color: white; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem; border-radius: 50px;
    font-size: 0.875rem; margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.search-box-modern {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px; padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 900px; margin: 0 auto;
}
.search-box-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1rem; }
.search-field { position: relative; }
.search-field i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.6); z-index: 1; }
.search-field select, .search-field input {
    width: 100%; padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 12px;
    background: rgba(255,255,255,0.1); color: white;
    font-size: 0.95rem; appearance: none; cursor: pointer;
}
.search-field select option { color: #1e293b; background: white; }
.btn-search {
    width: 100%; padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white; border: none; border-radius: 12px;
    font-size: 1rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: all 0.3s;
}
.btn-search:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(55, 114, 229, 0.4); }
.hero-tags { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.hero-tags a { background: rgba(255,255,255,0.15); color: white; padding: 0.35rem 0.75rem; border-radius: 20px; transition: all 0.2s; text-decoration: none; }
.hero-tags a:hover { background: rgba(255,255,255,0.25); }
@media (max-width: 768px) {
    .hero-modern { min-height: 500px; padding: 2rem 0; }
    .hero-content h1 { font-size: 2rem; }
    .search-box-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .search-box-filters { grid-template-columns: 1fr; } }

/* Recommended Section */
.recommended-section { background: var(--bg-light); position: relative; z-index: 10; }

/* ========================================
   FLOATING LANGUAGE SWITCHER
   ======================================== */
.lang-switcher-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: inherit;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.lang-switcher-btn:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.lang-switcher-btn img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.lang-switcher-btn i {
    font-size: 12px;
    color: #9ca3af;
    transition: transform 0.3s;
}

.lang-switcher-menu.show + .lang-switcher-btn i,
.lang-switcher-floating:has(.lang-switcher-menu.show) .lang-switcher-btn i {
    transform: rotate(180deg);
}

.lang-switcher-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    width: 220px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.lang-switcher-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 600;
    font-size: 13px;
    color: #6b7280;
}

.lang-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.lang-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.lang-switcher-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.lang-item:hover {
    background: #f3f4f6;
}

.lang-item.active {
    background: var(--bg-blue);
    color: var(--primary);
    font-weight: 500;
}

.lang-item img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.lang-switcher-footer {
    padding: 10px 16px;
    border-top: 1px solid #f3f4f6;
    text-align: center;
}

.lang-switcher-footer small {
    color: #9ca3af;
    font-size: 11px;
}

.lang-switcher-footer i {
    margin-right: 4px;
}

/* Hide Google Translate bar */
.goog-te-banner-frame,
.skiptranslate,
body > .skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    display: none !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lang-switcher-floating {
        bottom: 80px; /* Above mobile nav if any */
        right: 15px;
    }
    
    .lang-switcher-btn {
        padding: 8px 12px;
    }
    
    .lang-switcher-btn span {
        display: none;
    }
    
    .lang-switcher-menu {
        width: 200px;
        right: -5px;
    }
    
    .lang-switcher-list {
        max-height: 250px;
    }
}

/* Footer Logo Image */
.footer-logo-img {
    max-height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.footer-brand .logo:hover .footer-logo-img {
    opacity: 0.8;
}

/* Footer Social Icons */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-social a i {
    line-height: 1;
}

/* Footer Logo Options in Settings */
.footer-logo-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo-option {
    cursor: pointer;
}

.footer-logo-option input {
    display: none;
}

.footer-logo-option .option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    transition: all 0.2s;
    min-width: 120px;
}

.footer-logo-option .option-box i {
    font-size: 1.5rem;
    color: #6b7280;
}

.footer-logo-option .option-box span {
    font-size: 0.85rem;
    color: #374151;
    text-align: center;
}

.footer-logo-option:hover .option-box {
    border-color: var(--primary);
    background: var(--bg-blue);
}

.footer-logo-option.active .option-box {
    border-color: var(--primary);
    background: var(--bg-blue);
}

.footer-logo-option.active .option-box i {
    color: var(--primary);
}

.footer-logo-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.footer-preview-box {
    display: inline-block;
}

@media (max-width: 768px) {
    .footer-logo-options {
        flex-direction: column;
    }
    
    .footer-logo-option .option-box {
        flex-direction: row;
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
    }
}

/* ========================================
   INVESTMENT POTENTIAL SECTION
   ======================================== */
.investment-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.investment-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.2s;
}

.investment-metric:hover {
    transform: translateY(-2px);
}

.investment-metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.investment-metric-content {
    flex: 1;
}

.investment-metric-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.investment-metric-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.investment-chart-container {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    padding: 1rem;
}

@media (max-width: 768px) {
    .investment-metrics {
        grid-template-columns: 1fr;
    }
    
    .investment-metric {
        padding: 0.75rem;
    }
    
    .investment-metric-icon {
        width: 45px;
        height: 45px;
    }
    
    .investment-metric-value {
        font-size: 1.15rem;
    }
}

/* TinyMCE / HTML Content Styles */
.listing-description,
.blog-content {
    line-height: 1.8;
}

.listing-description h2,
.listing-description h3,
.listing-description h4,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.listing-description h2,
.blog-content h2 {
    font-size: 1.5rem;
}

.listing-description h3,
.blog-content h3 {
    font-size: 1.25rem;
}

.listing-description h4,
.blog-content h4 {
    font-size: 1.1rem;
}

.listing-description p,
.blog-content p {
    margin-bottom: 1rem;
}

.listing-description ul,
.listing-description ol,
.blog-content ul,
.blog-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.listing-description li,
.blog-content li {
    margin-bottom: 0.5rem;
}

.listing-description blockquote,
.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #555;
}

.listing-description a,
.blog-content a {
    color: var(--primary);
    text-decoration: underline;
}

.listing-description a:hover,
.blog-content a:hover {
    color: var(--primary-dark);
}

.listing-description table,
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.listing-description th,
.listing-description td,
.blog-content th,
.blog-content td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

.listing-description th,
.blog-content th {
    background: var(--bg-light);
    font-weight: 600;
}


/* ============================================
   INZERTNY WEB — Utility classes
   ============================================ */

.section-white { background: var(--white); }
.section-light { background: var(--bg-cool); }
.section-blue { background: var(--bg-blue); }
.section-blue-dark { 
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}
.section-blue-dark h1, .section-blue-dark h2, .section-blue-dark h3, .section-blue-dark h4 { color: var(--white); }

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-dark);
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.7rem;
    background: var(--bg-blue);
    border-radius: var(--radius-sm);
}
.section-eyebrow.sky {
    color: var(--white);
    background: var(--sky);
}
.section-heading {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}
.section-heading .accent { color: var(--blue); }
.section-subheading {
    color: var(--gray-600);
    font-size: 1rem;
    max-width: 640px;
    line-height: 1.6;
}
.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .section-heading { font-size: 1.5rem; }
}

/* Category tiles — clean utility */
.cat-tile {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    color: var(--dark);
}
.cat-tile:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    color: var(--dark);
    transform: translateY(-2px);
}
.cat-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue);
    color: var(--blue);
    font-size: 1.2rem;
    transition: var(--transition);
}
.cat-tile:hover .cat-tile-icon {
    background: var(--blue);
    color: var(--white);
}
.cat-tile-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark);
}
.cat-tile-count {
    font-size: 0.76rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Feature callouts */
.feature-callout {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    transition: var(--transition);
}
.feature-callout:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}
.feature-callout-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue);
    color: var(--blue);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.feature-callout-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin: 0 0 0.4rem;
}
.feature-callout-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* CTA Band — flat blue */
.cta-band {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0;
}
.cta-band::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-band-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.cta-band-content h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}
.cta-band-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}
.cta-band-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.cta-band .btn-primary {
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: none;
}
.cta-band .btn-primary:hover {
    background: var(--bg-cool);
    color: var(--blue-dark);
}
@media (max-width: 768px) {
    .cta-band { padding: 2.25rem 1.5rem; }
    .cta-band-content h2 { font-size: 1.5rem; }
}

/* Article cards */
.article-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}
.article-card-img {
    height: 180px;
    overflow: hidden;
    background: var(--gray-100);
}
.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card-meta {
    font-size: 0.74rem;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.article-card-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    margin: 0 0 0.5rem;
    flex: 1;
}
.article-card-title a { color: inherit; }
.article-card-title a:hover { color: var(--blue); }

/* Trust strip */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.75rem 0;
}
.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    align-items: center;
}
.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.trust-strip-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: var(--bg-blue);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.trust-strip-text {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 600;
    line-height: 1.3;
    font-family: var(--font-sans);
}
.trust-strip-text small {
    display: block;
    font-size: 0.74rem;
    color: var(--gray-500);
    font-weight: 400;
    margin-top: 0.15rem;
}
@media (max-width: 768px) {
    .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
}
@media (max-width: 480px) {
    .trust-strip-grid { grid-template-columns: 1fr; }
}

/* Tag pills */
.popular-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    align-items: center;
}
.popular-tags-label {
    color: var(--gray-500);
    font-size: 0.82rem;
    padding: 0.35rem 0;
    font-weight: 500;
}
.popular-tags a {
    padding: 0.3rem 0.75rem;
    background: var(--bg-blue);
    border: 1px solid var(--primary-pale);
    border-radius: var(--radius-sm);
    color: var(--blue-dark);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}
.popular-tags a:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease-out forwards; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
