.egc-products-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.egc-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.egc-category-title {
    font-size: 24px;
    margin: 0;
    flex: 0 0 60%;
}

.egc-category-dropdown {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    flex: 0 0 40%;
}

.egc-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.egc-product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.3s;
}

.egc-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.egc-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
}

.egc-product-title {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.egc-incele-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.egc-incele-btn:hover {
    background: #005a87;
}

.egc-products-pagination {
    text-align: center;
    margin-top: 20px;
}

.egc-products-pagination .page-numbers {
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 4px;
    color: #0073aa;
}

.egc-products-pagination .current {
    background: #0073aa;
    color: white;
}

.egc-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.egc-modal-overlay.active {
    display: flex;
}

.egc-modal-content {
    background: white;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.egc-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.egc-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

.egc-modal-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.egc-modal-body {
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .egc-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .egc-products-grid { grid-template-columns: repeat(2, 1fr); }
    .egc-products-header { flex-direction: column; gap: 10px; }
    .egc-category-title { flex: none; width: 100%; }
    .egc-category-dropdown { flex: none; width: 100%; }
}

@media (max-width: 480px) {
    .egc-products-grid { grid-template-columns: 1fr; }
}