.glozin-single-product-builder--empty {
    padding-top: 100px;
    padding-bottom: 100px;
    max-width: 750px;
    margin-inline: auto;
    text-align: center;

    a {
        text-decoration: underline;
    }
}

.glozin-woocommerce-elementor {
    .site-content {
        padding-top: 0;
        padding-bottom: 0;
    }

    .product-navigation__tooltip {
        top: 100%;
        width: 280/16*1rem;
    }

    .product-navigation__button-next {
        &:hover {
            ~ .product-navigation__tooltip-next {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transform: translateY(0);
            }
        }
    }

    .product-navigation__button-prev {
        &:hover {
            ~ .product-navigation__tooltip-prev {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transform: translateY(0);
            }
        }
    }

    .product-navigation__tooltip-next,
    .product-navigation__tooltip-prev {
        box-shadow: 5px 0px 30px 0px rgba(0, 0, 0, 0.08);
        transform: translateY(15px);
        transition: .3s;

        .product-navigation__tooltip-image {
            width: 50px;
        }

        &:hover {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(0);
        }
    }

    .product-navigation__tooltip-image img{
        border-radius: var(--gz-rounded-product-image-sm);
    }

    .glozin-product-zoom-wrapper {
        display: none;
        position: sticky;
        top: 3rem;
        inset-inline-start: 0;
        z-index: 4;
    }

    .drift-zoom-pane {
        height: 550px;
        width: 100%;
        background: rgba( 0, 0, 0, 0.5 );
        transform: translateZ(0);
        -webkit-transform: translate3d(0, 0, 0);
        z-index: 3;

        img {
            position: absolute;
            display: block;
            max-width: none !important;
            max-height: none !important;
            object-fit: contain !important;
            top: 0;
            inset-inline-start: 0;
        }

        &:not(.drift-inline) {
            top: 0;
            inset-inline-start: 0;
        }
    }

    &.single-product {
        div.product:not(.product-quickview) {
            .product-gallery-summary {
                display: block;
                width: 100%;
                margin: 0;

                .woocommerce-product-gallery__image {
                    .drift-zoom-pane {
                        display: block;
                        max-width: 100%;
                        position: absolute;
                        margin: 0;
                        top: 0;
                        inset-inline-start: 0;
                        height: 100%;
                        width: 100%;
                        object-fit: cover;
                        object-position: center;

                        img {
                            position: absolute;
                            display: block;
                            max-width: none !important;
                            max-height: none !important;
                            object-fit: contain;
                            top: 0;
                            inset-inline-start: 0;
                        }
                    }
                }
            }

            .entry-summary--elementor-mode,
            .entry-summary,
            .woocommerce-product-gallery {
                width: auto;
            }

            .entry-summary {
                .entry-title,
                .woocommerce-product-rating {
                    margin: 0;
                }
            }

            .woocommerce-badges--single {
                gap: 3px;

                .woocommerce-badge:not(:empty) {
                    margin-inline-end: 0;
                    margin-bottom: 0;
                }
            }

            .glozin-recent-sales-count,
            .glozin-people-view {
                margin: 0;
            }

            .glozin-product-price {
                .price:not(:empty) {
                    margin: 0;
                }
            }

            .short-description {
                margin: 0;
            }

            .gz-countdown-single-product {
                margin: 0;
            }

            .model-sizing {
                margin: 0;
                padding: 0;
                border: none;
            }

            .product_meta {
                --gz-min-width: clamp(90 / 16 * 1rem, 5vw, 120 / 16 * 1rem);
                color: var(--gz-color-dark);

                .meta__label {
                    display: inline-block;
                    color: var(--gz-color-base);
                    min-width: var(--gz-min-width);
                }

                > span {
                    display: block;
                    font-weight: 400;
                }
            }

            .woocommerce-tabs {
                padding: 0;
                margin: 0;

                &::after {
                    display: none;
                }

                &.reviews-rating--column {
                    .glozin-product-rating {
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        gap: 24px;

                        > * {
                            padding: 0;
                            margin: 0;
                            border: none;
                        }

                        .glozin-product-rating__count {
                            align-items: center;
                            justify-content: center;

                            .glozin-product-rating__count {
                                padding: 0;
                                margin: 0;
                            }
                        }
                    }
                }
            }

            .glozin-product-pbt {
                margin: 0;
            }

        }
    }

    &.woocommerce-shop-elementor {
        .page-header {
            &.page-header--shop {
                padding: 0;
                margin: 0;
            }
        }
    }

    .page-header__description .shop-header__description-inner {
        display: -webkit-box;
        -webkit-line-clamp: var(--gz-page-header-description-lines);
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .shop-header__more-wrapper:not(.less) {
        position: relative;

        &:after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            transform: translateY(-100%);
            transform-origin: center;
            height: 61px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
        }
    }

    .shop-header__description-inner {
        transition: max-height 0.3s ease-out;

        p {
        margin-top: 0;
        }
    }

    .glozin-products-filter--horizontal {
        --gz-filter-horizontal-columns: 5;

        .products-filter__filters {
            display: flex;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 10px;

            .products-filter__filter {
                width: calc( ( 100% / var(--gz-filter-horizontal-columns) ) - ( ( 10px * ( var(--gz-filter-horizontal-columns) - 1) ) / var(--gz-filter-horizontal-columns) ));
                padding: 0;
                position: relative;
                border-bottom: none;

                &:nth-child(5n) {
                    .filter-control {
                        right: 0;
                        left: auto;
                    }
                }
            }
        }

        .products-filter__filter {
            &.glozin-active {
                .filter-control {
                    opacity: 1;
                    visibility: visible;
                    pointer-events: auto;
                    top: calc(100% - 1px);
                }
            }
        }

        .has-collapse {
            .filter.glozin-active {
                .filter-name {
                    &:after {
                        transform: translateY(-50%) rotate(-180deg);
                    }
                }
            }

            .filter-name {
                font-size: 15 / 16 * 1rem;
                border: 1px solid var(--gz-border-color);
                border-radius: 5px;
                padding-top: 16px;
                padding-bottom: 16px;
                padding-inline-start: 25px;
                padding-inline-end: 50px;
                display: block;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                letter-spacing: 0;

                &:before {
                    display: none;
                }

                &:after {
                    content: "";
                    position: absolute;
                    top: 50%;
                    inset-inline-end: 25px;
                    transform: translateY(-50%);
                    width: 10px;
                    height: 5px;
                    appearance: none;
                    background-color: currentcolor;
                    -webkit-mask: url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.08984 1.32227L4.58984 4.82227C4.69922 4.94076 4.83594 5 5 5C5.16406 5 5.30078 4.94076 5.41016 4.82227L8.91016 1.32227C9.02865 1.21289 9.08789 1.08073 9.08789 0.925781C9.08789 0.761719 9.02865 0.620443 8.91016 0.501953C8.80078 0.392578 8.66406 0.337891 8.5 0.337891C8.33594 0.337891 8.19922 0.392578 8.08984 0.501953L5 3.5918L1.91016 0.501953C1.80078 0.392578 1.66406 0.337891 1.5 0.337891C1.33594 0.337891 1.19922 0.392578 1.08984 0.501953C0.971354 0.620443 0.912109 0.761719 0.912109 0.925781C0.912109 1.08073 0.971354 1.21289 1.08984 1.32227Z' fill='%23111111'/%3E%3C/svg%3E") no-repeat 50% 50%;
                    mask: url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.08984 1.32227L4.58984 4.82227C4.69922 4.94076 4.83594 5 5 5C5.16406 5 5.30078 4.94076 5.41016 4.82227L8.91016 1.32227C9.02865 1.21289 9.08789 1.08073 9.08789 0.925781C9.08789 0.761719 9.02865 0.620443 8.91016 0.501953C8.80078 0.392578 8.66406 0.337891 8.5 0.337891C8.33594 0.337891 8.19922 0.392578 8.08984 0.501953L5 3.5918L1.91016 0.501953C1.80078 0.392578 1.66406 0.337891 1.5 0.337891C1.33594 0.337891 1.19922 0.392578 1.08984 0.501953C0.971354 0.620443 0.912109 0.761719 0.912109 0.925781C0.912109 1.08073 0.971354 1.21289 1.08984 1.32227Z' fill='%23111111'/%3E%3C/svg%3E") no-repeat 50% 50%;
                    -webkit-mask-size: cover;
                    mask-size: cover;
                }
            }
        }

        .filter-control {
            width: 100%;
            background-color: var(--gz-color-light);
            border-radius: 0 0 5px 5px;
            padding: 20px;
            box-shadow: var(--shadow);
            transition: var(--gz-transition);
            position: absolute;
            top: calc(100% + 15px);
            inset-inline-start: 0;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            z-index: 9;
            border: 1px solid var(--gz-border-color);
        }

        .instant-filter .filter:last-of-type .filter-control {
            padding-bottom: 23px;
        }

        .products-filter__options {
            &.products-filter--list {
                > li{
                    &:first-child {
                        padding-top: 9px;
                    }

                    &:last-child {
                        padding-bottom: 9px;
                    }
                }
            }
        }

        .instant-filter {
            .products-filter__button {
                display: none;
            }
        }

        .products-filter__button {
            justify-content: flex-end;
        }
    }

    ul.products.product-card-layout-list {
		li.product {
            width: 100%;

			&:last-child {
				margin-bottom: 0;
			}
			.product-inner {
				display: flex;
				gap: 30px;
				align-items: center;
			}
			.product-thumbnail {
				width: 30%;

				.product-featured-icons {
					display: none;
				}
			}

			.product-summary {
				flex: 1;
				max-width: 70%;
				margin-top: 0;
				text-align: start;
				align-items: flex-start;
			}

			.woocommerce-loop-product__title {
				font-size: 18/16*1rem;
			}

			.glozin-rating {
				margin-top: 10px;
			}

			.price {
				margin-top: 15px;
				font-size: 18/16*1rem;
				font-weight: 600;

				del {
					font-size: 16/16*1rem;
					font-weight: 400;
				}
			}

			.short-description {
				display: block;
				margin-top: 15px;
				display: -webkit-box;
				-webkit-line-clamp: var(--gz-product-short-description, 3);
				-webkit-box-orient: vertical;
				overflow: hidden;

				~ .button {
					display: none;
				}
			}

			.product-variation-items {
				margin-top: 15px;
			}

			.product-list-featured-icons {
				margin-top: 25px;
				display: flex;
				width: 100%;

				.product-loop-button-atc {
					display: flex;
					width: 100%;
					max-width: 230px;
					margin-top: 0;
					--gz-button-padding-top: 16.5px;
					--gz-button-padding-bottom: 16.5px;

					.add-to-cart__text {
						display: block;
					}
				}

				.product-loop-button {
					--gz-button-width: 50px;
					--gz-button-height: 50px;
					--gz-button-font-size: 15px;
					border: 1px solid var(--gz-border-color);
				}

			}
		}

		li.gz-product-grid-banner {
			display: none;
		}

		li.product.product-category {
			& > a {
				flex-direction: row;
				align-items: center;
				img {
					width: 30%;
				}

				.woocommerce-loop-category__title {
					width: 70%;
				}
			}
		}

	}

    .glozin-buy-x-get-y,
    .dynamic-pricing-discounts {
        margin: 0;
    }
}

@media (min-width: 1025px) {
    .glozin-woocommerce-elementor {
        .glozin-product-zoom-wrapper {
            display: block;
        }
    }

    .elementor-hidden-desktop .products-filter-widget--elementor .glozin-products-filter__form {
        display: none;
    }
}

@media (min-width: 1280px) {
    .glozin-products-filter--horizontal {
        --gz-filter-horizontal-columns: 6;

        .products-filter__filters {
            .products-filter__filter {
                &:nth-child(6n) {
                    .filter-control {
                        right: 0;
                        left: auto;
                    }
                }
            }
        }
    }
}

@media (min-width: 1400px) {
    .glozin-products-filter--horizontal {
        --gz-filter-horizontal-columns: 7;

        .products-filter__filters {
            .products-filter__filter {
                &:nth-child(7n) {
                    .filter-control {
                        right: 0;
                        left: auto;
                    }
                }
            }
        }
    }
}

@media (max-width: 1024px) {
    ul.products.mobile-compare-button--hidden.product-card-layout-list li.product .wcboost-products-compare-button {
        display: flex;
    }

	ul.products.mobile-wishlist-button--hidden.product-card-layout-list li.product .wcboost-wishlist-button {
        display: flex;
    }

	ul.products.product-card-layout-list {
		+ .woocommerce-pagination {
			margin-top: 50px;
		}
	}

	.glozin-shop-content ul.products {
		&.product-card-layout-list {
			li.product {
				.short-description {
					-webkit-line-clamp: var(--gz-product-short-description-tablet, 2);
				}
			}
		}
	}
}

@media (max-width: 767px) {
	.glozin-shop-content ul.products {
		&.product-card-layout-list {
			li.product {
				width: 100%;
			}

			&.product-card-mobile-show-atc {
				li.product .product-list-featured-icons > a:not(.gz-button-add-to-cart-mobile) {
					display: flex;
				}
			}

			li.product.product-category {
				& > a {
					flex-direction: column;

					img,
					.woocommerce-loop-category__title {
						width: 100%;
					}

				}
			}
		}

		&.product-card-layout-list li.product {
			.short-description {
				-webkit-line-clamp: var(--gz-product-short-description-mobile, 3);
			}
		}

	}
}

@media (max-width: 600px) {
	ul.products.product-card-layout-list li.product .product-inner {
		flex-direction: column;
		gap: 15px;

		.product-thumbnail {
			width: 100%;
		}

		.product-summary {
			max-width: 100%;
		}

		.product-list-featured-icons {
			.product-loop-button-atc {
				max-width: 100%;
			}

			.product-loop-button {
				min-width: var(--gz-button-width);
			}
		}
	}
}