/*
Theme Name: Crazy Web Studio (Divi Child)
Template: Divi
Text Domain: Divi-child
Author: Crazy Web Studio
Author URI: https://www.crazywebstudio.co.th
*/
:root {
	--cws-body-color: #191919;
	--cws-font-family: 'Questrial', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	--cws-primary-background: #FCF9F8;
	--cws-secondary-background: #DEE7DA;
	--cws-cta-background: #3b4f4c;
	--woocommerce: #3b4f4c;
	--wc-primary: #3b4f4c;
	--wc-secondary: #222;
	--wc-link: #9A9A9A;
}

body {
	font-family: var(--cws-font-family);
	font-weight: normal;
}

/* Mega Menu */
.dipi-balloon-wrap {
	background-color: var(--cws-primary-background);
}

.mega-menu-row p {
	padding: 0;
}
.mega-menu-row .menu-item a {
	padding-left: 0;
	transition: margin-left 0.3s ease-in-out !important;
}
.mega-menu-row .menu-item a:hover {
	margin-left: .5rem;
}

/* WooCommerce General */
.single-product #main-content .container:before {
	display: none;
}

.single-product #left-area {
	width: 100%;
	padding: 0 !important;
}

.woofc-menu-item-inner-subtotal {
	display: none;
}

.home #cws-section-header-desktop,
.home #cws-section-header-mobile {
	border: 0;
}

.et_pb_menu_1_tb_header.et_pb_menu ul li.menu-item-type-woofc a {
	font-size: 20px;
}

/* Fixing bug slider price */
.wpgb-facet .wpgb-range-facet .wpgb-range-slider div.wpgb-range-progress {
	background-color: var(--wpgb-dark-scheme-1);
}

#gform_submit_button_1 {
	width: 100%;
}

#gform_submit_button_2 {
	width: 100%;
}

#cws-section-header-mobile .et_mobile_menu {
	display: flex;
	flex-direction: row;
	top: 0;
	line-height: 0;
	position: relative;
	border-top: 0;
	box-shadow: none;
	column-gap: 10px;
}

#cws-section-header-mobile .et_mobile_menu li a {
	border-bottom: 0;
	word-wrap: normal;
}

#cws-section-header-mobile .mobile_menu_bar {
	display: none;
}

#cws-section-header-mobile .menu-item-25989419 {
	display: none;
}

.logged-in #cws-section-header-mobile .menu-item-25989419 {
	display: block;
	width: 125px;
}

body.logged-in #cws-section-header-mobile .menu-item-25989415 {
	display: none;
}

.wpgb-facet .wpgb-color-facet .wpgb-color-control {
	box-shadow: none !important;
}

.wpgb-facet .wpgb-color-facet .wpgb-color-control[style="background:#ffffff"],
.wpgb-facet .wpgb-color-facet .wpgb-color-control[style="background:#fff"],
.wpgb-facet .wpgb-color-facet .wpgb-color-control[style="background:white"] {
	border: 1px solid #ccc;
}

#menu-main-menu-desktop>li {
	padding-left: 9px;
	padding-right: 9px;
}

div#et-boc {
	width: 100%;
}