.has-opsim-shop-block .entry-header,
.has-opsim-shop-block .entry-title,
.has-opsim-shop-block .page-header,
.has-opsim-shop-block .page-title,
.has-opsim-shop-block .woocommerce-products-header,
.has-opsim-shop-block h1.page-title {
    display: none !important;
}

.shop-category-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin: 20px 0 30px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.shop-main-section {
    padding-top: 30px;
    padding-bottom: 60px;
}

.has-opsim-shop-block .products-grid-section {
    padding-top: 0 !important;
}

.has-opsim-shop-block .products-grid {
    margin-top: 30px !important;
}

.shop-filter-bar-full {
    background: var(--primary-color, #427A76);
    width: 100%;
    margin-top: 10px;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: visible !important;
    position: relative;
    z-index: 110;
}

.shop-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #fff;
    gap: 15px;
    width: 100%;
    margin: 0;
}

.filter-col.center {
    flex-grow: 1;
    text-align: center;
}

.filter-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff !important;
    white-space: nowrap;
}

.select-wrapper {
    position: relative;
    min-width: 160px;
}

.select-wrapper select {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: #fff;
    padding: 8px 35px 8px 15px;
    outline: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s ease;
}

.select-wrapper .dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.9;
    color: #fff !important;
    width: 12px;
    height: 12px;
}

[dir="rtl"] .select-wrapper .dropdown-icon {
    right: auto;
    left: 12px;
}

[dir="rtl"] .select-wrapper select {
    padding: 8px 15px 8px 35px;
}

.select-wrapper select:hover,
.select-wrapper select:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.select-wrapper select option {
    background: #fff;
    color: #333;
}

.shop-content {
    flex-grow: 1;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.shop-main-section .shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px !important;
    margin-bottom: 40px;
    clear: both;
    position: relative;
    z-index: 10;
}

.shop-products-grid .product-card {
    margin-top: 0;
    position: relative;
}

.shop-products-grid .discount-badge,
.shop-products-grid .onsale {
    display: none !important;
}

.shop-load-more {
    margin-top: 50px;
}

@media (max-width: 1200px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .shop-filter-bar {
        padding: 15px;
    }

    .filter-title {
        font-size: 1.25rem;
    }

    .select-wrapper {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .shop-filter-bar-full {
        margin-top: 15px;
        margin-bottom: 30px !important;
    }

    .shop-filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .filter-col.center {
        order: -1;
        margin-bottom: 5px;
    }

    .filter-col.left,
    .filter-col.right {
        width: 100%;
    }

    .filter-title {
        font-size: 1.2rem;
        margin-bottom: 0px;
        white-space: normal;
    }

    .select-wrapper {
        width: 100%;
    }

    .select-wrapper select {
        padding: 10px 15px;
        font-size: 0.9rem;
        text-align: center;
        text-align-last: center;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
        margin-top: 30px !important;
    }
}

@media (max-width: 480px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
        margin-top: 20px !important;
    }

    .filter-title {
        font-size: 1.15rem;
    }

    .shop-filter-bar {
        padding: 15px;
    }
}