/* CSS cho button */
ul.products {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

ul.products li {
    flex-basis: 25%;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
    opacity: 0; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation-delay: 0.2s;
}

ul.products li.show {
    animation: fadeInUp 1s ease forwards;
}


ul.products li:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.1);
}

ul.products li img {
    max-width: 100%;
    height: auto;
}

ul.products li .product-top {
    position: relative;
    overflow: hidden;
}

ul.products li .product-top .product-thumb {
    display: block;
}

ul.products li:hover .product-top .product-thumb img {
    filter: opacity(80%);
    transform: scale(1.05);
}

ul.products li .product-top .product-thumb img {
    transition: transform 0.3s ease;
}

ul.products li .product-top a.buy-now {
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    display: block;
    background: #446084;
    color: white;
    font-weight: bold;
    padding: 5px 0px;
    position: absolute;
    width: 100%;
    bottom: -36px;
    transition: 0.25s ease-in-out;
    opacity: 0.85;
}

ul.products li:hover a.buy-now {
    bottom: 0px;
    background-color: #356b94;
}

ul.products li .product-info {
    padding: 10px 0px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

ul.products li:hover .product-info {
    opacity: 1;
}

ul.products li .product-info a {
    display: block;
    text-decoration: none;
}

ul.products li .product-info a.product-cat {
    font-size: 11px;
    text-transform: uppercase;
    color: #9e9e9e;
    padding: 3px 0px;
}

ul.products li .product-info a.product-name {
    color: #000;
    padding: 3px 0px;
    transition: color 0.3s ease;
}

ul.products li:hover .product-info a.product-name {
    color: #446084;
}

ul.products li .product-info .product-price {
    color: #000;
    padding: 2px 0px;
    font-weight: bold;
    transition: color 0.3s ease;
}

ul.products li:hover .product-info .product-price {
    color: #f26a6a;
}

ul.products li .product-info .poster {
    display: flex;
    align-items: center;
    gap: 5px;
}

ul.products li .product-info .poster strong {
    margin: 0;
}

ul.products li .product-info .poster a {
    text-decoration: none;
    color: #446084;
    font-weight: normal;
}

ul.products li .product-info .poster a:hover {
    color: #f26a6a;
}

ul.products li .product-info .poster i {
    margin-right: 5px;
    font-size: 16px;
    color: #446084;
}
.section-title {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 15px 0;
    color: #333;
    border-left: 5px solid #28a745;
    padding-left: 10px;
}
/* ===== Bộ lọc giá (Filter) ===== */
.price-filter-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.price-filter-card h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.price-filter-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-filter-card label {
    font-size: 14px;
    color: #555;
    margin-bottom: 2px;
}

.price-filter-card input[type="number"] {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    font-size: 14px;
}

.price-filter-card button[type="submit"] {
    margin-top: 10px;
    padding: 10px;
    background-color: #446084;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.price-filter-card button[type="submit"]:hover {
    background-color: #2f4c70;
}
@media (max-width: 768px) {
    .price-filter-card {
        margin-top: 20px;
        padding: 15px;
    }

    .price-filter-card form {
        flex-direction: column;
    }

    .price-filter-card input[type="number"] {
        width: 100%;
    }

    .price-filter-card button[type="submit"] {
        width: 100%;
    }
}
.pending-category {
    background-color: #fff3cd;
    color: #856404;
    padding: 3px 8px;
    border-radius: 10px;
    font-style: italic;
    display: inline-block;
    font-size: 0.9rem;
}