@import url("../taptake/responsive.css");

@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) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h2,
	.woocommerce-page ul.products li.product h2,
	.woocommerce ul.products li.product h3,
	.woocommerce-page ul.products li.product h3,
	.woocommerce ul.products li.product .product-name,
	.woocommerce-page ul.products li.product .product-name {
		flex-basis: 74px;
		min-height: 74px;
	}

	.woocommerce ul.products:not(.list) li.product .product-detail-wrapper,
	.woocommerce-page ul.products:not(.list) li.product .product-detail-wrapper {
		min-height: 230px !important;
	}

	.xtfan-swiper-arrow {
		height: 34px;
		margin-top: -17px;
		width: 34px;
	}

	.xtfan-swiper {
		height: var(--xtfan-swiper-mobile-height, var(--xtfan-swiper-height, auto));
		min-height: var(--xtfan-swiper-mobile-height, var(--xtfan-swiper-height, 1px));
	}

	.xtfan-swiper-prev {
		left: 10px;
	}

	.xtfan-swiper-next {
		right: 10px;
	}

	.xtfan-swiper-pagination {
		bottom: 10px !important;
	}

	.header-top {
		box-sizing: border-box;
		display: block !important;
		height: auto !important;
		padding: 8px 14px !important;
	}

	.header-top .theme-container,
	.header-top .header-left,
	.header-top .topbar,
	.header-top .topbar .wp-block-group {
		box-sizing: border-box;
		display: flex !important;
		height: auto !important;
		left: auto !important;
		max-width: none !important;
		opacity: 1 !important;
		position: static !important;
		right: auto !important;
		top: auto !important;
		visibility: visible !important;
		width: 100% !important;
	}

	.header-top .theme-container {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.header-top .topbar .wp-block-group {
		align-items: center !important;
		flex-direction: column;
		gap: 8px !important;
		justify-content: center !important;
	}

	.header-top .contact-info-inline {
		display: flex !important;
		flex: 0 1 auto;
		flex-wrap: wrap;
		gap: 4px 10px;
		justify-content: center;
		line-height: 1.35;
		text-align: center;
		white-space: normal;
		width: 100%;
	}

	.header-top .contact-info-inline span {
		display: inline-flex;
		white-space: nowrap;
	}

	.header-top .xtfan-social-shortcode {
		flex: 0 0 auto;
		justify-content: center;
		margin-left: 0;
		width: auto;
	}

	.header-top .xtfan-social-shortcode a {
		height: 26px;
		width: 26px;
	}

	.header-top .xtfan-social-shortcode a svg {
		height: 14px;
		width: 14px;
	}

	.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;
	}
}
