.pl_wrapper {
    padding: 70px 0;
    background: #ffffff;
}

.pl_filter_box {
    background: #f6fbf8;
    border: 1px solid rgba(0, 114, 62, 0.16);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.pl_label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3a35;
    margin-bottom: 8px;
}

.pl_input,
.pl_select {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: 1px solid #d5dfda;
    padding: 0 14px;
    outline: none;
    transition: all 0.2s ease;
    background: #fff;
}

.pl_input:focus,
.pl_select:focus {
    border-color: #00723e;
    box-shadow: 0 0 0 3px rgba(0, 114, 62, 0.12);
}

.pl_submit_btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #00723e;
    color: #fff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pl_submit_btn:hover {
    background: #005f34;
}

.pl_category_chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.pl_chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d0ddd7;
    color: #2a3933;
    font-size: 14px;
    font-weight: 500;
}

.pl_chip.active,
.pl_chip:hover {
    border-color: #00723e;
    background: rgba(0, 114, 62, 0.1);
    color: #00723e;
}

.pl_meta_text {
    margin: 6px 0 24px;
    color: #5b6963;
    font-size: 15px;
}

.pl_product_card {
    border: 1px solid #e1ebe6;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    transition: all 0.25s ease;
}

.pl_product_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 114, 62, 0.12);
}

.pl_thumb_link {
    display: block;
}

.pl_thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.pl_content {
    padding: 14px;
}

.pl_category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #00723e;
    margin-bottom: 8px;
}

.pl_name {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 8px;
    height: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl_name a {
    color: #1f2d28;
}

.pl_desc {
    color: #6a7771;
    font-size: 14px;
    margin-bottom: 12px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pl_price_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pl_sale_price {
    font-size: 18px;
    color: #00723e;
    font-weight: 700;
}

.pl_price {
    font-size: 14px;
    color: #8d9a95;
    text-decoration: line-through;
}

.pl_empty_box {
    text-align: center;
    border: 1px dashed #ccd9d3;
    border-radius: 12px;
    padding: 30px 20px;
}

.pl_empty_box h4 {
    margin-bottom: 8px;
}

.pl_pagination_wrap {
    margin-top: 26px;
}

@media (max-width: 991px) {
    .pl_wrapper {
        padding: 48px 0;
    }

    .pl_thumb {
        height: 210px;
    }
}

@media (max-width: 575px) {
    .pl_filter_box {
        padding: 14px;
    }

    .pl_thumb {
        height: 190px;
    }
}

/* ── Sort bar ──────────────────────────────────────────────── */
.pl_sort_chips_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pl_sort_chips_row .pl_category_chips {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
}

.pl_sort_wrap {
    flex-shrink: 0;
}

.pl_sort_select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1.5px solid #d0ddd7;
    border-radius: 999px;
    padding: 8px 36px 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #2a3933;
    cursor: pointer;
    min-width: 240px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%2300723e' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.pl_sort_select:hover,
.pl_sort_select:focus {
    border-color: #00723e;
    box-shadow: 0 0 0 3px rgba(0, 114, 62, 0.1);
}

@media (max-width: 767px) {
    .pl_sort_chips_row {
        flex-direction: column;
        align-items: flex-start;
    }

    .pl_sort_wrap {
        width: 100%;
    }

    .pl_sort_select {
        width: 100%;
        min-width: unset;
    }
}