/*
Theme Name: Taptake Child
Theme URI: https://seobamboo.com/
Description: Child theme for Taptake with a custom three-column header.
Author: 竹子wordpress
Author URI: https://seobamboo.com/
Template: taptake
Version: 1.0.22
Text Domain: taptake-child
*/

.xtfan-social-shortcode {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	line-height: 1;
	vertical-align: middle;
	width: 100%;
}

.xtfan-social-shortcode a {
	align-items: center;
	border-radius: 50%;
	box-shadow: none;
	box-sizing: border-box;
	color: #fff;
	display: inline-flex;
	font-size: 16px;
	height: 28px;
	justify-content: center;
	line-height: 0;
	padding: 0;
	text-decoration: none;
	transition: transform .2s ease, opacity .2s ease;
	width: 28px;
}

.xtfan-social-shortcode a:hover {
	opacity: .9;
	transform: translateY(-1px);
}

.xtfan-social-shortcode a i,
.xtfan-social-shortcode a svg {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	font-size: 15px;
	height: 15px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	max-height: 15px;
	max-width: 15px;
	width: 15px;
}

.xtfan-social-shortcode a svg {
	fill: currentColor;
}

.xtfan-social-shortcode a i::before {
	display: block;
	line-height: 15px;
}

.xtfan-social-shortcode a.facebook {
	background: #1877f2 !important;
	color: #fff !important;
}

.xtfan-social-shortcode a.tiktok,
.xtfan-social-shortcode a.x-twitter {
	background: #000 !important;
	color: #fff !important;
}

.xtfan-social-shortcode a.linkedin {
	background: #0a66c2 !important;
	color: #fff !important;
}

.xtfan-social-shortcode a.instagram {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
	color: #fff !important;
}

.xtfan-social-shortcode a.youtube {
	background: #ff0000 !important;
	color: #fff !important;
}

.header-top .topbar {
	width: 100%;
}

.header-top .topbar .wp-block-group {
	align-items: center;
	gap: 16px;
	width: 100%;
}

.header-top .contact-info-inline {
	flex: 0 0 auto;
	white-space: nowrap;
}

.header-top .xtfan-social-shortcode {
	flex: 1 1 auto;
	margin-left: auto;
	width: auto;
}

.woocommerce-shop ul.products li.product .woocommerce-loop-product__buttons,
.woocommerce.archive ul.products li.product .woocommerce-loop-product__buttons {
	display: flex !important;
	justify-content: center !important;
	text-align: center !important;
	width: 100%;
}

.woocommerce-shop ul.products li.product a.button.add_to_cart_button,
.woocommerce.archive ul.products li.product a.button.add_to_cart_button,
.woocommerce-shop ul.products li.product a.button.product_type_simple,
.woocommerce.archive ul.products li.product a.button.product_type_simple,
.woocommerce-shop ul.products li.product a.button.product_type_variable,
.woocommerce.archive ul.products li.product a.button.product_type_variable {
	display: inline-flex !important;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.woocommerce-shop ul.products li.product .gridlist-buttonwrap,
.woocommerce.archive ul.products li.product .gridlist-buttonwrap {
	text-align: center !important;
}

.woocommerce-shop ul.products li.product .gridlist-buttonwrap a.button.add_to_cart_button,
.woocommerce.archive ul.products li.product .gridlist-buttonwrap a.button.add_to_cart_button {
	left: calc(50% - 64.6328125px) !important;
	right: auto !important;
	transform: none !important;
}

.woocommerce ul.products li.product .image-block,
.woocommerce-page ul.products li.product .image-block {
	overflow: hidden !important;
}

.woocommerce ul.products li.product .image-block img.secondary-image,
.woocommerce-page ul.products li.product .image-block img.secondary-image {
	height: 100% !important;
	left: 0 !important;
	object-fit: cover !important;
	right: auto !important;
	top: 0 !important;
	width: 100% !important;
}

#masthead {
	margin-bottom: 320px !important;
}

#masthead.sticky-menu,
#masthead.sticky-menu .custom-header-layout,
.custom-header-layout.header-style {
	animation: none !important;
	left: auto !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
}

#main {
	margin-top: -320px !important;
}

.page-title.header {
	margin-top: -320px !important;
}

.page-title.header + #main,
.page-title.header ~ #main {
	margin-top: -190px !important;
}

#main.wide-page {
	margin-top: -320px !important;
}

body.home #main.wide-page,
body.page-template-home #main.wide-page {
	margin-top: -320px !important;
}

.custom-header-layout {
	overflow: visible;
	position: relative;
	z-index: 999;
}

.custom-header-layout .theme-container {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	overflow: visible;
	position: relative;
}

.custom-header-layout .header-center,
.custom-header-layout .header-center-inner,
.custom-header-layout .navigation-bar,
.custom-header-layout .mega-menu,
.custom-header-layout .header-tools,
.custom-header-layout .header-search,
.custom-header-layout .header-cart,
.custom-header-layout .header-cart .cart {
	overflow: visible;
}

.custom-header-layout .header-tools,
.custom-header-layout .header-search,
.custom-header-layout .header-cart {
	position: relative;
}

.custom-header-layout .header-search .woocommerce-product-search,
.custom-header-layout .header-search .search-form,
.custom-header-layout .header-cart .togg .widget.widget_shopping_cart,
.custom-header-layout .header-cart .widget_shopping_cart,
.custom-header-layout .mega-menu ul li ul.sub-menu,
.custom-header-layout .mega-menu ul li ul.children,
.custom-header-layout .mega-menu ul li .sub-container,
.custom-header-layout .mega-menu ul li .sub,
.custom-header-layout .shop-product-outer {
	z-index: 9999;
}

.custom-header-layout .shop-product-outer {
	left: 50% !important;
	margin-left: -50vw !important;
	max-width: none !important;
	right: auto !important;
	width: 100vw !important;
}

.custom-header-layout .mega-menu ul > li.shop-menu > div.shop-product-outer > ul {
	box-sizing: border-box;
	max-width: 1400px;
	padding-left: 16px;
	padding-right: 16px;
	width: calc(100vw - 32px);
}

.custom-header-layout .header-brand-area {
	align-items: flex-start;
	flex: 0 0 220px;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.custom-header-layout .header-brand-area .header-logo {
	margin-inline-end: 0;
}

.custom-header-layout .header-social {
	align-items: center;
	display: flex;
	gap: 8px;
	line-height: 1;
	margin-top: 8px;
}

.custom-header-layout .header-social .widget,
.custom-header-layout .header-social .follow-us,
.custom-header-layout .header-social .follow-us ul,
.custom-header-layout .header-social .follow-us li {
	margin: 0;
	padding: 0;
}

.custom-header-layout .header-social .follow-us ul,
.custom-header-layout .header-social .follow-us li {
	list-style: none;
}

.custom-header-layout .header-social .xtfan-social-shortcode {
	align-items: center;
	display: flex;
	gap: 8px;
	line-height: 1;
}

.custom-header-layout .header-social .follow-us a {
	margin-inline-end: 0;
}

.custom-header-layout .header-social > a,
.custom-header-layout .header-social .follow-us a,
.custom-header-layout .header-social .xtfan-social-shortcode a {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 16px;
	height: 28px;
	justify-content: center;
	text-decoration: none;
	width: 28px;
	border-radius: 50%;
	box-shadow: none;
	transition: transform .2s ease, opacity .2s ease;
}

.custom-header-layout .header-social > a:hover,
.custom-header-layout .header-social .follow-us a:hover,
.custom-header-layout .header-social .xtfan-social-shortcode a:hover {
	opacity: .9;
	transform: translateY(-1px);
}

.custom-header-layout .header-social > a svg,
.custom-header-layout .header-social .follow-us a svg,
.custom-header-layout .header-social .xtfan-social-shortcode a svg {
	fill: currentColor;
	height: 15px;
	width: 15px;
}

.custom-header-layout .header-social > a.facebook,
.custom-header-layout .header-social .follow-us a.facebook,
.custom-header-layout .header-social .xtfan-social-shortcode a.facebook {
	background: #1877f2;
}

.custom-header-layout .header-social > a.tiktok,
.custom-header-layout .header-social .follow-us a.tiktok,
.custom-header-layout .header-social .xtfan-social-shortcode a.tiktok {
	background: #000;
}

.custom-header-layout .header-social > a.linkedin,
.custom-header-layout .header-social .follow-us a.linkedin,
.custom-header-layout .header-social .xtfan-social-shortcode a.linkedin {
	background: #0a66c2;
}

.custom-header-layout .header-social > a.x-twitter,
.custom-header-layout .header-social .xtfan-social-shortcode a.x-twitter {
	background: #000;
}

.custom-header-layout .header-social > a.instagram,
.custom-header-layout .header-social .follow-us a.instagram,
.custom-header-layout .header-social .xtfan-social-shortcode a.instagram {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.custom-header-layout .header-social > a.youtube,
.custom-header-layout .header-social .follow-us a.youtube,
.custom-header-layout .header-social .xtfan-social-shortcode a.youtube {
	background: #ff0000;
}

.custom-header-layout .header-center {
	flex: 1 1 auto;
	justify-content: center;
	min-width: 0;
}

.custom-header-layout .header-center-inner {
	width: auto;
}

.custom-header-layout .navigation-bar {
	width: auto;
}

.custom-header-layout .category-image {
	display: none !important;
}

.custom-header-layout .mega-menu .shop-product-outer .category-image {
	display: none !important;
}

.custom-header-layout .header-tools {
	align-items: center;
	flex: 0 0 auto;
	gap: 14px;
	justify-content: flex-end;
	min-width: 0;
	overflow: visible;
}

.custom-header-layout .header-tools > * {
	align-items: center;
	display: flex;
	height: 42px;
	justify-content: center;
	line-height: 1;
	margin: 0 !important;
}

.custom-header-layout .header-language,
.custom-header-layout .header-account,
.custom-header-layout .header-cart,
.custom-header-layout .header-search {
	align-items: center;
	display: flex;
}

.custom-header-layout .header-cart,
.custom-header-layout .header-cart .cart {
	overflow: visible;
	position: relative;
	z-index: 1002;
}

.custom-header-layout .header-account a {
	align-items: center;
	display: flex;
	gap: 6px;
}

.custom-header-layout .header-search .header-toggle,
.custom-header-layout .header-cart .shopping_cart,
.custom-header-layout .header-account a {
	align-items: center;
	background: #93c76a !important;
	border-radius: 50%;
	box-sizing: border-box;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	position: relative;
	text-decoration: none;
	transition: transform .2s ease, filter .2s ease;
	width: 42px;
}

.custom-header-layout .header-search .header-toggle:hover,
.custom-header-layout .header-cart .shopping_cart:hover,
.custom-header-layout .header-account a:hover {
	filter: brightness(.98);
	transform: translateY(-1px);
}

.custom-header-layout .header-search .header-toggle {
	cursor: pointer;
	mask-image: none;
	-webkit-mask-image: none;
}

.custom-header-layout .header-search .header-toggle svg,
.custom-header-layout .header-cart .cart-icon svg,
.custom-header-layout .header-account .account-icon svg {
	fill: none;
	height: 27px;
	stroke: #1d8ed7;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 5;
	width: 27px;
}

.custom-header-layout .header-search.active .header-toggle {
	mask-image: none;
	-webkit-mask-image: none;
}

.custom-header-layout .header-cart .shopping_cart {
	cursor: pointer;
	margin: 0 !important;
	padding: 0 !important;
}

.custom-header-layout .header-cart .shopping_cart .cart-icon {
	background: transparent !important;
	display: inline-flex;
	height: auto;
	margin: 0;
	mask-image: none !important;
	-webkit-mask-image: none !important;
	width: auto;
}

.custom-header-layout .header-account .account-icon {
	background: transparent !important;
	display: inline-flex;
	height: auto;
	mask-image: none !important;
	-webkit-mask-image: none !important;
	width: auto;
}

.custom-header-layout .header-account .account-label {
	color: #282e3a;
	font-size: 14px;
	white-space: nowrap;
}

.custom-header-layout .header-language .widget {
	margin: 0;
}

.custom-header-layout .header-language .gtranslate_wrapper,
.custom-header-layout .header-language .gt_switcher-popup,
.custom-header-layout .header-search,
.custom-header-layout .header-cart,
.custom-header-layout .header-account {
	margin: 0 !important;
}

.custom-header-layout .header-cart .cart-label,
.custom-header-layout .header-account .account-label {
	display: none;
}

.custom-header-layout .header-cart .cart-price {
	line-height: 1;
	position: absolute;
	right: -5px;
	top: -6px;
}

.custom-header-layout .header-cart .cart-contents {
	display: inline-flex;
	font-size: 0;
	line-height: 1;
}

.custom-header-layout .header-cart .cart-contents .cart-qty {
	background: #1e8ad6;
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	line-height: 16px;
	min-width: 16px;
	padding: 0 3px;
	text-align: center;
}

.custom-header-layout .header-cart .shopping_cart {
	align-items: center;
	display: flex;
	justify-content: center;
}

.custom-header-layout .header-cart .cart_inner {
	display: contents;
}

.custom-header-layout .header-cart .widget_gtranslate,
.custom-header-layout .header-cart .gtranslate_wrapper {
	display: none !important;
}

#media_image-1 {
	display: none !important;
}

.custom-header-layout .header-social > a,
.custom-header-layout .header-social .follow-us a,
.custom-header-layout .header-social .xtfan-social-shortcode a {
	line-height: 0;
	padding: 0;
}

.custom-header-layout .header-social > a i,
.custom-header-layout .header-social .follow-us a i,
.custom-header-layout .header-social .xtfan-social-shortcode a i,
.custom-header-layout .header-social > a svg,
.custom-header-layout .header-social .follow-us a svg,
.custom-header-layout .header-social .xtfan-social-shortcode a svg {
	display: block;
	line-height: 1;
	margin: 0;
}

.custom-header-layout .header-social > a i::before,
.custom-header-layout .header-social .follow-us a i::before,
.custom-header-layout .header-social .xtfan-social-shortcode a i::before {
	display: block;
	line-height: 1;
}

.custom-header-layout .header-search .header-toggle,
.custom-header-layout .header-cart .shopping_cart,
.custom-header-layout .header-account a {
	background: #93c76a !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	height: 42px !important;
	min-height: 42px !important;
	min-width: 42px !important;
	padding: 0 !important;
	width: 42px !important;
}

.custom-header-layout .header-search .header-toggle::before,
.custom-header-layout .header-cart .cart-icon::before,
.custom-header-layout .header-account .account-icon::before {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	display: block;
	height: 27px;
	width: 27px;
}

.custom-header-layout .header-search .header-toggle::before {
	background-image: url("assets/icons/search.svg");
}

.custom-header-layout .header-cart .cart-icon {
	align-items: center;
	background: transparent !important;
	display: inline-flex !important;
	height: 27px !important;
	justify-content: center;
	mask-image: none !important;
	-webkit-mask-image: none !important;
	width: 27px !important;
}

.custom-header-layout .header-cart .cart-icon::before {
	background-image: url("assets/icons/cart.svg");
}

.custom-header-layout .header-account .account-icon {
	align-items: center;
	background: transparent !important;
	display: inline-flex !important;
	height: 27px !important;
	justify-content: center;
	mask-image: none !important;
	-webkit-mask-image: none !important;
	width: 27px !important;
}

.custom-header-layout .header-account .account-icon::before {
	background-image: url("assets/icons/user.svg");
}

.custom-header-layout .header-language .gt_switcher-popup {
	align-items: center !important;
	background: #93c76a url("assets/icons/globe.svg") center / 27px 27px no-repeat !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	height: 42px !important;
	justify-content: center !important;
	min-height: 42px !important;
	min-width: 42px !important;
	opacity: 1 !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: relative !important;
	text-indent: 0 !important;
	width: 42px !important;
	z-index: auto !important;
}

.custom-header-layout .header-language {
	line-height: 1;
}

.custom-header-layout .header-language .gt_switcher-popup img,
.custom-header-layout .header-language .gt_switcher-popup span {
	display: block !important;
	height: 1px !important;
	left: -9999px !important;
	opacity: 0 !important;
	position: absolute;
	top: 0 !important;
	width: 1px !important;
}

.custom-header-layout .header-cart,
.custom-header-layout .header-cart.headercart-block,
.custom-header-layout .header-cart .cart,
.custom-header-layout .header-cart .cart.togg {
	background: transparent !important;
}

.custom-header-layout .header-cart .cart .shopping_cart.tog,
.custom-header-layout .header-cart .shopping_cart {
	align-items: center !important;
	background: #93c76a !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	height: 42px !important;
	justify-content: center !important;
	min-height: 42px !important;
	min-width: 42px !important;
	overflow: visible !important;
	padding: 0 !important;
	width: 42px !important;
}

.mobile-menu-tools {
	display: none;
}

.mobile-menu-tools .header-search,
.mobile-menu-tools .mobile-tool-button {
	align-items: center;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	position: relative;
	width: 42px;
}

.mobile-menu-tools .header-search .header-toggle,
.mobile-menu-tools .mobile-tool-button {
	background: #93c76a !important;
	border: 0;
	border-radius: 50% !important;
	box-shadow: none !important;
	box-sizing: border-box;
	cursor: pointer;
	height: 42px !important;
	min-height: 42px !important;
	min-width: 42px !important;
	padding: 0;
	width: 42px !important;
}

.mobile-menu-tools .header-search .header-toggle::before,
.mobile-menu-tools .mobile-tool-button .mobile-tool-icon {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	display: block;
	height: 27px;
	width: 27px;
}

.mobile-menu-tools .header-search .header-toggle::before {
	background-image: url("assets/icons/search.svg");
}

.mobile-menu-tools .mobile-tool-language-trigger .mobile-tool-icon {
	background-image: url("assets/icons/globe.svg");
}

.mobile-menu-tools .mobile-tool-cart .mobile-tool-icon {
	background-image: url("assets/icons/cart.svg");
}

.mobile-menu-tools .mobile-tool-account .mobile-tool-icon {
	background-image: url("assets/icons/user.svg");
}

.mobile-menu-tools .cart-qty {
	background: #1e8ad6;
	border-radius: 999px;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 16px;
	min-width: 16px;
	padding: 0 3px;
	position: absolute;
	right: -5px;
	text-align: center;
	top: -6px;
}

@media only screen and (max-width: 1200px) {
	.custom-header-layout .theme-container {
		gap: 16px;
		flex-wrap: nowrap;
	}

	.custom-header-layout .header-tools {
		gap: 12px;
	}
}

@media only screen and (max-width: 979px) {
	.custom-header-layout .theme-container {
		flex-wrap: wrap;
		row-gap: 12px;
	}

	.custom-header-layout .header-brand-area {
		flex: 1 1 auto;
	}

	.custom-header-layout .header-center {
		flex: 1 1 100%;
		justify-content: flex-start;
	}

	.custom-header-layout .header-tools {
		flex: 0 0 auto;
	}

	.custom-header-layout .header-account .account-label {
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	.custom-header-layout .theme-container {
		align-items: center;
		display: flex;
		flex-wrap: nowrap;
	}

	.custom-header-layout .header-brand-area {
		align-items: flex-start;
	}

	.custom-header-layout .header-social {
		margin-top: 10px;
	}

	.custom-header-layout .header-tools {
		display: block;
		height: 42px;
		left: 0;
		overflow: visible;
		position: fixed;
		top: 0;
		width: 42px;
		z-index: 1000000;
	}

	.custom-header-layout .header-tools > :not(.header-language) {
		display: none !important;
	}

	.custom-header-layout .header-tools .header-language {
		display: block !important;
		overflow: visible;
		position: static;
	}

	.custom-header-layout .header-tools .header-language .gt_switcher-popup {
		opacity: 0 !important;
		pointer-events: none;
	}

	.mobile-menu-tools {
		align-items: center;
		border-top: 1px solid rgba(0, 0, 0, .08);
		display: flex;
		gap: 12px;
		justify-content: flex-start;
		margin-top: 16px;
		padding: 18px 0 8px;
	}

	.custom-header-layout .header-cart .cart_inner {
		display: block;
	}

	.custom-header-layout .header-center {
		flex: 0 0 auto;
		justify-content: flex-end;
		margin-top: 0;
	}

	.custom-header-layout .mobile-navigation {
		display: flex;
		justify-content: flex-end;
		margin: 0;
		position: relative;
		width: auto;
	}

	.custom-header-layout .mobile-navigation .menu-toggle {
		align-items: center;
		display: inline-flex;
		font-size: 0;
		height: 34px;
		justify-content: center;
		line-height: 1;
		margin: 0;
		position: relative;
		visibility: visible;
		width: 34px;
	}

	.custom-header-layout .mobile-navigation .menu-toggle::before {
		margin: 0;
	}

	.custom-header-layout .mobile-menu {
		box-sizing: border-box;
		padding-top: 18px;
	}

	.custom-header-layout .mobile-menu .close-menu {
		position: absolute;
		right: 18px;
		top: 18px;
	}
}
