/* ======================================================
   PRODUCTS PAGE LAYOUT
====================================================== */
.product-layout {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f6f8fb;
    min-height: 100vh;
}

/* ======================================================
   SIDEBAR 
====================================================== */
.product-layout .product-sidebar {
    width: 260px;
    padding: 20px 15px;
    background: transparent;
    border-right: 1px solid #e5e7eb;
    box-shadow: none;
    border-radius: 0;
    height: fit-content;
}

.product-layout .sticky-sidebar {
    position: sticky;
    top: 90px;
}

.product-layout .sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #2960FF;
}

/* Sidebar Menu */
.product-layout .product-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-layout .product-menu li {
    margin-bottom: 10px;
}

.product-layout .product-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.product-layout .product-menu li.active a,
.product-layout .product-menu a:hover {
    background: #e0e7ff;
    color: #2960FF;
}

/* ======================================================
   CONTENT AREA
====================================================== */
.product-layout .product-content {
    flex: 1;
    padding-left: 10px;
}

.product-layout .product-heading {
    font-size: 36px;
    font-weight: 700;
    color: #2960FF;
    margin-bottom: 10px;
}

.product-layout .product-desc {
    color: #000;
    max-width: 900px;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ======================================================
   PRODUCT CARDS
===================================================== */
.product-layout .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 120px);
    gap: 12px;
}

/* Card */
.product-layout .card {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    height: 100px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.product-layout .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.product-layout .card-image {
    width: 100%;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    background: #f3f4f6;
    overflow: hidden;
    position: relative;
}

.product-layout .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-layout .card:hover .card-image img {
    transform: scale(1.2);
}

/* Card Title */
.product-layout .card h3 {
    font-size: 10px;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    padding: 0px;
    line-height: 8px;
    white-space: normal;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 768px) {
    .product-layout {
        flex-direction: column;
    }

    .product-layout .product-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 20px;
    }

    .product-layout .product-content {
        padding-left: 0;
    }

    .product-layout .card-container {
        justify-content: center;
    }
}