:root {
    --primary: #0066cc;
    --warning: #f90;
    --dark: #1a1a1a;
    --gray-light: #f5f5f5;
}

body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', sans-serif;
}

.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.search-input {
    border-radius: 4px 0 0 4px;
    border: 2px solid var(--warning);
    font-size: 0.95rem;
}

.search-input:focus {
    border-color: var(--warning);
    box-shadow: none;
}

.search-btn {
    border-radius: 0 4px 4px 0;
    background: var(--warning);
    border: none;
    padding: 0 20px;
}

.nav-icon {
    color: var(--dark);
    text-align: center;
    transition: color 0.2s;
}

.nav-icon:hover { color: var(--primary); }

.product-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.product-card .article {
    font-size: 0.8rem;
    color: #888;
}

.btn-cart {
    background: var(--warning);
    border: none;
    font-weight: 600;
    width: 100%;
    color: #000;
}

.btn-cart:hover { background: #e68a00; }

.category-sidebar {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.category-item {
    padding: 8px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s;
}

.category-item:hover { background: var(--gray-light); }
.category-item.active { background: #e8f0fe; color: var(--primary); }

.category-card {
    transition: box-shadow 0.2s;
}

.category-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.stock-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
}

.stock-available { background: #e8f5e9; color: #2e7d32; }
.stock-empty { background: #fce4ec; color: #c62828; }

.footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.banner {
    min-height: 150px;
}

/* ===== КОНТАКТНАЯ ПАНЕЛЬ ===== */
.contact-bar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255,255,255,.08);
}

.contact-phone {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .3px;
    white-space: nowrap;
    transition: color .2s;
}
.contact-phone:hover { color: #f90; }

.btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s, transform .15s;
}
.btn-contact:hover { opacity: .85; transform: translateY(-1px); }

.btn-call {
    background: #27ae60;
    color: #fff;
}

.btn-max {
    background: #0050ff;
    color: #fff;
}

.contact-map-link {
    color: rgba(255,255,255,.75);
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color .2s;
}
.contact-map-link:hover { color: #f90; }