/* ==========================================================================
   FoodInElPaso.com — Design System & Stylesheet
   Modern, Warm, Mobile-First Border Gastronomy Theme
   ========================================================================== */

:root {
    --primary: #c2410c;         /* Roasted Chile Terracotta */
    --primary-hover: #9a3412;
    --primary-light: #ffedd5;
    --primary-glow: rgba(194, 65, 12, 0.15);
    
    --accent: #d97706;          /* Desert Amber / Masa Gold */
    --accent-hover: #b45309;
    --accent-light: #fef3c7;
    
    --success: #15803d;         /* Hatch Green */
    --success-light: #dcfce7;
    --danger: #b91c1c;          /* Salsa Roja */
    --danger-light: #fee2e2;
    
    --bg: #fbfbf9;              /* Warm limestone white */
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --border: #e7e5e4;
    --border-focus: #c2410c;
    
    --text-primary: #1c1917;    /* Charcoal */
    --text-secondary: #44403c;  /* Stone */
    --text-muted: #78716c;      /* Soft Gray */
    --text-inverse: #ffffff;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(28, 25, 23, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(28, 25, 23, 0.08), 0 2px 4px -2px rgba(28, 25, 23, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(28, 25, 23, 0.08), 0 4px 6px -4px rgba(28, 25, 23, 0.04);
    --shadow-glow: 0 0 20px rgba(194, 65, 12, 0.2);
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --container-max: 1200px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.15rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.subheading {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(194, 65, 12, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-inverse);
    box-shadow: 0 4px 8px rgba(194, 65, 12, 0.3);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}

.btn-outline-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text-primary);
    background: var(--surface);
}

.btn-outline-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}

.btn-call {
    background-color: var(--success);
    color: var(--text-inverse);
    border-color: var(--success);
}

.btn-call:hover {
    background-color: #166534;
    color: var(--text-inverse);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header & Navigation */
.site-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

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

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
}

.brand-title span {
    color: var(--primary);
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.25rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 0.4rem 0.2rem;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #fff5ed 0%, var(--bg) 100%);
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(194, 65, 12, 0.2);
}

.hero-title {
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Live Search Box */
.hero-search-box {
    background: var(--surface);
    padding: 0.65rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-left: 0.75rem;
}

.search-icon {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.hero-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: transparent;
}

.hero-search-input::placeholder {
    color: var(--text-muted);
}

.hero-search-btn {
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
}

/* Quick Search Suggestions */
.quick-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pill-tag {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.pill-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}

/* Section Common */
.section {
    padding: 3.5rem 0;
}

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

.section-header.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
}

.section-header.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* Restaurant Cards Grid */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.restaurant-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.restaurant-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.card-header-bar {
    padding: 1.25rem 1.25rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cuisine-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
}

.price-indicator {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
}

.card-body {
    padding: 0.5rem 1.25rem 1rem;
    flex: 1;
}

.restaurant-name {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.restaurant-name a {
    color: var(--text-primary);
}

.restaurant-name a:hover {
    color: var(--primary);
}

.restaurant-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.restaurant-meta-list {
    list-style: none;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.restaurant-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.verified-freshness-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--success);
    background: var(--success-light);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

.card-footer {
    padding: 1rem 1.25rem;
    background-color: #fafaf9;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* Badges */
.badge-sponsored {
    background-color: var(--accent-light);
    color: var(--accent-hover);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

/* Restaurant Profile Page */
.profile-hero {
    background: linear-gradient(180deg, #fff7ed 0%, var(--bg) 100%);
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
}

.profile-header-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.profile-main-info h1 {
    margin-bottom: 0.35rem;
}

.profile-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.profile-actions-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-quick-stats {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    min-width: 280px;
}

/* Structured Menu Presentation */
.menu-container {
    margin-top: 2rem;
}

.menu-verification-banner {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.verification-content {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: #065f46;
}

.verification-content strong {
    font-weight: 700;
}

.menu-section {
    margin-bottom: 3rem;
}

.menu-section-header {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.menu-section-title {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.menu-section-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.menu-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.menu-item-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.menu-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.item-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
    white-space: nowrap;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.item-tags {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tag-favorite {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--accent-light);
    color: var(--accent-hover);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
}

.tag-spicy {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--danger-light);
    color: var(--danger);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
}

/* Monetization: Ad Slot Component */
.ad-slot-wrapper {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fafaf9;
    border: 1px dashed #d6d3d1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    padding: 0.75rem;
}

.ad-label {
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.ad-placeholder-content {
    text-align: center;
    padding: 1rem;
}

.ad-sponsor-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.ad-placeholder-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Contextual Affiliate Recommendation Section */
.contextual-affiliate-section {
    background: #fffbf5;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3rem 0;
}

.section-header-compact {
    margin-bottom: 1.5rem;
}

.section-header-compact h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
}

.affiliates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.affiliate-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.affiliate-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 0.35rem;
    display: block;
}

.affiliate-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.affiliate-tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.affiliate-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.affiliate-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.affiliate-disclosure {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

/* Form Styles */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    max-width: 680px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--surface);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Claim / Alert Callout Banner */
.claim-banner {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 3rem 0;
}

.claim-content h3 {
    margin-bottom: 0.25rem;
}

.claim-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background-color: #1c1917;
    color: #e7e5e4;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

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

.footer-brand p {
    color: #a8a29e;
    margin-top: 0.75rem;
    max-width: 320px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: #a8a29e;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #292524;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #78716c;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .header-inner {
        height: 64px;
    }
    .profile-header-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none; /* Mobile Drawer / Overlay */
    }
    .mobile-nav-toggle {
        display: block;
    }
    .hero-search-box {
        flex-direction: column;
        padding: 0.5rem;
    }
    .hero-search-btn {
        width: 100%;
    }
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
    .menu-items-list {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .form-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Community Menu Photos, Uploader Dropzone, Lightbox & Quick Add Modal
   ========================================================================== */

/* Status Chips on Directory Cards */
.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}
.status-chip.chip-full-menu {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.status-chip.chip-has-photos {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.status-chip.chip-needs-photos {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Community Photos Section */
.community-photos-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.photos-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.photo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.photo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.photo-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f5f5f4;
    overflow: hidden;
}

.photo-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-thumb-wrap img {
    transform: scale(1.05);
}

.photo-thumb-wrap .pdf-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--danger);
    font-weight: 700;
    font-size: 0.9rem;
    gap: 0.5rem;
    background: #fff1f2;
}

.photo-zoom-hint {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(28, 25, 23, 0.75);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.photo-card-info {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.photo-card-caption {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-card-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    display: flex;
    justify-content: space-between;
}

/* Dropzone Uploader */
.upload-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    background: #f8fafc;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.dropzone-icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.dropzone-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.dropzone-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Upload Preview State */
.upload-preview-area {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1rem;
    text-align: left;
}

.upload-preview-area.active {
    display: block;
}

/* Lightbox Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop.open {
    display: flex;
    animation: fadeIn 0.18s ease-out;
}

.lightbox-content {
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-img-wrap {
    max-width: 100%;
    max-height: 80vh;
    overflow: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #000000;
}

.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.lightbox-caption-bar {
    width: 100%;
    margin-top: 0.75rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    gap: 1rem;
}

.modal-close-btn {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.modal-close-btn:hover {
    opacity: 1;
}

/* Quick Add Dish Modal Dialog */
.dialog-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 520px;
    padding: 1.75rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.dialog-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.dialog-close:hover {
    color: var(--text-primary);
}

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

