/*
 Theme Name:   Industrial Child
 Theme URI:    http://industrial.bold-themes.com
 Description:  Industrial Child Theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     industrial
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  industrial-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
	float: left !important;
}

.menuPort {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.btMenuHorizontal .topBarInMenu {
	height: 50px !important;
}

.menuPort nav > ul > li > a {
	line-height: 50px !important;
}

.topBarInMenu .widget_search input {
	max-width: 100% !important;
	padding: 0 25px !important;
	height: 40px !important;
}

.topBarInMenu .widget_search button {
	background: transparent !important;
	position: absolute;
	top: 0;
	right: 10px;
	height: 100% !important;
	border: none !important;
	line-height: 23px !important;
}

.topBarInMenuCell .btIconWidget .btIconWidgetTitle {
	background-image: url(/wp-content/themes/industrial-child/images/tiktok.svg);
	width: 14px;
	height: 16px !important;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	font-size: 0 !important;
	display: flex !important;
	align-items: center;
	transform: translateX(2px) translateY(-4px);
	filter: brightness(0);
}

.btMenuHorizontal .topBarInMenu .topBarInMenuCell {
	text-align: right;
}

.btIco.icon-zalo-footer > a > span {
	background-image: url(./images/zalo-white.png);
	font-size: 0 !important;
	width: 40px;
	height: 100%;
	display: block;
	background-color: #f01164;
	background-size: 50%;
	background-position: center;
	border-radius: 50%;
}

.btStickyHeaderActive .topBarInMenu,
.captionPane.btDarkSkin.btTextCenter {
	display: none !important;
}

.woocommerce a.button:hover,
.woocommerce input[type="submit"]:hover,
.woocommerce .button:hover,
.woocommerce button:hover,
.woocommerce input.alt,
.woocommerce a.button.alt,
.woocommerce .button.alt,
.woocommerce button.alt,
.woocommerce-page a.button:hover,
.woocommerce-page input[type="submit"]:hover,
.woocommerce-page .button:hover,
.woocommerce-page button:hover,
.woocommerce-page input.alt,
.woocommerce-page a.button.alt,
.woocommerce-page .button.alt,
.woocommerce-page button.alt {
	color: #f01164 !important;
	background: transparent !important;
}

.btHardRoundedButtons .woocommerce .button,
.btHardRoundedButtons.woocommerce .button,
.btHardRoundedButtons .woocommerce input[type="text"],
.btHardRoundedButtons.woocommerce input[type="text"],
.btHardRoundedButtons .woocommerce input[type="email"],
.btHardRoundedButtons.woocommerce input[type="email"],
.btHardRoundedButtons .woocommerce input[type="password"],
.btHardRoundedButtons.woocommerce input[type="password"],
.btHardRoundedButtons .woocommerce-page .button,
.btHardRoundedButtons.woocommerce-page .button,
.btHardRoundedButtons .woocommerce-page input[type="text"],
.btHardRoundedButtons.woocommerce-page input[type="text"],
.btHardRoundedButtons .woocommerce-page input[type="email"],
.btHardRoundedButtons.woocommerce-page input[type="email"],
.btHardRoundedButtons .woocommerce-page input[type="password"],
.btHardRoundedButtons.woocommerce-page input[type="password"] {
	border-radius: 50px !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.btSiteFooterWidgets ul li {
	width: 100% !important;
	float: left;
	padding: 0.8em 0 !important;
}

.btArticleCategories a:not(:first-child) {
	display: none !important;
}

.btLightSkin .product .headline a {
	-webkit-line-clamp: 2;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	height: 44px;
	margin-bottom: 10px;
}

.select2-container--default .select2-selection--single {
	height: 44px;
	border: 1px solid rgb(0 0 0 / 10%);
	border-radius: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 44px;
}

/* back to top */
a.cd-top {
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24' fill='%23ffffff'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 0%;
	background-color: #01aaad;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
	-moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
	transition: opacity 0.3s 0s, visibility 0s 0.3s;

	z-index: 99;
	border: 1px solid #f01164;
}

a.cd-top.cd-is-visible,
a.cd-top.cd-fade-out,
.no-touch a.cd-top:hover {
	-webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
	-moz-transition: opacity 0.3s 0s, visibility 0s 0s;
	transition: opacity 0.3s 0s, visibility 0s 0s;
}

a.cd-top,
a.cd-top:visited,
a.cd-top:hover {
	color: #cccccc;
	text-decoration: none;
}

a.cd-top.cd-is-visible {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1;
}

a.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	opacity: 1;
}

/* end back to top */

.btMenuHorizontal .topBarInMenu {
	width: 100%;
	padding-left: 60px;
}

.btMenuHorizontal .topBarInMenu .btTopBox.widget_search {
	width: calc(100% - 360px);
}

body.btMenuHorizontal.btStickyHeaderActive.btLightSkin:not(.btAccentDarkHeader) .mainHeader {
	background: #fff !important;
}

.btPageHeadline {
	margin-bottom: 35px;
}
.menuPort .widget_shopping_cart .widget_shopping_cart_content .btCartWidgetIcon span.cart-contents,
.topTools .widget_shopping_cart .widget_shopping_cart_content .btCartWidgetIcon span.cart-contents,
.topBarInLogoArea .widget_shopping_cart .widget_shopping_cart_content .btCartWidgetIcon span.cart-contents {
	display: block !important;
	padding: 2px 3px;
	background-color: #ff7f00;
	color: #fff;
	font: normal 10px/1 Montserrat;
	border-radius: 2px;
	position: absolute !important;
	top: -5px;
	right: 0;
	text-align: center;
	min-width: 1em;
}

.woocommerce .products ul,
.woocommerce ul.products,
.woocommerce-page .products ul,
.woocommerce-page ul.products {
	padding-top: 40px !important;
}

.header.extrasmall .btSubTitle {
	display: none;
}

.woocommerce ul.products li.product .header {
	display: block;
}

.woocommerce-page ul.products li.product .price,
.woocommerce-page ul.products li.product .header {
	text-align: left;
}
.woocommerce-page ul.products li.product {
	text-align: center;
}

.woocommerce-page ul.products li.product .price {
	color: red;
}

.woocommerce .products ul li.product a.btBtn,
.woocommerce ul.products li.product a.btBtn,
.woocommerce-page .products ul li.product a.btBtn,
.woocommerce-page ul.products li.product a.btBtn {
	margin-top: 0;
}

.is_not_purchasable a {
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 50px !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	font-size: 0.8em;
	line-height: 1;
	font-weight: 700;
	padding: 1em 1.2em;
	color: #000;
	background-color: transparent;
}

@media screen and (max-width: 767px) {
	.topBarInMenu .widget_search button {
		top: 0;
		right: 40px;
	}

	.topTools .widget_search,
	.topBarInMenu .widget_search {
		display: inline-block;
		margin-left: 0.2em;
		clear: both;
		width: 100%;
		margin-bottom: 10px;
	}

	.topBarInMenuCell .btIconWidget {
		display: inline-block !important;
		position: relative !important;
		height: 35px !important;
		overflow: hidden;
		line-height: 35px;
		margin: 0 7px;
	}

	.btMenuVertical > .menuPort nav ul li a {
		padding: 0 2em !important;
		font-size: 20px !important;
	}

	.btMenuVertical > .menuPort nav ul li .sub-menu a {
		padding: 15px 2em !important;
	}
}

@media (max-width: 480px) {
	.bpgPhoto .boldPhotoBox,
	.bpgPhoto .boldPhotoBox img {
		width: 100%;
	}
}

.single-product .entry-summary {
	position: relative;
}

.single-product .zoom-plaholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 350px;
	pointer-events: none;
}

.single-product .zoom-plaholder img {
	max-width: unset !important;
}

.single-product .bpgPhoto {
	margin-bottom: 30px;
}

.single-product .bpgPhoto .boldPhotoBox {
	display: block;
}

.single-product .btImage {
	display: block;
	position: relative;
	padding-top: 100%;
	height: 0;
	overflow: hidden;
}

.single-product .btImage img {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
}
.icon-tiktok-footer a {
	position: relative;
}
.icon-tiktok-footer a::after {
	content: "";
	background-image: url(/wp-content/themes/industrial-child/images/tiktok.svg);
	width: 18px;
	height: 20px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	filter: brightness(0) invert(1);
}
.icon-tiktok-footer a::before {
	content: "" !important;
	position: relative;
}
