/* ============================================
   LOCAL MARKET - Modern JustDial-Inspired Design
   Color Palette: Orange (Primary), White, Dark Text
   ============================================ */

:root {
    /* Primary Colors - JustDial Style */
    --primary-red: #E74C3C;
    --primary-dark-red: #C41C3C;
    --primary-white: #ffffff;
    --primary-bg: #f8f8f8;
    
    /* Text Colors */
    --text-dark: #1a1a1a;
    --text-grey: #666666;
    --text-light: #999999;
    --text-light-grey: #8b8b8b;
    
    /* Accent Colors */
    --accent-yellow: #FFC107;
    --accent-red: #e84c3d;
    --accent-red-light: #fee2e2;
    --accent-green: #4CAF50;
    --accent-blue: #2196F3;
    
    /* Functional Colors */
    --success: #4CAF50;
    --error: #e84c3d;
    --warning: #E74C3C;
    --info: #2196F3;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--royal-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--royal-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.6;
}

body:hover .cursor {
    width: 12px;
    height: 12px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--primary-white);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    padding: 0.8rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    transition: opacity var(--transition-normal);
    min-width: max-content;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border-radius: 0.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    flex: 1;
    justify-content: flex-end;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.signup-btn, .login-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border: none;
    cursor: pointer;
}

.signup-btn {
    background-color: var(--primary-red);
    color: var(--primary-white);
}
}

.login-btn {
    border: 1px solid var(--royal-gold);
    color: var(--royal-gold);
}

.signup-btn:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

.login-btn:hover {
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.logout-btn {
    background-color: var(--secondary-red);
    color: red;
    border: none;
}

.logout-btn:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
}

.delete-btn, .cancel-btn, .remove-btn {
    background-color: var(--secondary-red);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.delete-btn:hover, .cancel-btn:hover, .remove-btn:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.secondary-btn {
    background-color: var(--secondary-red);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: bold;
    transition: all var(--transition-fast);
}

.secondary-btn:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.outline-red-btn {
    background-color: transparent;
    border: 2px solid var(--secondary-red);
    color: var(--secondary-red);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.outline-red-btn:hover {
    background-color: var(--red-light);
    border-color: #991b1b;
}

.nav-user {
    font-size: var(--font-size-sm);
    color: var(--royal-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(231, 76, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(231, 76, 60, 0.05) 0%, transparent 50%);
}

.gradient-circle {
    display: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-grey);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.search-container {
    margin-top: 2rem;
}

.search-form {
    display: flex;
    gap: 0;
    background-color: var(--primary-white);
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    background: var(--primary-white);
    border: none;
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    font-size: var(--font-size-base);
}

.search-form input::placeholder {
    color: var(--text-light);
}

.search-form input:focus {
    outline: none;
}

.search-btn {
    background-color: var(--primary-red);
    color: var(--primary-white);
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
    font-size: var(--font-size-base);
}

.search-btn:hover {
    background-color: var(--primary-dark-red);
}

/* ============================================
   SECTIONS
   ============================================ */

main {
    padding-top: 0;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--royal-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--royal-gold);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */

.categories-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--primary-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background-color: var(--primary-white);
    padding: 1.5rem 1rem;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    background-color: #fff5e6;
    transform: translateY(-4px);
    border-color: var(--primary-red);
    box-shadow: 0 8px 12px rgba(231, 76, 60, 0.15);
}

.category-card i {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    display: block;
    transition: transform var(--transition-normal);
}

.category-card:hover i {
    transform: scale(1.15);
}

.category-card h3 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   SHOPS GRID
   ============================================ */

.shops-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--primary-bg);
}

.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.shop-card {
    background-color: var(--primary-white);
    border-radius: 6px;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 24px rgba(231, 76, 60, 0.15);
}

.shop-card.featured {
    border: 2px solid var(--accent-red);
    background: linear-gradient(135deg, #fffbf5, rgba(232, 76, 61, 0.03));
}

.shop-card.featured:hover {
    border-color: var(--accent-red);
    box-shadow: 0 12px 24px rgba(232, 76, 61, 0.2);
}

.shop-card.featured::before {
    content: '★ Featured';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-red);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 3px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 2;
}

.shop-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #e0e0e0;
    overflow: hidden;
}

.shop-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-red);
    opacity: 0.3;
}

.shop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shop-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-name {
    font-size: var(--font-size-lg);
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-weight: 600;
}

.shop-category {
    font-size: var(--font-size-sm);
    color: var(--text-grey);
    margin-bottom: 0.5rem;
}

.shop-location {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.shop-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: var(--font-size-sm);
}

.shop-rating i {
    color: var(--accent-yellow);
}

.shop-rating i.empty {
    opacity: 0.2;
}

.shop-card-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.shop-card-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: var(--primary-red);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
}

.shop-card-social .social-icon:hover {
    background-color: var(--primary-red);
    color: white;
    transform: scale(1.1);
}

.view-shop-btn {
    margin-top: auto;
    background-color: var(--primary-red);
    color: var(--primary-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: var(--font-size-sm);
}

.view-shop-btn:hover {
    background-color: var(--primary-dark-red);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 6rem 2rem;
    background-color: rgba(37, 99, 235, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--royal-gold);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-grey);
    font-size: var(--font-size-sm);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(220, 38, 38, 0.05));
    border-top: 2px solid rgba(37, 99, 235, 0.3);
    border-bottom: 2px solid rgba(220, 38, 38, 0.2);
}

.cta-section h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--royal-gold), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    color: var(--light-grey);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition-normal);
    display: inline-block;
}

.cta-btn.primary {
    background-color: var(--royal-gold);
    color: #ffffff;
}

.cta-btn.primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cta-btn.secondary {
    background-color: var(--secondary-red);
    color: #ffffff;
}

.cta-btn.secondary:hover {
    background-color: #991b1b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.primary-btn {
    background-color: #2563eb;
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.secondary-btn:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

/* ============================================
   SIGNUP/LOGIN FORMS
   ============================================ */

.signup-section,
.login-section {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 60px;
    position: relative;
}

.signup-container,
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.signup-wrapper,
.login-wrapper {
    background-color: #f3f4f6;
    padding: 3rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.signup-header,
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-header h1,
.login-header h1 {
    font-size: var(--font-size-2xl);
    color: var(--royal-gold);
    margin-bottom: 0.5rem;
}

.signup-header p,
.login-header p {
    color: var(--light-grey);
}

.user-type-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.user-type-option {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.user-type-option:hover {
    border-color: var(--royal-gold);
}

.user-type-option.active {
    background-color: rgba(37, 99, 235, 0.2);
    border-color: var(--royal-gold);
}

.user-type-option i {
    font-size: 1.5rem;
    color: var(--royal-gold);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--royal-gold);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #2563eb;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
}

.form-group input::placeholder {
    color: rgba(37, 99, 235, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--royal-gold);
    background-color: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: var(--secondary-red);
    background-color: rgba(220, 38, 38, 0.05);
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    border-color: var(--secondary-red);
    background-color: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
    color: var(--secondary-red);
    font-size: var(--font-size-xs);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.char-count {
    font-size: var(--font-size-xs);
    color: var(--light-grey);
    margin-top: 0.5rem;
    display: block;
}

.hint {
    font-size: var(--font-size-xs);
    color: var(--light-grey);
    font-weight: 400;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.login-link,
.signup-link {
    text-align: center;
    margin-top: 1rem;
    font-size: var(--font-size-sm);
    color: var(--light-grey);
}

.login-link a,
.signup-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover,
.signup-link a:hover {
    text-decoration: underline;
}

.signup-decoration,
.login-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--royal-gold), transparent);
    opacity: 0.05;
    filter: blur(50px);
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.dashboard-section {
    padding-top: 80px;
}

.dashboard-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-sidebar {
    width: 250px;
    background-color: #f3f4f6;
    border-radius: 1rem;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 80px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.user-profile {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--dark-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--royal-gold);
    margin: 0 auto 1rem;
    border: 2px solid var(--royal-gold);
}

.user-profile h3 {
    color: var(--royal-gold);
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: var(--font-size-sm);
    color: var(--light-grey);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--font-size-sm);
}

.nav-item:hover,
.nav-item.active {
    background-color: rgba(37, 99, 235, 0.2);
    color: var(--royal-gold);
}

.nav-item i {
    width: 20px;
}

.dashboard-content {
    flex: 1;
}

.content-header {
    margin-bottom: 2rem;
}

.content-header h1 {
    font-size: var(--font-size-2xl);
    color: var(--royal-gold);
    margin-bottom: 0.5rem;
}

.content-header p {
    color: var(--light-grey);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: #f3f4f6;
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    gap: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--royal-gold);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--royal-gold);
    display: flex;
    align-items: center;
}

.stat-content h3 {
    font-size: var(--font-size-2xl);
    color: var(--royal-gold);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--light-grey);
    font-size: var(--font-size-sm);
}

.stat-card.premium {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
}

/* ============================================
   DASHBOARD SECTIONS
   ============================================ */

.dashboard-section-featured,
.dashboard-section-activity,
.dashboard-section-shops,
.admin-section {
    background-color: #f3f4f6;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: var(--royal-gold);
    font-size: var(--font-size-lg);
}

.view-all-btn,
.add-shop-btn {
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-shop-btn {
    padding: 0.75rem 1.5rem;
}

.view-all-btn:hover,
.add-shop-btn:hover {
    background-color: #1d4ed8;
    transform: scale(1.05);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.shop-card.featured {
    cursor: pointer;
}

.rating-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
}

/* ============================================
   ACTIVITY LIST
   ============================================ */

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(37, 99, 235, 0.05);
    border-radius: 0.5rem;
}

.activity-icon {
    font-size: 1.5rem;
    color: var(--royal-gold);
}

.activity-content p {
    color: #2563eb;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: var(--font-size-xs);
    color: var(--light-grey);
}

/* ============================================
   SHOPS TABLE
   ============================================ */

.shops-table table,
.users-table table {
    width: 100%;
    border-collapse: collapse;
}

.shops-table table thead,
.users-table table thead {
    background-color: rgba(37, 99, 235, 0.1);
}

.shops-table table th,
.users-table table th {
    padding: 1rem;
    text-align: left;
    color: var(--royal-gold);
    font-weight: bold;
    border-bottom: 2px solid rgba(37, 99, 235, 0.3);
}

.shops-table table td,
.users-table table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.shops-table table tbody tr:hover,
.users-table table tbody tr:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

.rating {
    color: var(--royal-gold);
    font-weight: bold;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: var(--font-size-xs);
    font-weight: bold;
}

.status.active {
    background-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.status.inactive {
    background-color: var(--red-light);
    color: var(--secondary-red);
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.edit-btn,
.delete-btn,
.view-btn,
.status-btn {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--font-size-sm);
    padding: 0.5rem;
}

.edit-btn:hover,
.view-btn:hover,
.status-btn:hover {
    color: #1d4ed8;
    transform: scale(1.2);
}

.delete-btn {
    color: #ef4444;
}

.delete-btn:hover {
    color: #fca5a5;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background-color: #f3f4f6;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
    max-width: 600px;
    width: 100%;
    animation: slideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    color: var(--royal-gold);
}

.close-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-btn:hover {
    color: #1d4ed8;
}

.shop-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   SEARCH RESULTS PAGE
   ============================================ */

.search-section {
    padding-top: 80px;
}

.search-header {
    background-color: #f3f4f6;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.search-header h1 {
    font-size: var(--font-size-2xl);
    color: var(--royal-gold);
    margin-bottom: 0.5rem;
}

.search-header p {
    color: var(--light-grey);
    margin-bottom: 2rem;
}

.search-form-page {
    display: flex;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.search-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.filters-sidebar {
    width: 250px;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    color: var(--royal-gold);
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--light-grey);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.filter-group label:hover {
    color: var(--royal-gold);
}

.filter-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--royal-gold);
}

.search-results {
    flex: 1;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-card {
    background-color: #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    gap: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all var(--transition-normal);
}

.result-card:hover {
    border-color: var(--royal-gold);
    transform: translateX(5px);
}

.result-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    background-color: var(--dark-grey);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--royal-gold);
    opacity: 0.5;
}

.result-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-title {
    color: var(--royal-gold);
    font-size: var(--font-size-lg);
    margin-bottom: 0.25rem;
}

.result-category {
    color: var(--light-grey);
    font-size: var(--font-size-sm);
    margin-bottom: 0.75rem;
}

.result-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.result-meta {
    display: flex;
    gap: 1.5rem;
    font-size: var(--font-size-sm);
    color: var(--light-grey);
    margin-bottom: 0.75rem;
}

.contact {
    font-size: var(--font-size-sm);
    color: var(--light-grey);
    margin-bottom: auto;
}

.result-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.result-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.result-social .social-icon:hover {
    background-color: #2563eb;
    color: white;
    transform: scale(1.1);
}

.view-details-btn {
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition-fast);
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-details-btn:hover {
    background-color: #1d4ed8;
    transform: translateX(3px);
}

.no-results,
.no-shops,
.no-items {
    text-align: center;
    padding: 3rem;
}

.no-results i,
.no-items i {
    font-size: 3rem;
    color: var(--royal-gold);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h2,
.no-items {
    color: #1f2937;
}

.no-results p,
.no-items {
    color: var(--light-grey);
    margin-bottom: 1rem;
}

.back-btn {
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all var(--transition-fast);
}

.back-btn:hover {
    background-color: #1d4ed8;
}

/* ============================================
   SHOP DETAILS PAGE
   ============================================ */

.shop-details-section {
    padding: 60px 2rem 0;
}

.shop-hero {
    background-color: #f3f4f6;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.shop-image-large {
    width: 100%;
    height: 400px;
    background-color: #f3f4f6;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.image-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--royal-gold);
    opacity: 0.3;
}

.shop-header-content h1 {
    font-size: var(--font-size-3xl);
    color: var(--royal-gold);
    margin-bottom: 0.5rem;
}

.category {
    color: var(--light-grey);
    font-size: var(--font-size-lg);
    margin-bottom: 1.5rem;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: var(--royal-gold);
}

.stars i.empty {
    opacity: 0.2;
}

.rating-text {
    color: var(--light-grey);
    font-size: var(--font-size-sm);
}

.shop-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: var(--font-size-xs);
    font-weight: bold;
}

.badge.active {
    background-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.badge.inactive {
    background-color: var(--red-light);
    color: var(--secondary-red);
}

.badge.danger {
    background-color: var(--red-light);
    color: var(--secondary-red);
    font-weight: bold;
}

.badge.warning {
    background-color: rgba(249, 115, 22, 0.2);
    color: #ea580c;
}

.alert-danger {
    background-color: var(--red-light);
    border-left: 4px solid var(--secondary-red);
    color: var(--secondary-red);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-danger i {
    margin-right: 0.5rem;
}

.red-accent {
    color: var(--secondary-red);
}

.red-bg {
    background-color: var(--secondary-red);
    color: #ffffff;
}

.shop-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.info-section {
    background-color: #f3f4f6;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.info-section h2 {
    color: var(--royal-gold);
    margin-bottom: 1rem;
    font-size: var(--font-size-lg);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.contact-info i {
    color: var(--royal-gold);
    width: 20px;
}

.contact-info a {
    color: var(--royal-gold);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Social Media Links */
.social-media-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #2563eb;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
}

.social-link:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
}

.social-link.facebook:hover { background-color: #1877f2; border-color: #1877f2; }
.social-link.instagram:hover { background-color: #e1306c; border-color: #e1306c; }
.social-link.twitter:hover { background-color: #1da1f2; border-color: #1da1f2; }
.social-link.youtube:hover { background-color: #ff0000; border-color: #ff0000; }
.social-link.linkedin:hover { background-color: #0a66c2; border-color: #0a66c2; }
.social-link.whatsapp:hover { background-color: #25d366; border-color: #25d366; }

.owner-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.owner-avatar {
    width: 80px;
    height: 80px;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.owner-details h3 {
    color: var(--royal-gold);
}

.owner-details p {
    color: var(--light-grey);
    font-size: var(--font-size-sm);
}

.reviews-section {
    background-color: #f3f4f6;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.reviews-section h2 {
    color: var(--royal-gold);
    margin-bottom: 2rem;
}

.add-review {
    background-color: rgba(37, 99, 235, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.add-review h3 {
    color: var(--royal-gold);
    margin-bottom: 1rem;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-input {
    display: flex;
    gap: 0.5rem;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-input input {
    display: none;
}

.star-label {
    font-size: 2rem;
    color: rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.rating-input input:checked ~ .star-label,
.star-label:hover,
.star-label.hover {
    color: #2563eb;
    transform: scale(1.2);
}

.login-prompt {
    text-align: center;
    padding: 2rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 1rem;
}

.login-prompt p {
    color: var(--light-grey);
    margin-bottom: 1rem;
}

.login-btn {
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background-color: rgba(37, 99, 235, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    color: #2563eb;
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: var(--font-size-xs);
    color: var(--light-grey);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-rating i {
    color: var(--royal-gold);
    font-size: var(--font-size-sm);
}

.review-rating i.empty {
    opacity: 0.2;
}

.review-text {
    color: var(--light-grey);
}

.no-reviews {
    text-align: center;
    color: var(--light-grey);
    padding: 2rem;
}

.shop-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-card {
    background-color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.sidebar-card h3 {
    color: var(--royal-gold);
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item span {
    color: var(--light-grey);
    font-size: var(--font-size-sm);
}

.info-item strong {
    color: var(--royal-gold);
}

.action-btn {
    display: block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all var(--transition-fast);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background-color: #1d4ed8;
    transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #f3f4f6;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    padding: 4rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-grey);
    font-size: var(--font-size-sm);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #6b7280;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--light-grey);
    font-size: var(--font-size-sm);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .dashboard-container {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .search-container {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
    }

    .shop-hero {
        grid-template-columns: 1fr;
    }

    .shop-details-container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .result-card {
        flex-direction: column;
    }

    .result-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero {
        min-height: calc(100vh - 60px);
        padding: 1rem;
    }

    .search-form {
        flex-direction: column;
    }

    .signup-container,
    .login-container {
        flex-direction: column;
        gap: 2rem;
    }

    .signup-wrapper,
    .login-wrapper {
        max-width: 100%;
    }

    .shops-grid,
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .result-card {
        flex-direction: column;
    }

    .result-image {
        width: 100%;
    }

    .dashboard-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .shops-table table,
    .users-table table {
        font-size: var(--font-size-sm);
    }

    .shops-table table th,
    .users-table table th,
    .shops-table table td,
    .users-table table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 0.5rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-link,
    .signup-btn,
    .login-btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .shops-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .dashboard-sidebar {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }

    .result-card {
        gap: 0;
    }

    .shops-table table {
        font-size: 0.65rem;
    }

    .shops-table table th,
    .shops-table table td {
        padding: 0.5rem 0.25rem;
    }

    .actions button {
        padding: 0.25rem;
        font-size: 0.75rem;
    }
}

/* ============================================
   ADMIN DASHBOARD SPECIFIC
   ============================================ */

.admin-avatar {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), transparent);
}

.admin-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.admin-stats {
    margin-bottom: 3rem;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* ============================================
   GEOLOCATION & MAPS
   ============================================ */

.location-notification {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    z-index: 1100;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    color: #065f46;
}

.notification-error {
    background-color: var(--red-light);
    border-left: 4px solid var(--secondary-red);
    color: #7f1d1d;
}

.notification-warning {
    background-color: rgba(249, 115, 22, 0.1);
    border-left: 4px solid #ea580c;
    color: #7c2d12;
}

.notification-info {
    background-color: rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--royal-gold);
    color: #1e3a8a;
}

.enable-location-btn {
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.enable-location-btn:hover {
    background-color: #1d4ed8;
    transform: scale(1.05);
}

/* ============================================
   MAPS CONTAINER
   ============================================ */

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container.small {
    height: 300px;
}

.map-container.large {
    height: 500px;
}

#shopMap,
#shopsMap,
#customerMap {
    width: 100%;
    height: 100%;
}

.map-popup {
    padding: 0.5rem;
    font-family: var(--font-primary);
}

.map-popup h4 {
    color: #2563eb;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.map-popup p {
    color: var(--primary-black);
    font-size: 0.875rem;
    margin: 0.25rem 0;
}

.map-popup .category {
    font-weight: bold;
    color: #666;
}

.map-popup .rating {
    color: var(--royal-gold);
}

.map-popup .view-btn,
.map-popup .directions-link {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.map-popup .view-btn:hover,
.map-popup .directions-link:hover {
    background-color: #1d4ed8;
    transform: scale(1.05);
}

/* ============================================
   DISTANCE INFO
   ============================================ */

.distance-info {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.distance-info i {
    font-size: 1rem;
}

.shop-card-image {
    position: relative;
}

.nearby-badge {
    display: inline-block;
    background-color: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: var(--font-size-xs);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* ============================================
   LOCATION CONTROLS IN SEARCH
   ============================================ */

.search-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.search-controls .location-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
}

.location-status.enabled {
    color: var(--success);
}

.location-status.disabled {
    color: var(--light-grey);
}

.location-toggle {
    background-color: rgba(37, 99, 235, 0.2);
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: bold;
    font-size: var(--font-size-sm);
}

.location-toggle:hover {
    background-color: rgba(37, 99, 235, 0.3);
}

/* ============================================
   RESPONSIVE MAPS
   ============================================ */

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }

    .map-container.small {
        height: 250px;
    }

    .map-container.large {
        height: 350px;
    }

    .distance-info {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .search-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .location-status,
    .location-toggle {
        width: 100%;
        text-align: center;
    }

    .location-toggle {
        width: auto;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 250px;
    }

    .map-popup h4 {
        font-size: 0.9rem;
    }

    .map-popup p {
        font-size: 0.75rem;
    }

    .distance-info {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }
}

/* ============================================
   RED ACCENT STYLING
   ============================================ */

/* Status Indicators */
.status-danger {
    color: var(--secondary-red);
    font-weight: bold;
}

.status-warning {
    color: #ea580c;
    font-weight: bold;
}

/* Badge Styles */
.badge-danger {
    background-color: var(--red-light);
    color: var(--secondary-red);
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: bold;
    font-size: var(--font-size-xs);
}

.badge-warning {
    background-color: rgba(249, 115, 22, 0.2);
    color: #ea580c;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: bold;
    font-size: var(--font-size-xs);
}

/* Link Hover Red Accent */
.link-danger {
    color: var(--secondary-red);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.link-danger:hover {
    border-bottom-color: var(--secondary-red);
    opacity: 0.8;
}

/* Icon Red Styling */
.icon-danger {
    color: var(--secondary-red);
}

.icon-danger:hover {
    color: #991b1b;
}

/* Red Accent Border */
.border-danger {
    border-left: 4px solid var(--secondary-red);
    padding-left: 1rem;
}

/* Red Shadow Effect */
.shadow-danger {
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.shadow-danger:hover {
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* Red Highlight */
.highlight-danger {
    background-color: var(--red-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Red Text Emphasis */
.text-danger {
    color: var(--secondary-red);
    font-weight: 600;
}

/* Red Underline Text */
.underline-danger {
    text-decoration: underline;
    text-decoration-color: var(--secondary-red);
    text-underline-offset: 0.25rem;
}

/* Feature Badge with Red */
.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-red), #ef4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: var(--font-size-xs);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Red Divider */
.divider-danger {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-red), transparent);
    margin: 2rem 0;
}

/* Red Hover Lift Effect */
.lift-danger:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2);
}

/* Pulse Animation with Red */
@keyframes pulse-danger {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.pulse-danger {
    animation: pulse-danger 2s infinite;
}
/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section {
    padding: 2rem;
    background-color: rgba(37, 99, 235, 0.05);
    border-radius: 1rem;
    margin: 2rem 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-header h3 {
    font-size: var(--font-size-xl);
    color: #2563eb;
}

.add-product-btn {
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-product-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background-color: #f3f4f6;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(220, 38, 38, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.product-image i {
    color: #2563eb;
    opacity: 0.5;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--secondary-red), #ef4444);
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    animation: pulse-danger 2s infinite, bounce-discount 1s infinite;
    min-width: 55px;
    text-align: center;
    transform-origin: center;
}

@keyframes bounce-discount {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
}

.product-card:hover .discount-badge {
    animation: pulse-danger 2s infinite, rotate-discount 3s linear infinite;
}

@keyframes rotate-discount {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.discount-badge i {
    margin-right: 0.25rem;
}

.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(16, 185, 129, 0.9);
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: var(--font-size-xs);
}

.stock-badge.out-of-stock {
    background-color: rgba(220, 38, 38, 0.9);
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.product-category {
    font-size: var(--font-size-xs);
    color: var(--light-grey);
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: var(--font-size-sm);
    color: var(--light-grey);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.product-price {
    font-size: var(--font-size-lg);
    color: #2563eb;
}

.original-price {
    font-size: var(--font-size-sm);
    color: var(--light-grey);
    text-decoration: line-through;
    opacity: 0.7;
}

.discount-percentage {
    background-color: var(--secondary-red);
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: var(--font-size-xs);
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.product-actions button {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: none;
    border-radius: 0.4rem;
    cursor: pointer;
    font-weight: bold;
    font-size: var(--font-size-xs);
    transition: all var(--transition-fast);
}

.edit-product-btn {
    background-color: #2563eb;
    color: #ffffff;
}

.edit-product-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.delete-product-btn {
    background-color: var(--secondary-red);
    color: #ffffff;
}

.delete-product-btn:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
}

/* Product Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    padding-bottom: 1rem;
}

.modal-header h2 {
    color: #2563eb;
    margin: 0;
}

.close-modal-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-modal-btn:hover {
    color: #1d4ed8;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-modal {
    display: flex;
    flex-direction: column;
}

.form-group-modal label {
    color: #2563eb;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
}

.form-group-modal input,
.form-group-modal textarea,
.form-group-modal select {
    padding: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #2563eb;
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

.form-group-modal input:focus,
.form-group-modal textarea:focus,
.form-group-modal select:focus {
    outline: none;
    border-color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group-modal textarea {
    resize: vertical;
    min-height: 80px;
}

.discount-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.discount-input-group input {
    flex: 1;
}

.discount-preview {
    font-size: var(--font-size-sm);
    color: #2563eb;
    font-weight: bold;
    padding: 0.5rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 0.25rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--font-size-sm);
}

.save-product-btn {
    background-color: #2563eb;
    color: #ffffff;
}

.save-product-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.cancel-product-btn {
    background-color: #f3f4f6;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.cancel-product-btn:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.no-products {
    text-align: center;
    padding: 2rem;
    color: var(--light-grey);
}

.no-products i {
    font-size: 3rem;
    color: var(--royal-gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .products-header {
        flex-direction: column;
        align-items: stretch;
    }

    .add-product-btn {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        width: 95%;
    }
}

/* Product Image Upload Styles */
.image-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.image-upload-wrapper input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed var(--royal-gold);
    border-radius: 0.5rem;
    background-color: rgba(37, 99, 235, 0.1);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.image-upload-wrapper input[type="file"]:hover {
    border-color: var(--danger-red);
    background-color: rgba(220, 38, 38, 0.1);
}

.image-hint {
    font-size: var(--font-size-xs);
    color: var(--light-grey);
}

.image-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 0.5rem;
    object-fit: contain;
}

.remove-image-btn {
    background-color: var(--danger-red);
    color: var(--primary-white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.remove-image-btn:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
}

.image-error {
    color: var(--danger-red);
    font-size: var(--font-size-sm);
    margin-top: 0.25rem;
}

/* Product Image Display */
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(220, 38, 38, 0.1));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image i {
    font-size: 3rem;
    color: rgba(37, 99, 235, 0.3);
}

/* ============================================
   SERVICES & DETAILS SECTION
   ============================================ */

.services-details-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(220, 38, 38, 0.05));
    border-left: 4px solid var(--royal-gold);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.services-details-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--royal-gold);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.services-details-section h2 i {
    font-size: 1.75rem;
}

.services-details-content {
    color: var(--light-grey);
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.services-details-content p {
    margin: 0;
}

.services-details-content br {
    display: block;
    content: '';
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .services-details-section {
        padding: 1.5rem;
    }

    .services-details-section h2 {
        font-size: 1.5rem;
    }

    .services-details-content {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   ENHANCED RESPONSIVE DESIGN
   ============================================ */

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #2563eb;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.5rem;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle.active {
    transform: rotate(90deg);
}

/* Tablet & Below - Enhanced */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .dashboard-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .dashboard-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .shop-details-container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: relative;
        top: 0;
    }

    .shop-hero {
        grid-template-columns: 1fr;
    }

    .search-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .filters-sidebar {
        width: 100%;
    }

    .result-card {
        flex-direction: column;
        gap: 1rem;
    }

    .result-image {
        width: 100%;
        height: 250px;
    }

    .shops-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }

    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile Devices - Enhanced */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    html {
        font-size: 14px;
    }

    body {
        overflow-x: hidden;
    }

    /* Navigation Enhancement */
    .menu-toggle {
        display: block;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .logo-image {
        height: 35px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        right: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 2px solid rgba(37, 99, 235, 0.3);
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        animation: slideDown 0.3s ease-out;
    }

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

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        border-radius: 0.5rem;
        transition: all var(--transition-fast);
        font-size: var(--font-size-base);
    }

    .nav-link:hover {
        background-color: rgba(37, 99, 235, 0.1);
        padding-left: 1.5rem;
    }

    .signup-btn, .login-btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
    }

    .navbar {
        padding: 0.75rem 0;
        height: 60px;
    }

    main {
        padding-top: 50px;
    }

    /* Hero Section Improvement */
    .hero {
        min-height: auto;
        padding: 2rem 1.5rem;
        margin-top: 50px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
        line-height: 1.5;
    }

    .search-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-form input,
    .search-btn {
        width: 100%;
        padding: 0.75rem;
    }

    /* Section Improvements */
    .categories-section,
    .shops-section,
    .features-section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: 2rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem 1rem;
        border-radius: 0.75rem;
    }

    .category-card i {
        font-size: 2rem;
    }

    .category-card h3 {
        font-size: var(--font-size-xs);
    }

    /* Grid Improvements */
    .shops-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .shop-card {
        border-radius: 0.75rem;
    }

    .shop-card-image {
        height: 160px;
    }

    .shop-card-content {
        padding: 1.25rem 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    /* Form Improvements */
    .signup-container,
    .login-container {
        flex-direction: column;
        gap: 2rem;
    }

    .signup-wrapper,
    .login-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 0.75rem;
        max-width: 100%;
    }

    .signup-header h1,
    .login-header h1 {
        font-size: var(--font-size-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .user-type-selector {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .user-type-option {
        padding: 0.75rem 0.5rem;
        font-size: var(--font-size-xs);
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        border-radius: 0.5rem;
    }

    .submit-btn {
        padding: 1rem 0.75rem;
        margin-top: 1rem;
    }

    /* Dashboard Improvements */
    .dashboard-section {
        padding-top: 60px;
    }

    .dashboard-container {
        padding: 1.5rem;
    }

    .dashboard-sidebar {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }

    .dashboard-stats {
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .stat-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-content h3 {
        font-size: var(--font-size-lg);
    }

    /* Info Sections */
    .info-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 0.75rem;
    }

    .dashboard-section-featured,
    .dashboard-section-activity,
    .dashboard-section-shops,
    .admin-section {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }

    /* Shop Details */
    .shop-details-section {
        padding: 50px 1.5rem 0;
    }

    .shop-hero {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .shop-image-large {
        height: 300px;
    }

    .shop-header-content h1 {
        font-size: var(--font-size-2xl);
    }

    .shop-details-container {
        padding: 1.5rem;
    }

    /* Search Results */
    .search-header {
        padding: 2rem 1.5rem;
    }

    .search-header h1 {
        font-size: var(--font-size-xl);
    }

    .search-section {
        padding-top: 60px;
    }

    /* Tables */
    .shops-table table,
    .users-table table {
        font-size: var(--font-size-xs);
    }

    .shops-table table th,
    .users-table table th,
    .shops-table table td,
    .users-table table td {
        padding: 0.75rem 0.5rem;
    }

    .actions {
        gap: 0.25rem;
        flex-wrap: wrap;
    }

    /* Modal */
    .modal {
        padding: 1.5rem;
    }

    .modal-content {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 1.5rem;
    }

    .cta-buttons {
        gap: 0.75rem;
    }

    .cta-btn {
        padding: 0.75rem 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 1.5rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Small Mobile - Enhanced */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.25rem;
    }

    .navbar {
        height: 50px;
    }

    .navbar-container {
        padding: 0 0.75rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-image {
        height: 30px;
    }

    .logo span {
        display: none;
    }

    .menu-toggle {
        font-size: 1.25rem;
    }

    /* Hero */
    .hero {
        padding: 1.5rem 1rem;
        margin-top: 50px;
    }

    .hero-title {
        font-size: clamp(1.25rem, 3vw, 2rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: 1.5rem;
    }

    .search-container {
        margin-top: 1.5rem;
    }

    /* Sections */
    .categories-section,
    .shops-section,
    .features-section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: var(--font-size-xl);
        margin-bottom: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .category-card {
        padding: 1rem 0.5rem;
        border-radius: 0.5rem;
    }

    .category-card i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .category-card h3 {
        font-size: var(--font-size-xs);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Shops Grid */
    .shops-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .shop-card-image {
        height: 120px;
    }

    .shop-card-content {
        padding: 1rem 0.75rem;
    }

    .shop-name {
        font-size: var(--font-size-sm);
        line-height: 1.3;
    }

    .category {
        font-size: var(--font-size-xs);
    }

    /* Forms */
    .signup-wrapper,
    .login-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 0.5rem;
    }

    .signup-header h1,
    .login-header h1 {
        font-size: var(--font-size-lg);
    }

    .user-type-selector {
        gap: 0.5rem;
    }

    .user-type-option {
        padding: 0.5rem 0.25rem;
        font-size: var(--font-size-xs);
    }

    .user-type-option i {
        font-size: 1.25rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.5rem;
        font-size: var(--font-size-sm);
    }

    .submit-btn {
        padding: 0.75rem 0.5rem;
        font-size: var(--font-size-sm);
    }

    /* Dashboard */
    .dashboard-sidebar {
        padding: 1.25rem;
    }

    .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: var(--font-size-xs);
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-content h3 {
        font-size: var(--font-size-base);
    }

    /* Shop Details */
    .shop-details-section {
        padding: 50px 1rem 0;
    }

    .shop-hero {
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .shop-image-large {
        height: 200px;
    }

    .shop-header-content h1 {
        font-size: var(--font-size-lg);
    }

    .shop-details-container {
        padding: 1rem;
        gap: 1rem;
    }

    .info-section {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .info-section h2 {
        font-size: var(--font-size-base);
        margin-bottom: 0.5rem;
    }

    /* Search Results */
    .search-section {
        padding-top: 50px;
    }

    .search-header {
        padding: 1.5rem 1rem;
    }

    .search-header h1 {
        font-size: var(--font-size-lg);
    }

    .result-content {
        padding: 0.75rem;
    }

    .result-title {
        font-size: var(--font-size-sm);
    }

    .result-description {
        font-size: var(--font-size-xs);
    }

    /* Tables */
    .shops-table table,
    .users-table table {
        font-size: var(--font-size-xs);
    }

    /* Modal */
    .modal {
        padding: 1rem;
    }

    .modal-content {
        padding: 1rem;
    }

    /* CTA */
    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-section h2 {
        font-size: var(--font-size-lg);
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-btn {
        padding: 0.75rem 1rem;
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 2rem 1rem 0.75rem;
    }

    .footer-bottom {
        font-size: var(--font-size-xs);
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    #map {
        height: 250px !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .logo {
        font-size: 1rem;
    }

    .logo-image {
        height: 25px;
    }

    .logo i {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: var(--font-size-lg);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .shops-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        gap: 0.5rem;
    }
}

/* ============================================
   VISUAL ENHANCEMENTS & INTERACTIONS
   ============================================ */

/* Button Improvements */
button, .btn, [class*="btn"], input[type="submit"], input[type="button"] {
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

/* Sophisticated Button Hover Effects */
.primary-btn:after, 
.secondary-btn:after,
.submit-btn:after,
.view-shop-btn:after,
.view-details-btn:after,
.cta-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.primary-btn:hover:after, 
.secondary-btn:hover:after,
.submit-btn:hover:after,
.view-shop-btn:hover:after,
.view-details-btn:hover:after,
.cta-btn:hover:after {
    width: 300px;
    height: 300px;
}

/* Card Animations */
.shop-card {
    animation: cardFadeIn 0.6s ease-out forwards;
}

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

/* Stagger animation for multiple cards */
.shop-card:nth-child(1) { animation-delay: 0.1s; }
.shop-card:nth-child(2) { animation-delay: 0.2s; }
.shop-card:nth-child(3) { animation-delay: 0.3s; }
.shop-card:nth-child(4) { animation-delay: 0.4s; }
.shop-card:nth-child(5) { animation-delay: 0.5s; }
.shop-card:nth-child(n+6) { animation-delay: 0.6s; }

/* Improved Form Inputs */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* Input Label Enhancement */
.form-group label {
    display: block;
    transition: all var(--transition-fast);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label {
    color: var(--royal-gold);
    font-weight: 600;
}

/* Smooth Transitions */
* {
    transition: background-color var(--transition-normal), 
                color var(--transition-normal),
                border-color var(--transition-normal),
                box-shadow var(--transition-normal),
                transform var(--transition-normal);
}

*:focus-visible {
    outline: 2px solid var(--royal-gold);
    outline-offset: 2px;
}

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

.loading {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* Pulse Animation for Important Elements */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.gradient-text {
    background: linear-gradient(90deg, var(--royal-gold), var(--secondary-red), var(--royal-gold));
    background-size: 200% center;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Link Enhancement */
a {
    position: relative;
    text-decoration: none;
    transition: all var(--transition-fast);
}

a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--royal-gold);
    transition: width var(--transition-fast);
}

a:hover::after {
    width: 100%;
}

/* Remove default link underline for nav items */
.nav-link::after {
    animation: none;
}

/* Improved Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(37, 99, 235, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--royal-gold);
    border-radius: 5px;
    transition: background var(--transition-normal);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Improved Badge Styles */
.badge {
    display: inline-block;
    animation: badgeIn 0.4s ease-out;
}

@keyframes badgeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Status Indicator Pulse */
.status.active::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

/* Grid Layout Animation */
.shops-grid,
.categories-grid,
.features-grid,
.dashboard-stats {
    animation: gridFadeIn 0.8s ease-out;
}

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

/* Modal Improvements */
.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

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

.modal-content {
    animation: slideInDown 0.3s ease-out;
}

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

/* Section Reveal Animation */
[data-scroll] {
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.17, 0.55, 0.55, 1);
}

[data-scroll].is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Improved Text Selection */
::selection {
    background-color: var(--royal-gold);
    color: var(--primary-black);
}

::-moz-selection {
    background-color: var(--royal-gold);
    color: var(--primary-black);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Already dark themed */
}

/* High Contrast Support */
@media (prefers-contrast: more) {
    .nav-link::after {
        height: 3px;
    }
    
    button, [class*="btn"] {
        border: 2px solid currentColor;
    }
}

/* Touch Device Improvements */
@media (hover: none) {
    button, [class*="btn"], .shop-card {
        padding: 1rem;
    }
    
    .shop-card:hover {
        transform: none;
    }
    
    .shop-card:active {
        transform: scale(0.98);
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 1rem 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .navbar {
        height: 50px;
    }
    
    main {
        padding-top: 50px;
    }
}

/* Large Screens Enhancement */
@media (min-width: 1920px) {
    .navbar-container,
    .shop-details-container,
    .search-container,
    .dashboard-container,
    .shops-section,
    .categories-section,
    .features-section {
        max-width: 1600px;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Performance: Reduce animation on mobile */
@media (max-width: 768px) {
    [data-scroll] {
        animation-duration: 0.4s;
    }
    
    .shop-card {
        animation-duration: 0.3s;
    }
}

/* ============================================
   DISTANCE INFO BADGE
   ============================================ */

.distance-info {
    background-color: rgba(37, 99, 235, 0.95);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: var(--font-size-xs);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    animation: slideInDown 0.4s ease-out;
}

.distance-info i {
    font-size: var(--font-size-sm);
}

/* ============================================
   ENABLE LOCATION BUTTON
   ============================================ */

.enable-location-btn {
    background-color: var(--royal-gold);
    color: var(--primary-black);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.enable-location-btn:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .enable-location-btn {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-xs);
    }
}