/* Global Reset & Variables */
:root {
    --bg-dark: #050510;
    --bg-panel: #0f0f1a;
    --bg-input: #1a1a2e;
    --text-primary: #e0e6ed;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Brand Colors */
    --accent-primary: #3b82f6;
    /* Blue for reliability */
    --accent-success: #10b981;
    /* Green for online/stable */
    --accent-danger: #ef4444;
    /* Red for alerts */
    --accent-warning: #f59e0b;
    --accent-glow: rgba(59, 130, 246, 0.5);

    --border-color: #2d3748;
    --border-glow: 0 0 10px rgba(59, 130, 246, 0.2);

    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-sans: 'Inter', system-ui, sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.grid {
    display: grid;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-bold {
    font-weight: 700;
}

.text-danger {
    color: var(--accent-danger);
}

.text-success {
    color: var(--accent-success);
}

.text-muted {
    color: var(--text-muted);
}

/* Layout Grid */
.dashboard-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    background-color: var(--bg-dark);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.brand {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-danger);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.nav-item:hover,
.nav-item.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-item.active {
    border-left: 3px solid var(--accent-danger);
}

.nav-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.user-profile {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.02);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--text-muted);
    background-image: url('https://ui-avatars.com/api/?name=Root+User&background=random');
    background-size: cover;
}

/* Main Content */
.main-content {
    background-color: #0b0b15;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Header */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.search-bar {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    width: 400px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-bar input {
    background: transparent;
    border: none;
    color: inherit;
    width: 100%;
    outline: none;
}

.status-badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-success);
}

.btn-primary {
    background-color: #2b2b40;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-danger-glow {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--accent-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Dashboard Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.icon-box {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-accent-1 {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
}

.bg-accent-2 {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--accent-danger);
}

.bg-accent-3 {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-success);
}

/* Tables & Feeds */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.panel {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.panel-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #333;
}

.status-pill {
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pill-pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.pill-shipped {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pill-fraud {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--accent-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Progress Bars */
.progress-item {
    margin-bottom: 1.2rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.progress-bg {
    height: 6px;
    background-color: #2b2b40;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
}

/* Logs */
.log-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.log-item:last-child {
    margin-bottom: 0;
}

.timeline-line {
    position: absolute;
    left: 4px;
    top: 20px;
    bottom: -20px;
    width: 1px;
    background-color: var(--border-color);
}

.log-item:last-child .timeline-line {
    display: none;
}

.log-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.log-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.log-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.log-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    display: block;
}

/* Checkout Page Specifics */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-mono);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.input-field {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: 0.2s;
}

.input-field:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.radio-card {
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.02);
}

.radio-card.active {
    border-color: var(--accent-primary);
    background-color: rgba(59, 130, 246, 0.05);
}

.summary-card {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.order-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.item-thumb {
    width: 60px;
    height: 60px;
    background-color: #2b2b40;
    border-radius: 4px;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    margin-top: 1rem;
    transition: transform 0.2s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Font Awesome Placeholder classes if needed */
.fas,
.far {
    font-family: 'Font Awesome 5 Free';
}

/* HOMEPAGE STYLES */

/* Home Navbar */
.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark);
}

.nav-search {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    width: 400px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.nav-icon-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-input);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    /* Added for badge positioning */
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
    z-index: 10;
}

.nav-icon-btn:hover {
    background: var(--accent-primary);
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 3rem;
    min-height: 600px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    color: var(--accent-danger);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-danger);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title span {
    display: block;
    color: var(--accent-primary);
}

.hero-text {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    width: 80%;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-hero {
    padding: 0.8rem 2rem;
    font-family: var(--font-mono);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 2px;
}

.btn-hero.primary {
    background: #ef4444;
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-hero.outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.hero-footer {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #444;
    display: flex;
    gap: 2rem;
}

.hero-image {
    width: 50%;
    position: relative;
}

.hero-img-container {
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.hero-img-container img {
    width: 100%;
    display: block;
    opacity: 0.8;
}

.hero-overlay-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Protocols Section */
.protocols-section {
    padding: 3rem;
    background: #080812;
}

.section-label {
    border-left: 3px solid var(--accent-danger);
    padding-left: 1rem;
    margin-bottom: 3rem;
}

.section-label h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
}

.section-label p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.feature-icon-lg {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.feature-title {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Directories Section */
.directories-section {
    padding: 3rem;
}

.dir-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dir-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dir-card {
    height: 300px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.dir-card:hover {
    border-color: var(--accent-primary);
}

.dir-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.dir-card:hover img {
    transform: scale(1.05);
}

.dir-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1.5rem;
}

.dir-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.dir-path {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* New Arrivals / Products */
.products-section {
    padding: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.prod-img-box {
    height: 320px;
    background: #0f1012;
    padding: 0;
    /* Remove padding for full bleed */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.prod-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    max-height: none !important;
    /* Fill the container */
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
}

.prod-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent-danger);
    border-radius: 0 0 0 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    z-index: 2;
}

.badge-hot {
    background: var(--accent-danger);
    color: white;
}

.badge-low {
    background: var(--accent-warning);
    color: #000;
}

.prod-details {
    padding: 1.5rem;
}

.prod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.prod-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.prod-price {
    font-family: var(--font-mono);
    color: var(--accent-danger);
    font-weight: bold;
}

.price-currency {
    font-size: 0.75em;
    color: var(--text-secondary);
    font-weight: 600;
}

.prod-sub {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-add-cart {
    width: 100%;
    background: #232332;
    border: none;
    color: white;
    padding: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 4px;
}

.btn-add-cart:hover {
    background: var(--accent-primary);
}

/* Main Footer */
/* Main Footer */
.main-footer {
    background: black;
    padding: 4rem 3rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    /* Center all text */
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
    justify-items: center;
    /* Center grid items */
}

.footer-title {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center title flex */
    gap: 0.5rem;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.email-input {
    background: #111;
    border: 1px solid #333;
    padding: 0.8rem;
    color: white;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    width: 200px;
    /* Fixed width instead of flex:1 for better centering control */
}

.btn-submit {
    background: #1d4ed8;
    border: none;
    color: white;
    padding: 0 1.5rem;
    font-weight: bold;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #444;
    padding-top: 2rem;
    border-top: 1px solid #222;
}

/* PRODUCT CATALOG STYLES */
.catalog-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    padding: 2rem 3rem;
    min-height: 100vh;
}

/* Catalog Sidebar */
.catalog-sidebar {
    padding-right: 1.5rem;
    border-right: 1px solid var(--border-color);
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid var(--text-muted);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.custom-checkbox input:checked+.checkmark {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.custom-checkbox input:checked+.checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: white;
}

/* Range Slider Mockup */
.range-slider {
    width: 100%;
    height: 4px;
    background: #333;
    position: relative;
    border-radius: 2px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.range-fill {
    position: absolute;
    left: 20%;
    right: 20%;
    height: 100%;
    background: var(--accent-danger);
}

.range-thumb {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

/* Catalog Main */
.catalog-header {
    margin-bottom: 2rem;
}

.catalog-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5rem 0 1.5rem;
}

.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
}

.filter-tabs-categories .filter-tab {
    text-decoration: none;
    color: inherit;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-panel);
    transition: 0.2s;
}

.filter-tab.active {
    background: var(--bg-input);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.pl-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.pl-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted);
}

.pl-img {
    height: 200px;
    background: #0b0b10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.pl-img img {
    max-width: 80%;
    max-height: 80%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.pl-content {
    padding: 1.25rem;
}

.pl-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pl-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pl-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pl-price {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.btn-icon:hover {
    background: #2563eb;
}

/* PRODUCT DETAIL STYLES */
.pd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.pd-gallery-main {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.pd-thumbs {
    display: flex;
    gap: 1rem;
}

.pd-thumb {
    width: 80px;
    height: 80px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pd-thumb.active {
    border-color: var(--accent-danger);
}

.pd-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.pd-price {
    font-size: 2rem;
    font-weight: bold;
    font-family: var(--font-mono);
}

.pd-btc {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pd-status-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-success);
}

.pd-actions {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.qty-input {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: white;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    text-align: center;
    border-radius: 4px;
}

.btn-buy-lg {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transition: 0.2s;
}

.btn-buy-lg:hover {
    transform: translateY(-2px);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spec-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.spec-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.spec-val {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.9rem;
}

.pd-tabs {
    border-bottom: 1px solid var(--accent-danger);
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
}

.pd-tab {
    padding: 1rem 0;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.pd-tab.active {
    color: white;
    border-bottom-color: var(--accent-danger);
}

.tech-table {
    width: 100%;
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.tech-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-table td {
    padding: 1rem 0;
}

.tech-key {
    color: var(--text-muted);
    font-family: var(--font-mono);
    width: 40%;
}

.tech-val {
    text-align: right;
    font-weight: 500;
}

.reviews-section {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.rating-big {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.star-row {
    color: var(--accent-danger);
    margin-bottom: 1rem;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.bar-bg {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.bar-fill {
    height: 100%;
    background: var(--accent-danger);
    border-radius: 2px;
}

.review-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    background: #dc2626;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MOBILE RESPONSIVE & APP UI --- */
/* Bottom Navigation (Mobile Only) */
#mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.7rem;
    gap: 4px;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

.mobile-nav-item.active {
    color: var(--accent-primary);
}

/* Media Queries */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0));
        overflow-x: hidden;
    }

    #mobile-bottom-nav {
        display: flex;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .main-navbar {
        padding: 0.75rem 1rem;
        position: sticky;
        top: 0;
        z-index: 1000;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .brand {
        font-size: 0.95rem !important;
        max-width: calc(100vw - 120px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-links,
    .nav-search {
        display: none !important;
    }

    .nav-icon-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .hero-section {
        flex-direction: column-reverse;
        padding: 2rem 1rem;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }

    .hero-img-container {
        width: 100%;
        max-width: 350px;
    }

    .hero-buttons .btn-hero {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }

    .hero-footer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        font-size: 0.7rem;
    }

    /* Footer móvil */
    .main-footer {
        padding: 2rem 1rem 2rem;
    }

    .main-footer > div:first-of-type {
        gap: 1.25rem;
        padding: 1rem 0;
    }

    .main-footer a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        font-size: 0.85rem !important;
    }

    .copyright {
        font-size: 0.7rem;
        padding: 0 0.5rem;
    }

    /* Index: Protocols */
    .protocols-section {
        padding: 2rem 1rem;
    }

    .section-label {
        margin-bottom: 1.5rem;
        padding-left: 0.75rem;
    }

    .section-label h2 {
        font-size: 1.25rem;
    }

    .section-label p {
        font-size: 0.85rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon-lg {
        font-size: 2rem;
    }

    .feature-title {
        margin-top: 1rem;
        font-size: 0.9rem;
    }

    .feature-desc {
        font-size: 0.8rem;
    }

    /* Index: Directories */
    .directories-section {
        padding: 2rem 1rem;
    }

    .dir-header {
        margin-bottom: 1.25rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .dir-header a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .dir-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .dir-card {
        height: 140px;
        min-height: 120px;
    }

    .dir-info {
        padding: 0.75rem 1rem;
    }

    .dir-title {
        font-size: 0.8rem;
    }

    .dir-path {
        font-size: 0.65rem;
    }

    /* Index: Products section */
    .products-section {
        padding: 2rem 1rem;
    }

    .products-section .dir-header {
        margin-bottom: 1rem;
    }

    /* Catálogo / Products page */
    .catalog-container main {
        padding: 0 0.5rem;
    }

    .catalog-container main > div:first-of-type {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .catalog-header {
        margin-bottom: 1rem;
    }

    .catalog-title {
        font-size: 1.35rem;
        margin: 0.25rem 0 0.75rem;
    }

    .catalog-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .filter-tabs-categories {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .filter-tabs-categories .filter-tab {
        flex-shrink: 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        min-height: 40px;
        align-items: center;
    }
    .filter-tabs-categories .filter-tab.active {
        background: var(--bg-input);
        border-color: var(--accent-primary);
        color: var(--accent-primary);
    }

    .catalog-controls > div:last-of-type {
        width: 100%;
        min-height: 44px;
    }

    .product-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .pl-card {
        min-height: 0;
        display: flex;
        flex-direction: column;
        min-height: 280px;
    }

    .pl-img {
        height: 120px;
        min-height: 120px;
        padding: 0.5rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pl-img img {
        max-height: 100px;
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .pl-content {
        padding: 0.5rem 0.5rem 0.6rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .pl-title {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pl-desc {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1;
        min-height: 0;
    }

    .pl-footer {
        gap: 0.35rem;
        margin-top: auto;
        align-items: center;
    }

    .pl-price {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .pl-card .btn-icon {
        min-width: 36px;
        min-height: 36px;
        flex-shrink: 0;
    }

    /* Cart page móvil */
    .cart-container {
        margin: 1rem auto;
        padding: 0 1rem;
    }

    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cart-title {
        font-size: 1.2rem;
    }

    .cart-table-header {
        display: none;
    }

    .cart-item {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.75rem 1rem;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-panel);
        border-radius: 8px;
        margin-bottom: 0.75rem;
    }

    .cart-item .item-info {
        grid-column: 1 / 3;
        grid-row: 1;
        flex-direction: row;
        gap: 0.75rem;
    }

    .cart-item .item-info + div {
        grid-column: 1;
        grid-row: 2;
        border-top: 1px dashed var(--border-color);
        padding-top: 0.5rem;
    }

    .cart-item .quantity-control {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        padding-top: 0.5rem;
        justify-content: flex-start;
    }

    .cart-item .quantity-control + div {
        grid-column: 3;
        grid-row: 2;
        padding-top: 0.5rem;
        align-self: start;
    }

    .cart-item > div:last-child {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
        justify-self: end;
    }

    .cart-item .qty-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .cart-item .item-img {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .cart-footer {
        flex-direction: column;
        align-items: stretch;
        margin-top: 1.5rem;
    }

    .cart-total-box {
        width: 100%;
        max-width: none;
    }

    .btn-checkout {
        min-height: 48px;
    }

    /* Grids */
    .features-grid,
    .dir-grid,
    .stats-grid,
    .content-grid,
    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }

    /* Product Cards Mobile */
    .product-card {
        margin-bottom: 0.5rem;
    }

    .prod-img-box {
        height: 120px !important;
    }

    .prod-details {
        padding: 0.8rem;
    }

    .prod-title {
        font-size: 0.9rem;
    }

    /* Products Page Layout */
    .catalog-container {
        grid-template-columns: 1fr !important;
        padding: 1rem;
    }

    .catalog-sidebar {
        display: none;
    }

    /* Cart & Checkout */
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr !important;
        padding: 1rem;
    }

    .steps-container {
        order: 1;
    }

    aside {
        order: 2;
    }

    /* Tables */
    .table thead {
        display: none;
    }

    .table tr {
        display: block;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 1rem;
        background: rgba(255, 255, 255, 0.02);
        padding: 1rem;
        border-radius: 8px;
    }

    .table td {
        display: block;
        text-align: right;
        padding: 0.5rem 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    }

    .table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        color: var(--text-secondary);
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.4rem !important;
    }

    /* Product detail - móvil */
    .pd-breadcrumb {
        font-size: 0.7rem !important;
        word-break: break-all;
        line-height: 1.5;
        margin-bottom: 1rem !important;
    }

    .pd-container {
        padding: 1rem 1rem 2rem;
        max-width: 100%;
    }

    .pd-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .pd-gallery-main {
        height: 280px;
        min-height: 240px;
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }

    .pd-gallery-main img {
        max-height: 260px !important;
        width: 85% !important;
    }

    .pd-gallery-main .pd-secure-badge {
        top: 0.5rem !important;
        right: 0.5rem !important;
        font-size: 0.55rem !important;
        padding: 2px 4px !important;
    }

    .pd-info h1 {
        font-size: 1.35rem !important;
        line-height: 1.25;
        word-break: break-word;
    }

    .pd-price-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .pd-price {
        font-size: 1.5rem;
    }

    .pd-btc {
        font-size: 0.8rem;
        width: 100%;
    }

    .pd-status-box {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .pd-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .pd-actions .qty-input,
    .pd-actions .btn-buy-lg {
        min-height: 48px;
        padding: 0.85rem 1rem;
    }

    .btn-buy-lg {
        font-size: 0.95rem;
    }

    /* Checkout móvil */
    body .checkout-layout {
        padding: 1rem;
    }

    .checkout-layout .steps-container,
    .checkout-layout aside {
        width: 100%;
    }

    .checkout-layout .panel {
        padding: 1.25rem;
    }

    .checkout-layout .form-grid {
        grid-template-columns: 1fr;
    }

    .checkout-layout .radio-card {
        min-height: 44px;
    }

    header[style*="padding: 1rem 2rem"] {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem !important;
        text-align: center;
    }

    header .status-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.5rem;
    }

    div[style*="padding: 1.5rem 2rem 0"] {
        padding: 1rem 1rem 0 !important;
    }

    div[style*="padding: 1.5rem 2rem 0"] h1 {
        font-size: 1.35rem !important;
    }

    /* Tracking móvil */
    .main-navbar + div[style*="max-width: 800px"] {
        margin: 2rem auto !important;
        padding: 0 1rem !important;
    }

    .main-navbar + div h1 {
        font-size: 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }

    .main-navbar + div .panel {
        padding: 1.25rem !important;
    }

    .main-navbar + div .input-field,
    .main-navbar + div .btn {
        min-height: 48px;
    }

    .tracking-status-step {
        margin-left: 0.5rem;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Objetivos táctiles mínimos */
    button:not(:disabled),
    a.btn,
    .btn-hero,
    .mobile-nav-item {
        min-height: 44px;
    }

    .mobile-nav-item {
        padding: 6px 0;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Pantallas muy pequeñas (< 480px) */
@media (max-width: 480px) {
    .brand {
        font-size: 0.8rem !important;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .product-list-grid {
        grid-template-columns: 1fr;
    }

    .dir-grid {
        gap: 0.5rem;
    }

    .dir-card {
        height: 120px;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}