/* ============================ 
PAGE PRODUCT
===============================*/
/* PAGE PRODUCT >>> GLOBAL */

.tax-jual #main, 
.tax-sewa #main, 
.shop-page-title{
	background: #f8f8f8!important; 
}

.shop-page-title {
    padding-top: 25px;
    padding-bottom: 20px;
}

/* badge sale position */
.product .badge-container {
    margin: 0;
    bottom: 100px;
    top: unset;
}
.product-small .badge-container {
    margin: 0;
    top: 50px;
    right: 0;
    left: unset;
}
  
/* Centering no products text */
.woocommerce-no-products-found {
    text-align: center;
}

/* Breadcrumbs */
ul.custom-breadcrumbs {
    list-style: none;
    gap: 10px;
    text-transform: uppercase;
    display: flex;
    margin-bottom: 0;
    flex-wrap: wrap;
    font-size: 13px;
}
ul.custom-breadcrumbs li {
    margin-bottom: 0;
}

ul.custom-breadcrumbs li p {
    color: var(--primary);
    margin-bottom: 0;
}

/* CATEGORY PRODUCT >>> BANNER
====================================== */
section.woo-category-banner {
    border-bottom: 6px solid var(--primary);
    min-height: 323px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

section.woo-category-banner>div {
    --top-bar-height: 30px;
    --header-height: 90px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 323px;
    padding-top: calc(var(--top-bar-height) + var(--header-height));
}

section.woo-category-banner>div p {
    margin-bottom: 10px;
}

section.woo-category-banner>div a {
    font-size: 14px;
    padding: 7px 18px;
}

/* CATEGORY PRODUCT >>> AFTER BANNER
====================================== */
/* CATEGORY PRODUCT >>> SEARCH */
.shop-page-title .flex-col:nth-child(1) {
    flex: 2;
}

.shop-page-title .flex-col:nth-child(2) {
    flex: 1;
}

.shop-page-title .flex-col:nth-child(2) .searchbar {
    position: relative;
}

.shop-page-title .flex-col:nth-child(2) .searchbar input {
    border-radius: 10px;
    border: 1px solid var(--black);
    background-color: var(--gray);
    padding-right: 35px;
    height: 30px;
}

.shop-page-title .flex-col:nth-child(2) .searchbar button {
    background-color: transparent;
    position: absolute;
    right: 0;
    margin: 0;
    padding: 0;
    width: 30px !important;
    min-height: 30px;
    line-height: 20px;
}

.shop-page-title .flex-col:nth-child(2) .searchbar i {
    position: absolute;
    right: 5px;
    top: 5px;
}

/* CATEGORY PRODUCT >>> PRODUCT LIST
====================================== */
/* CATEGORY PRODUCT >>> SIDEBAR */
#shop-sidebar{
	background: var(--white);
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
	border-radius: 10px;
}

#shop-sidebar ul {
    list-style: none;
    margin-inline: 20px;
}

#shop-sidebar ul li {
    padding-block: 20px;
    margin: 0;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
}

#shop-sidebar ul li.active {
    padding-left: 30px;
    position: relative;
}

#shop-sidebar ul li.active:before {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-image: url("/wp-content/themes/flatsome-child/assets/img/chevron-right.svg");
    background-size: 100%;
    width: 20px;
    height: 20px;
    left: 0;
    top: calc(50% - 10px)
}


#shop-sidebar ul li.active a {
    color: var(--primary);
    font-weight: 600;
}

.category-page-row>.col:has(#shop-sidebar) {
    padding-right: 50px;
}

/* CATEGORY PRODUCT >>> PRODUCT FILTER */
#filter-brand a{
	background: var(--white);
	border-radius: 10px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;

}
.head-category {
    width: max-content;
    font-size: 30px;
    font-weight: 600;
    line-height: 55px;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(0deg, #2C2C2C, #CAAB5F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-filter {
    margin: 0;
}

.brand-filter .swiper-slide > div {
    aspect-ratio: 2.5;
    border: 2px solid transparent;
    border-radius: 10px;
    margin-bottom: 0;
}

.brand-filter .swiper-slide > div.active {
    border: 2px solid var(--primary);
}

.brand-filter .swiper-slide > div a {
    display: flex;
    height: 100%;
    width: 100%;
    text-align: center;
}

.brand-filter .swiper-slide > div a span {
    margin: auto;
}

.brand-filter .swiper-slide > div a img {
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
}

/* CATEGORY PRODUCT >>> PRODUCT BOX */
.product-small .col-inner {
	background: var(--white);
	border-radius: 10px;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.product-small:hover {
    transform: translateY(-.0625rem);
}

.product-small .box-image img{
    border-radius: 13px;
}
.product-small.box .box-text.box-text-products .title-wrapper .category {
    font-size: 12px;
}

.product-small.box .box-text.box-text-products .title-wrapper .product-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: unset;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: wrap;
    height: 40px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-small.box .box-text.box-text-products .title-wrapper .custom-button {
    letter-spacing: 0.2em;
}

/*PAGINATION product */ 
.nav-pagination>li>.current {
    background-color: var(--primary)!important;
    border-color: var(--primary);
    color: var(--white)!important;
} 
.nav-pagination>li>.current:hover {
    color: var(--white)!important;
} 
.nav-pagination>li>a:hover, 
.nav-pagination>li>span:hover {
    background-color: var(--fs-color-primary);
    border-color: var(--fs-color-primary);
    color: var(--black)!important;
    border: 1px solid var(--primary) !important;
}

.woocommerce-pagination .nav-pagination>li>a,
.nav-pagination>li>span {
    border: 1px solid #f0f0f0;
    border-radius: 5px!important;
    background: #f0f0f0;
}

/* SINGLE PRODUCT
====================================== */
/* SINGLE PRODUCT >>> SEARCH */
.single.single-product .product-container .product-main>.row:has(.custom-breadcrumbs) .col:nth-child(2) .searchbar {
    position: relative;
}

.single.single-product .product-container .product-main>.row:has(.custom-breadcrumbs) .col:nth-child(2) .searchbar input {
    border-radius: 10px;
    border: 1px solid var(--black);
    background-color: var(--gray);
    padding-right: 35px;
    height: 30px;
}

.single.single-product .product-container .product-main>.row:has(.custom-breadcrumbs) .col:nth-child(2) .searchbar button {
    background-color: transparent;
    position: absolute;
    right: 0;
    margin: 0;
    padding: 0;
    width: 30px !important;
    min-height: 30px;
    line-height: 20px;
}

.single.single-product .product-container .product-main>.row:has(.custom-breadcrumbs) .col:nth-child(2) .searchbar img {
    position: absolute;
    right: 5px;
    top: 5px;
}

/* SINGLE PRODUCT >>> SUMMARY */
.single.single-product .product-info.summary nav.woocommerce-breadcrumb {
    display: none;
}

.single.single-product .product-info.summary .is-divider {
    max-width: unset;
    background-color: var(--black);
    height: 1px;
}

.single.single-product .product-info.summary .next-prev-thumbs {
    display: none;
}

.single.single-product .product-info.summary .description .text-head {
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 10px
}

.single.single-product .product-info.summary .description p{
    font-size: 16px;
}

.single.single-product .product-info.summary .key-features {
    list-style: none;
    margin-bottom: 35px;
}

.single.single-product .product-info.summary .key-features p {
    font-size: 18px;
    position: relative;
    margin-left: 0;
    padding-left: 40px;
    margin-bottom: 5px;
}

.single.single-product .product-info.summary .key-features p:before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    background-image: url('/wp-content/themes/flatsome-child/assets/img/product/check.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    width: 24px;
    height: 24px;
}

/* Bullet Point Product Single */
.single.single-product .product-info.summary .key-features.show-more ul li {
    margin-left: 1.3em;
    font-weight: 300 !important;
    font-family: 'Roboto';
    line-height: 20px;
}
  
/* hide variation single product */
.single.single-product .variations tr:has(label[for=pa_jual_sewa]) {
    display: none;
}

.product-info.summary .variations_form.cart .single_variation_wrap {
    font-size: 14px;
}

.product-info.summary .variations_form.cart .single_variation_wrap .woocommerce-variation-price {
    display: none !important;
}

.product-info.summary .variations select {
    border-radius: 10px;
    border: 1px solid var(--black);
    text-transform: capitalize;
}

.product-info.summary .variations a.reset_variations {
    display: none !important;
}

.product-summary table tr+tr {
    border: none;
}

.product-info.summary .variations tbody {
    display: flex;
    column-gap: 20px;
    flex-wrap: wrap;
}

.product-info.summary .variations tbody tr td select {
    min-width: 150px;
    font-size: 16px;
    margin: 0 0 5px 0;
}

.single.single-product .katalog-col .katalog-masa {
    display: block;
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
    font-size: 14px;
    width: fit-content;
}

.single.single-product .katalog-col .katalog-masa:before {
    content: "";
    position: absolute;
    background-image: url('/wp-content/themes/flatsome-child/assets/img/product/download.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    left: 0;
    width: 20px;
    height: 20px;
}

.single.single-product .katalog-col .beli-produk:hover {
    -webkit-animation: jello-horizontal 0.6s both;
	        animation: jello-horizontal 0.6s both;
}

.single.single-product .katalog-col .beli-produk span {
    padding-left: 25px;
}

.single.single-product .katalog-col .beli-produk .wa-icon {
    position: relative;
}

.single.single-product .katalog-col .beli-produk .wa-icon:before {
    content: "";
    position: absolute;
    background-image: url("/wp-content/themes/flatsome-child/assets/img/product/wa-white.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
}

/* .wrap-accordion .show-more {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.show-more:not(.active) .show-more-gradient {
    position: absolute;
    width: 100%;
    height: 45%;
    bottom: 0;
    background: linear-gradient(to top, #fff, transparent);
} */
.wrap-accordion .key-features {
    display: none;
}

/* marketplace toggle */
.single.single-product .btn-accordion-marketplace span.icon-rotate{
    transform: rotate(180deg);
}

.single.single-product .wrap-marketplace {
	display: none;
}
.single.single-product .custom-button {
    display: inline-block;
    padding-inline: 8px!important;
    padding-block: 5px;
}
.single.single-product tr:has(#pa_jual-sewa){
	display: none;
}
.single.single-product .katalog-col > .marketplace-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single.single-product .katalog-col > .marketplace-group > a {
    font-size: 12px;
    padding: 7px 18px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.single.single-product .katalog-col > .marketplace-group > a img {
    margin-right: 2px;
}

.single.single-product .dashicons, 
.single.single-product .dashicons-before:before {
    line-height: 1.3;
}

/* SINGLE PRODUCT >>> BAGIAN KIRI SUMMARY */
.single.single-product .product-gallery {
    padding-bottom: 30px !important;
}

.single.single-product .product-gallery img {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
}

/* Gallery Image 1:1 cover */
.gallery-col .box-image img {
    object-fit: cover;
    aspect-ratio: 1;
}

/* Badge */
.single.single-product .product-gallery .badge-container .badge-square {
    height: 35px;
}

.single.single-product .product-gallery .badge-container .badge-square .badge-inner {
    border-radius: 5px;
    background-color: #FFE0E0;
    color: #FA3939;
    font-size: 16px;
    height: 20px;
}

.single.single-product .product-gallery figure+.image-tools a {
    border: none;
}

.single.single-product .product-gallery figure+.image-tools a i {
    top: 1px;
}

.single.single-product .product-gallery figure+.image-tools a:hover {
    background-color: var(--primary);
}

/* Share */
.single.single-product .share-col .share {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.single.single-product .share-col .share p {
    font-size: 18px;
    margin-right: 10px;
}

.single.single-product .share-col .share .ig,
.single.single-product .share-col .share .fb,
.single.single-product .share-col .share .wa {
    position: relative;
    width: 20px;
    height: 20px;
}

.single.single-product .share-col .share .ig .ig-icon:before,
.single.single-product .share-col .share .fb .fb-icon:before,
.single.single-product .share-col .share .wa .wa-icon:before {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    width: 20px;
    height: 20px;
    left: 0;
}

.single.single-product .share-col .share .ig .ig-icon:before {
    background-image: url('/wp-content/themes/flatsome-child/assets/img/product/instagram.svg');
}

.single.single-product .share-col .share .fb .fb-icon:before {
    background-image: url('/wp-content/themes/flatsome-child/assets/img/product/facebook.svg');
}

.single.single-product .share-col .share .wa .wa-icon:before {
    background-image: url('/wp-content/themes/flatsome-child/assets/img/product/wa.svg');
}

/* Location Button */
.single.single-product .share-col .lokasi {
    font-size: 12px;
    padding-block: 7px;
    letter-spacing: 0.2em;
}

.single.single-product .share-col .lokasi span {
    padding-left: 25px;
}

.single.single-product .share-col .lokasi-icon {
    position: relative;
}

.single.single-product .share-col .lokasi-icon:before {
    content: "";
    position: absolute;
    background-image: url('/wp-content/themes/flatsome-child/assets/img/product/map-pin.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;

}

/* SINGLE PRODUCT >>> FEATURED PRODUCT */
.single.single-product .related.related-products-wrapper {
    border: none;
}

.single.single-product .related.related-products-wrapper .product-section-title {
    text-align: center;
    font-size: 40px;
    text-transform: capitalize;
    margin-top: 80px;

    background: -webkit-linear-gradient(0deg, #2C2C2C, #CAAB5F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SEARCH PRODUCT
====================================== */
.archive.search .products:has(.no-products-found) {
    margin-block: 40px;    
}

@media only screen and (max-width: 428px) {
    section.woo-category-banner h1,
    section.woo-category-banner p {
        font-size: 30px;
    }

    section.woo-category-banner>div a {
        font-size: 10px;
    }

    .single.single-product .katalog-col {
        padding-bottom: 0;
    }
    
    .single.single-product .product-container .product-main .product-section-title {
        font-size: 24px;
    }

    /* SINGLE PRODUCT >>> Embed youtube */
    .single.single-product iframe {
        height: auto!important;
    }
}

/* animation ======= */
@-webkit-keyframes jello-horizontal {
    0% {
      -webkit-transform: scale3d(1, 1, 1);
              transform: scale3d(1, 1, 1);
    }
    30% {
      -webkit-transform: scale3d(1.1, 0.99, 1);
              transform: scale3d(1.1, 0.99, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
                transform: scale3d(1, 1, 1);
    }
}

@keyframes jello-horizontal{
    0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
    }
    30% {
    -webkit-transform: scale3d(1.1, 0.99, 1);
            transform: scale3d(1.1, 0.99, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
                transform: scale3d(1, 1, 1);
    }
}