
/*----------------------category------------------*/
.category {
    float: left;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.category-top {
    width: 100%;
    position: relative;
	display: flex;
}
.category-info {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.category-description {
    max-width: 40%;
    padding: 0 var(--padding);
	display: flex;
	position: relative;
    text-align: center;
}
.category-description {
	font-weight: 400;
    font-size: 36px;
    color: #FFF;
    text-transform: uppercase;
}
.category-top_emptybg .category-description {
    color: #333;
}

.category-gallery {
    --width: 100vw;
    width: var(--width);
    height: 0;
    padding-bottom: 30%;
    position: relative;
}
.category-gallery-big {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--width) * 0.2);
    height: 100%;
    display: flex;
}
.category-gallery-box {
    position: absolute;
    width: calc(var(--width) * 0.8);
    height: 100%;
    top: 0;
    left: 20vw;
}
.category-gallery-item {
    float: left;
    height: 50%;
    position: relative;
    display: flex;
}
.category-gallery-big .category-gallery-item {
    width: 100%;
    height: 100%;
}
.category-gallery-box .category-gallery-item:nth-child(1) {
    width: calc(var(--width) * 0.25);
}
.category-gallery-box .category-gallery-item:nth-child(2) {
    width: calc(var(--width) * 0.2);
}
.category-gallery-box .category-gallery-item:nth-child(3) {
    width: calc(var(--width) * 0.15);
}
.category-gallery-box .category-gallery-item:nth-child(4) {
    width: calc(var(--width) * 0.2);
}
.category-gallery-box .category-gallery-item:nth-child(5) {
    width: calc(var(--width) * 0.25);
}
.category-gallery-box .category-gallery-item:nth-child(6) {
    width: calc(var(--width) * 0.15);
}
.category-gallery-box .category-gallery-item:nth-child(7) {
    width: calc(var(--width) * 0.15);
}
.category-gallery-box .category-gallery-item:nth-child(8) {
    width: calc(var(--width) * 0.125);
}
.category-gallery-box .category-gallery-item:nth-child(9) {
    width: calc(var(--width) * 0.125);
}

.category-gallery-item-image {
    width: 100%;
    height: 100%;
    display: flex;
}
.category-gallery-item-image picture {
    width: 100%;
    height: 100%;
}
.category-gallery-item-image picture img {
    left: unset;
    top: unset;
    position: relative;
    -o-object-fit: cover;
    object-fit: cover;
}
.category-gallery-item-info {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-gallery-item-info h2 {
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    text-wrap: nowrap;
}
.category-gallery-item-info span {
    font-size: 13px;
    font-weight: 300;
    text-wrap: nowrap;
    text-decoration: underline;
}
.category-gallery-item:hover img {
    transform: scale(1.2);
}

@media only screen and (max-width: 1200px) {
    .category-gallery-item-info h2 {
        font-size: 16px;
    }
    .category-gallery-item-info span {
        font-size: 12px;
    }
}
@media only screen and (max-width: 1024px) {
    .category-gallery-item-info h2 {
        font-size: 14px;
    }
    .category-gallery-item-info span {
        font-size: 10px;
    }
}
@media only screen and (max-width: 830px) {
    .category-gallery-item-info h2 {
        font-size: 12px;
    }
    .category-gallery-item-info span {
        font-size: 10px;
    }
}
@media only screen and (max-width: 768px) {
    .category-gallery {
        padding-bottom: 60%;
        overflow-x: scroll;
    }
    .category-gallery-big {
        width: calc(var(--width) * 0.4);
        height: 100%;
    }
    .category-gallery-box {
        width: calc(var(--width) * 1.6);
        left: 40vw;
    }
    .category-gallery-box .category-gallery-item:nth-child(1) {
        width: calc(var(--width) * 0.5);
    }
    .category-gallery-box .category-gallery-item:nth-child(2) {
        width: calc(var(--width) * 0.4);
    }
    .category-gallery-box .category-gallery-item:nth-child(3) {
        width: calc(var(--width) * 0.3);
    }
    .category-gallery-box .category-gallery-item:nth-child(4) {
        width: calc(var(--width) * 0.4);
    }
    .category-gallery-box .category-gallery-item:nth-child(5) {
        width: calc(var(--width) * 0.5);
    }
    .category-gallery-box .category-gallery-item:nth-child(6) {
        width: calc(var(--width) * 0.3);
    }
    .category-gallery-box .category-gallery-item:nth-child(7) {
        width: calc(var(--width) * 0.3);
    }
    .category-gallery-box .category-gallery-item:nth-child(8) {
        width: calc(var(--width) * 0.25);
    }
    .category-gallery-box .category-gallery-item:nth-child(9) {
        width: calc(var(--width) * 0.25);
    }
    
}


.category-middle {
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
}
.category-middle-main {
    display: flex;
    flex-direction: column;
}

#category_tab {
    height: 60px;
}
.category-tab {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-tab-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.category-tab-name {
    height: 50px;
    transform: translateY(50%);
    position: relative;
    z-index: 2;
    display: flex;
}
.category-tab-name span {
    position: relative;
    z-index: 2;
    font-size: var(--sectionh2Size);
    font-weight: 300;
    padding: 0.8vw 1vw;
    background: #444;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-tab-name::after {
    content: "";
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    position: absolute;
    z-index: 1;
    left: -4px;
    top: -4px;
    background: #eee;
}
.category-tab-box {
    width: 100%;
    padding: 40px 20px 40px 20px;
    border: #444 1px solid;
    border-top-width: 3px;
    overflow: hidden;
    position: relative;
    display: flex;
}
.category-tab-box::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    cursor: pointer
}
.category-tab-box::-webkit-scrollbar-track {
    background:#EEE;
    -webkit-border-radius: 4px; 
    -moz-border-radius: 4px; 
    border-radius: 4px; 
}
.category-tab-box::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px; 
    -moz-border-radius: 4px; 
    border-radius: 4px; 
    background: #444;
}
.category-tab-box-scroll {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.category-tab-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.category-tab-item-heading {
    padding: 10px 0 5px 0;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-tab-item-heading::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--themeColor);
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: all 300ms;
}
.category-tab-item:hover .category-tab-item-heading {
    color: var(--themeColor);
}
#category-tab-item-heading {
    color: var(--themeColor);
}
#category-tab-item-heading::after, .category-tab-item:hover .category-tab-item-heading::after {
    width: 50%;
}
.category-tab-item-icon {
    width: 14px;
    height: 14px;
    background: #000;
    transform: translateY(3px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-tab-item-icon::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: #fff 1px solid;
    border-bottom: #fff 1px solid;
    transform: rotate(45deg);
    transition: all 300ms;
}
.category-tab-item:hover .category-tab-item-icon {
    background: var(--themeColor);
}
.category-tab-item:hover .category-tab-item-icon::after {
    transform: rotate(-135deg);
}

.category-tab-item-box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.category-tab-item:hover .category-tab-item-box {
    display: flex;
}
.category-tab-item-box-a {
    color: #333;
}
.category-tab-item-box-a:hover {
    color: var(--themeColor);
}
@media only screen and (max-width: 1024px) {
    .category-tab-box {
        overflow: unset;
        overflow-x: scroll;
        padding: 40px 20px 20px 20px;
    }
    .category-tab-box-scroll {
        transition-property: transform;
        box-sizing: content-box;
        justify-content: unset;
    }
    .category-tab-item {
        flex-shrink: 0;
        background: #EEE;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .category-tab-item-heading {
        padding: 0;
        justify-content: flex-start;
        font-weight: 600;
    }
    .category-tab-name span {
        padding: 0.8vw 3vw;
    }

    .category-tab-item-icon {
        display: none;
    }
    .category-tab-item-box {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
        position: relative;
        bottom: unset;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.category_list {
    margin-top: 30px;
    width: 100%;
}
.list-ul {
	float: left;
	width: 100%;
	display: grid;
    grid-template-columns: repeat(auto-fill, calc(25% - 30px));
    gap: 40px;
}
.list-li {
	position: relative;
    background: #FFF;
    display: flex;
    flex-direction: column;
}
.list-top {
	width: 100%;
    height: 0;
    overflow: hidden;
    position: relative;
}
.list-img:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    inset: 0;
    /* background: rgb(0 0 0 / 5%); */
    z-index: 2
}
.list-img {
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.list-img-box {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	overflow: hidden;
}
.list-img-1 {
	float: left;
    width: 100%;
    height: 100%;
    position: relative;
    background: #e7e7e9;
    overflow: hidden;
}
.list-img picture:after {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    animation: skeleton-translate 1s infinite;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}
.list-img-2 {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s; 
}
.list-img-1 img, .list-img-2 img {
	position: absolute;
    z-index: 2;
    width: 100%;
    left: 0;
    top: 0;
    background: inherit;
}
/* Min iPad Air Width */
@media only screen and (min-width: 821px) {
    .list-top:hover .list-img-2 {
        opacity: 1;
        transform: scale(1);
    }
}

.list-info {
    position: relative;
    background: #fafafa;
	width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.list-title {
    font-weight: 300;
    font-size: 15px;
    max-height: 40px;
    line-height: 20px;
    text-align: center;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.list-view {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    background: #fff;
    color: var(--themeColor);
    border: #999 1px solid;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-li:hover .list-view {
    border-color: var(--themeColor);
    box-shadow: 0 0 4px 4px rgb(43 167 188 / 49%);
}
@media only screen and (max-width: 1024px) {
    .list-ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}
@media only screen and (max-width: 600px) {
    .list-ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
    .list-info {
        padding: 10px;
    }
}