/* style.css */
/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-size: 12px;
    line-height: 1.4;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 20px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
h4 { font-size: 12px; }

/* Header */
#header {
    background: linear-gradient(to bottom, #222, #000);
    color: white;
    border-bottom: 3px solid #c00;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
}

.ra-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.logo-text { color: white; }
.logo-accent { color: #c00; }

.tagline {
    font-size: 10px;
    color: #aaa;
    font-weight: 500;
    margin-left: 5px;
    padding-left: 5px;
    border-left: 1px solid #666;
}

/* Search */
.search-container {
    flex: 1;
    max-width: 600px;
}

.search-wrapper {
    position: relative;
    display: flex;
}

.search-wrapper input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #555;
    border-radius: 3px 0 0 3px;
    background: white;
    font-size: 13px;
    outline: none;
}

.search-wrapper button {
    background: #c00;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-wrapper button:hover {
    background: #e00;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.suggestion-item:hover {
    background: #f5f5f5;
}

/* Header Tools */
.header-tools {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    justify-content: flex-end;
}

.user-menu {
    position: relative;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px;
    background: #333;
    border-radius: 3px;
    font-size: 11px;
    border: 1px solid #444;
}

.user-greeting:hover {
    background: #444;
}

.user-icon {
    font-size: 14px;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    min-width: 200px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 1001;
}

.user-menu-dropdown a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 11px;
    border-bottom: 1px solid #eee;
}

.user-menu-dropdown a:hover {
    background: #f5f5f5;
    color: #c00;
}

.user-menu-dropdown hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 5px 0;
}

.cart-wrapper {
    position: relative;
}

.cart-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #333;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #444;
    font-size: 11px;
    min-width: 120px;
}

.cart-status:hover {
    background: #444;
}

.cart-icon {
    font-size: 16px;
}

.cart-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cart-total {
    color: #ff9900;
    font-weight: bold;
}

/* Main Navigation */
.main-nav {
    background: #111;
    border-top: 1px solid #333;
}

.nav-container {
    display: flex;
    gap: 1px;
}

.nav-item {
    padding: 8px 12px;
    color: #ccc;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    color: white;
    background: #222;
    border-bottom-color: #c00;
}

/* Mobile */
.mobile-header {
    display: none;
    background: #000;
    color: white;
    padding: 8px 10px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #c00;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.mobile-logo {
    font-size: 18px;
    font-weight: bold;
}

.mobile-logo span {
    color: #c00;
}

.mobile-cart {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: left 0.3s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    background: #000;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-user {
    font-size: 12px;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Main Container */
#container {
    display: flex;
    min-height: calc(100vh - 120px);
}

/* Sidebar */
#sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid #ddd;
    padding: 15px 10px;
    overflow-y: auto;
}

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

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expand-all {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 10px;
    cursor: pointer;
    padding: 2px 5px;
}

/* Navigation Tree */
.nav-tree {
    font-size: 11px;
}

.nav-category {
    margin-bottom: 2px;
}

.category-header {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

.category-header:hover {
    background: #eee;
}

.category-icon {
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.category-name {
    flex: 1;
}

.category-arrow {
    color: #666;
    font-size: 10px;
}

.category-content {
    padding-left: 20px;
    border-left: 1px solid #eee;
    margin-left: 8px;
    display: none;
}

.category-content.open {
    display: block;
}

.model-item {
    padding: 5px 8px;
    cursor: pointer;
    color: #0066cc;
    border-left: 2px solid transparent;
}

.model-item:hover {
    background: #f0f7ff;
    border-left-color: #0066cc;
}

.model-item.selected {
    background: #e6f0ff;
    border-left-color: #c00;
    font-weight: bold;
}

/* Filters */
.filters {
    font-size: 11px;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 3px 0;
}

.filter-option input {
    margin-right: 6px;
}

.price-filter {
    margin-top: 15px;
}

.price-slider {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 8px 0;
}

.price-slider input[type="range"] {
    width: 100%;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #666;
}

/* Help Links */
.help-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.help-link {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    color: #333;
    text-decoration: none;
    font-size: 11px;
    border-radius: 3px;
}

.help-link:hover {
    background: #f5f5f5;
    color: #c00;
}

.link-icon {
    margin-right: 8px;
    font-size: 14px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #1a3a5f, #2c5282);
    color: white;
    padding: 12px;
    border-radius: 4px;
    font-size: 11px;
}

.banner-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 12px;
}

.banner-content {
    line-height: 1.4;
    margin-bottom: 10px;
    opacity: 0.9;
}

.banner-btn {
    background: #ff9900;
    color: black;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

/* Main Content */
#main-content {
    flex: 1;
    padding: 15px;
    background: white;
    min-height: 600px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 10px;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 5px;
    color: #999;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    gap: 2px;
}

.tab {
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 4px 4px 0 0;
    color: #666;
}

.tab:hover {
    background: #eee;
}

.tab.active {
    background: white;
    color: #333;
    border-bottom: 1px solid white;
    margin-bottom: -1px;
    font-weight: 500;
}

.tab-icon {
    font-size: 12px;
}

/* Dashboard */
.dashboard {
    padding: 10px 0;
}

.hero-section {
    text-align: center;
    padding: 20px 0 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.hero-section h1 {
    color: #c00;
    margin-bottom: 8px;
    font-size: 24px;
}

.subtitle {
    color: #666;
    font-size: 13px;
    margin-bottom: 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.stat-card {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    min-width: 100px;
    border: 1px solid #eee;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #c00;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Brands Grid */
.brands-grid {
    margin-bottom: 30px;
}

.section-title {
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 2px solid #c00;
}

.brands-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.brand-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.brand-card:hover {
    border-color: #c00;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.brand-logo {
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.brand-info h3 {
    margin-bottom: 5px;
    color: #333;
}

.brand-info p {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.brand-stats {
    font-size: 10px;
    color: #c00;
    font-weight: 500;
}

/* Quick Actions */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.action-btn {
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #e9e9e9;
    border-color: #c00;
}

.action-icon {
    font-size: 16px;
}

/* Parts View */
.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.view-actions {
    display: flex;
    gap: 8px;
}

.view-action-btn {
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-action-btn:hover {
    background: #eee;
}

/* Table */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

th {
    background: #f0f0f0;
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

td {
    padding: 8px;
    border: 1px solid #eee;
    vertical-align: middle;
}

tr:hover {
    background: #f9f9f9;
}

tr:nth-child(even) {
    background: #fcfcfc;
}

/* Stock Status */
.stock-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.stock-in {
    background: #d4edda;
    color: #155724;
}

.stock-low {
    background: #fff3cd;
    color: #856404;
}

.stock-out {
    background: #f8d7da;
    color: #721c24;
    font-style: italic;
}

/* Quantity Controls */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qty-input {
    width: 50px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    font-size: 11px;
}

.qty-btn {
    width: 22px;
    height: 22px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    user-select: none;
}

.qty-btn:hover {
    background: #e0e0e0;
}

/* Add to Cart Button */
.add-to-cart-btn {
    background: #ff9900;
    color: black;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.add-to-cart-btn:hover {
    background: #ffcc00;
    transform: translateY(-1px);
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Parts Summary */
.parts-summary {
    margin-top: 15px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Right Rail */
#right-rail {
    width: 240px;
    background: #fafafa;
    border-left: 1px solid #ddd;
    padding: 15px 10px;
}

/* Widgets */
.widget {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.widget-header {
    background: #f0f0f0;
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h3 {
    font-size: 11px;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 5px;
    color: #666;
}

.widget-btn:hover {
    color: #c00;
}

.widget-body {
    padding: 12px;
    font-size: 11px;
}

/* Quick Cart */
.empty-state {
    text-align: center;
    color: #999;
    padding: 15px 0;
}

.empty-icon {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
}

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

.cart-item-sku {
    font-weight: bold;
    font-size: 10px;
}

.cart-item-price {
    color: #c00;
    font-weight: 500;
}

.cart-item-remove {
    color: #999;
    cursor: pointer;
    font-size: 10px;
    padding: 1px 4px;
}

.cart-item-remove:hover {
    color: #c00;
}

.widget-footer {
    padding: 12px;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
}

.cart-summary {
    font-size: 10px;
    margin-bottom: 10px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.summary-line.total {
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 4px;
    margin-top: 4px;
    font-size: 11px;
}

.checkout-btn {
    width: 100%;
    padding: 8px;
    background: #008000;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: #006600;
}

/* Quick Order */
.quick-order-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5px;
    margin-bottom: 10px;
}

.quick-order-form input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 11px;
}

.quick-order-form button {
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

.quick-order-form button:hover {
    background: #0055aa;
}

.order-tips {
    font-size: 10px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.order-tips ul {
    padding-left: 15px;
    margin-top: 5px;
}

/* Tips & Alerts */
.tips, .alerts {
    font-size: 10px;
}

.tip-item, .alert-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.tip-item:last-child,
.alert-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tip-icon, .alert-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.tip-content, .alert-content {
    flex: 1;
}

.alert-icon.low {
    color: #ff9900;
    font-weight: bold;
}

.alert-icon.backorder {
    color: #0066cc;
}

.alert-btn {
    width: 100%;
    padding: 5px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    margin-top: 8px;
}

.alert-btn:hover {
    background: #eee;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal {
    background: white;
    border-radius: 6px;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 15px 20px;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 16px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #c00;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Footer */
#footer {
    background: #222;
    color: #ccc;
    padding: 30px 0 20px;
    border-top: 3px solid #c00;
    font-size: 11px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 12px;
    text-transform: uppercase;
}

.footer-section p {
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact div {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    opacity: 0.7;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-icon {
    font-size: 16px;
    opacity: 0.7;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    display: none;
    z-index: 3000;
    font-size: 12px;
    max-width: 300px;
}

/* Loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 4000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #c00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1200px) {
    #container {
        flex-direction: column;
    }
    
    #sidebar, #right-rail {
        width: 100%;
        border: none;
        border-bottom: 1px solid #ddd;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }
    
    #header, .main-nav {
        display: none;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    .brands-container {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    #header, #sidebar, #right-rail, .tabs, .view-actions, .modal-overlay, #footer, .mobile-header {
        display: none !important;
    }
    
    #container {
        display: block;
    }
    
    #main-content {
        padding: 0;
        width: 100%;
    }
    
    table {
        font-size: 10pt;
    }
    
    .add-to-cart-btn, button, .tab, .nav-item {
        display: none !important;
    }
}