/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.product-category-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.product-category-item {
    margin-bottom: 6px;
}

.category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-link {
    flex: 1;
    text-decoration: none;
    color: #222;
    font-size: 15px;
}

.product-category-list .product-category-item .count {
    font-size: 13px;
    color: #000;
    opacity: 1;
}

.toggle-arrow {
    width: 14px;
    height: 14px;
    cursor: pointer;
    position: relative;
}

.toggle-arrow::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(-45deg); /* ← CHƯA XỔ */
    transition: transform 0.25s ease;
}
.product-category-item.open > .category-row .toggle-arrow::before {
    transform: rotate(45deg); /* ↓ ĐÃ XỔ */
}


.product-category-item > ul {
    display: none;
    padding-left: 16px;
}

.product-category-item.open > ul {
    display: block;
}

.product-category-item.open .toggle-arrow::before {
    transform: rotate(-135deg);
}
.category-link.is-active {
    font-weight: 600;
    color: #e91e63;
}

.product-category-item.open > .category-row > .category-link {
    font-weight: 500;
}
.product-category-item.is-root > .category-row > .category-link {
    font-weight: 500;
    font-size: 15px;
}
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination-container .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    background: #fff;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-container .page-numbers:hover {
    color: #fff;
    background: #e91e63;
    border-color: #e91e63;
}

/* Trang hiện tại */
.pagination-container .page-numbers.current {
    background: #e91e63;
    color: #fff;
    border-color: #e91e63;
    cursor: default;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.25);
}

/* Dấu ... */
.pagination-container .page-numbers.dots {
    background: transparent;
    border: none;
    color: #999;
    cursor: default;
}

/* Nút next */
.pagination-container .page-numbers.next {
    font-size: 16px;
    padding: 0 12px;
}

/* Mobile tối ưu */
@media (max-width: 576px) {
    .pagination-container .page-numbers {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

