/* ==========================================================================
   ARHITEKTS — Premium Design System & UI Styling
   ========================================================================== */

:root {
    --bg-main: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-input: #1f2937;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(217, 119, 6, 0.3);
    
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    
    --accent: #d97706; /* Warm Gold */
    --accent-light: #fbbf24;
    --accent-dark: #b45309;
    --accent-glow: rgba(217, 119, 6, 0.15);
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(217, 119, 6, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.02) 0%, transparent 40%),
        linear-gradient(to bottom, #070a13 0%, #0b0f19 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    border-bottom: 1px solid var(--border-color);
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

.logo-icon {
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 5rem 0 3rem 0;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.badge-tag {
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-light);
    border: 1px solid rgba(217, 119, 6, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Categories & Search */
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none; /* Firefox */
}

.categories::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.cat-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cat-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.cat-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.search-box {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-box input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 16px 10px 38px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Service Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5), 0 0 20px 0 var(--accent-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
    margin-top: auto;
}

.price-tag {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-tag span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.03);
}

/* Service Detail View Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    padding: 3rem 0;
    align-items: start;
}

.seo-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.seo-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.seo-content h2:first-of-type {
    margin-top: 0;
}

.seo-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.seo-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.seo-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.seo-content li {
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
}

/* Checkout Form Card */
.checkout-card {
    background: var(--bg-card);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 2rem;
    backdrop-filter: blur(15px);
    position: sticky;
    top: 90px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px 0 var(--accent-glow);
}

.checkout-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.checkout-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

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

.form-row-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0.75rem;
}

/* Split date fields: DD / MM / GGGG */
.date-parts-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-part-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.date-part-wrap.date-part-year {
    flex: 1.6;
}

.date-part-wrap .date-part {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 11px 8px;
}

.date-part-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.7;
}

.date-sep {
    font-size: 1.4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 16px;
    flex-shrink: 0;
    user-select: none;
}

/* Split time fields: HH : MM */
.time-parts-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.time-part-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.time-part-wrap .time-part {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 11px 8px;
}

.time-part-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.7;
}

.time-sep {
    font-size: 1.4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 16px;
    flex-shrink: 0;
    user-select: none;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
    user-select: none;
}

.form-checkbox input {
    accent-color: var(--accent);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* Nominatim autocomplete dropdown */
.autocomplete-items {
    position: absolute;
    border: 1px solid var(--border-color);
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1e293b;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: background 0.2s;
}

.autocomplete-item:hover {
    background-color: var(--accent-dark);
    color: #ffffff;
}

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

/* Secondary Person Container */
.secondary-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
}

.section-divider-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Loading/Processing State overlay */
.processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert States */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}

/* Contact Form / Info Grid */
.contacts-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(17, 24, 39, 0.3);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 8px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-light);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.25rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

/* Results Viewer Styles */
.result-header {
    background: rgba(17, 24, 39, 0.5);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.result-meta-grid {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.result-meta-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.result-meta-item strong {
    color: var(--accent-light);
    display: block;
    margin-bottom: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.natal-report {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-card-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.natal-report .card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.natal-report .card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.natal-report .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-light);
}

.natal-report .card-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #e2e8f0;
}

.natal-report table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.natal-report th, .natal-report td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.natal-report th {
    font-weight: 700;
    color: var(--accent-light);
    background: rgba(255,255,255,0.02);
}

.natal-report tr:hover {
    background: rgba(255,255,255,0.01);
}

/* SVG Chart wrapper styling */
.natal-report svg {
    display: block;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(217,119,6,0.1));
}

/* Footer styling */
footer {
    margin-top: auto;
    background: #070a13;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* Print styles */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    header, footer, .no-print, .checkout-card {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .natal-report .card {
        border: 1px solid #ddd !important;
        background: #ffffff !important;
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 20px !important;
    }
    
    .natal-report .card-title {
        color: #000000 !important;
    }
    
    .natal-report .card-body {
        color: #000000 !important;
    }
    
    .natal-report th {
        color: #000000 !important;
        border-bottom: 2px solid #000 !important;
    }
    
    .natal-report td {
        border-bottom: 1px solid #ddd !important;
    }
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-card {
        position: static;
        margin-top: 2rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 3rem 0 2rem 0;
    }
    
    .controls-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Nav Right container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 210;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Drawer overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 190;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Drawer Container */
.menu-drawer {
    position: fixed;
    top: 0;
    right: -450px; /* Hidden by default */
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-drawer.active {
    right: 0;
}

/* Drawer Header */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.drawer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.drawer-close:hover {
    color: var(--accent-light);
}

/* Drawer Content */
.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.drawer-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drawer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.drawer-link:hover {
    color: var(--accent-light);
    background: rgba(251, 191, 36, 0.05);
    border-color: rgba(251, 191, 36, 0.1);
    padding-left: 18px;
}

.drawer-link.active {
    color: var(--accent-light);
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
    font-weight: 700;
}

.drawer-footer {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.drawer-footer-link {
    display: block;
    text-align: center;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.drawer-footer-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* Mobile responsive menu controls & category filter wrapping */
@media (max-width: 600px) {
    .logo {
        font-size: 1.15rem !important;
    }

    .nav-links {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .categories {
        flex-wrap: wrap !important;
        justify-content: center !important;
        overflow-x: visible !important;
        padding-bottom: 0 !important;
        gap: 8px 6px !important;
    }
    
    .cat-btn {
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
    }
}
