.nobifashion_shop {
    width: 90%;
    max-width: 1200px;
    height: auto;
    margin: 20px auto;
}

.nobifashion_shop_breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #555;
    margin: 1rem 0;
}

.nobifashion_shop_breadcrumb a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nobifashion_shop_breadcrumb a:hover {
    color: var(--secondary-color);
}

.nobifashion_shop_breadcrumb span.separator {
    margin: 0 0.5rem;
    color: #ccc;
}

.nobifashion_shop_banner {
    width: 100%;
    position: relative;
    max-width: 100%;
    max-height: 240px;
    aspect-ratio: 100 / 240;
    margin: 20px auto;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.nobifashion_shop_banner_image {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.nobifashion_shop_products {
    width: 100%;
    min-height: 600px;
    height: auto;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
}

/* ==========================================================================
   BỘ LỌC SẢN PHẨM BÊN TRÁI (NOBIFASHION UNIFIED FILTER SIDEBAR)
   Thiết kế tối giản, đồng bộ bảng màu, dễ nhìn và dễ sử dụng
   ========================================================================== */

/* Xóa sổ hoàn toàn các mũi tên tam giác xám cổ điển của Windows trên toàn bộ sidebar */
.nobifashion_shop_products_filter *::-webkit-scrollbar-button,
.nobifashion_shop_products_filter::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.nobifashion_shop_products_filter {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
    position: sticky;
    top: 80px;
    height: fit-content;
    overflow: visible;
    box-sizing: border-box;
}

/* Triệt tiêu thanh cuộn ngang */
.nobifashion_shop_products_filter::-webkit-scrollbar-horizontal,
.nobifashion_shop_products_filter *::-webkit-scrollbar-horizontal {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Chống phình ngang do flex items bên trong */
.nobifashion_shop_products_filter > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.nobifashion_shop_products_filter_categories,
.nobifashion_shop_products_filter_categories_form,
#nobifashion_shop_filter_form,
.nobifashion_shop_products_filter_price,
.nobifashion_shop_products_filter_color,
.nobifashion_shop_products_filter_size,
.nobifashion_shop_products_filter_new_products {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
}

/* Tiêu đề chung cho từng nhóm lọc */
.nobifashion_shop_products_filter_categories_title_name,
.nobifashion_shop_products_filter_price_title,
.nobifashion_shop_products_filter_color_title,
.nobifashion_shop_products_filter_size_title,
.nobifashion_shop_products_filter_new_products_title {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.4;
}

.nobifashion_shop_products_filter_price_title {
    margin-bottom: 10px;
}

/* Phân cách giữa các khối lọc */
.nobifashion_shop_products_filter_price,
.nobifashion_shop_products_filter_color,
.nobifashion_shop_products_filter_size,
.nobifashion_shop_products_filter_new_products {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

/* 1. Danh mục sản phẩm */
.nobifashion_shop_products_filter_categories_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    cursor: pointer;
}

.nobifashion_shop_products_filter_categories_title_bars {
    display: none;
}

.nobifashion_shop_products_filter_categories_content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: auto;
    overflow: visible;
    box-sizing: border-box;
}

.nobifashion_shop_products_filter_categories_content_category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.nobifashion_shop_products_filter_categories_content_category:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.nobifashion_shop_products_filter_categories_content_category_active,
.nobifashion_shop_products_filter_categories_content_category.nobifashion_shop_products_filter_categories_content_category_active {
    background: #f1f5f9;
    border-color: #cbd5e1;
    font-weight: 600;
}

.nobifashion_shop_products_filter_categories_content_category_image img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.nobifashion_shop_products_filter_categories_content_category_text p {
    margin: 0;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.nobifashion_shop_products_filter_categories_content_category:hover .nobifashion_shop_products_filter_categories_content_category_text p,
.nobifashion_shop_products_filter_categories_content_category_active .nobifashion_shop_products_filter_categories_content_category_text p {
    color: #111827;
}

/* 2. Bộ lọc Giá */
.nobifashion_shop_products_filter_price_form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nobifashion_shop_products_filter_price_content_form_label {
    display: block;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    text-align: left;
}

.nobifashion_shop_products_filter_price_content_form_label:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Trạng thái Active đồng bộ: Nền đen sang trọng, chữ trắng */
.nobifashion_shop_products_filter_price_content_form_label_active {
    background-color: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

/* 3. Bộ lọc Màu sắc */
.nobifashion_shop_products_filter_color_form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 0;
}

.nobifashion_shop_products_filter_color_form label,
.shop-filter-color-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background-color: #ffffff;
    font-size: 12.5px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.nobifashion_shop_products_filter_color_form label:hover,
.shop-filter-color-pill:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Trạng thái Active đồng bộ: Nền đen sang trọng, chữ trắng */
.nobifashion_shop_products_filter_color_form_label_active,
.shop-filter-color-pill.nobifashion_shop_products_filter_color_form_label_active {
    background-color: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.15);
}

/* 4. Bộ lọc Kích cỡ */
.nobifashion_shop_products_filter_size_form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 0;
}

.nobifashion_shop_products_filter_size_form label,
.shop-filter-size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 12.5px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.nobifashion_shop_products_filter_size_form label:hover,
.shop-filter-size-pill:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Trạng thái Active đồng bộ: Nền đen sang trọng, chữ trắng */
.nobifashion_shop_products_filter_size_form_label_active,
.shop-filter-size-pill.nobifashion_shop_products_filter_size_form_label_active {
    background-color: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

/* 5. Sidebar Sản phẩm mới */
.nobifashion_shop_products_filter_new_products_description p {
    font-size: 12px;
    color: #6b7280;
    margin: 4px 0 10px 0;
    line-height: 1.4;
}

.nobifashion_shop_products_filter_new_products_item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc;
    transition: transform 0.15s ease;
}

.nobifashion_shop_products_filter_new_products_item:last-child {
    border-bottom: none;
}

.nobifashion_shop_products_filter_new_products_item:hover {
    transform: translateX(2px);
}

.nobifashion_shop_products_filter_new_products_item_image img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #f1f5f9;
}

.nobifashion_shop_products_filter_new_products_item_info {
    flex: 1;
    min-width: 0;
}

.nobifashion_shop_products_filter_new_products_item_info_title {
    font-size: 12.5px;
    color: #1f2937;
    margin: 0;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.nobifashion_shop_products_filter_new_products_item:hover .nobifashion_shop_products_filter_new_products_item_info_title {
    color: #000;
    font-weight: 600;
}

.nobifashion_shop_products_filter_new_products_item_info_price {
    font-size: 12.5px;
    color: #dc2626;
    margin: 3px 0 0;
    font-weight: 600;
}


.nobifashion_shop_products_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 500px;
    height: auto;
    overflow: visible;
}

.nobifashion_shop_products_content_filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.nobifashion_shop_products_content_filter_total {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: start;
}

.nobifashion_shop_products_content_filter_total span {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--primary-color);
}

.nobifashion_shop_products_content_filter_delete_all {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
    margin-bottom: 8px;
    margin: 0 auto;
}

.nobifashion_shop_products_content_filter_delete_all_btn {
    background-color: #f44336; /* Đỏ tươi */
    color: white;
    border: none;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nobifashion_shop_products_content_filter_delete_all_btn:hover {
    background-color: #d32f2f;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nobifashion_shop_products_content_filter_delete_all_btn:active {
    background-color: #b71c1c;
}


.nobifashion_shop_products_content_filter_select {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem 10px;
    border-radius: 8px;
    background: #f9f9f9;
    /* nền nhẹ */
}

.nobifashion_shop_products_content_filter_select label {
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
    margin-right: 0.5rem;
}

.nobifashion_shop_products_content_filter_select select {
    appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0.4rem 2rem 0.4rem 0.6rem;
    /* thêm khoảng cách để đặt icon */
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 1rem;
}

.nobifashion_shop_products_content_filter_select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

.nobifashion_shop_products_content_filter_select_sort,
.nobifashion_shop_products_content_filter_select_show {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nobifashion_shop_products_content_filter_select option {
    color: #333;
    background: #fff;
}

.nobifashion_shop_products_content_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.nobifashion_shop_products_content_list_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border: 2px dashed #ccc;
    background-color: #fafafa;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
}

.nobifashion_shop_products_content_list_empty p {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    margin-top: 12px;
    line-height: 1.6;
}

.nobifashion_shop_products_content_list_empty::before {
    content: "🛒";
    font-size: 48px;
    opacity: 0.7;
}

.nobifashion_shop_products_content_list_empty_button {
    margin-top: 24px;
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.nobifashion_shop_products_content_list_empty_button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



.nobifashion_shop_products_content_list_item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nobifashion_shop_products_content_list_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.nobifashion_shop_products_content_list_item_label {
    background: #ff4c4c;
    color: #fff;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    border-radius: 4px;
    z-index: 200;
}

.nobifashion_shop_products_content_list_item_image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/6;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.nobifashion_shop_products_content_list_item_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.nobifashion_shop_products_content_list_item:hover .nobifashion_shop_products_content_list_item_image img {
    transform: scale(1.05);
}

.nobifashion_shop_products_content_list_item_category {
    margin-top: 0.5rem;
    color: #888;
    font-size: 0.8rem;
    text-align: center;
}

.nobifashion_shop_products_content_list_item_category_name {
    text-transform: uppercase;
}

.nobifashion_shop_products_content_list_item_title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    padding: 0.3rem 0.5rem;
}

.nobifashion_shop_products_content_list_item_title_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    font-size: .95rem;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    color: var(--primary-color);
}

.nobifashion_shop_products_content_list_item_title_name:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.nobifashion_shop_products_content_list_item_star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #f6b100;
}

.nobifashion_shop_products_content_list_item_star svg {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
}

.nobifashion_shop_products_content_list_item_star_count {
    font-size: 0.75rem;
    color: #8a8a8a;
}

.nobifashion_shop_products_content_list_item_price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.nobifashion_shop_products_content_list_item_price_new {
    color: #e53935;
    font-weight: 700;
}

.nobifashion_shop_products_content_list_item_price_old {
    color: #999;
    text-decoration: line-through;
    font-size: 0.85rem;
}

.nobifashion_shop_products_content_list_item_addtocart {
    text-align: center;
    margin: 0.5rem;
}

.nobifashion_shop_products_content_list_item_addtocart button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nobifashion_shop_products_content_list_item_addtocart button:hover {
    background: var(--secondary-color);
}

.nobifashion_shop_products_content_list_item_addtocart svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.nobifashion_shop_products_content_pagination {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.nobifashion_shop_products_content_pagination .pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nobifashion_shop_products_content_pagination .page-item {
    flex: 0 0 auto;
}

.nobifashion_shop_products_content_pagination .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nobifashion_shop_products_content_pagination .page-link svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

.nobifashion_shop_products_content_pagination .page-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.nobifashion_shop_products_content_pagination .page-link:hover svg {
    fill: #fff;
}

.nobifashion_shop_products_content_pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: #fff;
    font-weight: bold;
}

.nobifashion_shop_products_content_pagination .page-item.active .page-link svg {
    fill: #fff;
}

/* Tối ưu thanh cuộn cho danh sách màu sắc & kích cỡ */
.shop-filter-color-scroll::-webkit-scrollbar,
.shop-filter-size-scroll::-webkit-scrollbar {
    width: 3px;
    height: 0 !important;
}
.shop-filter-color-scroll::-webkit-scrollbar-button,
.shop-filter-size-scroll::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.shop-filter-color-scroll::-webkit-scrollbar-track,
.shop-filter-size-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.shop-filter-color-scroll::-webkit-scrollbar-thumb,
.shop-filter-size-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.shop-filter-color-scroll::-webkit-scrollbar-thumb:hover,
.shop-filter-size-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.shop-filter-color-scroll::-webkit-scrollbar-horizontal,
.shop-filter-size-scroll::-webkit-scrollbar-horizontal {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Nút xóa bộ lọc */
.nobifashion_shop_products_content_filter_delete_all_btn {
    cursor: pointer;
    transition: all 0.2s ease;
}
.nobifashion_shop_products_content_filter_delete_all_btn:hover {
    opacity: 0.85;
}

/* Container danh sách sản phẩm */
.nobifashion_shop_products_container {
    position: relative;
    min-height: 200px;
    transition: opacity 0.15s ease;
}

/* Tiêu đề & số lượng nhóm bộ lọc */
.nobifashion_shop_filter_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.nobifashion_shop_filter_header h4 {
    margin: 0;
}

.nobifashion_shop_filter_count {
    font-size: 11px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 500;
}

/* Ô tìm kiếm nhanh màu sắc */
.nobifashion_shop_filter_search_box {
    margin-bottom: 8px;
}

.nobifashion_shop_filter_search_input {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    background: #f9fafb;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.nobifashion_shop_filter_search_input:focus {
    border-color: #111827;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.05);
}

/* Khung cuộn màu sắc và kích cỡ */
.shop-filter-color-scroll {
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding-right: 6px;
    padding-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.shop-filter-size-scroll {
    max-height: 180px;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding-right: 6px;
    padding-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* Ẩn hoàn toàn input radio thừa bên trong pill màu và size để tránh phình chiều ngang */
.nobifashion_shop_products_filter_color_checkbox,
.nobifashion_shop_products_filter_size_checkbox {
    display: none !important;
    appearance: none;
    -webkit-appearance: none;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shop-filter-color-pill,
.shop-filter-size-pill {
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nobifashion_shop_hide {
    display: none !important;
}

/* Trạng thái Loading Overlay tinh tế & chuyên nghiệp */
.nobifashion_shop_products_container {
    position: relative;
    min-height: 240px;
    transition: opacity 0.2s ease;
}

.nobifashion_shop_products_container.nobifashion_shop_loading {
    pointer-events: none;
    user-select: none;
}

/* Lớp phủ mờ sang trọng */
.nobifashion_shop_products_container.nobifashion_shop_loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 20;
    border-radius: 8px;
    animation: nobifashionFadeIn 0.2s ease-in-out;
}

/* Spinner tối giản phong cách cao cấp */
.nobifashion_shop_products_container.nobifashion_shop_loading::after {
    content: '';
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border: 3.5px solid rgba(0, 0, 0, 0.08);
    border-top-color: var(--primary-color, #111);
    border-radius: 50%;
    z-index: 21;
    animation: nobifashionSpin 0.65s linear infinite;
}

@keyframes nobifashionSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes nobifashionFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive trên Tablet & Mobile */
@media (max-width: 991px) {
    .nobifashion_shop {
        width: 95%;
        margin: 6px auto 20px auto !important;
    }

    .nobifashion_shop_breadcrumb {
        margin: 6px 0 12px 0 !important;
    }

    .nobifashion_shop_products {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 20px;
        margin: 0 auto;
    }

    .nobifashion_shop_products_filter {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}




