/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

body .elementor-widget-image a{
  display: block;
}

body .elementor-widget-image img {
  display: block;
  margin: 0 auto;
}

body .elementor-widget-woocommerce-my-account,
body .elementor-widget-woocommerce-cart .woocommerce {
  font-family: var(--e-global-typography-text-font-family), sans-serif;
}

.elementor-heading-title a {
  display: block;
}

.elementor-element.image-shape-top-left {
  position: relative;
}

.elementor-element.image-shape-top-left:before {
  background-image: linear-gradient(185deg, rgb(16 162 89 / 15%), #10a25900);
  border-radius: .5rem;
  content: "";
  position: absolute;
  left: -3.8rem;
  top: -2.8rem;
  right: 0;
  width: 85%;
  height: 16rem;
  transform: rotate(-3deg);
  z-index: 0;
}

.elementor-element.image-shape-top-left img {
  position: relative;
  z-index: 9;
  z-index: 99;
}

.elementor-element.image-shape-top-right {
  position: relative;
}

.elementor-element.image-shape-top-right:before {
  background-image: linear-gradient(185deg, rgb(16 162 89 / 15%), #10a25900);
  border-radius: .5rem;
  content: "";
  position: absolute;
  right: -3.8rem;
  top: -2.8rem;
  left: auto;
  width: 85%;
  height: 16rem;
  transform: rotate(3deg);
  z-index: 0;
}

.elementor-element.image-shape-top-right img {
  position: relative;
  z-index: 9;
  z-index: 99;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) div .woocommerce .button {
  background-color: var(--e-global-color-primary);
  color: #fff;
  border: 0;
  border-radius: 0;
  line-height: 1;
  height: auto;
  padding: 12px 30px 15px;
  transition: 0.3s;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) div .woocommerce .button:hover {
  background-color: #000;
  color: #fff;  
}

body label.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
  position: relative;
  top: 10px;
}

.box-tilt-top {
  clip-path: polygon(0% 0%, 100% 20%, 100% 100%, 0% 100%);
}

.box-tilt-top:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgb(255 255 255 / 70%);
  z-index: 9;
  transform: rotate(4deg);
  top: 27px;
  left: 0;
}

/* ============= Woocommerce Template Styles ============= */
.shop-content .container {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 20px;
}
.shop-banner {
    background: url(/wp-content/themes/hello-theme-child/img/shop-banner.webp) no-repeat center / cover;
}
.shop-banner .inner-bg-gradient {
    background: linear-gradient(100deg, #10a259 40%, transparent 40%);
}
.shop-banner .banner-content {
    padding: 16px 0 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 140px;
}
.banner-content h1 {
    font-family: "Saira", Sans-serif;
    font-size: 53px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1em;
    color: #FFFFFF;
    margin: 0;
}
.banner-content .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    line-height: 1.5;
    font-family: "Saira", sans-serif;
    color: #ffffff;
}
.banner-content .breadcrumb a {
	color: #ffffff;
}
.shop-filters {
    background-color: #ffffff;
    padding: 40px 0 120px;
}
.filter-row {
    display: flex;
    align-items: start;
    gap: 24px;
}
.filter-row .filter-form {
    flex: 0 0 auto;
    width: 300px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: sticky;
    top: 100px;
	background: #ffffff;
}
.filter-field-group {
	width: 100%;
    padding: 24px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.filter-field-group h6 {
    font-size: 20px;
    font-family: "Saira", sans-serif;
    font-weight: 400;
    color: #000000;
    margin: 0;
    background-color: #ffffff;
}
.filter-field-group .fields-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.filter-field-group .fields-group label, .products-sorting-options label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-family: "Saira", sans-serif;
    font-weight: 400;
    color: #000000;
}
.filter-field-group .fields-group label input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 1px solid #000000;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    background: #ffffff;
	transition: all 0.33s;
}
.filter-field-group .fields-group label input:checked {
	background: #10a259;
	border-color: #10a259;
}
.filter-field-group .fields-group label input::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 3px;
    display: block;
    width: 12px;
    height: 7px;
    border-left: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: rotate(-45deg);
}
.filter-row .filter-products {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.products-sorting {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}
.products-sorting-options label {
    gap: 20px;
}
.products-sorting-options label span {
    display: inline-block;
    flex: 0 0 auto;
}
.products-sorting-options label select {
    border: 1px solid #E5E5E5;
    padding: 6px 12px;
	outline: none;
}
.products-view-style {
    display: flex;
    align-items: center;
    gap: 12px;
}
.products-view-style label {
    display: flex;
}
.products-view-style label input {
    width: 0;
    height: 0;
    visibility: hidden;
}
.products-view-style label svg {
    color: #D4CDCD;
	width: 24px;
    height: auto;
}
.products-view-style label input:checked ~ svg {
    color: #000000;
}
.product-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    grid-template-rows: auto;
    grid-auto-rows: auto;
    column-gap: 16px;
    row-gap: 20px;
}
.single-product-item {
    display: flex;
    flex-direction: column;
}
.single-product-item .product-image {
	flex: 0 0 auto;
    width: 100%;
    background: #F6F6F6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.single-product-item .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    border: 1px solid #E4DDDD;
    border-top: 0;
    padding: 20px 16px;
}
.single-product-item .product-info .title-price {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: "Saira", sans-serif;
    font-weight: 400;
}
.single-product-item .product-info .product-title {
    font-size: 20px;
    color: #000000;
}
.single-product-item .product-info .product-price {
    font-size: 18px;
    color: #000000;
    margin: 0;
}
.single-product-item .product-info .product-price ins {
    text-decoration: none;
}
.single-product-item .product-info .custom-product-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    font-family: "Saira", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
}
.single-product-item .product-info .custom-product-buttons .add_to_cart_button {
    display: block;
    padding: 14px 28px;
    line-height: 1.5;
    background: #40E593;
    color: #ffffff;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}
.single-product-item .product-info .custom-product-buttons a:not(.add_to_cart_button) {
    color: #089EE6;
    padding: 4px 4px 4px 0;
}
.product-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-family: "Saira", sans-serif;
    font-weight: 400;
    font-size: 18px;
}
.custom-pagination > button {
    border: none;
    padding: 0;
    color: #000000;
    font-size: 18px;
    background: transparent;
}
.custom-pagination > span {
    color: #B7B7B7;
}
.custom-pagination .pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
}
.custom-pagination .pagination-numbers button, .custom-pagination .pagination-numbers span:not(.active) {
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    border: 1px solid #B4B4B4;
    padding: 0;
    width: 24px;
    height: 24px;
    color: #000000;
    border-radius: 50%;
    background: transparent;
    transition: all 0.33s;
}
.custom-pagination .pagination-numbers span:not(.active) {
    color: #E4DDDD;
}
.custom-pagination .pagination-numbers span.page-number.active {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #18CF74;
    color: #ffffff;
    border-radius: 50%;
}
.custom-pagination .pagination-numbers button:hover {
    color: #ffffff;
    background: #18CF74;
}
.no-product-found {
    padding: 24px;
    text-align: center;
}
.no-product-found p {
    margin: 0;
    font-family: 'Saira';
    font-size: 20px;
}
.product-container {
	position: relative;
	transition: opacity 0.3s ease;
}
.product-container.product-loading {
	opacity: 0.4;
	pointer-events: none;
	cursor: wait;
	animation: productLoading 0.8s infinite alternate;
}

/* Spinner Overlay */
.product-container.product-loading::after {
	content: "";
	position: absolute;
	top: 200px;
	left: 50%;
	width: 80px;
	height: 80px;
	margin-left: -40px;
	border: 5px solid rgba(255,255,255,0.4);
	border-top-color: #10a259;
	border-radius: 50%;
	animation: productSpinner 0.7s linear infinite;
	z-index: 10;
}
/* Optional overlay */
.product-container.product-loading::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0.2);
	z-index: 5;
}
@keyframes productLoading {
	from {
		opacity: 0.4;
	}
	to {
		opacity: 0.8;
	}
}
@keyframes productSpinner {
	to {
		transform: rotate(360deg);
	}
}
.custom-product-breadcrumb > * {
    font-family: "Saira", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
}
.custom-product-breadcrumb > a, .custom-product-breadcrumb > span.breadcrumb-separator {
    display: inline-block;
    margin-right: 8px;
}
.releted-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media screen and (max-width: 1440px){
	.shop-content .container {
		max-width: 1220px;
	}
	.banner-content h1 {
		font-size: 48px;
	}
	.filter-field-group h6 {
		font-size: 18px;
	}
	.filter-field-group .fields-group label, .products-sorting-options label, .single-product-item .product-info .product-title {
		font-size: 16px;
	}
	.single-product-item .product-info .product-price {
		font-size: 14px;
	}
	.single-product-item .product-info .custom-product-buttons {
		font-size: 14px;
	}
	.single-product-item .product-info .custom-product-buttons .add_to_cart_button {
		padding: 12px 20px;
	}
	.single-product-item .product-info .custom-product-buttons {
		gap: 8px;
	}
	.single-product-item .product-info .custom-product-buttons a:not(.add_to_cart_button) {
		padding: 0;
	}
	.filter-row .filter-form {
		width: 220px;
	}

    .box-tilt-top:before {
        transform: rotate(5deg);
        background: rgb(255 255 255 / 50%);
    }
}


@media screen and (max-width: 1024px){
	.banner-content h1 {
		font-size: 36px;
	}
	.banner-content .breadcrumb {
		font-size: 16px;
	}
	.product-grid, .releted-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}

    .box-tilt-top:before {
        transform: rotate(7deg);
        background: rgb(255 255 255 / 30%);
    }
}


@media screen and (max-width: 767px) {
	.banner-content h1 {
		font-size: 30px;
	}
	.filter-row {
		flex-direction: column;
	}
	.filter-row .filter-form {
		width: 100%;
		position: inherit;
		top: inherit;
	}
	.custom-pagination {
		font-size: 16px;
		gap: 12px;
	}
	.custom-pagination > button, .custom-product-breadcrumb > * {
		font-size: 16px;
	}
	.custom-pagination .pagination-numbers {
		font-size: 12px;
		gap: 5px;
	}
	.custom-pagination .pagination-numbers button, .custom-pagination .pagination-numbers span:not(.active) {
		font-size: 12px;
		line-height: 20px;
		width: 22px;
		height: 22px;
	}
	.custom-pagination .pagination-numbers span.page-number.active {
		width: 24px;
		height: 24px;
	}

    .box-tilt-top:before {
        transform: rotate(6deg);
        background: rgb(255 255 255 / 20%);
    }
}

@media screen and (max-width: 575px){
	.filter-row .filter-products {
		width: 100%;
	}
	.product-grid, .releted-product-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}
@media screen and (min-width: 576px){
	body.filter-list-view .product-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	body.filter-list-view .single-product-item {
		flex-direction: row;
	}
	body.filter-list-view .single-product-item .product-image {
		max-width: 140px;
	}
	body.filter-list-view .single-product-item .product-info {
		flex-direction: row;
		align-items: center;
		padding: 20px 32px;
		border-top: 1px solid #E4DDDD;
		border-left: 0;
	}
	body.filter-list-view .single-product-item .product-info .title-price {
		text-align: start;
		align-items: flex-start;
		gap: 24px;
	}
	body.filter-list-view .single-product-item .product-info .custom-product-buttons {
		flex: 0 0 auto;
		flex-direction: column;
		gap: 20px;
	}
}
/* ============= Woocommerce Template Styles ============= */