/* ============================================
   Guyana Buy & Sell - Premium Stylesheet
   Theme: Guyana Flag Colors - Modern & Professional
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

:root {
    /* Guyana Flag Colors */
    --gy-green: #009E49;
    --gy-gold: #FFD700;
    --gy-red: #CE1126;
    --gy-black: #000000;
    --gy-white: #FFFFFF;

    /* Extended Premium Palette */
    --gy-green-dark: #007A3A;
    --gy-green-light: #00C65C;
    --gy-green-subtle: #E8F5EC;
    --gy-gold-dark: #D4AF00;
    --gy-gold-light: #FFE44D;
    --gy-gold-subtle: #FFF9E6;
    --gy-red-light: #FF4D6A;

    /* Neutrals */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* Shadows - Premium depth */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-gold: 0 4px 14px rgba(255,215,0,0.35);
    --shadow-green: 0 4px 14px rgba(0,158,73,0.25);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Coat of Arms watermark - full page fixed background */
.coat-of-arms-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.06;
    filter: grayscale(30%) contrast(1.1);
}

.coat-of-arms-bg img {
    width: auto;
    height: 85vh;
    max-height: 800px;
    min-height: 400px;
    object-fit: contain;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   HEADER & NAVIGATION - Clean Professional
   ============================================ */

header {
    background: var(--gy-white);
    color: var(--gray-800);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Top accent bar - Guyana flag colors */
header::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg,
        var(--gy-green) 0%,
        var(--gy-green) 33%,
        var(--gy-gold) 33%,
        var(--gy-gold) 66%,
        var(--gy-red) 66%,
        var(--gy-red) 100%
    );
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 10;
    text-decoration: none;
}

.logo-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #FFD700 0%, #E6C200 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Diagonal stripe accent on logo */
.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        transparent 45%,
        rgba(0,158,73,0.3) 45%,
        rgba(0,158,73,0.3) 55%,
        transparent 55%
    );
}

.logo-gy {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gy-green-dark);
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo span {
    color: var(--gy-gold);
    text-shadow: 0 2px 10px rgba(255,215,0,0.3);
}

.logo .tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
    margin-top: 2px;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.nav-links a {
    color: var(--gray-700);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    position: relative;
}

.nav-links a:hover {
    background: var(--gray-100);
    color: var(--gy-green);
}

.nav-links a.active {
    color: var(--gy-green);
    background: var(--gy-green-subtle);
}

.btn-post {
    background: linear-gradient(135deg, var(--gy-green) 0%, var(--gy-green-dark) 100%) !important;
    color: var(--gy-white) !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    box-shadow: var(--shadow-green);
    border: none;
    border-radius: var(--radius-md) !important;
}

.btn-post:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 158, 73, 0.35) !important;
}

/* Inbox unread badge */
.inbox-unread-badge {
    background: var(--gy-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    line-height: 1;
}

/* ============================================
   NOTIFICATION BELL
   ============================================ */

.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.bell-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background-color 0.2s;
}

.bell-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--gy-red);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-height: 400px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    z-index: 2000;
    overflow: hidden;
}

.notification-dropdown.active {
    display: block;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.notification-header h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mark-all-read {
    background: none;
    border: none;
    color: var(--gy-green);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.mark-all-read:hover {
    background: rgba(0, 154, 68, 0.1);
}

.notification-list {
    max-height: 340px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notification-item:hover {
    background: var(--bg-secondary);
}

.notification-item.unread {
    background: rgba(0, 154, 68, 0.05);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gy-green);
}

.notification-item {
    position: relative;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.notification-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.notification-empty {
    padding: 40px 16px;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Dark mode support */
[data-theme="dark"] .bell-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .notification-item.unread {
    background: rgba(0, 154, 68, 0.15);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .notification-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 60vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
}

/* ============================================
   HERO SEARCH BAR
   ============================================ */

.search-bar {
    background: linear-gradient(135deg, var(--gy-green) 0%, var(--gy-green-dark) 100%);
    padding: 40px 24px;
    position: relative;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    background: var(--gy-white);
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.search-container input {
    flex: 2;
    padding: 16px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    background: var(--gray-50);
    transition: all var(--transition-base);
}

.search-container input:focus {
    outline: none;
    border-color: var(--gy-green);
    background: var(--gy-white);
    box-shadow: 0 0 0 4px var(--gy-green-subtle);
}

.search-container input::placeholder {
    color: var(--gray-500);
}

.search-container select {
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--gray-50);
    min-width: 150px;
    cursor: pointer;
    transition: all var(--transition-base);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.search-container select:focus {
    outline: none;
    border-color: var(--gy-green);
    background-color: var(--gy-white);
}

.search-container button {
    background: linear-gradient(135deg, var(--gy-green) 0%, var(--gy-green-dark) 100%);
    color: var(--gy-white);
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-green);
}

.search-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,158,73,0.35);
}

.search-container button:active {
    transform: translateY(0);
}

/* ============================================
   CATEGORIES - Premium Cards
   ============================================ */

.categories {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.categories h2,
.listings h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
}

.categories h2::before,
.listings h2::before {
    content: '';
    width: 5px;
    height: 32px;
    background: linear-gradient(180deg, var(--gy-gold) 0%, var(--gy-green) 100%);
    border-radius: var(--radius-full);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--gy-white);
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    color: var(--gray-700);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gy-green) 0%, var(--gy-gold) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gy-green-subtle);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card .icon {
    font-size: 2.75rem;
    margin-bottom: 12px;
    display: block;
    transition: transform var(--transition-bounce);
}

.category-card:hover .icon {
    transform: scale(1.15);
}

.category-card span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-800);
}

.category-card .count {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
    font-weight: 400;
}

/* ============================================
   LISTINGS - Premium Cards
   ============================================ */

.listings {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 24px;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.listing-card {
    background: var(--gy-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.listing-card.featured {
    border: 2px solid var(--gy-gold);
    box-shadow: var(--shadow-lg), 0 0 0 4px var(--gy-gold-subtle);
}

.listing-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gy-gold) 0%, var(--gy-gold-light) 50%, var(--gy-gold) 100%);
}

.listing-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.listing-card:hover .listing-image img {
    transform: scale(1.08);
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--gy-gold) 0%, var(--gy-gold-dark) 100%);
    color: var(--gray-900);
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-badge::before {
    content: '⭐';
    font-size: 0.65rem;
}

.sold-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 10;
    pointer-events: none;
}

.sold-badge::before {
    content: 'SOLD';
    display: block;
    color: #CE1126;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Impact', 'Arial Black', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 6px 16px;
    border: 4px solid #CE1126;
    border-radius: 4px;
    /* Double border effect like rubber stamps */
    outline: 2px solid #CE1126;
    outline-offset: 3px;
    /* Grungy worn look with gradients */
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 2px,
            rgba(255,255,255,0.1) 2px,
            rgba(255,255,255,0.1) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 2px,
            rgba(255,255,255,0.08) 2px,
            rgba(255,255,255,0.08) 4px
        );
    /* Shadow for depth */
    box-shadow:
        inset 0 0 10px rgba(206, 17, 38, 0.2),
        2px 2px 8px rgba(0, 0, 0, 0.3);
    /* Opacity variation for worn effect */
    opacity: 0.92;
}

/* Smaller stamp for search results */
.search-result-card .sold-badge::before {
    font-size: 1.4rem;
    padding: 4px 12px;
    letter-spacing: 3px;
    border-width: 3px;
    outline-width: 1px;
    outline-offset: 2px;
}

/* Larger stamp for detail view */
.sold-badge-large::before {
    font-size: 3rem;
    padding: 12px 30px;
    letter-spacing: 6px;
    border-width: 6px;
    outline-width: 3px;
    outline-offset: 5px;
}

/* Ensure main image container is positioned for stamp overlay */
.main-image-container {
    position: relative;
}

.listing-card.sold .listing-image img {
    filter: grayscale(60%) brightness(0.8);
    opacity: 0.85;
}

.listing-card.sold .listing-details h3 {
    text-decoration: line-through;
    color: var(--gray-500);
}

.listing-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

.listing-card:hover .listing-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--gy-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.action-btn:hover {
    transform: scale(1.1);
    background: var(--gy-gold-subtle);
}

.listing-details {
    padding: 20px;
}

.listing-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gy-green);
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.listing-location::before {
    content: '📍';
    font-size: 0.9rem;
}

.listing-time {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 40px 24px;
    margin-top: 60px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item {
    color: var(--gy-white);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gy-gold);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ============================================
   FOOTER - Premium
   ============================================ */

footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, #1a1a1a 100%);
    color: var(--gy-white);
    padding: 60px 24px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 50px;
}

.footer-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, #FFD700 0%, #E6C200 100%);
    box-shadow: 0 2px 10px rgba(255,215,0,0.3);
}

.footer-logo .logo-gy {
    font-size: 1.2rem;
}

.footer-logo h1 {
    font-size: 1.4rem;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--gy-green);
    transform: translateY(-3px);
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--gy-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 32px;
    height: 3px;
    background: var(--gy-gold);
    border-radius: var(--radius-full);
}

.footer-section a {
    color: var(--gray-400);
    display: block;
    margin-bottom: 14px;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-section a:hover {
    color: var(--gy-gold);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--gy-gold);
}

.footer-disclaimer {
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-top: 8px;
    font-style: italic;
}

.footer-disclaimer a {
    color: var(--gy-green);
}

/* ============================================
   BUTTONS - Premium
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gy-green) 0%, var(--gy-green-dark) 100%);
    color: var(--gy-white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,158,73,0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gy-gold) 0%, var(--gy-gold-dark) 100%);
    color: var(--gray-900);
    box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gy-green);
    border: 2px solid var(--gy-green);
}

.btn-outline:hover {
    background: var(--gy-green);
    color: var(--gy-white);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
}

.btn-ghost:hover {
    background: var(--gray-100);
}

/* ============================================
   FORMS - Premium
   ============================================ */

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    background: var(--gy-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gy-green);
    box-shadow: 0 0 0 4px var(--gy-green-subtle);
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-gold { color: var(--gy-gold); }
.text-green { color: var(--gy-green); }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   RESPONSIVE - Premium
   ============================================ */

@media (max-width: 1200px) {
    /* Search bar adjustments for smaller laptops */
    .search-container {
        flex-wrap: wrap;
    }

    .search-container input {
        flex: 1 1 100%;
        min-width: 0;
    }

    .search-container select {
        flex: 1;
        min-width: 120px;
    }

    .search-container button {
        padding: 16px 24px;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-container {
        flex-direction: column;
        padding: 12px;
    }

    .search-container input,
    .search-container select,
    .search-container button {
        width: 100%;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 20px 12px;
    }

    .category-card .icon {
        font-size: 2rem;
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .categories h2,
    .listings h2 {
        font-size: 1.4rem;
    }

    .listing-price {
        font-size: 1.25rem;
    }
}

/* ============================================
   LOADING & SKELETON STATES
   ============================================ */

.skeleton {
    background: linear-gradient(90deg,
        var(--gray-200) 25%,
        var(--gray-100) 50%,
        var(--gray-200) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gy-green);
}

/* ============================================
   MODAL SYSTEM
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal {
    background: var(--gy-white);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.modal-content {
    padding: 24px;
}

/* ============================================
   AUTH FORMS
   ============================================ */

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--gy-green);
    box-shadow: 0 0 0 3px var(--gy-green-subtle);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--gy-green);
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.form-error {
    background: #FEE2E2;
    color: #DC2626;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-top: 16px;
    font-size: 0.9rem;
}

/* ============================================
   POST AD FORM
   ============================================ */

.post-form .form-group {
    margin-bottom: 20px;
}

.post-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.post-form input,
.post-form select,
.post-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
}

.post-form input:focus,
.post-form select:focus,
.post-form textarea:focus {
    outline: none;
    border-color: var(--gy-green);
    box-shadow: 0 0 0 3px var(--gy-green-subtle);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.image-preview {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.preview-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: var(--gray-900);
    color: var(--gy-white);
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-success {
    background: var(--gy-green);
}

.notification-error {
    background: var(--gy-red);
}

.notification-info {
    background: var(--gray-800);
}

/* ============================================
   EMAIL VERIFICATION MODAL
   ============================================ */

.verification-notice {
    text-align: center;
    padding: 20px;
}

.verification-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--gy-green);
}

.verification-notice h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.verification-notice p {
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.6;
}

.verification-notice strong {
    color: var(--gray-900);
}

.verification-notice .btn {
    margin-top: 20px;
}

.verification-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 16px;
}

/* ============================================
   LISTING DETAIL MODAL
   ============================================ */

.listing-detail {
    display: grid;
    gap: 24px;
}

/* Sold Banner in Detail View */
.sold-banner {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.sold-banner span {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.sold-banner p {
    font-size: 0.9rem;
    margin-top: 4px;
    opacity: 0.9;
}

.listing-detail.sold .main-image,
.sold-image {
    filter: grayscale(40%);
    opacity: 0.8;
}

.listing-detail.sold .listing-info h2 {
    text-decoration: line-through;
    color: var(--gray-500);
}

.listing-detail.sold .contact-buttons {
    opacity: 0.5;
    pointer-events: none;
}

.listing-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.listing-images img {
    max-height: 300px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.listing-info h2 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.listing-price-large {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gy-green);
    margin-bottom: 16px;
}

.negotiable {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
}

.listing-meta-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.listing-description {
    margin-bottom: 20px;
}

.listing-description h4,
.seller-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.listing-description p {
    color: var(--gray-600);
    line-height: 1.7;
}

.seller-info {
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.seller-info .btn {
    margin-top: 12px;
}

/* ============================================
   RESPONSIVE MODAL
   ============================================ */

/* ============================================
   MY LISTINGS
   ============================================ */

.my-listings {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.my-listing-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.my-listing-item .my-listing-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.my-listing-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.my-listing-info {
    flex: 1;
    min-width: 0;
}

.my-listing-info h4 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-listing-info p {
    font-weight: 700;
    color: var(--gy-green);
    font-size: 0.95rem;
}

.my-listing-info .listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.my-listing-info .views {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.my-listing-info .listing-status {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.my-listing-info .listing-status.active {
    background: var(--gy-green-subtle);
    color: var(--gy-green);
}

.my-listing-info .listing-status.sold {
    background: #ffe6e9;
    color: var(--gy-red);
}

.my-listing-info .listing-status.expired {
    background: var(--gray-200);
    color: var(--gray-600);
}

.my-listing-info .expiry-text {
    font-size: 0.7rem;
    color: var(--gray-500);
}

.my-listing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
}

.btn-sm {
    padding: 6px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}

.empty-state p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .modal {
        max-width: 100%;
        margin: 10px;
        max-height: 85vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .notification {
        left: 20px;
        right: 20px;
        bottom: 10px;
    }

    .my-listing-item {
        flex-wrap: wrap;
    }

    .my-listing-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================
   LARGE MODAL
   ============================================ */

.modal-large {
    max-width: 900px;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.form-success {
    background: var(--gy-green-subtle);
    color: var(--gy-green-dark);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-top: 16px;
    font-size: 0.9rem;
}

.form-success a {
    color: var(--gy-green);
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================
   PRICE TYPES
   ============================================ */

.price-free {
    background: var(--gy-green);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}

.price-contact {
    color: var(--gray-600);
    font-style: italic;
}

/* ============================================
   LISTING STATUS BADGES
   ============================================ */

.listing-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
}

.listing-status.active {
    background: var(--gy-green-subtle);
    color: var(--gy-green);
}

.listing-status.inactive {
    background: #FEE2E2;
    color: #DC2626;
}

.listing-status.sold {
    background: #FEE2E2;
    color: #DC2626;
}

.listing-status.expired {
    background: #FEE2E2;
    color: #DC2626;
}

/* Expiry Status */
.expiry-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 500;
    margin-left: 8px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.expiry-status.expiring-soon {
    background: #FEF3C7;
    color: #D97706;
}

.expiry-status.expired {
    background: #FEE2E2;
    color: #DC2626;
}

/* Sold Overlay on Images */
.my-listing-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.sold-overlay span {
    background: rgba(206, 17, 38, 0.95);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-15deg);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Sold/Expired listing items */
.my-listing-item.sold,
.my-listing-item.expired {
    opacity: 0.8;
    background: var(--gray-50);
}

.my-listing-item.sold .my-listing-info h4,
.my-listing-item.expired .my-listing-info h4 {
    text-decoration: line-through;
    color: var(--gray-500);
}

/* ============================================
   IMAGE GALLERY
   ============================================ */

.listing-images-gallery {
    margin-bottom: 20px;
}

.main-image-container {
    position: relative;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
}

.main-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    cursor: pointer;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.thumbnail-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.thumb-img:hover {
    border-color: var(--gray-400);
}

.thumb-img.active {
    border-color: var(--gy-green);
}

/* ============================================
   STAR RATINGS
   ============================================ */

.seller-rating-display {
    margin: 8px 0;
}

.star-rating-display {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star-rating-display .star {
    font-size: 1.2rem;
    color: var(--gy-gold);
}

.star-rating-display .star.empty {
    color: var(--gray-300);
}

.star-rating-display .star.half {
    background: linear-gradient(90deg, var(--gy-gold) 50%, var(--gray-300) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.star-rating-display .rating-value {
    font-weight: 600;
    color: var(--gray-800);
    margin-left: 6px;
    font-size: 0.95rem;
}

.star-rating-display .rating-count {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-left: 4px;
}

.no-ratings {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-style: italic;
}

/* Rating Input */
.rate-seller-section {
    margin: 12px 0;
    padding: 12px;
    background: var(--gy-gold-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--gy-gold);
}

.rate-prompt {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.star-rating-input {
    display: inline-flex;
    gap: 4px;
}

.star-rating-input .star {
    font-size: 1.8rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.star-rating-input .star:hover,
.star-rating-input .star.active {
    color: var(--gy-gold);
    transform: scale(1.1);
}

/* Dark mode */
[data-theme="dark"] .star-rating-display .rating-value {
    color: var(--gray-100);
}

[data-theme="dark"] .star-rating-display .star.empty {
    color: var(--gray-600);
}

[data-theme="dark"] .rate-seller-section {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gy-gold-dark);
}

[data-theme="dark"] .rate-prompt {
    color: var(--gray-300);
}

[data-theme="dark"] .star-rating-input .star {
    color: var(--gray-600);
}

/* Mini stars on listing cards */
.listing-seller-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 0.8rem;
}

.mini-stars {
    color: var(--gy-gold);
    letter-spacing: -1px;
}

.mini-rating-text {
    color: var(--gray-600);
    font-weight: 500;
}

/* Buyer Selection Modal */
.buyer-selection {
    padding: 10px 0;
}

.buyer-selection-info {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.buyer-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.buyer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    transition: background var(--transition-fast);
}

.buyer-item:hover {
    background: var(--gray-100);
}

.buyer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gy-green), var(--gy-green-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.buyer-info {
    flex: 1;
    min-width: 0;
}

.buyer-name {
    font-weight: 600;
    color: var(--gray-800);
}

.buyer-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.no-buyers {
    text-align: center;
    padding: 30px 20px;
    color: var(--gray-600);
}

.buyer-selection-actions {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid var(--gray-200);
}

/* Dark mode */
[data-theme="dark"] .buyer-item {
    background: var(--gray-700);
}

[data-theme="dark"] .buyer-item:hover {
    background: var(--gray-600);
}

[data-theme="dark"] .buyer-name {
    color: var(--gray-100);
}

[data-theme="dark"] .buyer-selection-actions {
    border-color: var(--gray-600);
}

/* Pending Rating Prompt */
.pending-rating-prompt {
    text-align: center;
    padding: 10px 0;
}

.pending-rating-prompt p {
    color: var(--gray-600);
    margin-bottom: 12px;
}

.pending-item-info {
    background: var(--gy-green-subtle);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.pending-item-info strong {
    display: block;
    color: var(--gray-800);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.pending-item-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.pending-rating-prompt .star-rating-input {
    justify-content: center;
    margin: 20px 0;
}

.pending-rating-prompt .star-rating-input .star {
    font-size: 2.5rem;
}

.pending-rating-actions {
    margin-top: 20px;
}

[data-theme="dark"] .pending-item-info {
    background: rgba(0, 158, 73, 0.15);
}

[data-theme="dark"] .pending-item-info strong {
    color: var(--gray-100);
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px 10px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

.lightbox-counter {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
}

/* ============================================
   CONTACT BUTTONS
   ============================================ */

.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
}

.btn-whatsapp:hover {
    background: #1da851 !important;
}

/* ============================================
   SHARE MODAL
   ============================================ */

.share-modal {
    text-align: center;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.share-btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    transition: all var(--transition-fast);
    min-width: 120px;
}

.share-btn-social.facebook {
    background: #1877F2;
}

.share-btn-social.twitter {
    background: #1DA1F2;
}

.share-btn-social.whatsapp {
    background: #25D366;
}

.share-btn-social.email {
    background: var(--gray-700);
}

.share-btn-social:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.share-link-copy {
    display: flex;
    gap: 8px;
    background: var(--gray-100);
    padding: 8px;
    border-radius: var(--radius-md);
}

.share-link-copy input {
    flex: 2;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--gray-700);
}

/* ============================================
   SEARCH RESULTS
   ============================================ */

.search-results-container {
    min-height: 400px;
}

.search-filters {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-row input,
.filter-row select {
    flex: 2;
    min-width: 150px;
    padding: 10px 14px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.filter-row input:focus,
.filter-row select:focus {
    border-color: var(--gy-green);
    outline: none;
}

.search-results-info {
    margin-bottom: 16px;
    color: var(--gray-600);
    font-weight: 500;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.search-result-card {
    cursor: pointer;
}

.search-result-card .listing-image {
    height: 160px;
}

.no-results,
.loading,
.error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
}

.error {
    color: var(--gy-red);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.page-info {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ============================================
   ACCOUNT MENU
   ============================================ */

.account-menu {
    padding: 0;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.account-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gy-green) 0%, var(--gy-green-dark) 100%);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-info strong {
    font-size: 1.1rem;
    color: var(--gray-900);
}

.account-info span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.account-info .verified-badge {
    color: var(--gy-green) !important;
    font-weight: 600;
    background: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    display: inline !important;
    font-size: 0.85rem !important;
}

.account-info .unverified-badge {
    color: var(--gy-red) !important;
}

.account-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.account-links a:hover {
    background: var(--gray-100);
    color: var(--gy-green);
}

/* ============================================
   EMPTY STATES
   ============================================ */

.empty-my-listings {
    text-align: center;
    padding: 40px 20px;
}

.empty-my-listings p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* ============================================
   SAVED BUTTON STATE
   ============================================ */

.save-btn.saved {
    background: var(--gy-red);
    color: white;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .modal-large {
        max-width: 100%;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .filter-row {
        flex-direction: column;
    }

    .filter-row input,
    .filter-row select {
        width: 100%;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn-social {
        width: 100%;
    }
}

/* ============================================
   STATS TAGLINE
   ============================================ */

.stats-tagline {
    text-align: center;
    margin-bottom: 30px;
}

.stats-tagline h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: var(--gy-golden);
    margin-bottom: 8px;
}

.stats-tagline p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}


/* ============================================
   STATS TAGLINE - ENHANCED
   ============================================ */

.stats-tagline {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.stats-tagline h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gy-golden);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-tagline h2 span {
    display: inline-block;
    position: relative;
}

.stats-tagline h2 .highlight {
    color: var(--gy-white);
    background: linear-gradient(135deg, var(--gy-red) 0%, #c41e3a 100%);
    padding: 5px 15px;
    border-radius: 5px;
    margin: 0 5px;
}

.stats-tagline p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.stats-tagline .divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gy-red), var(--gy-golden), var(--gy-green));
    margin: 20px auto;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .stats-tagline h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .stats-tagline p {
        font-size: 1rem;
    }
}


/* Fix tagline size - override previous */
.stats-tagline h2 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.stats-tagline p {
    font-size: 0.95rem;
}

.stats-tagline .divider {
    width: 60px;
    height: 2px;
    margin: 15px auto;
}

.stats-tagline {
    margin-bottom: 25px;
    padding: 10px;
}

@media (max-width: 768px) {
    .stats-tagline h2 {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}


/* Even smaller tagline */
.stats-tagline h2 {
    font-size: 1.3rem;
    letter-spacing: 1.5px;
}

.stats-tagline p {
    font-size: 0.85rem;
}

.stats-tagline .highlight {
    padding: 3px 10px;
}


/* Compact search bar */
.search-bar {
    padding: 20px 15%;
}

.search-container {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .search-bar {
        padding: 20px 5%;
    }
}

@media (max-width: 768px) {
    .search-bar {
        padding: 15px;
    }
}


/* ============================================
   MOBILE MENU
   ============================================ */

/* Mobile actions container - hidden on desktop */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

/* Mobile Post button */
.mobile-post-btn {
    display: none;
    padding: 6px 12px;
    background: var(--gy-green);
    color: white !important;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-post-btn:hover {
    background: var(--gy-green-dark);
}

/* Mobile Login button */
.mobile-login-btn {
    display: none;
    padding: 6px 12px;
    background: var(--gy-gold);
    color: var(--gray-900) !important;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-login-btn:hover {
    background: var(--gy-gold-dark);
}

/* When user is logged in, hide login and show different state */
.mobile-login-btn.logged-in {
    background: var(--gray-200);
    color: var(--gray-700) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .mobile-actions {
        display: flex;
    }

    .mobile-post-btn,
    .mobile-login-btn {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--gy-white);
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 8px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-links .btn-post {
        margin-top: 16px;
        text-align: center;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .header-top {
        padding: 12px 16px;
    }

    .logo-img {
    height: 180px;
        height: 70px;
    }
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--gy-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    margin-top: 16px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.skeleton-card {
    background: var(--gy-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.skeleton-image {
    height: 200px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-text {
    height: 16px;
    background: var(--gray-200);
    border-radius: 4px;
    margin: 12px 16px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.price {
    width: 40%;
    height: 24px;
}

/* Enhanced Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.8;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.empty-state p {
    color: var(--gray-600);
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.empty-state .btn {
    margin-top: 8px;
}

/* Empty saved listings */
.empty-saved {
    text-align: center;
    padding: 40px 20px;
}

.empty-saved-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* Empty my listings */
.empty-my-listings {
    text-align: center;
    padding: 40px 20px;
}

/* ============================================
   SIMILAR LISTINGS
   ============================================ */

.similar-listings-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.similar-listings-section h4 {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--gray-800);
}

.similar-listings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.similar-listing-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.similar-listing-card:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.similar-listing-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.similar-listing-info {
    flex: 1;
    min-width: 0;
}

.similar-listing-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.similar-listing-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gy-green);
}

.loading-small {
    text-align: center;
    padding: 20px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   RECENTLY VIEWED
   ============================================ */

.recently-viewed {
    padding: 0;
}

.recently-viewed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.recently-viewed-header span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.recently-viewed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recently-viewed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.recently-viewed-item:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.recently-viewed-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.recently-viewed-info {
    flex: 1;
    min-width: 0;
}

.recently-viewed-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recently-viewed-info p {
    font-weight: 700;
    color: var(--gy-green);
    font-size: 0.9rem;
}

.viewed-time {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Badge for menu */
.account-links .badge {
    background: var(--gy-green);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .similar-listings-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   EMPTY STATE HERO
   ============================================ */

.empty-state-hero {
    padding: 60px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--gy-white) 100%);
}

.empty-state-content {
    max-width: 600px;
    margin: 0 auto;
}

.empty-state-illustration {
    margin-bottom: 32px;
}

.empty-icon-container {
    position: relative;
    display: inline-block;
}

.empty-icon {
    font-size: 5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.empty-icon-sparkle {
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(15deg); }
}

.empty-state-hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 16px;
    font-weight: 700;
}

.empty-state-hero > .empty-state-content > p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.empty-state-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 2rem;
    background: var(--gy-gold-subtle);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item span:last-child {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.btn-post-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    background: linear-gradient(145deg, var(--gy-gold) 0%, var(--gy-gold-dark) 100%);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    box-shadow: var(--shadow-gold), var(--shadow-md);
    transition: all var(--transition-base);
}

.btn-post-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold), var(--shadow-xl);
}

.btn-post-large .btn-icon {
    font-size: 1.5rem;
    font-weight: 300;
}

.empty-state-hint {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   DARK MODE
   ============================================ */

/* Theme Toggle Button */
.theme-toggle {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--gray-200);
}

.theme-icon-light,
.theme-icon-dark {
    position: absolute;
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.theme-icon-dark {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.theme-icon-light {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Dark mode active state */
[data-theme="dark"] .theme-icon-light {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-icon-dark {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --gray-50: #1a1a1a;
    --gray-100: #242424;
    --gray-200: #2d2d2d;
    --gray-300: #404040;
    --gray-400: #5c5c5c;
    --gray-500: #7a7a7a;
    --gray-600: #a0a0a0;
    --gray-700: #c0c0c0;
    --gray-800: #e0e0e0;
    --gray-900: #f5f5f5;
    --gy-white: #121212;
    --gy-green-subtle: #0d2818;
    --gy-gold-subtle: #2d2810;
}

[data-theme="dark"] body {
    background-color: #121212;
    color: #e0e0e0;
}

[data-theme="dark"] header {
    background: #1a1a1a;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .search-bar {
    background: linear-gradient(135deg, #1a3d2a 0%, #0d2818 100%);
}

[data-theme="dark"] .search-container input,
[data-theme="dark"] .search-container select {
    background: #242424;
    border-color: #404040;
    color: #e0e0e0;
}

[data-theme="dark"] .listing-card {
    background: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .listing-info h3 {
    color: #f5f5f5;
}

[data-theme="dark"] .modal-content {
    background: #1a1a1a;
    color: #e0e0e0;
}

[data-theme="dark"] .modal-content h2,
[data-theme="dark"] .modal-content h3 {
    color: #f5f5f5;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #242424;
    border-color: #404040;
    color: #e0e0e0;
}

[data-theme="dark"] footer {
    background: #0d0d0d;
}

[data-theme="dark"] .category-card {
    background: #1a1a1a;
}

[data-theme="dark"] .category-card:hover {
    background: #242424;
}

[data-theme="dark"] .stats-bar {
    background: linear-gradient(145deg, #1a3d2a 0%, #0d2818 100%);
}

[data-theme="dark"] .empty-state-hero {
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
}

[data-theme="dark"] .feature-icon {
    background: #2d2810;
}

[data-theme="dark"] .theme-toggle {
    background: #2d2d2d;
    border-color: #404040;
}

[data-theme="dark"] .theme-toggle:hover {
    background: #404040;
}

[data-theme="dark"] .coat-of-arms-bg {
    opacity: 0.03;
}

/* ============================================
   SOCIAL SHARING
   ============================================ */

.share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn-whatsapp {
    background: #25D366;
    color: white;
}

.share-btn-whatsapp:hover {
    background: #1da851;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.share-btn-facebook {
    background: #1877F2;
    color: white;
}

.share-btn-facebook:hover {
    background: #0d65d9;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-btn-copy {
    background: var(--gray-200);
    color: var(--gray-700);
}

.share-btn-copy:hover {
    background: var(--gray-300);
}

.share-btn-icon {
    font-size: 1.1rem;
}

[data-theme="dark"] .share-buttons {
    border-top-color: #404040;
}

[data-theme="dark"] .share-btn-copy {
    background: #2d2d2d;
    color: #c0c0c0;
}

[data-theme="dark"] .share-btn-copy:hover {
    background: #404040;
}

/* Mobile responsive for empty state */
@media (max-width: 600px) {
    .empty-state-hero {
        padding: 40px 16px 60px;
    }

    .empty-icon {
        font-size: 4rem;
    }

    .empty-state-hero h2 {
        font-size: 1.5rem;
    }

    .empty-state-hero > .empty-state-content > p {
        font-size: 1rem;
    }

    .empty-state-features {
        gap: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .btn-post-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

/* Theme toggle mobile */
@media (max-width: 768px) {
    .theme-toggle {
        position: absolute;
        top: 16px;
        right: 60px;
        width: 38px;
        height: 38px;
    }
}

/* ============================================
   MESSAGING / CHAT SYSTEM
   ============================================ */

/* Inbox - Conversation List */
.inbox-container {
    max-width: 800px;
    margin: 0 auto;
}

.inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.inbox-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--gray-900);
}

.conversation-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gy-white);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-200);
}

.conversation-item:hover {
    background: var(--gray-50);
    border-color: var(--gy-green);
}

.conversation-item.unread {
    background: var(--gy-green-subtle);
    border-color: var(--gy-green);
}

.conversation-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conversation-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.conversation-time {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.conversation-listing {
    font-size: 0.85rem;
    color: var(--gy-green);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-preview {
    font-size: 0.85rem;
    color: var(--gray-600);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-item.unread .conversation-preview {
    font-weight: 600;
    color: var(--gray-800);
}

.unread-badge {
    background: var(--gy-green);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 8px;
}

/* Chat View */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 500px;
    max-height: 70vh;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.chat-header-back {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    color: var(--gray-600);
}

.chat-header-back:hover {
    color: var(--gy-green);
}

.chat-listing-thumb {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.chat-header-info h4 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.chat-header-info p {
    font-size: 0.8rem;
    color: var(--gy-green);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--gray-100);
}

.message-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
}

.message-bubble.mine {
    background: var(--gy-green);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message-bubble.theirs {
    background: var(--gy-white);
    color: var(--gray-800);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.message-time {
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0.7;
}

.message-bubble.mine .message-time {
    text-align: right;
}

.chat-input-container {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--gray-200);
    background: var(--gy-white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-input:focus {
    border-color: var(--gy-green);
}

.chat-send-btn {
    background: var(--gy-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-send-btn:hover {
    background: var(--gy-green-dark);
}

.chat-send-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
}

/* Empty inbox */
.inbox-empty {
    text-align: center;
    padding: 60px 20px;
}

.inbox-empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.inbox-empty h3 {
    color: var(--gray-700);
    margin-bottom: 8px;
}

.inbox-empty p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* Message badge in header */
.messages-badge {
    position: relative;
}

.messages-badge .badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gy-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Contact seller modal */
.contact-seller-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-seller-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-listing-preview {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.contact-listing-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.contact-listing-preview h4 {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-listing-preview p {
    color: var(--gy-green);
    font-weight: 600;
}

/* Dark mode chat styles */
[data-theme="dark"] .conversation-item {
    background: #1a1a1a;
    border-color: #404040;
}

[data-theme="dark"] .conversation-item:hover {
    background: #242424;
}

[data-theme="dark"] .conversation-item.unread {
    background: #0d2818;
}

[data-theme="dark"] .chat-header {
    background: #1a1a1a;
    border-color: #404040;
}

[data-theme="dark"] .chat-messages {
    background: #121212;
}

[data-theme="dark"] .message-bubble.theirs {
    background: #242424;
    color: #e0e0e0;
}

[data-theme="dark"] .chat-input-container {
    background: #1a1a1a;
    border-color: #404040;
}

[data-theme="dark"] .chat-input {
    background: #242424;
    border-color: #404040;
    color: #e0e0e0;
}

[data-theme="dark"] .contact-listing-preview {
    background: #242424;
}

/* ============================================
   MOBILE SEARCH BAR IMPROVEMENTS
   ============================================ */

@media (max-width: 480px) {
    /* Reduce search bar padding on mobile */
    .search-bar {
        padding: 12px 10px;
    }
    
    /* Make search container more compact */
    .search-container {
        padding: 8px;
        gap: 8px;
        border-radius: var(--radius-md);
    }
    
    /* Smaller input fields on mobile */
    .search-container input {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    /* Compact dropdowns - side by side */
    .search-container select {
        padding: 10px 12px;
        font-size: 0.85rem;
        padding-right: 32px;
        background-position: right 10px center;
    }
    
    /* Smaller search button */
    .search-container button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Make category and location dropdowns side by side on mobile */
    .search-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .search-container input {
        grid-column: 1 / -1;
    }
    
    .search-container select:first-of-type {
        grid-column: 1;
    }
    
    .search-container select:last-of-type {
        grid-column: 2;
    }
    
    .search-container button {
        grid-column: 1 / -1;
    }
    
    /* Reduce logo size on small mobile */
    .logo-img {
    height: 180px;
        height: 55px;
    }
    
    /* Compact header */
    .header-top {
        padding: 8px 12px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .search-bar {
        padding: 10px 8px;
    }
    
    .search-container {
        padding: 6px;
        gap: 6px;
    }
    
    .search-container input {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .search-container select {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .search-container button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .logo-img {
    height: 180px;
        height: 45px;
    }
}

/* ============================================
   IMPROVED EMPTY STATE STYLES
   ============================================ */

.empty-tagline {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.empty-state-examples {
    margin-bottom: 40px;
}

.empty-state-examples h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-weight: 600;
}

.example-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.example-card {
    background: var(--gy-white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: default;
}

.example-card:hover {
    border-color: var(--gy-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 158, 73, 0.15);
}

.example-icon {
    font-size: 2rem;
}

.example-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
    text-align: center;
}

/* Steps to sell */
.empty-state-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--gy-green);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2.5rem;
    background: var(--gray-100);
    padding: 16px;
    border-radius: 50%;
}

.step-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--gy-green);
    font-weight: bold;
}

/* Dark mode for empty state */
[data-theme="dark"] .example-card {
    background: #242424;
    border-color: #404040;
}

[data-theme="dark"] .example-card:hover {
    border-color: var(--gy-green);
}

[data-theme="dark"] .example-text,
[data-theme="dark"] .step-text {
    color: #e0e0e0;
}

[data-theme="dark"] .empty-state-examples h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .step-icon {
    background: #333;
}

[data-theme="dark"] .empty-tagline {
    color: #b0b0b0;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .example-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .example-card {
        padding: 12px 8px;
    }
    
    .example-icon {
        font-size: 1.5rem;
    }
    
    .example-text {
        font-size: 0.7rem;
    }
    
    .empty-state-steps {
        gap: 10px;
    }
    
    .step-icon {
        font-size: 2rem;
        padding: 12px;
    }
    
    .step-arrow {
        font-size: 1.2rem;
    }
    
    .step-text {
        font-size: 0.8rem;
    }
}

/* ============================================
   INFO MODAL STYLES (Footer Pages)
   ============================================ */

.info-modal {
    max-width: 700px;
    max-height: 85vh;
}

.info-modal-body {
    max-height: 65vh;
    overflow-y: auto;
    padding: 24px;
}

.info-page {
    text-align: left;
    line-height: 1.7;
}

.info-page h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--gy-green);
    margin: 24px 0 12px;
    font-weight: 600;
}

.info-page h3:first-of-type {
    margin-top: 0;
}

.info-page p {
    margin-bottom: 12px;
    color: var(--gray-700);
}

.info-page ul {
    margin: 12px 0;
    padding-left: 24px;
}

.info-page ul li {
    margin-bottom: 8px;
    color: var(--gray-700);
}

.info-lead {
    font-size: 1.1rem;
    color: var(--gray-800) !important;
    margin-bottom: 20px !important;
}

.info-date {
    font-size: 0.85rem;
    color: var(--gray-500) !important;
    font-style: italic;
}

.info-tagline {
    text-align: center;
    margin-top: 24px !important;
    padding-top: 20px;
    border-top: 2px solid var(--gray-200);
    color: var(--gy-green) !important;
}

.info-emergency {
    background: #fff3cd;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border-left: 4px solid #ffc107;
    margin-top: 24px !important;
}

.info-response {
    font-style: italic;
    color: var(--gray-500) !important;
    margin-top: 24px !important;
}

/* FAQ Page */
.faq-page .faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.faq-page .faq-item:last-child {
    border-bottom: none;
}

.faq-page .faq-item h3 {
    margin: 0 0 8px;
    color: var(--gray-900);
}

.faq-page .faq-item p {
    margin: 0;
}

/* How It Works Page */
.how-it-works-page .steps-list {
    margin: 16px 0 32px;
}

.how-it-works-page .step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.how-it-works-page .step-num {
    width: 32px;
    height: 32px;
    background: var(--gy-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.how-it-works-page .step div strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.how-it-works-page .step div p {
    margin: 0;
    font-size: 0.95rem;
}

.tips-box {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.tips-box h4 {
    margin: 0 0 12px;
    color: var(--gy-green);
}

.tips-box ul {
    margin: 0;
}

/* Contact Page */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.contact-icon {
    font-size: 0.8rem;
    background: var(--gy-green);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.contact-method a {
    color: var(--gy-green);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Dark mode for info pages */
[data-theme="dark"] .info-page p,
[data-theme="dark"] .info-page ul li {
    color: #d0d0d0;
}

[data-theme="dark"] .info-lead {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .info-page h3 {
    color: var(--gy-gold);
}

[data-theme="dark"] .faq-page .faq-item {
    border-color: #404040;
}

[data-theme="dark"] .faq-page .faq-item h3,
[data-theme="dark"] .how-it-works-page .step div strong {
    color: #e0e0e0;
}

[data-theme="dark"] .tips-box,
[data-theme="dark"] .contact-method {
    background: #242424;
}

[data-theme="dark"] .info-emergency {
    background: #3d3000;
    border-color: #ffc107;
}

[data-theme="dark"] .info-tagline {
    border-color: #404040;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .info-modal {
        max-width: 95%;
        margin: 10px;
    }
    
    .info-modal-body {
        padding: 16px;
    }
    
    .how-it-works-page .step {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ============================================
   FEATURE LISTING MODAL
   ============================================ */

.feature-listing-modal {
    text-align: center;
    padding: 8px;
}

.feature-header {
    margin-bottom: 16px;
}

.feature-star {
    font-size: 3rem;
    display: block;
    margin-bottom: 8px;
}

.feature-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--gray-900);
    margin: 0;
}

.feature-description {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    padding: 12px;
    border-radius: var(--radius-md);
}

.benefit-icon {
    font-size: 1.2rem;
}

.feature-pricing {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 2px solid var(--gy-gold);
}

.feature-price-intro {
    margin: 0 0 12px;
    font-weight: 500;
    color: var(--gray-700);
}

.feature-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.feature-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--gy-green);
}

.option-content {
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: center;
}

.option-days {
    font-weight: 600;
    color: var(--gray-900);
}

.option-price {
    color: var(--gy-green);
    font-weight: 700;
}

.feature-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-btn {
    background: linear-gradient(135deg, var(--gy-gold) 0%, #e6c200 100%) !important;
    color: var(--gray-900) !important;
    font-weight: 600;
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.feature-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

/* Featured status in My Listings */
.featured-status {
    background: linear-gradient(135deg, var(--gy-gold) 0%, #e6c200 100%);
    color: var(--gray-900);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Dark mode */
[data-theme="dark"] .feature-header h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .feature-description {
    color: #b0b0b0;
}

[data-theme="dark"] .benefit-item {
    background: #242424;
}

[data-theme="dark"] .feature-pricing {
    background: linear-gradient(135deg, #3d3000 0%, #2d2400 100%);
    border-color: var(--gy-gold);
}

[data-theme="dark"] .feature-price-intro {
    color: #d0d0d0;
}

[data-theme="dark"] .option-days {
    color: #e0e0e0;
}

/* Mobile */
@media (max-width: 480px) {
    .feature-benefits {
        grid-template-columns: 1fr;
    }
    
    .feature-actions {
        flex-direction: column;
    }
    
    .feature-actions button {
        width: 100%;
    }
}

/* ============================================
   MOBILE SEARCH TOGGLE
   ============================================ */

.mobile-search-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.mobile-search-btn:hover {
    background: var(--gray-100);
}

@media (max-width: 768px) {
    .mobile-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide search bar by default on mobile */
    .search-bar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    
    /* Show search bar when active */
    .search-bar.mobile-visible {
        display: block;
    }
    
    /* Make header relative for absolute positioning */
    header {
        position: relative;
    }
    
    /* Adjust header top to have both buttons */
    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Group the mobile buttons together */
    .mobile-buttons {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

[data-theme="dark"] .mobile-search-btn:hover {
    background: #333;
}

/* ============================================
   MOBILE LOGO SIZE & DARK MODE LOGO FIX
   ============================================ */

/* Increase logo size on mobile */
@media (max-width: 768px) {
    .logo-img {
    height: 180px;
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    .logo-img {
    height: 180px;
        height: 180px !important;
    }
}

/* Dark mode logo fix - add white glow/background behind logo */
[data-theme="dark"] .logo-img {
    height: 180px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    padding: 5px;
}

[data-theme="dark"] .footer-logo .logo-img {
    height: 180px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

/* ============================================
   MOBILE DARK MODE BUTTON
   ============================================ */

.mobile-theme-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.mobile-theme-btn:hover {
    background: var(--gray-100);
}

@media (max-width: 768px) {
    .mobile-theme-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide the theme toggle in nav on mobile since we have dedicated button */
    .nav-links .theme-toggle {
        display: none !important;
    }
}

[data-theme="dark"] .mobile-theme-btn:hover {
    background: #333;
}

/* ============================================
   FIX HORIZONTAL SCROLL ON MOBILE
   ============================================ */

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* Ensure no element breaks out of viewport */
img, video, iframe, embed, object {
    max-width: 100%;
}

@media (max-width: 768px) {
    .header-top {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .search-bar,
    .search-container {
        width: 100%;
        max-width: 100vw;
    }
    
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Footer logo smaller on mobile */
@media (max-width: 768px) {
    .footer-logo .logo-img {
    height: 180px;
        height: 100px !important;
    }
}

@media (max-width: 480px) {
    .footer-logo .logo-img {
    height: 180px;
        height: 90px !important;
    }
}

/* Desktop dark mode logo fix */
@media (min-width: 769px) {
    [data-theme="dark"] .logo-img {
    height: 180px;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
        background: radial-gradient(ellipse at center, rgba(255,255,255,0.2) 0%, transparent 70%);
        border-radius: 50%;
        padding: 8px;
    }
}

/* ============================================
   USER PROFILE STYLES
   ============================================ */

.user-profile {
    padding: 10px 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gy-green) 0%, var(--gy-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-avatar.has-image {
    background: none;
    border: 3px solid var(--gy-green);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initial {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
}

.profile-rating .profile-stars {
    color: var(--gy-gold);
    font-size: 1rem;
}

.profile-rating .profile-stars .star {
    margin-right: 1px;
}

.profile-rating .profile-stars .star.filled {
    color: var(--gy-gold);
}

.profile-rating .profile-stars .star.half {
    color: var(--gy-gold);
    opacity: 0.6;
}

.profile-rating .profile-stars .star.empty {
    color: var(--gray-300);
}

.profile-rating-text {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.profile-rating.no-ratings .profile-rating-text {
    color: var(--gray-400);
    font-style: italic;
}

/* Profile Picture Upload in Settings */
.profile-picture-section {
    margin-bottom: 20px;
}

.profile-picture-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.current-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gy-green) 0%, var(--gy-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.current-profile-pic.has-image {
    background: none;
    border: 3px solid var(--gy-green);
}

.current-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initial-large {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.profile-picture-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-picture-actions .btn-danger {
    color: var(--red);
    border-color: var(--red);
}

.profile-picture-actions .btn-danger:hover {
    background: var(--red);
    color: white;
}

.profile-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge {
    background: var(--gy-green);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.profile-location {
    color: var(--gray-600);
    margin: 4px 0;
}

.profile-member-since {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

.profile-stats {
    display: flex;
    gap: 30px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gy-green);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.profile-listings h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.empty-profile-listings {
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
}

.profile-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.profile-listing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-listing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-listing-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.profile-listing-info {
    padding: 10px;
}

.profile-listing-info h5 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-listing-price {
    font-weight: bold;
    color: var(--gy-green);
    margin: 0 0 5px 0;
    font-size: 0.9rem;
}

.profile-listing-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.profile-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.page-info {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Seller profile link in listing detail */
.seller-profile-link {
    color: var(--gy-green);
    text-decoration: none;
    transition: color 0.2s;
}

.seller-profile-link:hover {
    color: var(--gy-green-dark, #007a3d);
    text-decoration: underline;
}

/* ============================================
   BUMP LISTING STYLES
   ============================================ */

.bumped-status {
    background: linear-gradient(135deg, var(--gy-green) 0%, #00b35a 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 8px;
}

.bump-listing:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dark mode profile styles */
[data-theme="dark"] .profile-header {
    border-color: var(--gray-700);
}

[data-theme="dark"] .profile-stats {
    border-color: var(--gray-700);
}

[data-theme="dark"] .profile-listing-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

[data-theme="dark"] .profile-pagination {
    border-color: var(--gray-700);
}

[data-theme="dark"] .stat-label {
    color: var(--gray-400);
}

[data-theme="dark"] .profile-member-since {
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
    }

    .profile-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .my-listing-actions {
        flex-wrap: wrap;
        gap: 5px;
    }

    .my-listing-actions .btn-sm {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .profile-listings-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LEGAL & INFO PAGES STYLES
   ============================================ */

.legal-page {
    line-height: 1.7;
}

.legal-page h3 {
    color: var(--gy-green);
    margin-top: 25px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--gray-200);
}

.legal-page h4 {
    color: var(--gray-700);
    margin-top: 15px;
    margin-bottom: 8px;
}

.legal-page ul {
    margin: 10px 0;
    padding-left: 25px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid var(--gy-gold);
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

[data-theme="dark"] .legal-notice {
    background: linear-gradient(135deg, #3d3000 0%, #2d2400 100%);
}

.legal-highlight {
    background: #f8f9fa;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

[data-theme="dark"] .legal-highlight {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.legal-highlight p {
    margin-bottom: 10px;
}

.legal-highlight ul {
    margin-bottom: 0;
}

.legal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--gy-green);
    text-align: center;
    font-style: italic;
    color: var(--gray-600);
}

/* About Page */
.about-page .info-lead {
    font-size: 1.1rem;
    color: var(--gray-700);
    border-left: 4px solid var(--gy-green);
    padding-left: 15px;
    margin-bottom: 25px;
}

.about-highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid var(--gy-green);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

[data-theme="dark"] .about-highlight {
    background: linear-gradient(135deg, #1b3d1e 0%, #0d2810 100%);
}

.about-page .category-list {
    column-count: 2;
    column-gap: 30px;
}

.about-tagline {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--gy-green) 0%, #00b35a 100%);
    border-radius: 12px;
    color: white;
}

.about-tagline .tagline-text {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.about-tagline .tagline-sub {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* FAQ Page */
.faq-page .faq-category {
    color: var(--gy-green);
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gy-green);
    font-size: 1.1rem;
}

.faq-page .faq-category:first-child {
    margin-top: 0;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--gy-gold);
}

[data-theme="dark"] .faq-item {
    background: var(--gray-800);
}

.faq-item h4 {
    color: var(--gray-800);
    margin: 0 0 8px 0;
    font-size: 1rem;
}

[data-theme="dark"] .faq-item h4 {
    color: var(--gray-100);
}

.faq-item p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
}

[data-theme="dark"] .faq-item p {
    color: var(--gray-400);
}

/* Info Modal Scrolling */
.info-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.info-modal-body {
    padding: 20px;
}

/* Make legal pages more readable on mobile */
@media (max-width: 768px) {
    .legal-page h3 {
        font-size: 1.1rem;
    }

    .legal-page {
        font-size: 0.95rem;
    }

    .about-page .category-list {
        column-count: 1;
    }

    .about-tagline .tagline-text {
        font-size: 1.1rem;
    }

    .faq-item {
        padding: 12px;
    }

    .faq-item h4 {
        font-size: 0.95rem;
    }
}

[data-theme="dark"] .legal-page h3 {
    border-color: var(--gray-700);
}

[data-theme="dark"] .legal-page h4 {
    color: var(--gray-300);
}

[data-theme="dark"] .legal-footer {
    color: var(--gray-400);
}

[data-theme="dark"] .about-page .info-lead {
    color: var(--gray-300);
}

/* ============================================
   PRICE RANGE SLIDER
   ============================================ */

.price-range-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
    flex: 3;
}

.price-range-slider {
    position: relative;
    height: 6px;
    background: var(--gray-300);
    border-radius: 3px;
    margin: 10px 0;
}

.price-range-slider .slider-track {
    position: absolute;
    height: 100%;
    background: var(--gy-green);
    border-radius: 3px;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    margin: 0;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gy-green);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    background: var(--gy-green);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.price-range-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-range-inputs input {
    width: 100px;
    padding: 8px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    text-align: center;
}

.price-range-inputs span {
    color: var(--gray-500);
}

/* ============================================
   VERIFIED BADGE
   ============================================ */

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 6px;
}

.verified-badge::before {
    content: "✓";
    font-weight: bold;
}

.verified-badge-large {
    padding: 4px 12px;
    font-size: 0.85rem;
    border-radius: 16px;
}

.seller-verified-icon {
    color: #4CAF50;
    font-size: 1.1em;
    margin-left: 4px;
}

/* ID Verification Section */
.verification-section {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 16px 0;
    border: 2px dashed var(--gray-300);
}

.verification-section.pending {
    border-color: var(--gy-gold);
    background: var(--gy-gold-subtle);
}

.verification-section.verified {
    border-color: var(--gy-green);
    background: var(--gy-green-subtle);
    border-style: solid;
}

/* ============================================
   IMAGE ZOOM GALLERY / LIGHTBOX
   ============================================ */

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    cursor: zoom-in;
    transition: transform 0.3s;
}

.lightbox-image.zoomed {
    cursor: zoom-out;
    transform: scale(2);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: var(--radius-md);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    border: 2px solid transparent;
}

.lightbox-thumb:hover,
.lightbox-thumb.active {
    opacity: 1;
    border-color: white;
}

/* Clickable images */
.listing-gallery-main,
.listing-image img {
    cursor: pointer;
}

.listing-gallery-main:hover,
.listing-image img:hover {
    opacity: 0.95;
}

/* ============================================
   LOCATION MAP
   ============================================ */

.listing-map-container {
    margin: 20px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--gray-200);
}

.listing-map {
    width: 100%;
    height: 300px;
    background: var(--gray-100);
}

.listing-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-500);
}

.listing-map-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.map-controls {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.map-btn {
    padding: 6px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.map-btn:hover {
    background: var(--gray-100);
}

.location-picker {
    margin-top: 12px;
}

.location-picker-map {
    height: 250px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-300);
    margin-bottom: 8px;
}

.location-picker-hint {
    font-size: 0.85rem;
    color: var(--gray-600);
    text-align: center;
}

/* ============================================
   CATEGORY-SPECIFIC FIELDS
   ============================================ */

.category-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.category-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
}

.category-field input,
.category-field select {
    padding: 10px 12px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.category-field input:focus,
.category-field select:focus {
    border-color: var(--gy-green);
    outline: none;
}

/* Display custom fields in listing detail */
.listing-custom-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.custom-field-item {
    display: flex;
    flex-direction: column;
}

.custom-field-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.custom-field-value {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 500;
}

/* ============================================
   SAVED SEARCHES
   ============================================ */

.saved-searches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.saved-search-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: box-shadow 0.2s;
}

.saved-search-card:hover {
    box-shadow: var(--shadow-md);
}

.saved-search-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: var(--gray-800);
}

.saved-search-filters {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.saved-search-actions {
    display: flex;
    gap: 8px;
}

.save-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gy-gold);
    color: var(--gray-800);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.save-search-btn:hover {
    background: var(--gy-gold-dark);
}

/* Mobile responsive for new features */
@media (max-width: 768px) {
    .price-range-container {
        min-width: 100%;
    }

    .lightbox-nav {
        padding: 12px 16px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-thumbnails {
        display: none;
    }

    .category-fields {
        grid-template-columns: 1fr;
    }

    .listing-custom-fields {
        grid-template-columns: repeat(2, 1fr);
    }

    .listing-map {
        height: 200px;
    }
}
