/* ================================
   PRODUCTS PAGE — MODERN SAAS UI
================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ================================
   PRODUCT CARD
================================ */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    transition: all 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Clickable wrapper */
.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ================================
   IMAGE
================================ */
.product-image {
    width: 100%;
    height: 220px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
/* ================================
   INFO
================================ */
.product-info {
    padding: 14px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 38px;
    overflow: hidden;
}

/* ================================
   PRICE
================================ */
.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

/* ================================
   BUTTON
================================ */
.product-actions .btn {
    width: 100%;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
}

/* ================================
   SIDEBAR
================================ */
.category-sidebar {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f1f1;
}

.category-link {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    transition: 0.2s;
}

.category-link:hover {
    background: #f3f4f6;
}

.category-link.active {
    background: #111827;
    color: #ffffff;
}

/* ================================
   EMPTY STATE
================================ */
.empty-state {
    padding: 40px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px dashed #ddd;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}
