.banner-top-du-an {
        position: relative;
    }

    .banner-top-du-an .img-inner img {
        width: 100%;
        /*height: 360px;*/
        object-fit: cover;
        filter: brightness(.72);
    }

    .banner-top-du-an .title-line {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 55px;
        z-index: 5;
    }

    .banner-top-du-an .title-line .col-inner {
        background: transparent !important;
        max-width: 1240px;
        margin: 0 auto;
    }

    .banner-top-du-an .title-page h1 {
        color: #fff;
        font-size: 54px;
        font-weight: 700;
        text-align: left;
        margin: 0;
    }
    .product-filter-wrap {
    margin: 48px auto 45px;
    display: flex;
    align-items: center;
    gap: 35px;
    border-bottom: 1px solid #777;
    padding-bottom: 18px;
}

.san-pham-filter-form {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    margin: 0;
}

.san-pham-filter-form select {
    height: 42px;
    border: 0;
    box-shadow: none;
    background: #f1efed;
    padding: 0 28px 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    margin: 0;
    cursor: pointer;
}

.san-pham-filter-form select:focus {
    /*outline: none;*/
    box-shadow: none;
}

.reset-product-filter {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #777;
    border-radius: 6px;
    background: transparent;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    cursor: pointer;
}

.reset-product-filter:hover {
    background: #cf913b;
    border-color: #cf913b;
    color: #fff;
}
.san-pham-filter-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
}

.san-pham-filter-form {
    position: relative;
}

.san-pham-filter-form select {
    padding-right: 28px;
}

.san-pham-filter-form select {
    background: transparent !important;
}

.san-pham-filter-form select::-ms-expand {
    display: none;
}

.san-pham-filter-form select {
    background-repeat: no-repeat;
}

/* Bọc mỗi select nếu có thể */
.san-pham-filter-form .select-wrap {
    position: relative;
}

.select-wrap::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 12px;
    height: 7px;

    background: #666;

    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
/* ===== GRID ===== */

.container-san-pham {
    padding-bottom: 80px;
}

.reepro-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.reepro-product-item {
    height: 100%;
}

.reepro-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 390px;
    background: linear-gradient(180deg, #fff 0%, #d8d8d8 100%);
    padding: 20px 18px 18px;
    position: relative;
    color: #555;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.reepro-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

.reepro-product-cat {
    color: #d9903b;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 1px;
}

.reepro-product-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reepro-product-image img {
    width: 100%;
    max-height: 190px;
    object-fit: contain;
    display: block;
    transition: transform .4s ease;
}

.reepro-product-card:hover .reepro-product-image img {
    transform: scale(1.04);
}

.reepro-product-content {
    margin-top: auto;
    /*padding-top: 22px;*/
    /*padding-right: 26px;*/
    min-height: 82px;
        display: flex;
    flex-direction: column;
    gap: 10px;
}

.reepro-product-content h3 {
    font-size: 22px;
    /*line-height: 1.18;*/
    font-weight: 500;
    color: #4f4f4f;
    margin: 0 0 8px;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reepro-product-content p {
    font-size: 13px;
    line-height: 1.35;
    color: #555;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reepro-product-card:hover .reepro-product-cat,
.reepro-product-card:hover .reepro-product-content h3,
.reepro-product-card:hover .reepro-product-content p {
    -webkit-line-clamp: unset;
}

.reepro-product-arrow {
    /*position: absolute;
    right: 18px;
    bottom: 18px;*/
    width: 22px;
    height: 22px;
    border: 1px solid #d69237;
    border-radius: 50%;
    color: #d69237;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.reepro-product-card:hover .reepro-product-arrow {
    background: #d69237;
    color: #fff;
}

/* ===== PAGINATION ===== */

.san-pham-ajax-pagination {
    margin-top: 55px;
    text-align: center;
}

.san-pham-ajax-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.san-pham-ajax-pagination li {
    list-style: none;
}

.san-pham-ajax-pagination a,
.san-pham-ajax-pagination span {
    border: 0 !important;
    background: transparent !important;
    color: #888;
    font-size: 18px;
    font-weight: 600;
    padding: 0;
}

.san-pham-ajax-pagination .current {
    color: #555;
}

.san-pham-ajax-pagination .prev,
.san-pham-ajax-pagination .next {
    font-size: 38px;
    color: #999;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1199px) {
    .reepro-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .san-pham-filter-form {
        gap: 40px;
    }
}

@media (max-width: 849px) {
    .banner-top-san-pham .img-inner img {
        height: 280px;
    }

    .banner-top-san-pham .title-line {
        bottom: 35px;
        padding: 0 22px;
    }

    .banner-top-san-pham .title-page h1 {
        font-size: 36px;
    }

    .product-filter-wrap {
        /*margin: 30px 22px 35px;*/
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding-bottom: 18px;
    }

    .san-pham-filter-form {
        /*grid-template-columns: 1fr;*/
        gap: 8px;
    }

    .reset-product-filter {
        width: fit-content;
        align-self: flex-end;
    }

    .container-san-pham {
        padding-left: 22px;
        padding-right: 22px;
        padding-bottom: 60px;
    }

    .reepro-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .reepro-product-card {
        min-height: 360px;
    }

    .reepro-product-image {
        height: 165px;
    }

    .reepro-product-image img {
        max-height: 165px;
    }

    .reepro-product-content h3 {
        font-size: 20px;
    }
        .banner-top-du-an .title-page>div {
        padding: 0 15px;}
}

@media (max-width: 549px) {
    .reepro-product-grid {
        grid-template-columns: 1fr;
    }

    .reepro-product-card {
        min-height: 350px;
    }

    .reepro-product-image {
        height: 180px;
    }

    .reepro-product-image img {
        max-height: 180px;
    }

    .reepro-product-content h3 {
        font-size: 22px;
    }

    .san-pham-ajax-pagination ul {
        gap: 20px;
    }
}