/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
	--primary-color: #172b53;
	--secondary-color: #f2ce7f;
}

body {
	font-family: "Roboto", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.3;

	b,
	strong {
		font-weight: bold;
	}
}

.autocomplete-suggestion .search-price,
.absolute-footer,
.price-wrapper {
	display: none;
}

* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
}

.col-inner:last-child {
	padding-bottom: 0;
}

a {
	transition: all .25s ease;
}

p:last-child {
	margin-bottom: 0;
}

.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content {
	max-width: 350px;
	width: 100%;
}

.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
	font-size: 16px;
	text-transform: math-auto;
	color: #000;
}

.mfp-bg.mfp-ready {
	background-color: rgba(0, 0, 0, 0.4) !important;
	opacity: 1 !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
}

.mfp-wrap.mfp-ready {
	backdrop-filter: none !important;
}

.nav:not(.nav-slide) .active>.children {
	padding-bottom: 0;
}

.icon-box-img img,
.icon-box-img svg {
	padding-top: 0;
}

.autocomplete-suggestion img+.search-name {
	font-size: 16px;
}

.header-nav .sub-menu .menu-item-has-children:after {
	content: '\f105';
	font-family: "FontAwesome";
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	font-size: 11px;
}

.header-nav .sub-menu .menu-item-has-children {
	position: relative;
	width: 100%;
}

.header-nav .sub-menu .menu-item-has-children .sub-menu {
	display: none;
	opacity: 0;
	transition: all 0.25s ease;
	position: absolute;
	left: 100%;
	background: #fff;
	border-radius: 5px;
	top: 0;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu {
	display: block;
	opacity: 1;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu .sub-menu {
	display: none;
	opacity: 0;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu .menu-item-has-children:hover .sub-menu {
	display: block;
	opacity: 1;
}

.header-nav .sub-menu.nav-dropdown-default {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.sub-menu li a {
	min-width: 150px;
	font-weight: 400 !important;
	text-transform: math-auto !important;
	color: initial !important;
	font-size: 14px !important;
}


.nav-uppercase li a,
.nav-uppercase li>a,
ul.nav-uppercase>li>a {
	text-transform: none !important;
	letter-spacing: normal !important;
}

.flickity-button {
	opacity: 1;
}

.flickity-button svg {
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	padding: 10px;
	border-radius: 4px;
	min-width: 30px;
	max-width: 30px;
	height: 30px;
}

.row-slider .flickity-prev-next-button svg {
	padding: 10px !important;
}

.slider-nav-light .flickity-prev-next-button .arrow,
.slider-nav-light .flickity-prev-next-button svg {
	fill: #333;
}

.flickity-page-dots {
	background: #ffffff30;
	width: max-content;
	margin: auto;
	border-radius: 16px;
	padding: 0px 4px;
	padding-bottom: 2px;

}

.flickity-page-dots .dot {
	width: 8px;
	height: 8px;
	background-color: #fff;
}

.wpcf7 div.wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
	background: #fddddd;
	border: 1px solid red;
	color: red;
	box-shadow: none;
	font-size: 14px;
	padding: 15px;
	border-radius: 6px;
	margin: 0;
	margin-top: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #ebfee3;
	color: #398f14;
	border-color: #398f142e;
}

ul:last-child,
li:last-child {
	margin-bottom: 0;
}

.header-main .nav>li>a {
	line-height: 54px;
}

.header-button a {
	padding: 18px 15px;
	text-transform: math-auto;
	font-size: 16px;
	background-color: var(--primary-color) !important;
	font-weight: 400;
}

.ss-footer {
	padding-top: 60px !important;
	padding-bottom: 30px !important;

	h2 {
		font-size: 48px;
		margin-bottom: 70px;
	}

	.ux-menu-title {
		font-size: 18px;
	}

	.text-absolute-footer {
		p {
			margin-bottom: 0;
		}
	}
}

.ss-banner {
	h2 {
		font-size: 45px;
		font-weight: 400;
	}

	p {
		font-size: 18px;
	}

	.button.white {
		font-size: 17px;
	}

	.slider-nav-light .flickity-prev-next-button {
		margin-top: 30px;
		position: relative;
	}

	.slider-show-nav .flickity-prev-next-button,
	.slider .flickity-prev-next-button.previous {
		transform: 0 !important;
		left: -10px;
	}

	.slider-show-nav .flickity-prev-next-button,
	.slider:hover .flickity-prev-next-button {
		transform: translateX(20%) !important;
	}

	.flickity-prev-next-button.next {
		transform: translateX(20%) !important;
	}
}

.ss-pd {
	padding-top: 60px !important;
	padding-bottom: 30px !important;
}

.frame-title {

	h1,
	h2 {
		font-size: 40px;
		margin-bottom: 0;
		font-weight: 400;
	}
}

.button.white {
	color: var(--primary-color) !important;
	font-size: 16px;
	font-weight: 400;

	&:hover {
		box-shadow: none !important;
		background-color: var(--primary-color) !important;
		color: #fff !important;
	}
}

.ss-category {

	h3 {
		font-size: 40px;
		font-weight: 400;
	}
}

.ss-about {
	p {
		font-size: 18px;
	}
}

.ss-quality {
	.icon-box {
		align-items: center;

		.icon {
			background-color: var(--primary-color);
			border-radius: 50px;
			padding: 7px;
			width: 30px;
			height: 30px;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
}

.ss-cta {
	form {
		margin-bottom: 0;

		input {
			min-height: 60px;
			border-radius: 8px;
		}

		textarea {
			border-radius: 8px;
		}

		.wpcf7-submit {
			min-height: unset;
			border-radius: 50px;
			text-transform: math-auto;
			padding: 1px 30px;
			margin-bottom: 0;
		}

		.wpcf7-not-valid-tip {
			display: none;
		}
	}

	.img,
	.img-inner {
		height: 100%;

		img {
			height: 100%;
			object-fit: cover;
		}

	}
}

.ss-cta.detail {
	padding: 0;
}

textarea {
	resize: vertical;
}

.ss-banner-product {
	h1 {
		font-size: 60px;
	}

	p {
		font-size: 20px;
	}
}


.ip-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 20px;
}

.ip-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.ip-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.ip-btn--primary {
	background-color: var(--primary-color);
	color: #fff;
	border: 2px solid var(--primary-color);
}

.ip-btn--primary:hover {
	opacity: 0.85;
	color: #fff;
}

.ip-btn--outline {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.ip-btn--outline:hover {
	background-color: var(--primary-color);
	color: #fff;
}

.ip-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
}

.ip-list__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	border-bottom: 1px solid #e0e0e0;
	margin: 0 !important;
}

.ip-list__item:last-child {
	border-bottom: none;
}

.ip-list__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: var(--primary-color);
	color: #fff;
	font-size: 14px;
	flex-shrink: 0;
}

.ip-list__text {
	font-size: 15px;
	color: #333;
}

h1.product-title {
	font-size: 50px;
	font-weight: 400;
	margin-bottom: 10px;
}

.related-products-wrapper {
	.name.product-title {
		font-size: 24px;
		margin-top: 0;

		a {
			margin: 0;
		}
	}

	.box-text {
		padding-bottom: 0;
	}
}

.ss-icon-detailproduct {
	.icon-box {
		align-items: center;
	}
}

.ss-manufacture {
	h3 {
		width: max-content;
		width: 25px;
		height: 25px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: auto;
		background-color: var(--primary-color);
		color: #fff;
		padding: 10px;
		border-radius: 50px;
		margin-bottom: 15px;
	}

	h4 {
		font-size: 18px;
		font-weight: 500;
	}
}

.flickity-slider>.row:not(.is-selected) {
	opacity: 1 !important;
}

.ss-banner {
	.flickity-slider>.row:not(.is-selected) {
		opacity: 0 !important;
	}
}



@media(max-width: 1000px) {
	.ss-manufacture {
		h4 {
			font-size: 16px;
		}
	}

	.related-products-wrapper .name.product-title {
		font-size: 20px;
	}

	.frame-title {

		h1,
		h2 {
			font-size: 30px;
		}
	}

	.ss-about {
		p {
			font-size: 16px;
		}
	}

	.ss-banner {
		.flickity-prev-next-button.next {
			right: 0%;
		}
	}

	.ss-banner {
		h2 {
			font-size: 40px;
		}
	}

	.header-button a {
		padding: 4px 10px;
		display: block;
	}

	.ss-footer {
		h2 {
			font-size: 40px;
			margin-bottom: 24px;
		}
	}

	h1.product-title {
		font-size: 40px;
	}
}

@media(max-width: 600px) {
	body {
		overflow-x: hidden;
	}

	h1.product-title {
		font-size: 30px;
	}

	.related-products-wrapper .name.product-title {
		font-size: 18px;
	}

	.ss-banner {
		.slider-nav-light .flickity-prev-next-button {
			display: inline-flex;
		}
	}

	.ss-banner {
		h2 {
			font-size: 30px;
		}
	}

	.ss-footer {
		h2 {
			font-size: 32px;
		}
	}

	.ip-btn {
		font-size: 14px;
		padding: 10px 18px;
	}
}