.cat_product_page {
    background: #eef3f8;
    min-height: 100vh;
    padding: 8px 0 28px;
}

.cat_product_breadcrumb {
    max-width: 1280px;
    margin: 0 auto 12px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #64748b;
    font-size: 14px;
    flex-wrap: wrap;
}

.cat_product_breadcrumb a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
}

.cat_product_breadcrumb a:hover {
    color: #f85606;
}

.cat_product_breadcrumb span {
    color: #64748b;
    font-weight: 500;
}

.cat_product_layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 22px;
    align-items: start;
}

.cat_product_sidebar {
    position: sticky;
    top: 146px;
    height: calc(100vh - 156px);
    overflow-y: auto;
    padding-right: 6px;
}

.cat_product_sidebar::-webkit-scrollbar {
    width: 5px;
}

.cat_product_sidebar::-webkit-scrollbar-track {
    background: #e5eaf0;
    border-radius: 10px;
}

.cat_product_sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.cat_product_sidebar::-webkit-scrollbar-thumb:hover {
    background: #f85606;
}

.cat_filter_card {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 8px;
}

.cat_filter_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
}

.cat_filter_head h3 {
    font-size: 22px;
    color: #222;
    font-weight: 600;
    margin: 0;
}

.cat_filter_head i {
    font-size: 13px;
    color: #111827;
}

.cat_filter_category_list {
    background: #eef3f8;
    padding: 8px 12px;
}

.cat_filter_category {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: #555;
    font-size: 16px;
    line-height: 1.25;
    transition: 0.2s;
}

.cat_filter_category:hover,
.cat_filter_category.active {
    color: #00b894;
}

.cat_price_inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cat_price_inputs label {
    display: block;
}

.cat_price_inputs span {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.cat_price_inputs input {
    width: 100%;
    height: 38px;
    border: 1px solid #d8dee8;
    outline: none;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 15px;
    color: #333;
}

.cat_price_inputs input:focus {
    border-color: #00b894;
}

.cat_range_line {
    margin: 18px 4px 14px;
    height: 9px;
    background: #00b894;
    border-radius: 50px;
    position: relative;
}

.cat_range_line span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #00b894;
    border-radius: 50%;
}

.cat_range_line span:first-child {
    left: 0;
}

.cat_range_line span:last-child {
    right: 0;
}

.cat_apply_btn {
    width: 100%;
    height: 36px;
    border: 0;
    border-radius: 4px;
    background: #00b894;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.cat_apply_btn:hover {
    background: #009f80;
}

.cat_reset_btn {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 4px;
    background: #f85606;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 12px;
}

.cat_reset_btn:hover {
    background: #df4d05;
}

.cat_brand_list {
    max-height: 520px;
    overflow-y: auto;
    padding: 2px 4px;
}

.cat_brand_list::-webkit-scrollbar {
    width: 4px;
}

.cat_brand_list::-webkit-scrollbar-track {
    background: #eef3f8;
}

.cat_brand_list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 12px;
}

.cat_brand_item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    cursor: pointer;
    color: #333;
    font-size: 16px;
}

.cat_brand_item input {
    appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid #8aa0bc;
    border-radius: 3px;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.cat_brand_item input:checked {
    background: #00b894;
    border-color: #00b894;
}

.cat_brand_item input:checked::after {
    content: "✓";
    color: #fff;
    font-size: 12px;
    position: absolute;
    left: 3px;
    top: -1px;
}

.cat_product_content {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    min-height: 640px;
}

.cat_product_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 16px;
}

.cat_product_top h1 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 4px;
    color: #111;
    font-weight: 700;
}

.cat_product_top p {
    font-size: 16px;
    margin: 0;
    color: #111;
}

.cat_sort_box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cat_sort_box span {
    font-size: 14px;
    color: #111;
    white-space: nowrap;
}

.cat_sort_box select {
    height: 40px;
    border: 1px solid #00b894;
    border-radius: 5px;
    padding: 0 38px 0 12px;
    background: #fff;
    color: #334155;
    outline: none;
    font-size: 14px;
}

.cat_product_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cat_product_card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    transition: 0.2s;
}

.cat_product_card:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.cat_product_img {
    height: 230px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.cat_product_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat_new_badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    color: #ff1476;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    border-radius: 20px;
    padding: 2px 5px;
}

.cat_rating_row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 9px 12px 0;
    font-size: 13px;
    color: #64748b;
}

.cat_star {
    color: #f6b100;
    font-size: 16px;
}

.cat_sold {
    margin-left: auto;
    color: #111827;
    font-size: 11px;
}

.cat_product_card h3 {
    padding: 7px 12px 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    line-height: 1.35;
    height: 50px;
    overflow: hidden;
}

.cat_price_row {
    padding: 8px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cat_price_left {
    min-width: 0;
}

.cat_price {
    font-size: 20px;
    color: #00b894;
    font-weight: 500;
}

.cat_old_price {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

.cat_discount {
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.cat_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cat_pagination button {
    min-width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    border-radius: 5px;
    cursor: pointer;
    padding: 0 10px;
}

.cat_pagination button.active {
    background: #f85606;
    color: #fff;
    border-color: #f85606;
}

.cat_pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.cat_no_product {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #64748b;
}

.cat_no_product i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.cat_no_product h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #334155;
}

.cat_no_product p {
    margin: 0;
}

.cat_empty_filter {
    color: #94a3b8;
    padding: 8px 0;
    font-size: 14px;
}

@media (max-width: 1199px) {
    .cat_product_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cat_product_layout {
        grid-template-columns: 250px 1fr;
    }

    .cat_product_img {
        height: 210px;
    }
}

@media (max-width: 991px) {
    .cat_product_page {
        padding: 12px 0 90px;
    }

    .cat_product_layout {
        grid-template-columns: 1fr;
    }

    .cat_product_sidebar {
        position: static;
        height: auto;
        overflow: visible;
        padding-right: 0;
    }

    .cat_product_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cat_product_content {
        padding: 10px;
    }

    .cat_product_top {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column;
    }

    .cat_sort_box {
        width: 100%;
        justify-content: space-between;
    }

    .cat_sort_box select {
        flex: 1;
    }

    .cat_product_img {
        height: 180px;
    }

    .cat_brand_list {
        max-height: 260px;
    }
}

@media (max-width: 575px) {
    .cat_product_breadcrumb {
        font-size: 13px;
        padding: 0 10px;
    }

    .cat_product_layout {
        padding: 0 10px;
    }

    .cat_product_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat_product_img {
        height: 150px;
    }

    .cat_product_card h3 {
        font-size: 14px;
        height: 45px;
        padding: 6px 9px 0;
    }

    .cat_rating_row {
        padding: 8px 9px 0;
        font-size: 12px;
    }

    .cat_price_row {
        padding: 8px 9px 10px;
    }

    .cat_price {
        font-size: 17px;
    }

    .cat_old_price {
        font-size: 12px;
        display: block;
        margin-left: 0;
    }

    .cat_discount {
        font-size: 11px;
        padding: 4px 6px;
    }

    .cat_filter_head h3 {
        font-size: 19px;
    }

    .cat_filter_category,
    .cat_brand_item {
        font-size: 15px;
    }

    .cat_product_top h1 {
        font-size: 20px;
    }

    .cat_product_top p {
        font-size: 14px;
    }
}