
 #search-container-author {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 150px; /* Đặt kích thước tối đa cho ô tìm kiếm */
    background-color: #f0f0f0;
    border-radius: 30px; /* Làm tròn các góc */
}

#search-author-3dmodel-input {
    width: 100%;
    padding: 10px 35px 10px 15px; /* Tạo không gian cho nút "X" và nút tìm kiếm */
    border: none;
    border-radius: 30px; /* Làm tròn các góc */
    background-color: #f0f0f0;
}

#clear-search-author-3dmodel-button {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #4a7d91;
    border: none;
    padding: 5px 10px;
    display: none;
    cursor: pointer;
    margin: 0;
}

#search-author-3dmodel-button {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4a7d9100;
    color: #000000;
    border: none;
    padding: 10px 15px;
    border-radius: 50%; /* Nút tìm kiếm có hình tròn */
    cursor: pointer;
    margin: 0;
}

/* Hiển thị nút "X" khi có nội dung tìm kiếm */
#search-author-3dmodel-input:not(:placeholder-shown) + #clear-search-author-3dmodel-button {
    display: block;
}

.skeleton {
    background-color: #fff;
    border-radius: 4px;
    animation: skeleton-loading 1.2s infinite ease-in-out;
}

/* Tiêu đề dài */
.skeleton.skeleton-title {
    width: 100%; /* Điều chỉnh để tiêu đề dài hơn */
    height: 20px;
    margin-top: 10px;
}

/* Các phần thông tin phụ */
.skeleton.skeleton-text {
    width: 90%; /* Ngắn hơn tiêu đề */
    height: 16px;
    margin-top: 8px;
}

/* Placeholder ảnh */
.thumbnail-img.skeleton {
    width: 100%;
    height: 180px;
    margin-bottom: 10px;
}

@keyframes skeleton-loading {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.category-meta {
    display: none;
}

/* Background overlay */
.background-dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Màu tối với độ trong suốt */
    z-index: 998; /* Đặt dưới dropdown */
    display: none; /* Mặc định ẩn */
}

/* Đặt vị trí dropdown */
.more-options {
    position: relative;
}

.dropdown-more-formats {
    position: fixed;
    top: 200px;
    left: 85%;
    transform: translateX(-50%);
    display: none;
    background: #ffffff;
    width: 200px;
    max-height: 600px;
    overflow-y: auto;
    z-index: 1000; /* Đảm bảo nằm trên lớp phủ */
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Đổ bóng cho dropdown */
    border-radius: 10px;
}

/* Nút More */
.more-button {
    cursor: pointer; /* Hiển thị con trỏ hình bàn tay */
    color: #007bff; /* Màu chữ ban đầu */
    font-weight: bold;
    padding-left: 20px;
    padding-right: 20px;
}

.more-button:hover {
    color: #0056b3; /* Đổi màu chữ khi di chuột */
}

/* Đặt kiểu cho mỗi hàng checkbox và label */
.filter-optional-standard div,
.filter-polygons div,
.filter-vertices div,
.filter-type div,
.filter-style div,
.filter-renders div,
.filter-formats div
 {
    display: flex; /* Sử dụng flexbox */
    align-items: center; /* Căn giữa theo chiều dọc */
    margin-bottom: 0px;
    line-height: 30px;
}
.size-controls {
    display: flex;
    gap: 5px;
align-items: center;    
}

.size-button {
    background-color: #4a9da3; /* Đổi màu nền khi nút ở trạng thái "active" */
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    height: 26px;
    border: none;
    cursor: pointer;
    margin: 0 5px 5px 0;
}

.size-button.active {
    animation: blinkEffect 1s ease-in-out infinite; /* Áp dụng hiệu ứng nhấp nháy */
    background-color: #4a9da3; /* Màu nền ban đầu */
    color: #ffffff;
}

/* Định nghĩa hiệu ứng nhấp nháy chậm với màu đen */
@keyframes blinkEffect {
    0% {
        background-color: #4a9da3; /* Màu nền ban đầu */
    }
    33% {
        background-color: rgb(59, 121, 127); /* Màu nền nhấp nháy */
    }
    66% {
        background-color: #000000; /* Màu đen */
    }
    100% {
        background-color: #4a9da3; /* Trở về màu ban đầu */
    }
}

/* Medium mặc định - 100% */
@media (min-width: 480px) {
    .thumbnail-grid.medium {
        grid-template-columns: repeat(auto-fill, 215px);
    }
    .thumbnail-grid.medium .thumbnail-placeholder,
    .thumbnail-grid.medium .thumbnail-img {
        width: 215px;
        height: 215px;
        border-radius: 10px;
    }
}

/* Large - 250px */
@media (min-width: 480px) {
    .thumbnail-grid.large {
        grid-template-columns: repeat(auto-fill, 250px);
    }
    .thumbnail-grid.large .thumbnail-placeholder,
    .thumbnail-grid.large .thumbnail-img {
        width: 250px;
        height: 250px;
        border-radius: 10px;
    }
}

/* Super - 360px */
@media (min-width: 480px) {
    .thumbnail-grid.super {
        grid-template-columns: repeat(auto-fill, 360px);
    }
    .thumbnail-grid.super .thumbnail-placeholder,
    .thumbnail-grid.super .thumbnail-img {
        width: 360px;
        height: 360px;
        border-radius: 10px;
    }
}

/* Small - 140px */
@media (min-width: 480px) {
    .thumbnail-grid.small {
        grid-template-columns: repeat(auto-fill, 140px); /* Giảm kích thước */
    }
    .thumbnail-grid.small .thumbnail-placeholder,
    .thumbnail-grid.small .thumbnail-img {
        width: 140px;
        height: 140px;
        border-radius: 5px;
    }

    .thumbnail-grid.small .an-display-view,
    .thumbnail-grid.small .type {
        display: none; /* Ẩn .an-display-view khi kích thước là Small */
    }
}

/* Rectangle - 300px */
@media (min-width: 480px) {
    .thumbnail-grid.rectangle {
        grid-template-columns: repeat(auto-fill, 300px);
    }
    .thumbnail-grid.rectangle .thumbnail-placeholder,
    .thumbnail-grid.rectangle .thumbnail-img {
        width: 300px;
        height: 215px;
        border-radius: 10px;
    }
}

/* Masonry - 270px */
@media (min-width: 480px) {
    .thumbnail-grid.masonry {
        column-width: 270px;
        column-gap: 10px;
        display: block;
        padding: 10px;
    }

    .thumbnail-grid.masonry .thumbnail-item-wrapper {
        display: inline-block;
        width: 100%;
        height: auto;
        break-inside: avoid; /* Giữ nguyên toàn bộ khối */
        margin-bottom: 10px;
    }

    .thumbnail-grid.masonry .thumbnail-placeholder,
    .thumbnail-grid.masonry .thumbnail-img {
        width: 100%;
        height: auto;
        break-inside: avoid;
        margin-bottom: 0;
        border-radius: 10px;
        background: #ffffff;
    }
    .thumbnail-grid.masonry .thumbnail-placeholder {
        position: relative;
    }
    .thumbnail-grid.masonry .thumbnail-content {
        width: 100%;
        text-align: center;
    }
}
/* Tiling  - 270px */
@media (min-width: 480px) {
    .thumbnail-grid.tiling {
        display: flex; /* Sắp xếp theo hàng ngang */
        flex-wrap: wrap; /* Cho phép tự xuống dòng */
        justify-content: flex-start; /* Canh trái */
        align-items: flex-start; /* Đảm bảo các hàng không bị đè lên nhau */
        gap: 10px; /* Giữ khoảng cách giữa các item */
    }

    .thumbnail-grid.tiling .thumbnail-item-wrapper {
        display: flex;
        flex-direction: column;
        height: auto; /* Đảm bảo chiều cao không bị giới hạn */
        flex-grow: 1;
        min-width: 200px;
        max-width: 300px;
        margin-bottom: 10px; /* Đảm bảo có khoảng cách đúng */
    }

    .thumbnail-grid.tiling .thumbnail-placeholder,
    .thumbnail-grid.tiling .thumbnail-img {
        width: 100%;
        height: 215px; /* Cố định chiều cao */
        object-fit: cover;
        border-radius: 10px;
        background: #ffffff;
    }

    .thumbnail-grid.tiling .thumbnail-content {
        width: 100%;
        text-align: center;
    }

    .thumbnail-grid.tiling .thumbnail-title {
        width: 100%; /* Để tiêu đề căn đều theo phần nội dung */
        max-width: 200px; /* Đảm bảo không quá dài */
    }
}

.filter-rigged,
.filter-pbr,
.filter-print-ready {
    display: flex;
    flex-direction: column;
}
#fullscreenToggle,
button.load-category,
button#newest-button {
    background-color: #4a9da3;
    /*width: 120px;  Đặt chiều rộng cố định */
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    height: 26px;
    border: none;
    cursor: pointer;
    margin: 0 0px 0px 10px;
}

#toggleSidebar {
    background-color: #4a9da3;
    width: 90px; /* Đặt chiều rộng cố định */
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    height: 26px;
    border: none;
    cursor: pointer;
    margin: 0 0px 0px 10px;
}

.filter-container {
    display: flex;
    gap: 2px;
    padding: 0;
    /*border-bottom: 1px solid rgba(0, 0, 0, .1);*/
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden; /* Ẩn cuộn dọc */
    white-space: nowrap;
    position: relative;
    z-index: 30;
    padding-top: 0px;
}

.sort-container {
    height: 30px;
    flex-shrink: 0;
    white-space: nowrap; /* Ngăn nội dung xuống dòng */
    overflow: hidden; /* Ẩn phần tràn nếu vượt quá chiều rộng */
    margin-left: 10px;
    margin-right: 10px;
}

.filter-title1 {
    height: 27px;
    line-height: 27px;
    width: 100px;

    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 3px;
    color: #4a7d91;
}

.filters input[type="text"] {
    width: 190px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 5px 10px;
    font-size: 14px;
}
.filter-type {
    /*width: 160px;*/
}

.filter-style {
    /*width: 280px*/
}

.filter-renders {
    /*width: 300px;*/
}

.filter-type,
.filter-style,
.filter-renders {
    border-radius: 10px;
    padding: 5px 0px;
    font-size: 14px;
    text-align: center;
    display: flex;
    flex-wrap: wrap; /* Để phần tử xuống hàng khi cần */
    gap: 8px; /* Tạo khoảng cách giữa các phần tử */
    justify-content: left; /* Căn giữa các phần tử */
    flex-wrap: nowrap;
    margin-right: 40px;
    height: 30px;
}
.filter-type {
    /*margin-left: 10px;*/
}

.filter-formats {
    /*width: 620px;*/
    border-radius: 10px;
    padding: 5px 0px;
    font-size: 14px;
    text-align: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    height: 30px;
    margin-left: 0px;
}

.active-filters {
    /*min-height: 32px;*/
    /*background-color: #efefef;*/
    /*border-bottom: 1px solid rgba(0, 0, 0, 0.1);*/
    margin-left: 8px;
}
.filter-status,.filter-status-author {
 display: flex;
    justify-content: space-between;
    padding: 5px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    height: 40px;
}

@media (min-width: 600px) {
    .filter-status .active-filters {
        max-width: 60%;
    }
}
@media (max-width: 599px) {
    .filter-status .active-filters {
        max-width: 100%;
    }
}
.filter-status .active-filters {
    display: flex;
    gap: 5px;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: thin; /* Thu nhỏ thanh cuộn (Firefox) */
    height: 40px;
}

.filter-status .active-filters::-webkit-scrollbar {
    height: 6px; /* Chiều cao thanh trượt ngang */
}

.filter-status .active-filters::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.filter-material {
    position: relative;
    /*width: 100px;*/
    margin-left: 20px;
    margin-right: 40px;
}

.filter-content {
    position: fixed;
    top: 200px;
    left: 23%;
    transform: translateX(-50%);
    display: none;
    background: #ffffff;
    width: 200px;
    max-height: 600px;
    overflow-y: auto;
    z-index: 1000;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    line-height: 18px;
}
.filter-content input[type="checkbox"],
.filter-content label {
    display: inline-block;
    margin: 5px;
    white-space: nowrap;
}

#sort-by {
    font-family: Helvetica;
    font-size: 14px;
    border: none;
    outline: none;
    height: 30px;
    width: 134px;
    margin: 0;
    padding: 0;
}

/* CSS cho hiệu ứng loading spinner */
.spinner {
    border: 4px solid #f3f3f3; /* Màu nền của spinner */
    border-top: 4px solid #4a7d91; /* Màu xoay */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto 0; /* Căn giữa và hạ xuống dưới 20px */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

button#load-template-btn {
    display: none;
}
#template-container {
    display: block; /* Đảm bảo hiển thị */
    padding: 20px; /* Tùy chọn để làm nổi bật */
}
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #888;
}

.wrap-content {
    display: flex;
    flex-direction: column;
    margin: 0;
}
/* Nội dung chính bên phải */
.ajax-thumbnails-wrapper {
  flex: 1;
  min-width: 0; /* quan trọng để tránh vỡ layout */
}
.circle-title h3 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.thumbnail-item-wrapper:hover .overlay {
    display: block !important;
    opacity: 1 !important; /* Hiển thị lớp phủ khi di chuột */
}

.overlay {
    z-index: 5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Lớp phủ màu đen trong suốt */
    border-radius: 5px;
    display: none; /* Ẩn mặc định */
    transition: opacity 0.3s ease; /* Hiệu ứng mượt mà */
    pointer-events: none; /* Cho phép click qua overlay */
}

/* Điều chỉnh gallery dots */
.gallery-dots {
    display: none; /* Ẩn dấu chấm theo mặc định */
    justify-content: flex-start; /* Căn giữa các dấu chấm theo chiều ngang */
    align-items: center;
    position: absolute;
    bottom: 5px; /* Đặt vị trí của dấu chấm phía dưới ảnh */
    left: 0; /* Đảm bảo dấu chấm bắt đầu từ cạnh trái của imgWrap */
    width: 90%; /* Đặt chiều rộng của dấu chấm bằng chiều rộng của imgWrap */
    padding: 0 10px; /* Thêm một ít padding để tránh dots bị sát mép */
    overflow-x: auto; /* Cho phép cuộn ngang nếu có quá nhiều dots */
    white-space: nowrap; /* Đảm bảo các dots nằm trên cùng một hàng */
    z-index: 10;
}

/* Dấu chấm tròn */
.dot {
    width: 5px; /* Kích thước hợp lý cho dấu chấm */
    height: 5px;
    margin: 0 1px; /* Khoảng cách giữa các dấu chấm */
    background-color: #c6c6c6; /* Màu sắc mặc định */
    border-radius: 50%; /* Để tạo hình dạng tròn */
    display: inline-block; /* Hiển thị thành hàng ngang */
    cursor: pointer; /* Con trỏ chuột */
    flex-shrink: 0; /* Đảm bảo dấu chấm không co lại khi có quá nhiều dots */
}

.gallery-dots .dot.active {
    opacity: 1; /* Làm sáng dấu chấm tròn đang hoạt động */
    background-color: yellow; /* Có thể thay đổi màu sắc nếu cần */
}

/* Hiển thị dấu chấm khi hover vào thumbnail */
.thumbnail-item-wrapper:hover .gallery-dots {
    display: flex; /* Hiển thị dấu chấm khi hover vào ảnh thu nhỏ */
}

/* Ẩn nút add-to-cart mặc định */
.add-to-cart-thumbnail-container {
    position: absolute;
    top: 5px;
    right: 80px;
    color: white; /* Màu chữ */
    cursor: pointer; /* Con trỏ chuột */
    z-index: 10; /* Đảm bảo nút nằm trên lớp khác */
    display: none; /* Ẩn mặc định */
}

button.add-to-cart-btn {
    background-color: #ffffff;
    color: #181616;
    margin: 10px 10px;
    padding: 7px 8px;
    border-radius: 8px;
}

button.add-to-cart-btn:hover,
.slp-like-button:hover,
.sbp-bookmark-button:hover {
    background-color: #005177;
    color: white;
    transition: background-color 0.3s ease;
}

/* Ẩn nút Like và Bookmark mặc định */
.thumbnail-item-wrapper-author .like-button,
.thumbnail-item-wrapper-author .bookmark-button,
.thumbnail-item-wrapper .like-button,
.thumbnail-item-wrapper .bookmark-button {
    position: absolute;
    top: 5px; /* Khoảng cách từ phía trên */
    color: white; /* Màu chữ */
    cursor: pointer; /* Con trỏ chuột */
    z-index: 10; /* Đảm bảo nút nằm trên lớp khác */
    display: none; /* Ẩn mặc định */
}

/* Vị trí của nút Like và Bookmark */
.thumbnail-item-wrapper-author .like-button,
.thumbnail-item-wrapper .like-button {  
    left: 5px; /* Nằm bên trái */
}
.thumbnail-item-wrapper-author .bookmark-button,
.thumbnail-item-wrapper .bookmark-button {
    right: 5px; /* Nằm bên phải */
}

.thumbnail-item-wrapper:hover .add-to-cart-thumbnail-container,
.thumbnail-item-wrapper:hover .like-button,
.thumbnail-item-wrapper:hover .bookmark-button {
    display: block; /* Hiển thị nút khi hover */
}

.thumbnail-item-wrapper {
    position: relative; /* Để đảm bảo popup gắn vào vị trí của .thumbnail-item-wrapper */
}

/* Khối popup-info (toàn bộ popup) */
.popup-info {
    position: fixed; /* Đặt popup ở vị trí cố định */
    display: none; /* Mặc định ẩn, hiển thị khi cần */
    width: 600px; /* Đặt chiều rộng cố định */
    top: 10%; /* Vị trí từ trên xuống, bạn có thể điều chỉnh tùy ý */
    left: 50%; /* Vị trí giữa ngang màn hình */
    transform: translateX(-50%); /* Chỉ dịch chuyển ngang để căn giữa */
    background-color: white; /* Nền trắng */
    border: 1px solid #ddd; /* Đường viền nhẹ */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Bóng đổ cho toàn bộ popup */
    z-index: 9999; /* Đảm bảo popup luôn nằm trên các phần tử khác */
    padding: 10px; /* Tạo khoảng cách bên trong */
    border-radius: 3px; /* Bo tròn các góc */
    object-fit: contain;
}

/* Hình ảnh trong popup */
.popup-info img {
    display: block; /* Đặt ảnh là block để tránh khoảng cách dưới ảnh */
    margin: 0;
    padding: 0;
    width: 100%; /* Đặt ảnh có chiều rộng 100% của khối cha */
    height: auto; /* Giữ tỷ lệ ảnh */
    object-fit: contain; /* Đảm bảo ảnh luôn bao phủ khung hình */
}

/* Tiêu đề bên trong popup */
.popup-info h1 {
    font-size: 20px;
    margin: 0 0 10px 0; /* Khoảng cách dưới để cách biệt với nội dung bên dưới */
}

/* Khối additional-info và dimensions */
.additional-info,
.dimensions {
    margin-bottom: 10px; /* Khoảng cách giữa các khối bên trong */
    border-radius: 5px; /* Bo tròn các góc cho đẹp */
    box-shadow: none; /* Không có bóng đổ riêng cho các khối này */
}

/* Tùy chỉnh cho văn bản bên trong additional-info */
.popup-info .additional-info span,
.dimensions span {
    color: #4a7d91 !important; /* Màu văn bản */
    font-size: 14px !important;
    text-transform: capitalize; /* Viết hoa chữ cái đầu của văn bản */
}

/* Định dạng nút điều hướng */
.prev-button,
.next-button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0); /* Màu nền đen bán trong suốt */
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    display: none; /* Chỉ hiển thị khi hover */
    border-radius: 5px;
}

.thumbnail-item-wrapper:hover .prev-button,
.thumbnail-item-wrapper:hover .next-button {
    display: block; /* Hiển thị nút khi hover */
}

.prev-button {
    left: 5px; /* Vị trí bên trái */
}

.next-button {
    right: 5px; /* Vị trí bên phải */
}

.prev-button i,
.next-button i {
    font-size: 20px;
    color: #fff; /* Màu mũi tên */
    cursor: pointer;
}

@media screen and (max-width: 768px) {
  /* 1. Ẩn lớp phủ overlay */
  .thumbnail-item-wrapper:hover .overlay,
  .thumbnail-item-wrapper-related-posts:hover .overlay,
  .thumbnail-item-wrapper-author:hover .overlay {
    display: none !important;
    opacity: 0 !important;
  }

  /* 2. Ẩn nút điều hướng và gallery dots */
  .thumbnail-item-wrapper .prev-button,
  .thumbnail-item-wrapper .next-button,
  .thumbnail-item-wrapper .gallery-dots,
  .thumbnail-item-wrapper-related-posts .prev-button,
  .thumbnail-item-wrapper-related-posts .next-button,
  .thumbnail-item-wrapper-related-posts .gallery-dots,
  .thumbnail-item-wrapper-author .prev-button,
  .thumbnail-item-wrapper-author .next-button,
  .thumbnail-item-wrapper-author .gallery-dots {
    display: none !important;
  }

  /* 3. Ẩn các nút hành động khi hover */
  .thumbnail-item-wrapper:hover .add-to-cart-thumbnail-container,
  .thumbnail-item-wrapper:hover .like-button,
  .thumbnail-item-wrapper:hover .bookmark-button,
  .thumbnail-item-wrapper-related-posts:hover .add-to-cart-thumbnail-container,
  .thumbnail-item-wrapper-related-posts:hover .like-button,
  .thumbnail-item-wrapper-related-posts:hover .bookmark-button,
  .thumbnail-item-wrapper-author:hover .add-to-cart-thumbnail-container,
  .thumbnail-item-wrapper-author:hover .like-button,
  .thumbnail-item-wrapper-author:hover .bookmark-button {
    display: none !important;
  }
}



p.category-title-menu {
    padding-bottom: 5px;
    /*text-transform: uppercase;*/
}
.category-title-menu {
    background-image: url("https://3dbrute.com/wp-content/uploads/2024/10/arrow-down.png");
    background-size: 7px 4px;
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px; /* Tạo không gian cho hình ảnh bên phải */
    width: 120px;
    margin: 0;
}

.category-block label,
.category-block-author label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}
.filter-category1,
.filter-category2 {
    display: block; /* Đảm bảo mỗi mục (checkbox + label) nằm trên một dòng riêng */
}
.filter-category1 input[type="checkbox"],
.filter-category1 label
 {
    display: inline-block; /* Đặt checkbox và label trên cùng một dòng */
    margin-right: 1px; /* Tạo khoảng cách giữa checkbox và label */
    cursor: pointer;
}

/* Đặt kiểu cho label */
.filter-optional-standard label,
.filter-polygons label,
.filter-vertices label,
.filter-material label,
.filter-type label,
.filter-style label,
.filter-renders label,
.filter-formats label {
    cursor: pointer; /* Hiển thị bàn tay khi di chuột qua label */
}

.filter-category1 div {
    margin-bottom: 5px; /* Tạo khoảng cách giữa các mục (checkbox + label) */
    font-size: 14px;
}

h1.no-results {
    text-align: center;
    font-size: 20px;
    margin-top: 100px;
}

.small-count {
    color: #c3c3c3;
    font-size: 12px; /* Kích thước nhỏ */
    /* width: 35px; */ /* Chiều rộng cố định */
    display: inline-block; /* Đảm bảo inline-block để chiều rộng hoạt động */
    text-align: center; /* Căn phải */
    white-space: nowrap; /* Tránh xuống dòng */
    border-radius: 5px;
}

button.select-all-btn.active {
    background-color: #858585; /* Màu đỏ khi nút đang ở trạng thái Clear */
    color: #ffffff; /* Màu chữ khi nút đang ở trạng thái Clear */
}
button.select-all-btn {
    border: none;
    outline: none;
    background-color: #e9e9e9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #000000;
    text-transform: capitalize;
    height: 22px;
    margin: 0 5px 5px 0;
    display: inline-block;
    white-space: nowrap;
    width: 60px;
}
.clear-filters {
    background-color: rgb(59 121 127);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    text-transform: capitalize;
    height: 22px;
    margin: 0 5px 5px 0;
    display: inline-block;
    white-space: nowrap;
}

/* Định kiểu cho ô tìm kiếm và dấu "x" */
.search-container {
    position: relative;
    display: inline-block;
}

#filter-search {
    padding-right: 20px; /* Để chừa khoảng trống cho nút "x" */
}

.clear-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #999;
    display: none; /* Ẩn nút xóa khi không cần thiết */
}

.search-container input:focus + .clear-search,
#filter-search:not(:placeholder-shown) + .clear-search {
    display: inline; /* Hiển thị nút xóa khi có nội dung */
}

.filter-item {
    background-color: rgb(59 121 127);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    text-transform: capitalize;
    height: 22px;
    margin: 0 5px 5px 0;
    display: inline-block;
    white-space: nowrap;
}

.filter-item a.remove-filter {
    margin-left: 5px;
    color: #fff;
    cursor: pointer;
}

.filter-title {
    grid-column: 1 / -1; /* Đặt tiêu đề trên một dòng riêng */
    color: #4a7d91;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* ACF Colorchoice */
.filter-colorchoise {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 5 cột */
    gap: 10px; /* Khoảng cách giữa các ô */
    margin-bottom: 20px;
}

.colorChoise {
    position: relative;
    width: 25px;
    height: 25px;
}
/* Ẩn checkbox */
.colorChoise input[type="checkbox"] {
    display: none;
}

/* Lớp bao quanh cho viền đen */
.hex-wrapper {
    width: 26px; /* Điều chỉnh kích thước để tạo viền mỏng */
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(
        25% 6.7%,
        75% 6.7%,
        100% 50%,
        75% 93.3%,
        25% 93.3%,
        0% 50%
    );
    background-color: black; /* Tạo viền đen mỏng */
}

/* Lớp màu bên trong */
.colorCircle1 {
    width: 25px; /* Kích thước nhỏ hơn một chút để tạo viền mỏng */
    height: 25px;
    clip-path: polygon(
        25% 6.7%,
        75% 6.7%,
        100% 50%,
        75% 93.3%,
        25% 93.3%,
        0% 50%
    );

    transition: transform 0.2s ease;
    cursor: pointer;
}

.colorChoise
    input[type="checkbox"]:checked
    + .hex-wrapper
    .colorCircle1::after {
    content: "✔";
    position: absolute;
    color: #777070;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

/* Hiệu ứng khi hover */
.colorCircle1:hover {
    transform: scale(1.2);
}
.filter-optional-standard input[type="checkbox"],
.filter-polygons input[type="checkbox"],
.filter-vertices input[type="checkbox"],
.filter-category1 input[type="checkbox"],
.filter-category2 input[type="checkbox"],
.filter-type input[type="checkbox"],
.filter-style input[type="checkbox"],
.filter-material input[type="checkbox"],
.filter-renders input[type="checkbox"],
.filter-formats input[type="checkbox"] {
    margin-right: 5px; /* Khoảng cách giữa checkbox và văn bản */
    width: 20px; /* Kích thước ô vuông checkbox */
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ccc; /* Màu viền khi chưa chọn */
    appearance: none; /* Loại bỏ giao diện mặc định */
    background-color: white; /* Màu nền khi chưa chọn */
    position: relative;
    cursor: pointer;
}

/* Khi checkbox được chọn */
.filter-optional-standard input[type="checkbox"]:checked,
.filter-polygons input[type="checkbox"]:checked,
.filter-vertices input[type="checkbox"]:checked,
.filter-category1 input[type="checkbox"]:checked,
.filter-category2 input[type="checkbox"]:checked,
.filter-type input[type="checkbox"]:checked,
.filter-style input[type="checkbox"]:checked,
.filter-material input[type="checkbox"]:checked,
.filter-renders input[type="checkbox"]:checked,
.filter-formats input[type="checkbox"]:checked {
    background-color: rgb(59 121 127);
    border-color: #888; /* Màu viền khi được chọn */
}

/* Hiển thị dấu tích màu xám */
.filter-optional-standard input[type="checkbox"]:checked::after,
.filter-polygons input[type="checkbox"]:checked::after,
.filter-vertices input[type="checkbox"]:checked::after,
.filter-category1 input[type="checkbox"]:checked::after,
.filter-category2 input[type="checkbox"]:checked::after,
.filter-type input[type="checkbox"]:checked::after,
.filter-style input[type="checkbox"]:checked::after,
.filter-material input[type="checkbox"]:checked::after,
.filter-renders input[type="checkbox"]:checked::after,
.filter-formats input[type="checkbox"]:checked::after {
    content: "\2714"; /* Biểu tượng dấu tích */
    color: white;
    font-size: 14px;
    position: absolute;
    top: -1px;
    left: 3px;
}

.wp-pagenavi {
    width: auto;
    float: none;
    margin-top: 10px;
    margin-left: 22px;
    text-align: center;
}

@media (max-width: 700px) {
    .sidebar-filters,
    .sidebar-filters-author,
    .filter-placeholder-sidebar {
        display: none;
    }
}

.sidebar-filters {
    width: 215px;
    padding: 5px 15px;
    margin-right: 15px;
    margin-top: 5px;
    /* height: calc(100vh - 70px); */
    /*position: sticky;*/
    /*top: 70px; */
    /*overflow-y: auto;*/
    z-index: 0;
}

button.dropdown-button {
    border: none;
    color: blue;
    background-color: white;
}



.primary-menu-item.selected a,
.primary-menu-wrapper ul li ul li.selected a {
    color: #5b8ddf;
    background-color: white;
}

.primary-menu-item.selected a.selected,
.primary-menu-wrapper ul li ul li.selected a.parent-selected {
    background-color: #ceddf6;
    color: black;
}

.parent-selected {
    background-color: #aeccff;
    color: white;
}
.selected {
    background-color: #ceddf6;
    color: black;
}

#filter-category-container {
    width: 215px;
    position: relative;
}

.category-item .subcategory-list {
    display: none; /* Ẩn danh mục con theo mặc định */
    padding-left: 20px;
    font-size: 12px;
}

.category-link {
    font-weight: 500;
}
.category-link,
.subcategory-link {
    display: block;
    padding: 5px 5px;
    color: #333;
    text-decoration: none;
}

.category-link:hover,
.subcategory-link:hover {
    background-color: #e0e0e0;
}

/* Mũi tên chỉ thị mở rộng */
.category-item .arrow-right {
    float: right;
    width: 7px;
    height: 4px;
    margin-top: 5px;
}

.filters {
    /*display: flex; */
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

/* Thêm mũi tên vào các mục menu có danh mục con */
.category-menu li.menu-item-has-children > a {
    position: relative;
    padding-bottom: 5px; /* Khoảng trống cho mũi tên */
}

.category-menu li.menu-item-has-children > a:after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 4px;
    background-image: url("https://3dbrute.com/wp-content/uploads/2024/10/arrow-down.png");
    background-size: contain;
    background-repeat: no-repeat;
}
/* Bao bọc toàn bộ menu */
.primary-menu-wrapper {
    overflow: visible;
    clear: both;
    background-color: #fff;
    padding: 0;
    position: relative;
    z-index: 10;
}

/* Định dạng ul của menu chính */
.primary-menu-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    height: 25px;
}

/* Mỗi mục trong menu chính */
.primary-menu-wrapper ul li {
    position: relative;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

/* Các liên kết trong menu chính */
.primary-menu-wrapper ul li a {
    padding: 0px 5px;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    display: inline-block;
    text-transform: capitalize;
    white-space: nowrap;
}

/* Đổi màu khi di chuột vào menu chính */
.primary-menu-wrapper ul li a:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Danh sách menu con */
.primary-menu-wrapper ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 200px;
    background-color: #fff;
    list-style: none;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    z-index: 20;
}

/* Hiển thị menu con khi di chuột vào menu chính */
.primary-menu-wrapper ul li:hover > ul {
    display: block;
}

/* Mỗi mục trong menu con */
.primary-menu-wrapper ul li ul li {
    position: relative; /* Đảm bảo các menu con lồng nhau nằm chính xác */
}

/* Các liên kết trong menu con */
.primary-menu-wrapper ul li ul li a {
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    background-color: #fff;
    display: block;
    text-decoration: none;
    text-transform: capitalize;
}

/* Đổi màu khi di chuột vào menu con */
.primary-menu-wrapper ul li ul li a:hover {
    background-color: #f9f9f9;
    color: #333;
}

/* Thiết lập khoảng cách và viền cho mục con */
.primary-menu-wrapper ul li ul li + li {
    border-top: 1px solid #eee;
}

/* Menu con của menu con */
.primary-menu-wrapper ul li ul li ul {
    top: 0;
    left: 200px; /* Dịch sang phải 200px */
    display: none;
    position: absolute;
    width: 200px;
    padding: 10px 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    z-index: 30;
}

/* Hiển thị menu con của menu con khi di chuột vào */
.primary-menu-wrapper ul li ul li:hover > ul {
    display: block;
}

.thumbnail-title,
.thumbnail-meta .formats,
.thumbnail-meta .type,
.thumbnail-meta .an-display-view,
.thumbnail-meta .product-price {
    /*  background-color: #f0f0f0; */
    /* color: transparent;   Ẩn chữ ban đầu */
    height: 20px;
}
/* Khi tải xong nội dung, bỏ nền và hiển thị nội dung */
.loaded .thumbnail-title,
.loaded .thumbnail-meta .formats,
.loaded .thumbnail-meta .type,
.loaded .thumbnail-meta .an-display-view,
.loaded .thumbnail-meta .product-price {
    background-color: transparent;
    color: #4a7d91; /* Màu thực tế sau khi nội dung tải xong */
}

@media (min-width: 480px) {
    .thumbnail-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, 215px);
        gap: 10px;
        flex: 1;
        margin-left: auto;
        align-content: center;
        text-align: center;
        justify-content: space-evenly;
    }
}

@media (max-width: 480px) {
    .thumbnail-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, 170px);
        gap: 10px;
        flex: 1;
        margin-left: auto;
        align-content: center;
        text-align: center;
        justify-content: space-evenly;
    }
}

.content-and-sidebar,
.content-and-sidebar-author {
    display: flex;
    align-items: flex-start;
}

.thumbnail-item {
    text-align: center;
}
@media (min-width: 480px) {
    .thumbnail-img {
        width: 100%;
        height: 215px;
        border-radius: 10px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .thumbnail-img {
        width: 170px;
        height: 170px;
        object-fit: cover;
    }
}

.thumbnail-title {
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.2; /* Điều chỉnh chiều cao dòng để tránh cắt chữ */
    text-align: left;
    margin: 10px 0px 0px;
}

.thumbnail-meta {
    font-size: 12px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin: 5px 0px 10px;
    color: #4a7d91;
    text-transform: capitalize;
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
}
@media (max-width: 480px) {
    .thumbnail-placeholder {
        background-image: url("https://3dbrute.com/wp-content/uploads/2024/10/placeholder-300x300-2.jpg");
        background-size: cover;
        width: 170px;
        height: 170px;
        border-radius: 5px;
    }
}

@media (min-width: 480px) {
    .thumbnail-placeholder {
        background-image: url("https://3dbrute.com/wp-content/uploads/2024/10/placeholder-300x300-2.jpg");
        background-size: cover;
        width: 215px;
        height: 215px;
        border-radius: 5px;
    }
}

#articles,
#featured-articles {
    min-height: 70vh;
}

.an-display-view {
    color: #4a7d91;
}

div.type {
    float: right;
    margin: 0px;
    margin-left: 5px;
    color: #4a7d91;
    border-radius: 3px;
    text-align: center;
    width: 27px;
}

.wrap-fullwidth {
    min-height: 75vh;
    margin: 0;
}
.formats,
.product-price {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .size-controls {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .an-display-view,
    .filter-material {
        display: none;
    }
}

.circle-title h3 {
    display: none;
}

.an-display-view {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*
.thumbnail-img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards; 
}*/

/* Định nghĩa animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.author-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.avatar-column {
    margin-right: 20px; /* Khoảng cách giữa cột avatar và cột thông tin */
    display: flex;
    align-items: center; /* Căn giữa ảnh avatar theo chiều dọc */
}

.info-column {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Căn giữa tên tác giả và followers theo chiều dọc */
}
img.vgehoidshvsd {
    height: 45px;
    width: 45px;
    background: #ccc;
    border-radius: 50%;
}

.filter-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #4a7d91; /* màu quay */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 30px auto;
}

.sidebar-placeholder {
  width: 260px; /* đúng bằng .sidebar-filters */
  flex-shrink: 0;
  visibility: hidden;
  height: 1px; /* tránh chiếm chiều cao */
}

.thumbnail-grid,.thumbnail-grid-author, .main-content-wrapper {
  flex: 1;
  min-width: 0; /* 🔥 tránh tràn layout */
  min-height:80%;
}
button.share-btn {
    border: none;
	background-color: #ffffff;
  padding: 0; 
  margin: 0;
}
author-info {
    margin: 0;
    
}

@media (max-width: 899px) {
  .author-meta-20 {
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 10px 20px;
  }
}
@media (min-width: 900px) {
  .author-meta-20 {
      width: 720px;
      font-size: 14px;
      margin: 0 auto !important;
      background: none;
      border-top: 1px solid #ddd;
      padding: 5px;
      box-shadow: none;
      text-align: center;
  }
}
.filter-category2 div {
    margin-bottom: 5px;
    font-size: 12px;
}

.filter-category2 {
    display: block; /* Đảm bảo mỗi mục (checkbox + label) nằm trên một dòng riêng */
}

.filter-category2 input[type="checkbox"], .filter-category2 label {
    display: inline-block;
    margin-right: 1px;
    cursor: pointer;
}
 
.sidebar-filters-author {
    width: 215px;
    padding: 5px 15px;
    margin-right: 15px;
    margin-top: 5px;
    /*height: calc(100vh - 70px);*/
    position: sticky;
    top: 70px; /* Đặt top bằng chiều cao của header */
    overflow-y: auto;
    z-index: 0;
	text-align: left;
}

.category-title-menu-author {
    background-image: url("https://3dbrute.com/wp-content/uploads/2024/10/arrow-down.png");
    background-size: 7px 4px;
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px; /* Tạo không gian cho hình ảnh bên phải */
    margin: 0;
}
p.category-title-menu-author {
    padding-bottom: 5px;
    /*text-transform: uppercase;*/
}




/* Medium mặc định - 100% */
@media (min-width: 480px) {
    .thumbnail-grid-author.medium {
        grid-template-columns: repeat(auto-fill, 215px);
    }
    .thumbnail-grid-author.medium .thumbnail-placeholder-author,
    .thumbnail-grid-author.medium .thumbnail-img-author {
        width: 215px;
        height: 215px;
        border-radius: 10px;
    }
}

/* Large - 250px */
@media (min-width: 480px) {
    .thumbnail-grid-author.large {
        grid-template-columns: repeat(auto-fill, 250px);
    }
    .thumbnail-grid-author.large .thumbnail-placeholder-author,
    .thumbnail-grid-author.large .thumbnail-img-author {
        width: 250px;
        height: 250px;
        border-radius: 10px;
    }
}

/* Super - 360px */
@media (min-width: 480px) {
    .thumbnail-grid-author.super {
        grid-template-columns: repeat(auto-fill, 360px);
    }
    .thumbnail-grid-author.super .thumbnail-placeholder-author,
    .thumbnail-grid-author.super .thumbnail-img-author {
        width: 360px;
        height: 360px;
        border-radius: 10px;
    }
}

/* Small - 140px */
@media (min-width: 480px) {
    .thumbnail-grid-author.small {
        grid-template-columns: repeat(auto-fill, 140px); /* Giảm kích thước */
    }
    .thumbnail-grid-author.small .thumbnail-placeholder-author,
    .thumbnail-grid-author.small .thumbnail-img-author {
        width: 140px;
        height: 140px;
        border-radius: 5px;
    }

    .thumbnail-grid-author.small .an-display-view,
    .thumbnail-grid-author.small .type {
        display: none; /* Ẩn .an-display-view khi kích thước là Small */
    }
}

/* Rectangle - 300px */
@media (min-width: 480px) {
    .thumbnail-grid-author.rectangle {
        grid-template-columns: repeat(auto-fill, 300px);
    }
    .thumbnail-grid-author.rectangle .thumbnail-placeholder-author,
    .thumbnail-grid-author.rectangle .thumbnail-img-author {
        width: 300px;
        height: 215px;
        border-radius: 10px;
    }
}

/* Masonry - 270px */
@media (min-width: 480px) {
    .thumbnail-grid-author.masonry {
        column-width: 270px;
        column-gap: 10px;
        display: block;
        padding: 10px;
    }

    .thumbnail-grid-author.masonry .thumbnail-item-wrapper-author {
        display: inline-block;
        width: 100%;
        height: auto;
        break-inside: avoid; /* Giữ nguyên toàn bộ khối */
        margin-bottom: 10px;
    }

    .thumbnail-grid-author.masonry .thumbnail-placeholder-author,
    .thumbnail-grid-author.masonry .thumbnail-img-author {
        width: 100%;
        height: auto;
        break-inside: avoid;
        margin-bottom: 0;
        border-radius: 10px;
        background: #ffffff;
    }
    .thumbnail-grid-author.masonry .thumbnail-placeholder-author {
        position: relative;
    }
    .thumbnail-grid-author.masonry .thumbnail-content-author {
        width: 100%;
        text-align: center;
    }
}
/* Tiling  - 270px */
@media (min-width: 480px) {
    .thumbnail-grid-author.tiling {
        display: flex; /* Sắp xếp theo hàng ngang */
        flex-wrap: wrap; /* Cho phép tự xuống dòng */
        justify-content: flex-start; /* Canh trái */
        align-items: flex-start; /* Đảm bảo các hàng không bị đè lên nhau */
        gap: 10px; /* Giữ khoảng cách giữa các item */
    }

    .thumbnail-grid-author.tiling .thumbnail-item-wrapper-author {
        display: flex;
        flex-direction: column;
        height: auto; /* Đảm bảo chiều cao không bị giới hạn */
        flex-grow: 1;
        min-width: 200px;
        max-width: 300px;
        margin-bottom: 10px; /* Đảm bảo có khoảng cách đúng */
    }

    .thumbnail-grid-author.tiling .thumbnail-placeholder-author,
    .thumbnail-grid-author.tiling .thumbnail-img-author {
        width: 100%;
        height: 215px; /* Cố định chiều cao */
        object-fit: cover;
        border-radius: 10px;
        background: #ffffff;
    }

    .thumbnail-grid-author.tiling .thumbnail-content-author {
        width: 100%;
        text-align: center;
    }

    .thumbnail-grid-author.tiling .thumbnail-title-author {
        width: 100%; /* Để tiêu đề căn đều theo phần nội dung */
        max-width: 200px; /* Đảm bảo không quá dài */
    }
}

.thumbnail-item-wrapper-author:hover .add-to-cart-thumbnail-container,
.thumbnail-item-wrapper-author:hover .like-button,
.thumbnail-item-wrapper-author:hover .bookmark-button {
    display: block; /* Hiển thị nút khi hover */
}

.thumbnail-item-wrapper-author {
    position: relative; /* Để đảm bảo popup gắn vào vị trí của .thumbnail-item-wrapper */
}

.thumbnail-title-author,
.thumbnail-meta-author .formats,
.thumbnail-meta-author .type,
.thumbnail-meta-author .an-display-view,
.thumbnail-meta-author .product-price {
    /*  background-color: #f0f0f0; */
    /* color: transparent;   Ẩn chữ ban đầu */
    height: 20px;
}
/* Khi tải xong nội dung, bỏ nền và hiển thị nội dung */
.loaded .thumbnail-title-author,
.loaded .thumbnail-meta-author .formats,
.loaded .thumbnail-meta-author .type,
.loaded .thumbnail-meta-author .an-display-view,
.loaded .thumbnail-meta-author .product-price {
    background-color: transparent;
    color: #4a7d91; /* Màu thực tế sau khi nội dung tải xong */
}

@media (min-width: 480px) {
    .thumbnail-grid-author {
        display: grid;
        grid-template-columns: repeat(auto-fill, 215px);
        gap: 10px;
        flex: 1;
        margin-left: auto;
        align-content: center;
        text-align: center;
        justify-content: space-evenly;
    }
}

@media (max-width: 480px) {
    .thumbnail-grid-author {
        display: grid;
        grid-template-columns: repeat(auto-fill, 170px);
        gap: 10px;
        flex: 1;
        margin-left: auto;
        align-content: center;
        text-align: center;
        justify-content: space-evenly;
    }
}
.thumbnail-item-wrapper-author:hover .overlay {
    display: block !important;
    opacity: 1 !important; /* Hiển thị lớp phủ khi di chuột */
}

/* Hiển thị dấu chấm khi hover vào thumbnail */
.thumbnail-item-wrapper-author:hover .gallery-dots {
    display: flex; /* Hiển thị dấu chấm khi hover vào ảnh thu nhỏ */
}

.thumbnail-item-wrapper-author:hover .prev-button,
.thumbnail-item-wrapper-author:hover .next-button {
    display: block; /* Hiển thị nút khi hover */
}

.thumbnail-item-author {
    text-align: center;
}
@media (min-width: 480px) {
    .thumbnail-img-author {
        width: 215px;
        height: 215px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .thumbnail-img-author {
        width: 170px;
        height: 170px;
        object-fit: cover;
    }
}

.thumbnail-title-author {
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.2; /* Điều chỉnh chiều cao dòng để tránh cắt chữ */
    text-align: left;
    margin: 10px 0px 0px;
}

.thumbnail-meta-author {
    font-size: 12px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin: 5px 0px 10px;
    color: #4a7d91;
    text-transform: capitalize;
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
}
@media (max-width: 480px) {
    .thumbnail-placeholder-author {
        background-image: url("https://3dbrute.com/wp-content/uploads/2024/10/placeholder-300x300-2.jpg");
        background-size: cover;
        width: 170px;
        height: 170px;
        border-radius: 5px;
    }
}

@media (min-width: 480px) {
    .thumbnail-placeholder-author {
        background-image: url("https://3dbrute.com/wp-content/uploads/2024/10/placeholder-300x300-2.jpg");
        background-size: cover;
        width: 215px;
        height: 215px;
        border-radius: 5px;
    }
}
 
/* Ẩn nút Like và Bookmark mặc định */
.thumbnail-item-wrapper-author .like-button,
.thumbnail-item-wrapper-author .bookmark-button {
    position: absolute;
    top: 5px; /* Khoảng cách từ phía trên */
    color: white; /* Màu chữ */
    cursor: pointer; /* Con trỏ chuột */
    z-index: 10; /* Đảm bảo nút nằm trên lớp khác */
    display: none; /* Ẩn mặc định */
} 

.slider li {
  display: none;
}
.slider li:first-child {
  display: block;
}
.wrap-fullwidth-author {
    padding: 10px 16px;
}
.filter-content div {
  display: flex;
  align-items: center;
}
