/*
Theme Name: Progress Grow
Theme URI: https://freshdigital.co.th/web-design/
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Theme for Progres Grow
Version: 1.0.0.1668417399
Updated: 2025-06-11 09:16:39
*/
html,
body {
    overflow-x: hidden;
}

#head-sticky,
#head-sticky>div {
    transition: all 0.3s ease-out;
}

#head-sticky.head-sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /*background-color: rgb(0 0 0 / 63%);*/
	background-color: #FFF;
    box-shadow: 0px 4px 11px 0px rgba(0, 0, 0, 0.24);
}

#head-sticky.head-sticky-active .head-contact,
#head-sticky.head-sticky-active .head-line {
    display: none;
}

#head-sticky.head-sticky-active>div {
    padding: 0 !important;
}

#head-sticky .site-logo img {
    transition: all 0.2s ease;
}

#head-sticky.head-sticky-active .site-logo img,
#head-sticky.head-sticky-active .site-logo-new img {
    max-width: 100px !important;
}

#head-sticky .site-logo-new,
#head-sticky.head-sticky-active .site-logo {
	display: none;
}

#head-sticky.head-sticky-active .site-logo-new {
	display: inline-block;
}

#head-sticky.head-sticky-active ul li a {
	color: var( --e-global-color-text );
}

#head-sticky ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 2px;
	background-image: linear-gradient(0deg, #664003 0%, #b59229 48%, #fbfccf 100%);
	background-image: -webkit-linear-gradient(0deg, #664003 0%, #b59229 48%, #fbfccf 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease-out;
}

#head-sticky ul li:hover a::after,
#head-sticky ul li a.elementor-item-active::after {
	transform: scaleX(1);
}

a.contact-detail {
    display: inline-block !important;
    color: inherit;
}

.homepage-slider-banner .swiper-slide-inner {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

.homepage-slider-banner .elementor-background-overlay {
    background: linear-gradient(180deg, #000000, #C19D5E);
    opacity: 0.7;
}

.homepage-slider-banner .elementor-swiper-button.elementor-swiper-button-prev,
.homepage-slider-banner .elementor-swiper-button.elementor-swiper-button-next {
    background-color: #fff;
    border-radius: 3px;
    padding: 5px;
}

.shape-content {
    max-width: 1000px;
}

.text-history .elementor-icon-box-title>span {
    position: relative;
}

.text-history .elementor-icon-box-title>span:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: var(--e-global-color-primary);
}

.project-item-wrap {
    position: relative;
    overflow: hidden;
}

.project-item-wrap .project-item-content {
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, #430265, transparent);
    padding: 15px;
    transform: translateX(-100%);
}

.project-item-wrap:hover .project-item-content {
    transform: translateX(0);
}

.blog-post-style article .elementor-post__thumbnail img {
    transition: all 0.3s ease;
}

.blog-post-style article:hover .elementor-post__thumbnail img {
    transform: scale(1.05) translate(-50%, -50%) !important;
}

/*ul.woof_list.woof_list_radio li {
    margin-bottom: 8px;
}

ul.woof_list.woof_list_radio li.woof_childs_list_li {
    position: relative;
}

ul.woof_list.woof_list_radio>li.woof_childs_list_li {
    position: relative;
    padding-right: 25px;
}

ul.woof_list.woof_list_radio>li.woof_childs_list_li a.woof_childs_list_opener {
    position: absolute;
    top: 5px;
    right: 0;
}

ul.woof_list.woof_list_radio>li ul.woof_childs_list {
    width: calc(100% + 28px);
    margin-top: 8px !important;
}

.woof_radio_label {
    margin-left: 0px;
    color: #000;
}*/

/*button.button.woof_reset_search_form,
.woof_reset_button_2 {
    background-color: #000 !important;
    color: #fff !important;
    font-weight: 400;
    border-radius: 0;
    border: 0 !important;
}

button.button.woof_reset_search_form:hover,
.woof_reset_button_2:hover {
    background-color: var(--e-global-color-primary) !important;
}*/

.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
    display: none !important;
}

ul.products li.product {
	text-align: center;
}

ul.products li.product .product-thumb {
    display: flex;
    align-items: center;
    background-color: #fff;
    height: 250px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

ul.products li.product .product-thumb img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(0.925);
    transition: all 0.3s ease;
}

ul.products li.product:hover .product-thumb {
    box-shadow: 0px 32px 80px -32px rgba(0, 0, 0, 0.24)
}

ul.products li.product:hover .product-thumb img {
    transform: scale(1.05);
}

ul.products li.product h2.woocommerce-loop-product__title {
	font-size: 18px !important;
	font-weight: 500;
	color: var( --e-global-color-text );
}

ul.products li.product a.button.product_type_simple {
	color: var( --e-global-color-text );
	font-size: 16px;
	font-weight: 400;
	background-color: transparent;
	text-decoration: unset !important;
	margin-top: 0px;
	border: 1px solid var( --e-global-color-primary );
	border-radius: 20px;
	padding: 12px 45px;
}

.elementor-2111 .elementor-element.elementor-element-77f3cbe.elementor-wc-products ul.products li.product .button:hover,
ul.products li.product a.button.product_type_simple:hover {
	background-color: var( --e-global-color-primary );
	color: #FFF;
}

ul.products li.product-category {
	overflow: hidden;
	border: 1px solid #999;
	border-radius: 4px;
	background: -webkit-linear-gradient(top, rgba(236, 236, 236, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
	background: linear-gradient(to bottom, rgba(236, 236, 236, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
	box-shadow: 1px 1px 2px #999;
}

ul.products li.product-category:hover {
	border-color: var( --e-global-color-primary );
	box-shadow: 1px 2px 6px #999;
}

ul.products li.product-category:hover a h2 {
	color: #FFF;
	background-color: var( --e-global-color-primary );
}

ul.products li.product-category .count {
	display: none !important;
}

ul.products li.product-category a {
	display: grid;
	text-align: left;
}

ul.products li.product-category a img {
	order: 2;
	margin: 0 !important;
}

ul.products li.product-category a h2 {
	order: 1;
	padding: 10px 5px !important;
	font-weight: 400;
	color: var( --e-global-color-text );
}

.woocommerce nav.woocommerce-pagination ul {
	border: 0;
	display: inline-block;
	white-space: nowrap;
	background: transparent;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a {
	color: var( --e-global-color-text );
}

.woocommerce nav.woocommerce-pagination ul li:hover a,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers.current {
	color: var( --e-global-color-c94a5dd );
	background: var( --e-global-color-primary );
}

.woocommerce-no-products-found .woocommerce-info {
	border-top-color: var( --e-global-color-primary );
}

.woocommerce-no-products-found .woocommerce-info::before {
	color: var( --e-global-color-primary );
}

.single-product .yith-ywraq-add-to-quote .add-request-quote-button {
    border: 1px solid #000;
    border-radius: 0;
    font-size: 16px !important;
    font-weight: 500;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.single-product .yith_ywraq_add_item_browse_message a {
    color: inherit;
    text-decoration: underline;
}

.woof_products_top_panel a {
    color: inherit;
    text-decoration: underline;
}

 ul.products.columns-3 {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px !important;
}
.woocommerce .woocommerce-ordering {
	display: none !important;
}

.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product {
    width: calc((100% - 20px) / 2) !important;
    margin: 0 !important;
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid #000;
    outline: unset;
    border-radius: 0;
    padding: 5px 25px 5px 10px;
}

.woof_childs_list_opener span.woof_is_closed,
.woof_childs_list_opener span.woof_is_opened {
    background: url("/wp-content/uploads/icons/triangle-sharp-solid.svg") !important;
    background-size: 10px !important;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
    background-repeat: no-repeat !important;
}

.woof_childs_list_opener span.woof_is_opened {
    position: relative;
    transform: rotate(0deg) translateX(2px);
}

.ywraq-form-table-wrapper table.shop_table {
    border-collapse: collapse;
}

.ywraq-form-table-wrapper table.shop_table thead,
.ywraq-form-table-wrapper table.shop_table th,
.ywraq-form-table-wrapper table.shop_table td {
    border-color: #efefef !important;
}

.ywraq-form-table-wrapper .cart_item  .product-remove,
.ywraq-form-table-wrapper .cart_item .product-thumbnail {
    text-align: center;
}

.ywraq-form-table-wrapper .cart_item .product-thumbnail img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100px;
}

.ywraq-form-table-wrapper .cart_item a {
    color: inherit;
}

.ywraq-form-table-wrapper .actions .button,
input.button.raq-send-request {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
}

.ywraq-form-table-wrapper .actions .button:hover,
input.button.raq-send-request:hover {
    color: #000;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background-color: transparent;
    border: 0;
    color: #515151;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: transparent !important;
    color: #000 !important;
    z-index: 2;
    border-bottom-color: transparent !important;
    border: 1px solid #d3ced2;
    border-bottom: 0;
}

.product-cat-filter ul.children li a span.wpb-submenu-indicator {
	display: none !important;
}

ul.wc-product-categories-list,
ul.wc-sub-categories-list {
	list-style: none !important;
	padding: 0;
}

ul.wc-sub-categories-list {
	padding-left: 10px;
}

ul.wc-sub-inactive {
	display: none;
}

a.main-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

li.level-0,
li.main-category {
	padding: 10px 0;
}

li.level-0:hover a,
li.main-category:hover a {
	color: var( --e-global-color-primary );
}

li.sub-category {
	display: flex;
	justify-content: flex-start;
	gap: 5px;
	padding: 5px 0;
}

li.main-category .chevron,
li.sub-category .chevron {
	width: 13px;
	height: 13px;
	background-image: url('/wp-content/uploads/icons/triangle-sharp-solid.svg') !important;
	background-repeat: no-repeat;
	background-size: 10px;
	background-position: center;
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

li.main-category .chevron.up {
	transform: rotate(0deg);
}

li.sub-category .chevron.right {
	transform: rotate(90deg);
	margin-top: 2px;
}

a.prodcat-name {
	color: var( --e-global-color-text );
}

.btn-primary a.elementor-button,
.homepage-slider-banner .swiper-slide-inner .swiper-slide-contents a.elementor-slide-button,
#contact_form .elementor-field-type-submit button.elementor-button {
	position: relative;
}

.btn-primary a.elementor-button:before,
.homepage-slider-banner .swiper-slide-inner .swiper-slide-contents a.elementor-slide-button:before,
#contact_form .elementor-field-type-submit button.elementor-button:before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50px;
	border: 1px solid transparent;
	background: linear-gradient(45deg, #664003, #b9982f, #fafacb, #c7ab4a, #674103) border-box;
	mask:
		linear-gradient(#000 0 0) padding-box, 
		linear-gradient(#000 0 0);
	mask-composite: exclude;
}

.btn-product-loop:hover {
	background-color: var( --e-global-color-primary ) !important;
}

.btn-product-loop:hover p.elementor-heading-title {
	color: #FFF !important;
}

#floating-container {
	position: fixed;
	right: 40px;
	bottom: 40px;
	width: 50px;
	height: 50px;
	z-index: 998;
	cursor: pointer;
}

.floating-button {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #0074FF;
	background-image: url('/wp-content/uploads/icons/messages-sharp-solid-full.svg');
	background-repeat: no-repeat;
	background-size: 28px;
	background-position: center;
	animation: pulse-animation 2.5s infinite;
}

.float-element {
	position: absolute;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #1F2937;
	color: #F9FAFB;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(0);
	pointer-events: none;
	background-repeat: no-repeat !important;
	background-size: 28px;
	background-position: center;
}

.float-element:hover {
	/*background: var(--theme_accent);*/
	color: #FFF;
}

.float-element.email {
	background-image: url('/wp-content/uploads/icons/envelope-solid-full.svg');
	background-color: #FF9c00;
}

.float-element.phone {
	background-image: url('/wp-content/uploads/icons/phone-solid-full.svg');
	background-color: #4cb48b;
}

.float-element.line {
	background-image: url('/wp-content/uploads/icons/line-brands-solid-full.svg');
	background-color: #00b800;
}

.float-element.map {
	background-image: url('/wp-content/uploads/icons/location-dot-solid-full.svg');
	background-color: #ea453b;
}

#floating-container.floating-active .floating-contact .float-element {
	opacity: 1;
	pointer-events: auto;
}

/* Position for each button */
#floating-container.floating-active .floating-contact a:nth-child(1) {
	transform: translateY(-130px);
}

#floating-container.floating-active .floating-contact a:nth-child(2) {
	transform: translateY(-190px);
}

#floating-container.floating-active .floating-contact a:nth-child(3) {
	transform: translateY(-250px);
}

#floating-container.floating-active .floating-contact a:nth-child(4) {
	transform: translateY(-310px);
}

@keyframes pulse-animation {
	0% {
		transform: scale(1);
		box-shadow: 0 4px 12px rgba(225, 225, 225, 0.3);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 6px 20px rgba(0, 116, 255, 0.5);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 4px 12px rgba(225, 225, 225, 0.3);
	}
}

@media screen and (max-width: 767px) {
    .section-shape {
        clip-path: polygon(0 0, 100% 0, 100% 84%, 0% 100%);
        padding-bottom: 50px !important;
    }

	ul.products li.product a.button.product_type_simple {
		padding: 10px 20px;
	}

	ul.products li.product-category a h2 {
		font-size: 14px !important;
	}

	#floating-container {
		right: 20px;
		bottom: 20px;
		width: 50px;
		height: 50px;
	}

	.floating-button {
		width: 50px;
		height: 50px;
	}

	.float-element {
		width: 40px;
		height: 40px;
	}

	#floating-container.floating-active .floating-contact a:nth-child(1) {
		transform: translateY(-115px);
	}

	#floating-container.floating-active .floating-contact a:nth-child(2) {
		transform: translateY(-165px);
	}

	#floating-container.floating-active .floating-contact a:nth-child(3) {
		transform: translateY(-215px);
	}

	#floating-container.floating-active .floating-contact a:nth-child(4) {
		transform: translateY(-265px);
	}
}

@media screen and (min-width: 768px) {
    .section-shape {
        clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
        max-width: calc(100% - ((100% - 1140px) / 2)) !important;
    }

    .woocommerce ul.products.columns-3 li.product,
    .woocommerce-page ul.products.columns-3 li.product {
        width: calc((100% - 40px) / 3) !important;
    }

	ul.products li.product a.button.product_type_simple {
		padding: 10px 14px;
	}
	
	.woocommerce-page ul.products li.product-category.product, 
	.woocommerce ul.products li.product-category.product {
        width: 48% !important;
	}

}

@media screen and (min-width: 1300px) {
    .product-carousel .elementor-swiper-button.elementor-swiper-button-prev {
        left: -50px !important;
    }

    .product-carousel .elementor-swiper-button.elementor-swiper-button-next {
        right: -50px !important;
    }

	ul.products li.product a.button.product_type_simple {
		padding: 12px 45px;
	}
}