.zilento-catalog-container {
    display: flex;
    gap: 30px;
    box-sizing: border-box;
    width: 100%;
    margin: 20px 0;
}

/* 20% Left Panel */
.zilento-catalog-sidebar {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    box-sizing: border-box;
    height: fit-content;
}

.zilento-catalog-sidebar .zilento-filter-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
    color: #1e293b;
}

.zilento-filter-group {
    margin-bottom: 24px;
}

.zilento-filter-group:last-child {
    margin-bottom: 0;
}

/* Categories: Desktop/Tablet List */
.zilento-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zilento-cat-item {
    margin-bottom: 6px;
}

.zilento-cat-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 0;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.zilento-cat-item a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.zilento-cat-item.is-active a {
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
}

.zilento-cat-item.is-active a .zilento-cat-count {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.zilento-cat-count {
    font-size: 12px;
    background: #e2e8f0;
    color: #64748b;
    padding: 2px 7px;
    border-radius: 0;
    font-weight: 500;
}

/* Categories: Mobile Dropdown (Hidden on Desktop) */
.zilento-cat-dropdown-wrap {
    display: none;
}

.zilento-filter-group select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.zilento-filter-group select:focus {
    border-color: #26a673;
}

.zilento-filter-reset {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
    text-decoration: underline;
}

.zilento-filter-reset:hover {
    color: #0f172a;
}

/* 80% Right Grid Panel */
.zilento-catalog-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 24px;
    align-content: start;
}

.zilento-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.zilento-product-thumb {
    display: block;
    overflow: hidden;
    border-radius: 0;
    background: #f8fafc;
    aspect-ratio: 1;
}

.zilento-product-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
}

.zilento-product-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.zilento-product-details .zilento-product-title {
    color: #151515;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.zilento-product-details .zilento-product-more {
    margin-top: auto;
    color: #14724e;
    font-size: 14px;
    font-weight: 600;
}

.zilento-product-details a:hover {
    text-decoration: underline;
}

.zilento-no-products {
    grid-column: 1 / -1;
    padding: 30px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 0;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

.zilento-catalog-pagination {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.zilento-catalog-pagination a {
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    color: #14724e;
}

/* Responsive (Mobile View) */
@media (max-width: 768px) {
    .zilento-catalog-container {
        flex-direction: column;
        gap: 20px;
    }
    .zilento-catalog-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    /* Hide the list on mobile */
    .zilento-cat-list {
        display: none;
    }
    /* Show dropdown on mobile */
    .zilento-cat-dropdown-wrap {
        display: block;
    }
}
