/* CSS محصولات و دسته‌بندی */
#productList { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.productCard { border: 1px solid #ccc; padding: 10px; width: 200px; border-radius: 8px; text-align: center; background: rgba(255,255,255,0.8); }
.productCard img { width: 100%; height: 120px; object-fit: cover; border-radius: 5px; }
#productCategories { margin-top: 10px; }
.categoryBtn { margin: 5px; padding: 5px 10px; cursor: pointer; border-radius: 5px; border: 1px solid #333; background: #fff; }
.categoryBtn:hover { background: #f0f0f0; }
#shoppingCart { margin-top: 30px; border-top: 1px solid #ccc; padding-top: 10px; }

/* دسته‌بندی فرعی */
.subCategory { margin-left: 20px; display: flex; flex-wrap: wrap; }

.tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    margin-bottom: 25px;
}

.categoryBtn {
    padding: 12px 25px;
    border: none;
    background: #f8f8f8;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    transition: 0.3s;
}

.categoryBtn.it { color: #0174bc; }
.categoryBtn.finance { color: #d39e00; }
.categoryBtn.architecture { color: #6f42c1; }
.categoryBtn.medeng { color: #28a745; }

.categoryBtn:hover { filter: brightness(95%); }

.tab-underline {
    position: absolute;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #333;
    transition: 0.3s all;
    border-radius: 3px 3px 0 0;
}


.cart-popup {
    display: none;
    position: absolute;
    top: 50px; /* زیر هدر */
    right: 10px;
    width: 300px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 15px;
    z-index: 1000;
}
