/* ============================================
   Hello Deoria — Modern Design System
   ============================================ */

:root {
    /* Primary Palette */
    --primary-h: 220;
    --primary-s: 83%;
    --primary-l: 53%;
    --primary-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 42%);
    --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);
    --primary-gradient: linear-gradient(135deg, hsl(220, 83%, 53%), hsl(250, 83%, 58%));

    /* Accent */
    --accent-color: #F59E0B;
    --accent-gradient: linear-gradient(135deg, #F59E0B, #F97316);

    /* Semantic */
    --success-color: #10B981;
    --success-light: #d1fae5;
    --danger-color: #EF4444;
    --danger-light: #fee2e2;
    --warning-color: #F59E0B;
    --warning-light: #fef3c7;
    --info-color: #3B82F6;
    --info-light: #dbeafe;

    /* Neutrals */
    --dark-color: #0F172A;
    --text-color: #1E293B;
    --text-secondary: #64748B;
    --border-color: #E2E8F0;
    --bg-color: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --bg-muted: #F1F5F9;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Shape */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);

    /* Spacing */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-subtle);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}
a:hover { color: var(--primary-dark); }

ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

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

/* ============================================
   Layout & Grid
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-2); }
.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-between { justify-content: space-between; }
.flex-center { justify-content: center; align-items: center; }
.flex-gap { gap: var(--space-1); }
.flex-1 { flex: 1; }
.align-center { align-items: center; }

/* ============================================
   Spacing Utilities
   ============================================ */
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.pt-2 { padding-top: var(--space-2); }

/* ============================================
   Typography
   ============================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.text-sm { font-size: 0.8125rem; }
.text-lg { font-size: 1.125rem; }
.font-bold { font-weight: 600; }

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.section-title .view-all {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    white-space: nowrap;
}
.section-title .view-all:hover {
    text-decoration: underline;
}

.section {
    padding: var(--space-4) 0;
}

.breadcrumb {
    padding: var(--space-2) 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.breadcrumb a {
    color: var(--text-secondary);
}
.breadcrumb a:hover {
    color: var(--primary-color);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--duration-normal) var(--ease-out);
    min-height: 44px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity var(--duration-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary { background-color: var(--accent-color); color: white; }
.btn-success { background-color: var(--success-color); color: white; }
.btn-danger { background-color: var(--danger-color); color: white; }

.btn-ghost {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.btn-ghost:hover {
    background-color: var(--bg-muted);
    color: var(--text-color);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}
.btn-outline:hover {
    background-color: var(--bg-muted);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm { padding: 6px 14px; font-size: 0.8125rem; min-height: 36px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn.disabled, .btn:disabled { opacity: 0.5; pointer-events: none; }

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid var(--border-color);
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* Listing Cards */
.listing-card {
    display: flex;
    flex-direction: column;
}

.card-img-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-muted);
    transition: transform var(--duration-slow) var(--ease-out);
}

.listing-card:hover .card-img {
    transform: scale(1.05);
}

.card-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-2);
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    display: flex;
    align-items: flex-end;
}

.card-body {
    padding: var(--space-2);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    color: var(--dark-color);
    line-height: 1.4;
    transition: color var(--duration-fast);
}
.card-title:hover { color: var(--primary-color); }

.card-meta { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.meta-service { color: var(--text-secondary); }
.meta-sep { color: var(--border-color); margin: 0 2px; }

.card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
}
.card-location svg { flex-shrink: 0; color: var(--primary-color); }

.card-text {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-1);
    flex: 1;
}

.card-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--space-1);
    border-top: 1px solid var(--border-color);
}

.btn-action {
    flex: 1;
    padding: 8px 6px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    min-height: 38px;
    border: 1px solid var(--border-color);
    background: var(--bg-subtle);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.btn-action:hover { color: var(--text-color); }
.btn-action svg { flex-shrink: 0; }

.btn-call { border-color: var(--success-color); color: var(--success-color); }
.btn-call:hover { background: var(--success-color); color: white; }

.btn-whatsapp { border-color: #25D366; color: #25D366; }
.btn-whatsapp:hover { background: #25D366; color: white; }

.btn-view { border-color: var(--primary-color); color: var(--primary-color); }
.btn-view:hover { background: var(--primary-color); color: white; }

/* Category Cards */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-2);
    text-align: center;
    color: var(--text-color);
    gap: var(--space-1);
}
.category-card:hover {
    border-color: var(--primary-color);
    color: var(--text-color);
}

.category-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-spring);
}
.category-card:hover .category-icon-wrap {
    transform: scale(1.1);
    background: var(--primary-gradient);
    box-shadow: var(--shadow-glow);
}
.category-card:hover .category-icon-wrap .category-emoji {
    filter: brightness(10);
}

.category-emoji { font-size: 1.75rem; line-height: 1; }

.category-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Form card */
.form-card {
    max-width: 480px;
    margin: var(--space-4) auto;
    padding: var(--space-4);
}
.form-card h2 {
    margin-bottom: var(--space-3);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ============================================
   Forms
   ============================================ */
.form-group { margin-bottom: var(--space-2); }

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-color);
}

.form-control, .form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-color);
    min-height: 44px;
    transition: all var(--duration-fast) ease;
    color: var(--text-color);
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.form-error { color: var(--danger-color); font-size: 0.8125rem; margin-top: 4px; }

/* ============================================
   Alerts & Badges
   ============================================ */
.alert {
    padding: 12px var(--space-2);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-1);
}

.flash-alert {
    animation: slideDown var(--duration-normal) var(--ease-out);
}

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

.alert-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--duration-fast);
    padding: 4px 8px;
    line-height: 1;
}
.alert-close:hover { opacity: 1; }

.alert-success { background-color: var(--success-light); color: #065f46; border: 1px solid #6EE7B7; }
.alert-error { background-color: var(--danger-light); color: #991b1b; border: 1px solid #FCA5A5; }
.alert-info { background-color: var(--info-light); color: #1e40af; border: 1px solid #93C5FD; }
.alert-warning { background-color: var(--warning-light); color: #92400e; border: 1px solid #FCD34D; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-pending { background: var(--warning-light); color: #92400e; }
.badge-approved { background: var(--success-light); color: #065f46; }
.badge-rejected { background: var(--danger-light); color: #991b1b; }
.badge-draft { background: var(--bg-muted); color: var(--text-secondary); }
.badge-suspended { background: #ede9fe; color: #5b21b6; }

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--duration-normal);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo:hover { color: var(--dark-color); }
.nav-logo img { flex-shrink: 0; }

.logo-text {
    display: none;
}
@media (min-width: 480px) {
    .logo-text { display: inline; }
}
.logo-accent { color: var(--primary-color); }

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}
.nav-links a {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--duration-fast);
}
.nav-links a:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

.nav-actions {
    display: flex;
    gap: var(--space-1);
    align-items: center;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    background: var(--bg-muted);
    border-radius: var(--radius-full);
    padding: 2px;
    gap: 2px;
}
.lang-btn {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--duration-fast);
}
.lang-active {
    background: var(--primary-color);
    color: white;
}
.lang-active:hover { color: white; }

/* User Menu */
.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8125rem;
}
.user-name-text {
    display: none;
}
@media (min-width: 768px) {
    .user-name-text { display: inline; }
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 98;
    opacity: 0;
    transition: opacity var(--duration-normal);
}
.nav-backdrop.active {
    display: block;
    opacity: 1;
}

/* Dropdowns */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--bg-color);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    z-index: 101;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    top: calc(100% + 4px);
    padding: 4px;
    animation: dropdownIn var(--duration-fast) var(--ease-out);
}

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

.dropdown-content a {
    color: var(--text-color);
    padding: 10px 14px;
    display: block;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast);
}
.dropdown-content a:hover { background-color: var(--bg-muted); }

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content { display: block; }

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #CBD5E1;
    padding: var(--space-6) 0 var(--space-3);
    margin-top: var(--space-6);
    position: relative;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-2);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #94A3B8;
}

.footer h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #94A3B8;
    font-size: 0.875rem;
    transition: color var(--duration-fast);
}
.footer-links a:hover { color: white; }

.footer-bottom {
    text-align: center;
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid #334155;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: #64748B;
}
.footer-tagline {
    margin-top: 4px;
    font-size: 0.75rem;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 50;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Hero Search
   ============================================ */
.hero-search {
    background: var(--primary-gradient);
    padding: var(--space-5) var(--space-3);
    text-align: center;
    color: white;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.hero-search::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-search h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
    position: relative;
}

.hero-search p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: var(--space-3);
    position: relative;
}

.search-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    backdrop-filter: blur(8px);
}

.search-box input, .search-box select {
    border: none;
    padding: 12px 14px;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-color);
    min-height: 44px;
}
.search-box input { flex: 1; min-width: 0; }
.search-box input:focus, .search-box select:focus { outline: none; }

.search-box select {
    border-left: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    max-width: 160px;
}

.search-box button {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--duration-fast);
}
.search-box button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* ============================================
   Banner Slider
   ============================================ */
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
}
.banner-slide {
    display: none;
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.banner-slide.active { display: block; animation: bannerFade 0.6s var(--ease-out); }

@keyframes bannerFade { from { opacity: 0.4; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }

.banner-slide img, .banner-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}
.banner-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    outline: none;
    border-radius: var(--radius-full);
    margin: 0 4px;
    cursor: pointer;
    transition: all var(--duration-fast);
}
.banner-dot.active {
    background: white;
    width: 24px;
}

/* ============================================
   Gallery / Lightbox
   ============================================ */
.gallery { display: flex; flex-direction: column; gap: var(--space-1); }
.gallery-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    cursor: pointer;
}
.gallery-thumbs { display: flex; gap: var(--space-1); overflow-x: auto; }
.gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--duration-fast);
}
.gallery-thumb:hover { border-color: var(--primary-color); }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; }
.modal-overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); }
.modal-content { position: relative; margin: 5% auto; max-width: 900px; padding: 20px; background: transparent; }
.modal-content img { width: 100%; height: auto; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
    background: rgba(0,0,0,0.5);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Listing Detail
   ============================================ */
.listing-detail {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    margin: var(--space-2) 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.listing-detail h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: var(--space-2) 0 var(--space-1);
}

.listing-detail .badges {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-2);
    flex-wrap: wrap;
}

.listing-detail .description {
    margin: var(--space-2) 0;
    line-height: 1.8;
    color: var(--text-secondary);
}

.listing-detail h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: var(--space-3) 0 var(--space-1);
    color: var(--dark-color);
}

.listing-detail ul {
    padding-left: var(--space-3);
}
.listing-detail ul li {
    list-style: disc;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.profile-image-large {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.action-buttons {
    display: flex;
    gap: var(--space-1);
    flex-wrap: wrap;
    margin-top: var(--space-3);
    padding-top: var(--space-2);
    border-top: 1px solid var(--border-color);
}
.action-buttons .btn {
    flex: 1;
    min-width: 120px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--space-3);
}
.tab-link {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--duration-fast);
}
.tab-link:hover, .tab-link.active {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Pagination
   ============================================ */
.pagination-container { margin: var(--space-4) 0; }

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}
.page-link.ellipsis { border: none; pointer-events: none; }
.page-active {
    background: var(--primary-gradient) !important;
    color: white !important;
    border-color: transparent !important;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: var(--space-5) 0;
}
.how-it-works .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-3);
}
.step-card {
    text-align: center;
    padding: var(--space-3);
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
}
.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}
.step-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin: var(--space-4) 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============================================
   Scroll Animations
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   404 Page
   ============================================ */
.page-404 {
    text-align: center;
    padding: var(--space-6) 0;
}
.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .how-it-works .steps { grid-template-columns: 1fr; }
    .stats-section { grid-template-columns: 1fr; }

    /* Mobile drawer is controlled by .nav-panel (v2.1+).
       Keep links/actions as drawer content; do not position them independently. */
    .nav-links, .nav-actions {
        flex-direction: column;
    }
    .nav-links a {
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-toggle { display: block; }

    .search-box {
        flex-direction: column;
        gap: 8px;
        padding: var(--space-2);
    }
    .search-box select {
        border-left: none;
        border-top: 1px solid var(--border-color);
        max-width: 100%;
    }

    .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); }

    .btn-label { display: none; }
}

@media (max-width: 480px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .banner-slide { height: 200px; }
    .hero-search { padding: var(--space-3) var(--space-2); border-radius: var(--radius-lg); }
    .hero-search h2 { font-size: 1.375rem; }
    .form-card { padding: var(--space-3); margin: var(--space-2) auto; }
    .error-code { font-size: 5rem; }
}

@media print {
    .header, .footer, .hero-search, .action-btn, .back-to-top { display: none !important; }
    body { background: white; color: black; }
    .container { max-width: 100%; padding: 0; }
}

/* Hello Deoria simplified production layout */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.header{background:#fff;border-bottom:1px solid var(--border-color);position:sticky;top:0;z-index:90}.nav{min-height:68px;display:flex;align-items:center;gap:16px}.nav-logo{display:flex;align-items:center;gap:8px;color:var(--dark-color);font-weight:800;white-space:nowrap}.header-location{display:flex;align-items:center;gap:5px;border:1px solid var(--border-color);border-radius:10px;padding:4px 8px;background:var(--bg-subtle);min-width:165px}.header-location select{border:0;background:transparent;width:100%;padding:6px 2px;outline:0}.nav-links{display:flex;gap:18px;margin-left:auto}.nav-actions{display:flex;align-items:center;gap:8px}.dropdown-content form{margin:0}.menu-button{display:block;width:100%;border:0;background:transparent;padding:9px 12px;text-align:left;color:var(--text-color);cursor:pointer}.menu-button:hover{background:var(--bg-muted);color:var(--primary-color)}.flash-stack{padding-top:12px}.home-search{background:#edf4ff;padding:28px 0;text-align:center}.home-search h1{font-size:clamp(1.35rem,4vw,2rem);margin-bottom:14px}.simple-search{display:flex;max-width:720px;margin:auto;background:#fff;padding:6px;border:1px solid #cdd9eb;border-radius:12px;box-shadow:0 5px 18px #1720330d}.simple-search input{flex:1;min-width:0;border:0;padding:11px 13px;outline:0;background:transparent}.simple-search button{border:0;border-radius:9px;padding:10px 22px;background:var(--primary-color);color:#fff;font-weight:750;cursor:pointer}.section{padding:34px 0}.section-soft{background:#f1f5f9}.section-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-header .section-title,.section>.container>.section-title{margin-bottom:0}.view-all{font-weight:700;white-space:nowrap}.home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-category-card{background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:15px;min-height:142px;box-shadow:var(--shadow-xs)}.home-category-title{display:flex;align-items:center;gap:10px;color:var(--dark-color);font-size:1rem;font-weight:800}.home-category-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--primary-light);font-size:24px;flex:0 0 auto}.home-category-icon img{width:30px;height:30px;object-fit:cover}.home-subcategories{display:flex;flex-wrap:wrap;gap:2px 10px;margin-top:11px}.home-subcategories a{color:var(--text-secondary);font-size:.78rem;line-height:1.55}.home-subcategories a:hover{color:var(--primary-color)}.listing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.listing-card{background:#fff;border:1px solid var(--border-color);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-xs)}.listing-card-main{display:block;color:var(--text-color)}.listing-card-main>img{display:block;width:100%;height:148px;object-fit:cover;background:#edf1f6}.listing-card-info{padding:12px}.listing-card h3{font-size:1rem;line-height:1.35;margin-bottom:5px;color:var(--dark-color)}.listing-subcategory,.listing-location{font-size:.8rem;color:var(--text-secondary);margin:0}.listing-location{margin-top:4px}.listing-card-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--border-color)}.listing-card-actions a{padding:9px;text-align:center;font-weight:750;font-size:.82rem}.listing-card-actions .call{color:#135fb3}.listing-card-actions .whatsapp{color:#13783c;border-left:1px solid var(--border-color)}.empty-state{background:#fff;border:1px dashed var(--border-color);border-radius:10px;padding:22px;color:var(--text-secondary)}.footer{background:#101a2d;color:#d7dfeb;padding:32px 0 18px}.footer-simple{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}.footer-logo{display:flex;align-items:center;gap:8px;color:#fff;font-weight:800}.footer-desc{max-width:450px;color:#aeb9ca;margin-top:8px}.footer-links-row{display:flex;flex-wrap:wrap;gap:12px 20px}.footer-links-row a{color:#d7dfeb}.footer-bottom{border-top:1px solid #ffffff1d;margin-top:24px;padding-top:14px;display:flex;justify-content:space-between;gap:16px;color:#96a4b8;font-size:.78rem}.banner-slider{max-width:1200px;margin:18px auto 0;border-radius:14px;overflow:hidden}.banner-slide{height:clamp(190px,30vw,350px)}.banner-slide img,.banner-slide video{width:100%;height:100%;object-fit:cover}.content{background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:22px;margin:16px 0 34px}.alert-warning{background:var(--warning-light);color:#7a5600}.dashboard-form-container,.dashboard-container{max-width:1000px;margin:25px auto;padding:0 16px}.form-section{background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:18px;margin-bottom:14px}.form-section h3{margin-bottom:12px}.form-group input:not([type=checkbox]),.form-group select,.form-group textarea{width:100%;padding:10px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-color)}
@media(max-width:900px){.home-category-grid,.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-location{margin-left:auto}.nav-links{margin-left:0}}
@media(max-width:768px){.nav{gap:9px;min-height:62px}.nav-logo .logo-text{font-size:.95rem}.nav-logo img{width:30px;height:30px}.header-location{min-width:0;max-width:150px}.header-location select{font-size:.78rem}.simple-search button{padding:9px 15px}.footer-simple,.footer-bottom{flex-direction:column}.footer-links-row{gap:10px 16px}}
@media(max-width:520px){.container{padding-left:12px;padding-right:12px}.nav-logo .logo-text{display:inline;font-size:.78rem;white-space:nowrap}.header-location{max-width:145px}.home-search{padding:22px 0}.section{padding:26px 0}.home-category-grid{gap:9px}.home-category-card{padding:11px;min-height:135px}.home-category-title{font-size:.88rem;align-items:flex-start}.home-category-icon{width:34px;height:34px;font-size:20px}.home-subcategories a{font-size:.7rem}.listing-grid{gap:9px}.listing-card-main>img{height:112px}.listing-card-info{padding:10px}.listing-card h3{font-size:.9rem}.listing-card-actions a{font-size:.75rem;padding:8px 4px}.banner-slider{margin:10px 12px 0;border-radius:10px}.banner-slide{height:190px}.section-title{font-size:1.2rem}}
.table-wrap{overflow:auto;border:1px solid var(--border-color);border-radius:10px}.table{width:100%;min-width:720px;border-collapse:collapse;background:#fff}.table th,.table td{padding:11px 12px;border-bottom:1px solid var(--border-color);text-align:left;vertical-align:top}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.results-heading{margin-top:22px}.search-page-box{margin:20px 0;border-radius:12px}.listing-detail{display:grid;grid-template-columns:minmax(280px,42%) 1fr;gap:28px;background:#fff;border:1px solid var(--border-color);border-radius:14px;padding:20px;margin-bottom:35px}.listing-detail-media .profile-image-large{width:100%;max-height:420px;object-fit:cover;border-radius:12px}.gallery{display:flex;gap:8px;overflow:auto;margin-top:10px}.gallery-thumb{width:82px;height:64px;object-fit:cover;border-radius:7px;cursor:pointer}.listing-detail-content h1{font-size:clamp(1.5rem,4vw,2.3rem);line-height:1.2}.listing-detail-content section{margin-top:20px}.listing-detail-content section h2{font-size:1.05rem;margin-bottom:6px}.detail-list{display:flex;flex-wrap:wrap;gap:7px 14px}.action-buttons{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.action-buttons .btn{min-width:auto}@media(max-width:700px){.listing-detail{grid-template-columns:1fr;padding:14px}.dashboard-header{align-items:flex-start;flex-direction:column}}

/* Hello Deoria v2.1 — simple colourful UI with strong, accessible outlines */
:root{
    --primary-color:#0f6b3d;
    --primary-dark:#094a2a;
    --primary-light:#e8f6ec;
    --primary-gradient:linear-gradient(135deg,#0f6b3d,#168a50);
    --accent-color:#ff7417;
    --dark-color:#17261d;
    --text-color:#223128;
    --text-secondary:#5d6b62;
    --border-color:#263b2e;
    --bg-subtle:#fffdf7;
    --bg-muted:#f4f0e5;
    --brand-yellow:#ffd84d;
    --brand-orange:#ff7417;
    --brand-cream:#fff5dc;
    --brand-stroke:#263b2e;
}
body{background:#fffdf7}
.header{padding:0;background:#fffdf9;border-bottom:2px solid var(--brand-stroke);box-shadow:0 3px 0 #0000000d;z-index:100}
.nav{min-height:72px;gap:14px}
.nav-logo{font-weight:900;letter-spacing:-.02em}
.nav-logo img,.footer-logo img{display:block;object-fit:cover;border-radius:12px;filter:drop-shadow(0 2px 1px #00000018)}
.logo-accent{color:var(--brand-orange)}
.header-location{min-width:170px;border:2px solid var(--brand-stroke);border-radius:12px;background:#fff;padding:4px 9px;box-shadow:2px 2px 0 #263b2e22}
.header-location select{font-weight:700;color:var(--dark-color)}
.nav-panel{display:flex;align-items:center;flex:1;gap:14px}
.nav-panel-inner{display:flex;align-items:center;flex:1;gap:14px;min-width:0}
.nav-links{margin-left:auto;gap:5px}
.nav-links a{border-radius:9px;font-weight:750;color:var(--dark-color)}
.nav-links a:hover{background:#fff0cc;color:var(--dark-color)}
.nav-actions,.guest-actions{display:flex;align-items:center;gap:8px}
.lang-toggle{border:2px solid var(--brand-stroke);background:#fff;border-radius:999px;padding:2px;box-shadow:2px 2px 0 #263b2e22}
.lang-btn{min-width:38px;text-align:center;padding:5px 9px;color:var(--dark-color);font-weight:850}
.lang-active{background:var(--primary-color);color:#fff}
.btn{border:2px solid var(--brand-stroke);font-weight:800;box-shadow:2px 2px 0 #263b2e22}
.btn:hover{transform:translate(-1px,-1px);box-shadow:3px 3px 0 #263b2e2f}
.btn-primary{background:var(--brand-orange);border-color:var(--brand-stroke);box-shadow:2px 2px 0 var(--brand-stroke)}
.btn-primary:hover{background:#ed6208;box-shadow:3px 3px 0 var(--brand-stroke)}
.btn-ghost{background:#fff}
.nav-toggle{border:2px solid var(--brand-stroke);border-radius:10px;background:#fff;box-shadow:2px 2px 0 #263b2e22}
.dropdown-content{border:2px solid var(--brand-stroke);box-shadow:4px 4px 0 #263b2e26}
.home-search{background:linear-gradient(110deg,#e9f7ed 0%,#fff5cf 52%,#ffe4d1 100%);border-bottom:2px solid var(--brand-stroke)}
.home-search h1{color:var(--dark-color);font-weight:900}
.simple-search{border:2px solid var(--brand-stroke);box-shadow:4px 4px 0 #263b2e24}
.simple-search button{border:2px solid var(--brand-stroke);background:var(--primary-color);font-weight:850}
.section-soft{background:#f3f8ef;border-block:1px solid #cbd8cb}
.section-title{font-weight:900;color:var(--dark-color)}
.view-all{color:var(--primary-dark);text-decoration:underline;text-underline-offset:3px}
.home-category-card{border:1.5px solid var(--brand-stroke);box-shadow:3px 3px 0 #263b2e20;transition:transform .16s ease,box-shadow .16s ease}
.home-category-card:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 #263b2e24}
.home-category-card:nth-child(4n+1){background:#eef9f0}
.home-category-card:nth-child(4n+2){background:#fff6d8}
.home-category-card:nth-child(4n+3){background:#fff0e6}
.home-category-card:nth-child(4n+4){background:#eef5ff}
.home-category-icon{border:1.5px solid var(--brand-stroke);background:#fff;box-shadow:2px 2px 0 #263b2e1c}
.home-subcategories a{color:#43554a;font-weight:650}
.listing-card{border:1.5px solid var(--brand-stroke);box-shadow:3px 3px 0 #263b2e1d}
.listing-card-actions{border-top:1.5px solid var(--brand-stroke)}
.listing-card-actions .whatsapp{border-left:1.5px solid var(--brand-stroke);background:#edf9f0}
.listing-card-actions .call{background:#eef5ff}
.content,.form-section,.listing-detail,.empty-state{border:1.5px solid var(--brand-stroke);box-shadow:3px 3px 0 #263b2e18}
.form-group input:not([type=checkbox]),.form-group select,.form-group textarea{border:1.5px solid #56675c;background:#fff}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:3px solid #ffb56b66;border-color:var(--brand-stroke)}
.footer{background:#13291e;border-top:4px solid var(--brand-orange);color:#ecf6ef}
.footer-desc,.footer-bottom{color:#c5d5ca}
.footer-links-row a{color:#fff5dc;font-weight:700}
.footer-logo{color:#fff}

/* A fixed 8:3 canvas prevents layout jumps. Exact-ratio uploads fill it; other media is shown fully without cropping. */
.banner-slider{position:relative;width:calc(100% - 32px);max-width:1200px;aspect-ratio:8/3;height:auto;margin:18px auto 0;border:2px solid var(--brand-stroke);border-radius:16px;background:#f3ead8;box-shadow:4px 4px 0 #263b2e22;overflow:hidden}
.banner-slide{position:absolute;inset:0;width:100%;height:100%;background:#f3ead8}
.banner-slide img,.banner-slide video{display:block;width:100%;height:100%;object-fit:contain;background:#f3ead8}
.banner-slide .overlay{position:absolute;left:18px;bottom:18px;max-width:70%;padding:8px 12px;border:1.5px solid var(--brand-stroke);border-radius:9px;background:#fffdf2e8;color:var(--dark-color);box-shadow:2px 2px 0 #263b2e30}
.banner-slide .overlay h2{font-size:clamp(.9rem,2.4vw,1.4rem);line-height:1.2}
.banner-dots{bottom:10px}
.banner-dot{border:1px solid var(--brand-stroke);background:#fff}
.banner-dot.active{background:var(--brand-orange)}

@media(max-width:900px){
    .nav{min-height:64px;gap:8px}
    .nav-logo img{width:38px;height:38px}
    .nav-logo .logo-text{display:inline;font-size:.88rem;white-space:nowrap}
    .header-location{margin-left:auto;min-width:0;width:clamp(122px,43vw,160px);max-width:none;padding:3px 7px}
    .header-location select{min-width:0;font-size:.78rem;text-overflow:ellipsis}
    .nav-toggle{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:8px;z-index:110}
    .nav-panel{
        display:block;
        position:fixed;
        top:0;
        right:0;
        bottom:0;
        left:auto;
        width:min(86vw,340px);
        max-width:100vw;
        height:100dvh;
        z-index:105;
        padding:82px 20px 24px;
        background:#fffdf7;
        border-left:2px solid var(--brand-stroke);
        box-shadow:-8px 0 24px #0002;
        overflow-x:hidden;
        overflow-y:auto;
        overscroll-behavior:contain;
        transform:translate3d(100%,0,0);
        visibility:hidden;
        pointer-events:none;
        transition:transform .24s ease,visibility 0s linear .24s;
        will-change:transform;
    }
    .nav-panel.active{
        transform:translate3d(0,0,0);
        visibility:visible;
        pointer-events:auto;
        transition:transform .24s ease;
    }
    .nav-panel-inner{display:flex;flex-direction:column;align-items:stretch;gap:18px;width:100%;min-width:0}
    .nav-links,.nav-actions{display:flex;position:static;top:auto;right:auto;bottom:auto;left:auto;width:100%;height:auto;padding:0;background:transparent;box-shadow:none;overflow:visible;z-index:auto;transition:none;flex-direction:column;align-items:stretch;gap:10px;margin:0}
    .nav-links a{padding:12px 10px;border:1.5px solid var(--brand-stroke);background:#fff;border-radius:10px;font-size:.95rem}
    .nav-actions{border-top:2px dashed #9aac9f;padding-top:16px}
    .lang-toggle{display:grid;grid-template-columns:1fr 1fr;width:100%;border-radius:10px}
    .lang-btn{padding:10px;min-height:44px}
    .guest-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px}
    .guest-actions .btn{min-height:46px;width:100%}
    .user-menu,.user-btn{width:100%}
    .user-btn{justify-content:flex-start;min-height:48px}
    .user-name-text{display:inline}
    .dropdown-content{position:static;display:block;width:100%;margin-top:8px;box-shadow:none}
    .nav-backdrop{display:block;opacity:0;visibility:hidden;pointer-events:none;z-index:99}
    .nav-backdrop.active{opacity:1;visibility:visible;pointer-events:auto}
    .banner-slider{width:calc(100% - 24px);margin:12px auto 0;border-radius:12px}
    .banner-slide{height:100%}
    .banner-slide .overlay{left:8px;bottom:8px;max-width:78%;padding:5px 8px}
    .banner-dots{bottom:5px}
    .simple-search{padding:4px}
}
@media(max-width:390px){
    .container{padding-left:10px;padding-right:10px}
    .header-location{width:120px}
    .header-location>span{display:none}
    .nav-logo img{width:34px;height:34px}
    .nav-logo .logo-text{font-size:.72rem}
    .nav{gap:5px}
    .guest-actions{grid-template-columns:1fr}
    .home-category-card{min-height:130px}
}
