/* =====================================================
   Hingoli Hub Marketplace - Compact Mobile-First Design
   ===================================================== */

/* CSS Custom Properties - Compact Sizes */
:root {
    /* Colors */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;

    --accent-400: #a855f7;
    --accent-500: #8b5cf6;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);

    /* Typography - COMPACT */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.65rem;
    --font-size-sm: 0.75rem;
    --font-size-base: 0.8125rem;
    --font-size-lg: 0.875rem;
    --font-size-xl: 1rem;
    --font-size-2xl: 1.125rem;
    --font-size-3xl: 1.25rem;
    --font-size-4xl: 1.5rem;
    --font-size-5xl: 1.75rem;

    /* Spacing - COMPACT */
    --space-1: 0.125rem;
    --space-2: 0.25rem;
    --space-3: 0.375rem;
    --space-4: 0.5rem;
    --space-5: 0.625rem;
    --space-6: 0.75rem;
    --space-8: 1rem;
    --space-10: 1.25rem;
    --space-12: 1.5rem;
    --space-16: 2rem;
    --space-20: 2.5rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 2px 4px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 4px 6px -2px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 8px 15px -3px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;

    /* Container */
    --container-max: 1100px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* =====================================================
   Buttons - Premium Design
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6b35 0%, #f85032 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(248, 80, 50, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 80, 50, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-outline {
    background: white;
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--gray-700);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Cart & Action Buttons */
.btn-cart {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: white;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.btn-buy {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4757 100%);
    color: white;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.btn-checkout {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Call Button */
.btn-call {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* =====================================================
   Header & Navigation - COMPACT
   ===================================================== */

.header {
    background: var(--gradient-primary);
    padding: var(--space-3) var(--space-4);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

.nav {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: white;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.logo-text {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: var(--space-6);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: white;
}

.nav-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 200px;
    flex: 1;
}

.nav-search input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 100%;
    font-size: var(--font-size-xs);
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.nav-search-icon {
    color: rgba(255, 255, 255, 0.7);
    margin-right: var(--space-2);
    font-size: 0.75rem;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.25rem;
}

.btn-white {
    background: white;
    color: var(--primary-600);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* =====================================================
   Hero Section - COMPACT
   ===================================================== */

.hero {
    min-height: auto;
    background: var(--gradient-primary);
    padding: calc(50px + var(--space-8)) var(--space-4) var(--space-8);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: white;
    margin-bottom: var(--space-4);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.hero-title span {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto var(--space-6);
}

/* Search Box - COMPACT */
.search-box {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2);
    display: flex;
    box-shadow: var(--shadow-xl);
}

.search-box input {
    flex: 1;
    border: none;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    outline: none;
    border-radius: var(--radius-lg);
    min-width: 0;
}

.search-box select {
    border: none;
    padding: var(--space-3);
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    outline: none;
}

.search-box button {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: transform var(--transition-fast);
    white-space: nowrap;
}

.search-box button:hover {
    transform: translateY(-1px);
}

/* =====================================================
   Categories Section - COMPACT
   ===================================================== */

.categories {
    padding: var(--space-10) var(--space-4);
    background: white;
}

.section-header {
    text-align: center;
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

.section-tag {
    color: var(--primary-500);
    font-weight: 600;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-2);
}

.section-description {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    max-width: var(--container-max);
    margin: 0 auto;
}

.category-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.category-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto var(--space-3);
}

.category-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
}

.category-count {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

/* =====================================================
   Listings Grid - COMPACT
   ===================================================== */

.listings-section {
    padding: var(--space-10) var(--space-4);
    background: var(--gray-50);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
    max-width: var(--container-max);
    margin: 0 auto;
}

.listing-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.listing-image {
    width: 100%;
    height: 130px;
    object-fit: cover;
    background: var(--gray-200);
}

.listing-content {
    padding: var(--space-3);
}

.listing-category {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 2px var(--space-2);
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.listing-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    line-height: 1.3;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--gray-500);
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-2);
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-2);
    border-top: 1px solid var(--gray-100);
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--warning);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.listing-price {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--primary-600);
}

/* =====================================================
   Buttons - COMPACT
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-outline {
    background: white;
    color: var(--primary-600);
    border: 1px solid var(--primary-200);
    padding: var(--space-2) var(--space-4);
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-500);
}

/* =====================================================
   CTA Section - COMPACT
   ===================================================== */

.cta-section {
    padding: var(--space-10) var(--space-4);
    background: var(--gradient-dark);
    position: relative;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-3);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-6);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.store-btn {
    background: white;
    color: var(--gray-800);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.store-btn:hover {
    transform: translateY(-2px);
}

.store-icon {
    font-size: 1.25rem;
}

.store-text {
    text-align: left;
}

.store-text small {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

.store-text strong {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* =====================================================
   Footer - COMPACT
   ===================================================== */

.footer {
    background: var(--gray-800);
    color: white;
    padding: var(--space-10) var(--space-4) var(--space-6);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
}

.footer-brand h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.6;
    font-size: var(--font-size-xs);
}

.footer-links h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: var(--gray-400);
    font-size: var(--font-size-xs);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: var(--space-8) auto 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-400);
    font-size: var(--font-size-xs);
}

/* =====================================================
   Loading 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-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-image {
    width: 100%;
    height: 130px;
}

.skeleton-text {
    height: 0.75rem;
    margin-bottom: var(--space-2);
}

.skeleton-text-sm {
    height: 0.5rem;
    width: 60%;
}

/* =====================================================
   Responsive Design - MOBILE FIRST
   ===================================================== */

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }

    .nav-links,
    .nav-search {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: calc(45px + var(--space-6)) var(--space-3) var(--space-6);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-description {
        font-size: var(--font-size-xs);
    }

    .search-box {
        flex-direction: column;
        gap: var(--space-2);
    }

    .search-box input,
    .search-box select,
    .search-box button {
        width: 100%;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .category-card {
        padding: var(--space-4);
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .listing-image {
        height: 100px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-6);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-2);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }

    .header {
        padding: var(--space-2) var(--space-3);
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }

    .logo-text {
        font-size: var(--font-size-base);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .category-icon {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .listing-image {
        height: 90px;
    }

    .listing-content {
        padding: var(--space-2);
    }
}

/* =====================================================
   Utility Classes
   ===================================================== */

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.hidden {
    display: none;
}

.w-full {
    width: 100%;
}

/* =====================================================
   Banner Carousel
   ===================================================== */

.banner-section {
    padding: 0 var(--space-4);
    max-width: var(--container-max);
    margin: calc(-1 * var(--space-6)) auto var(--space-6);
}

.banner-carousel {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.banner-slides {
    position: relative;
    height: 120px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.banner-overlay h3 {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.banner-dots {
    position: absolute;
    bottom: var(--space-2);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.banner-dots .dot.active {
    background: white;
}

/* =====================================================
   Reviews Section
   ===================================================== */

.reviews-section {
    margin-top: var(--space-6);
}

.reviews-section h2 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
}

.review-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.review-rating {
    color: var(--warning);
    font-size: var(--font-size-sm);
}

.review-date {
    color: var(--gray-400);
    font-size: var(--font-size-xs);
}

.review-text {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-bottom: var(--space-2);
}

.review-author {
    color: var(--gray-500);
    font-size: var(--font-size-xs);
    font-style: italic;
}

.no-reviews {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    text-align: center;
    padding: var(--space-6);
}

/* =====================================================
   Price List Table
   ===================================================== */

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.price-table th,
.price-table td {
    padding: var(--space-3);
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.price-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.price-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--primary-600);
}

/* =====================================================
   Mobile Responsive - Complete
   ===================================================== */

/* Tablet and below */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .nav-search {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile phones */
@media (max-width: 768px) {

    /* Base adjustments */
    html {
        font-size: 15px;
    }

    /* Header */
    .header {
        padding: 10px 16px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        padding: 4px 8px;
    }

    /* Hero Section */
    .hero {
        padding: 70px 16px 24px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 16px;
    }

    /* Search Box - Stack on mobile */
    .search-box {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        max-width: 100%;
    }

    .search-box input {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .search-box select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .search-box button {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }

    /* Categories */
    .categories {
        padding: 20px 16px;
    }

    .section-header {
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .section-description {
        font-size: 13px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 16px 12px;
    }

    .category-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .category-title {
        font-size: 13px;
    }

    .category-count {
        font-size: 11px;
    }

    /* Listings Grid */
    .listings-section {
        padding: 20px 16px;
    }

    .listings-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Listing Card - Horizontal on mobile (30% image, 70% content) */
    .listing-card {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 12px;
        align-items: stretch;
    }

    .listing-card-image {
        flex: 0 0 30%;
        width: 30%;
        max-width: 30%;
        height: auto;
        aspect-ratio: 1;
        border-radius: 10px;
        object-fit: cover;
    }

    .listing-card-body {
        flex: 1 1 70%;
        padding: 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .listing-card-title {
        font-size: 14px;
        line-height: 1.4;
        font-weight: 600;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .listing-card-description {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 12px;
        color: #64748b;
        margin-bottom: 6px;
    }

    .listing-card-meta {
        font-size: 11px;
        color: #94a3b8;
    }

    .listing-card-footer {
        margin-top: 6px;
        padding-top: 0;
        border-top: none;
    }

    /* Product Card - Horizontal on mobile (30% image, 70% content) */
    .product-card {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 12px;
        align-items: stretch;
    }

    .product-card-image {
        flex: 0 0 30%;
        width: 30%;
        max-width: 30%;
        height: auto;
        aspect-ratio: 1;
        border-radius: 10px;
        object-fit: cover;
    }

    .product-card-body {
        flex: 1 1 70%;
        padding: 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Featured Section */
    .featured-section {
        padding: 20px 16px;
    }

    /* CTA Section */
    .cta-section {
        padding: 24px 16px;
    }

    .cta-content h2 {
        font-size: 1.25rem;
    }

    .cta-content p {
        font-size: 13px;
    }

    .app-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .app-btn {
        padding: 12px 20px;
    }

    /* Footer */
    .footer {
        padding: 24px 16px 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand h3 {
        font-size: 1.1rem;
    }

    .footer-links h4 {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 24px;
    }

    /* Forms */
    input,
    select,
    textarea {
        font-size: 16px !important;
        /* Prevents zoom on iOS */
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 14px 10px;
    }

    .category-icon {
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 12px;
    }

    .listing-card-image,
    .product-card-image {
        width: 80px;
        min-width: 80px;
        height: 80px;
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    padding: 20px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-close {
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-links a {
    display: block;
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: 12px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-menu-links a:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

/* Utility - hide on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Utility - show only on mobile */
.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .show-mobile {
        display: block;
    }
}