/* sanpham.css */
.sanpham-page {
    margin-top: 24px;
    margin-bottom: 24px;
}
.sanpham-filter .filter-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 20px 16px;
    margin-bottom: 24px;
}
.filter-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ca3605;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-group {
    margin-bottom: 16px;
}
.filter-group label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}
.filter-select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}
.filter-btn {
    width: 100%;
    background: #ca3605;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 0;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.filter-btn:hover {
    background: #a82d04;
}
.sanpham-list .product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s;
}
.sanpham-list .product-card:hover {
    box-shadow: 0 4px 16px rgba(202,54,5,0.10);
}
.product-card__img-wrap {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f7f7f7;
}
.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}
.product-card__body {
    padding: 14px 12px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.product-card__name {
    font-size: 16px;
    font-weight: 600;
    min-height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
.product-card__ratting {
    min-height: 22px;
    margin-bottom: 6px;
}
.product-card__price {
    font-size: 15px;
    color: #ca3605;
    font-weight: 700;
    margin-bottom: 6px;
}
.product-card__desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.no-product {
    text-align: center;
    color: #888;
    font-size: 18px;
    margin-top: 32px;
}
.sanpham-banner-header {
    width: 100%;
    margin-bottom: 18px;
}
.sanpham-banner-header img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sanpham-breadcrumb {
    background: #f8f9fa;
    padding: 10px 0 10px 8px;
    margin-bottom: 18px;
    border-radius: 6px;
    font-size: 15px;
    overflow-x: auto;
    white-space: nowrap;
}
.sanpham-breadcrumb .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.sanpham-breadcrumb .breadcrumb-item {
    max-width: 160px;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sanpham-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #ca3605;
    padding: 0 6px;
}
.sanpham-breadcrumb .breadcrumb-item a {
    color: #ca3605;
    text-decoration: none;
    transition: color 0.2s;
}
.sanpham-breadcrumb .breadcrumb-item a:hover {
    color: #a82d04;
    text-decoration: underline;
}
.sanpham-breadcrumb .breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}
.sanpham-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ca3605;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(202,54,5,0.08);
    text-align: left;
}
.sanpham-pagination {
    margin-top: 32px;
    margin-bottom: 8px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.sanpham-pagination .pagination {
    margin-bottom: 0;
    flex-wrap: nowrap !important;
    justify-content: center;
    display: flex;
    gap: 0.25rem;
}
.sanpham-pagination .page-item {
    display: inline-block;
}
.sanpham-pagination .page-item .page-link {
    color: #ca3605;
    border: 1px solid #eee;
    border-radius: 4px;
    margin: 0 2px;
    padding: 8px 18px;
    background: #fff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    min-width: 38px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(202,54,5,0.04);
}
.sanpham-pagination .page-item.active .page-link,
.sanpham-pagination .page-item .page-link:hover {
    background: #ca3605;
    color: #fff;
    border-color: #ca3605;
    box-shadow: 0 4px 16px rgba(202,54,5,0.10);
}
.sanpham-pagination .page-item.disabled .page-link {
    color: #ccc;
    background: #f7f7f7;
    border-color: #eee;
}
@media (max-width: 991px) {
    .sanpham-filter { margin-bottom: 24px; }
    .sanpham-breadcrumb { font-size: 14px; padding: 8px 0 8px 4px; }
    .sanpham-title { font-size: 1.4rem; }
    .sanpham-pagination .page-item .page-link { padding: 6px 12px; font-size: 15px; min-width: 30px; }
}
@media (max-width: 767px) {
    .sanpham-filter { order: 2; }
    .sanpham-list { order: 1; }
    .product-card__img-wrap { height: 140px; }
    .sanpham-banner-header img { height: 120px; }
    .sanpham-breadcrumb { font-size: 13px; padding: 7px 0 7px 2px; }
    .sanpham-breadcrumb .breadcrumb-item { max-width: 100px; }
    .sanpham-title { font-size: 1.1rem; margin-bottom: 12px; }
    .sanpham-pagination { margin-top: 16px; }
    .sanpham-pagination .pagination { gap: 0.1rem; }
    .sanpham-pagination .page-item .page-link { padding: 5px 7px; font-size: 13px; min-width: 22px; }
}
