/* -------------------------------------------------------------------------
 * PICKUPINDEX LAYOUT ARCHITECTURE
 * Header, Navigation, Sticky Sidebar, Main Content, Grid Layouts
 * ------------------------------------------------------------------------- */

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Header Branding & Rocker Switch */
.brand-cluster {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-name-group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-domain {
    display: inline-flex;
    align-items: center;
}

/* Master Site Name 3D Rocker Switch */
.brand-site-rocker-toggle {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    perspective: 450px;
    text-align: left;
    user-select: none;
}

.brand-site-rocker-toggle:focus-visible .site-rocker-bezel {
    outline: 2px solid #10b981;
    outline-offset: 3px;
}

.site-rocker-bezel {
    display: inline-flex;
    align-items: stretch;
    padding: 3px 4px;
    border-radius: 9px;
    background: linear-gradient(180deg, #374151 0%, #1f2937 20%, #111827 80%, #030712 100%);
    border: 1.5px solid #4b5563;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.brand-site-rocker-toggle:hover .site-rocker-bezel {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.brand-site-rocker-toggle:active .site-rocker-bezel {
    transform: scale(0.98);
}

.site-rocker-well {
    display: inline-flex;
    align-items: stretch;
    padding: 2px;
    border-radius: 7px;
    background: #030712;
    border: 1px solid #000000;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.95);
}

.site-rocker-actuator {
    display: inline-flex;
    align-items: stretch;
    border-radius: 5px;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 420px;
}

.site-paddle-pickup {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px 3px 10px;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.4px;
    color: #ffffff;
    border-radius: 4px 0 0 4px;
    position: relative;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.2, 0.9, 0.35, 1);
}

.site-paddle-pivot {
    width: 2.5px;
    background: #000000;
    flex-shrink: 0;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 3;
}

.site-paddle-index {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px 3px 10px;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.4px;
    color: #ffffff;
    border-radius: 0 4px 4px 0;
    position: relative;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.2, 0.9, 0.35, 1);
}

.paddle-symbol-p {
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    opacity: 0.85;
    transition: all 0.2s ease;
    margin-right: 2px;
}

.paddle-symbol-i {
    display: inline-flex;
    width: 2.5px;
    height: 9px;
    border-radius: 1px;
    background-color: #ffffff;
    opacity: 0.85;
    transition: all 0.2s ease;
    margin-right: 2px;
}

/* Light Mode / Switch ON: Index Green Lit, Pickup Red/Steel Dormant */
.brand-site-rocker-toggle.is-on .site-paddle-pickup {
    background: linear-gradient(160deg, #991b1b 0%, #7f1d1d 50%, #450a0a 100%);
    color: rgba(255, 255, 255, 0.75);
    transform: translateZ(3px) rotateY(-5deg);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), inset 0 -1px 2px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.brand-site-rocker-toggle.is-on .paddle-symbol-p {
    opacity: 0.55;
    box-shadow: none;
}

.brand-site-rocker-toggle.is-on .site-paddle-index {
    background: linear-gradient(160deg, #34d399 0%, #10b981 40%, #059669 80%, #024e35 100%);
    color: #ffffff;
    transform: translateZ(-4px) rotateY(-11deg);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 16px rgba(16, 185, 129, 0.85);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.brand-site-rocker-toggle.is-on .paddle-symbol-i {
    opacity: 1;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.9);
}

/* Dark Mode / Switch OFF: Pickup Red Lit, Index Green Dormant */
.brand-site-rocker-toggle.is-off .site-paddle-pickup {
    background: linear-gradient(160deg, #ef4444 0%, #dc2626 40%, #991b1b 80%, #450a0a 100%);
    color: #ffffff;
    transform: translateZ(-4px) rotateY(11deg);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 18px rgba(239, 68, 68, 0.9);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.brand-site-rocker-toggle.is-off .paddle-symbol-p {
    opacity: 1;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.9);
}

.brand-site-rocker-toggle.is-off .site-paddle-index {
    background: linear-gradient(160deg, #059669 0%, #047857 50%, #022c22 100%);
    color: rgba(255, 255, 255, 0.75);
    transform: translateZ(3px) rotateY(5deg);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), inset 0 -1px 2px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.brand-site-rocker-toggle.is-off .paddle-symbol-i {
    opacity: 0.55;
    box-shadow: none;
}

/* Hyperlink Blue .com Home Link */
.tld-blue-classic {
    font-size: 20px;
    font-weight: 800;
    color: #0284c7;
    text-decoration: none;
    margin-left: 5px;
    padding: 2px 3px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    transition: color 0.18s ease, transform 0.18s ease;
}

.tld-blue-classic:hover {
    color: #0369a1;
    text-decoration: underline;
    text-underline-offset: 3px;
    transform: translateY(-1px);
}

[data-theme="dark"] .tld-blue-classic {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}

/* Dual-Stripe Rocker Baseline Runner */
.rocker-runner-track {
    display: flex;
    align-items: center;
    width: 100%;
    height: 3.5px;
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    margin-top: 3px;
}

[data-theme="dark"] .rocker-runner-track {
    background: rgba(0, 0, 0, 0.45);
}

.rocker-segment-red {
    height: 100%;
    flex: 0 0 48%;
    border-radius: 9999px 0 0 9999px;
    background: #991b1b;
    opacity: 0.35;
    transition: all 0.2s ease;
}

.rocker-pivot-notch {
    width: 2px;
    height: 100%;
    background: #000000;
    flex-shrink: 0;
}

.rocker-segment-green {
    height: 100%;
    flex: 1;
    border-radius: 0 9999px 9999px 0;
    background: #059669;
    opacity: 1;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.75);
    transition: all 0.2s ease;
}

[data-theme="dark"] .rocker-segment-red {
    background: #ef4444;
    opacity: 1;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.9);
}

[data-theme="dark"] .rocker-segment-green {
    background: #047857;
    opacity: 0.35;
    box-shadow: none;
}

.brand-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    border: 1px solid rgba(2, 132, 199, 0.25);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 500;
    margin-top: 3px;
}

/* Header New Arrivals Card (Exact Match from OutletIndex .badge-store-soon) */
.header-arrivals-card {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-self: center;
    padding: 4px 14px;
    color: #854d0e;
    background: #fef08a;
    border: 1px solid #facc15;
    border-radius: 12px;
    line-height: 1.25;
    white-space: nowrap;
    letter-spacing: 0.1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    user-select: none;
}

[data-theme="dark"] .header-arrivals-card {
    color: #fef08a;
    background: rgba(234, 179, 8, 0.14);
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.arrival-item {
    font-size: 11px;
    font-weight: 700;
    color: #854d0e;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

[data-theme="dark"] .arrival-item {
    color: #fef08a;
}

.arrival-tag {
    color: #b91c1c;
    font-weight: 800;
    margin-right: 2px;
}

[data-theme="dark"] .arrival-tag {
    color: #f87171;
}

.arrival-soon {
    font-size: 10px;
    font-weight: 600;
    color: #a16207;
    letter-spacing: 0.15px;
    opacity: 0.92;
    margin-top: 1px;
    white-space: nowrap;
}

[data-theme="dark"] .arrival-soon {
    color: #fde047;
    opacity: 0.85;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Inventory Updated Status Card */
.inventory-status-card {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 6px 14px 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    gap: 2px;
    user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inventory-status-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}

.status-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: status-pulse-dot 2.5s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes status-pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.35);
    }
}

.status-card-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.status-card-body {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.status-time {
    font-weight: 600;
    color: var(--text-main);
}

.status-sep {
    color: var(--text-dim);
    font-size: 10px;
}

.status-ago {
    font-weight: 700;
    color: #059669;
    font-variant-numeric: tabular-nums;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 14px;
    pointer-events: none;
}

/* Dashboard Layout (Sidebar + Content) */
.dashboard-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    gap: 24px;
    align-items: start;
    transition: grid-template-columns 0.25s ease;
}

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

.dashboard-layout.sidebar-collapsed .sidebar {
    display: none;
}

/* Sidebar Filter Pane (Natural Flow Height, Matching OutletIndex) */
.sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-card);
}

.sidebar-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.reset-filters-btn {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.reset-filters-btn:hover {
    background: rgba(2, 132, 199, 0.1);
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Main Content Area */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Action Toolbar (Emulated from OutletIndex) */
.catalog-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
}

.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    user-select: none;
}

.filter-toggle-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.filter-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 1px 6px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.search-box input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    background: var(--bg-base);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.15s ease;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-box .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sort-wrap, .page-size-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.sort-select {
    padding: 7px 10px;
    background: var(--bg-base);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease;
}

.sort-select:focus {
    border-color: var(--primary);
}

/* Active Chips Bar */
.active-chips-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 0 2px;
}

.active-chips-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.12);
    color: var(--primary);
    border: 1px solid rgba(2, 132, 199, 0.25);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
}

.chip-remove {
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.1s ease;
}

.chip-remove:hover {
    color: var(--rose);
}

.chip-clear-all {
    background: none;
    border: none;
    color: var(--rose);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    text-decoration: underline;
}

.chip-clear-all:hover {
    color: #9f1239;
}

/* Catalog Results Header Bar & Breadcrumbs */
.results-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
}

.results-catalog-title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
}

.crumb-link {
    color: var(--primary);
    text-decoration: none;
}

.crumb-link:hover {
    text-decoration: underline;
}

.crumb-sep {
    color: var(--text-dim);
}

.crumb-active {
    color: var(--text-dim);
    font-weight: 600;
}

.catalog-curated-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.results-count-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.results-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
}

.results-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
}
    color: var(--text-dim);
    font-weight: 600;
}

.sort-select {
    padding: 6px 12px;
    background: var(--bg-base);
    border: 1px solid var(--border-card);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
}

/* Truck Cards Grid */
.truck-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

/* Footer (Mirrored from OutletIndex) */
footer, .site-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    padding: 24px 16px 32px;
    border-top: 1px solid var(--border-card);
    line-height: 1.6;
    margin-top: 48px;
}

.footer-brand {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-nav-grid {
    display: flex;
    justify-content: center;
    gap: 28px;
    max-width: 1080px;
    margin: 20px auto 28px auto;
    text-align: left;
    box-sizing: border-box;
}

.footer-col {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.footer-details {
    width: 100%;
}

.footer-summary {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: default;
    list-style: none;
    user-select: none;
    margin-bottom: 12px;
}

.footer-summary::-webkit-details-marker {
    display: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7.5px;
}

.footer-links li {
    line-height: 1.4;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

.footer-disclaimer {
    font-size: 11px;
    color: #64748b;
    max-width: 960px;
    margin: 0 auto;
    line-height: 1.55;
    text-align: left;
}

.footer-disclaimer strong {
    color: var(--text-main);
}

.footer-disclaimer a {
    color: var(--primary);
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
}

[data-theme="dark"] .footer-brand,
[data-theme="dark"] .footer-disclaimer,
[data-theme="dark"] .footer-copyright {
    color: #94a3b8;
}

[data-theme="dark"] .footer-disclaimer strong {
    color: #f1f5f9;
}

[data-theme="dark"] .footer-links a {
    color: #94a3b8;
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary);
}

[data-theme="dark"] .footer-disclaimer a {
    color: #38bdf8;
}

@media (max-width: 640px) {
    .footer-nav-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 14px auto 22px auto;
        border-top: 1px solid var(--border-card);
        padding: 0 4px;
        max-width: 100%;
    }

    .footer-col {
        min-width: 0;
    }

    .footer-accordion-item {
        border-bottom: 1px solid var(--border-card);
    }

    .footer-summary {
        cursor: pointer;
        padding: 13px 4px;
        margin-bottom: 0;
        justify-content: space-between;
        font-size: 13.5px;
    }

    .footer-summary::after {
        content: "＋";
        font-size: 15px;
        font-weight: 700;
        color: var(--text-dim);
        transition: transform 0.2s ease;
    }

    details[open] .footer-summary::after {
        content: "－";
        color: var(--primary);
    }

    .footer-links {
        padding: 4px 6px 14px 8px;
        gap: 9px;
    }

    .footer-links a {
        font-size: 13.5px;
    }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    body {
        padding: 12px 10px;
    }
    .site-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .brand-cluster {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .header-arrivals-card {
        width: 100%;
        box-sizing: border-box;
    }
    .arrival-item, .arrival-soon {
        white-space: normal;
    }
    .truck-cards-grid {
        grid-template-columns: 1fr;
    }
}
