:root {
    --brand-dark: #1a1a2e;
    --brand-accent: #ffc107;
}

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

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: white;
    padding: 80px 0;
}

/* Карточка товара */
.product-card {
    transition: transform .2s, box-shadow .2s;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.product-card .card-img-top {
    height: 220px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}
.product-card .placeholder-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    font-size: 3rem;
    color: #adb5bd;
}
.badge-article {
    font-size: .7rem;
    background: #e9ecef;
    color: #6c757d;
    border-radius: 4px;
    padding: 2px 6px;
}

/* Категории */
.category-card {
    border-radius: 12px;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    border: 2px solid transparent;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    border-color: var(--brand-accent);
}

/* Карточки категорий с фоновой картинкой */
.category-card-img {
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
.category-card-img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    z-index: 1;
}
.category-icon {
    font-size: 2.5rem;
}

/* Боковое меню каталога */
.catalog-sidebar .nav-link {
    color: #333;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: .9rem;
}
.catalog-sidebar .nav-link:hover,
.catalog-sidebar .nav-link.active {
    background: var(--brand-accent);
    color: #000;
    font-weight: 600;
}
.catalog-sidebar .sub-item {
    padding-left: 24px;
    font-size: .85rem;
}

/* Корзина */
.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    background: #e9ecef;
}

/* Статус заказа */
.status-badge {
    font-size: .8rem;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Поиск — подсказки */
#searchSuggestions .dropdown-item {
    cursor: pointer;
    font-size: .9rem;
}
#searchSuggestions .dropdown-item:hover {
    background: #fff3cd;
}

/* Кнопки менеджера */
.manager-actions {
    display: flex;
    gap: 6px;
}

/* Хлебные крошки */
.breadcrumb {
    background: none;
    padding: 0;
    font-size: .85rem;
}

/* Страница товара */
.product-detail-img {
    max-height: 420px;
    object-fit: contain;
    border-radius: 12px;
    width: 100%;
    background: #fff;
}

/* Логотипы-услуги */
.logo-service-card {
    border-radius: 12px;
    border: none;
    transition: transform .2s;
}
.logo-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* Количество в корзине */
.qty-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-section { padding: 40px 0; }
}
