.products-page {
    padding: 2rem 1.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.products-hero h2 {
    font-weight: 700;
    color: #14314f;
    letter-spacing: 0.3px;
}

.products-search {
    max-width: 420px;
    margin-top: 1rem;
}

.products-search .form-control {
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    border: 1px solid #cfd9e3;
    box-shadow: none;
}

.products-search .form-control:focus {
    border-color: #2f7a78;
    box-shadow: 0 0 0 3px rgba(47, 122, 120, 0.15);
}

.products-count {
    font-size: 0.85rem;
    color: #8a97a3;
}

.product-card {
    border: 1px solid #e9edf1;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(20, 49, 79, 0.14) !important;
}

.product-img-wrap {
    background: #f4f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.card-body {
    padding: 0.9rem 1rem 1.1rem;
}

.product-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #23384d;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.empty-category {
    text-align: center;
    padding: 3rem 1rem;
    color: #8a97a3;
}
