#page {
    background-color: #FFF;
}

.site-content .ast-container {
    display: block;
}

.category-page {
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #172B4D;
}

.category-page a {
    color: inherit;
    text-decoration: none;
}

.loading-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.post-views.entry-meta>span {
    font-weight: 400;
    color: #6B778C;
    line-height: 1;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.shrink-0 {
    flex-shrink: 0;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-medium {
    font-family: Inter Medium, Arial, sans-serif;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rounded-full {
    border-radius: 50%;
}

.w-12 {
    width: 48px;
}

.h-12 {
    height: 48px;
}

.border-b-2 {
    border-bottom: 2px solid #0080FF;
}

/* region sidebar */
.category-wrapper {
    gap: 24px;
    padding: 40px 0;
}

.category-sidebar {
    width: 310px;
    height: fit-content;
}

.sidebar-block {
    margin-bottom: 24px;
}

.category-nav {
    background-color: #F6F8FF;
    padding: 16px 6px 16px 16px;
    border-radius: 8px;
}

.sidebar-submenu {
    display: none;
}

.sidebar-title {
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 20px;
    margin-bottom: 12px;
}

.sidebar-item-header {
    gap: 4px;
}

.sidebar-item-label {
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 14px;
    padding: 10px 16px;
    margin-bottom: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    width: 100%;
}

.sidebar-submenu .sidebar-item-label {
    font-family: Inter, Arial, sans-serif;
}

.sidebar-item-label:hover,
.sidebar-item-label.active {
    background-color: #FFF;
    color: #0080FF;
    border: 1px solid #0080FF;
    border-radius: 8px;
}

.sidebar-item-icon {
    padding: 10px 6px 10px 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.sidebar-item-icon .rotate {
    transform: rotate(180deg);
}

.sidebar-content {
    max-height: 665px;
    overflow-y: auto;
}

/* Custom scroll bar */
.sidebar-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: #DDE0ED;
    border-radius: 16px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: #8B92B0;
    border-radius: 16px;
    border: 1px solid #DDE0ED;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

.sidebar-content::-webkit-scrollbar-corner {
    background: #DDE0ED;
}

/* Firefox scrollbar */
.sidebar-content {
    scrollbar-width: thin;
    scrollbar-color: #8B92B0 #DDE0ED;
}

@media (max-width: 979px) {
    .category-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {

    /* Webkit browsers (Chrome, Safari, Edge) */
    .sidebar-content::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    /* Firefox */
    .sidebar-content {
        scrollbar-width: none;
    }
}

/* endregion sidebar */

/* region content */
.category-content {
    position: relative;
    padding-bottom: 45px;
}

.content-header {
    gap: 16px;
    margin-bottom: 32px;
}

.header-title {
    font-family: Inter SemiBold, Arial, Helvetica, sans-serif;
    font-size: 28px;
    color: #0080FF;
}

input.search-input,
input.search-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: #7A869A;
    padding: 0;
    height: 24px;
}

.header-search {
    max-width: 276px;
    gap: 8px;
    border: 1px solid #0080FF;
    padding: 6px 16px 6px 8px;
    border-radius: 6px;
}

.category-item {
    gap: 30px;
    background-color: #FFF;
    margin-bottom: 30px;
}

.category-item-img {
    width: 170px;
    height: fit-content;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
    overflow: hidden;
}

.category-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item-title {
    font-family: Inter Bold, Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
}

.category-item-excerpt {
    color: #586074;
    margin-bottom: 8px;
}

.category-item-infos {
    gap: 16px;
    color: #6B778C;
}

.category-item-info {
    gap: 8px;
}

.category-item-info span {
    gap: 4px;
}

.category-item-dot {
    width: 4px;
    height: 4px;
    background-color: #6B778C;
    border-radius: 50%;
}

.category-item-price {
    background-color: #DCFCE7;
    color: #16A34A;
    padding: 5px 12px;
    border-radius: 50px;
    width: fit-content;
    margin-top: 12px;
}

.category-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    gap: 16px;
}

@media (max-width: 1099px) {
    .header-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .category-content {
        padding-bottom: 60px;
    }

    .content-header {
        flex-direction: column;
        gap: 8px;
    }

    .category-item {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .category-item-img {
        width: 100%;
    }

    .category-item-title {
        font-size: 16px;
    }

    .category-bottom {
        flex-direction: column;
    }
}

/* endregion content */

/*#region Pagination */
.pagination-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-item,
.pagination-nav {
    width: 40px;
    height: 40px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-nav {
    opacity: 0.5;
}

.pagination-nav.active {
    opacity: 1;
    cursor: pointer;
}

.pagination-nav img {
    width: 24px;
    height: 24px;
}

.pagination-item {
    color: #172B4D;
}

.pagination-item.active {
    background-color: #0065FF;
    color: #fff;
}

.pagination-number {
    cursor: pointer;
}

@media (max-width: 767px) {
    .pagination-wrap {
        gap: 4px;
    }

    .pagination-item,
    .pagination-nav {
        width: 36px;
        height: 36px;
    }
}

/*#endregion Pagination */