/* Side cart + mobile header cart/search. */

:root {
	--the7-mobile-microwidgets-icon-color: #235070;
	--the7-mobile-menu-microwidgets-icon-color: #235070;
}

/* Header cart opens the plugin panel; hide The7 dropdown. */
.shopping-cart .shopping-cart-wrap,
.masthead .shopping-cart.show-sub-cart:hover .shopping-cart-wrap,
.masthead .shopping-cart.show-sub-cart .shopping-cart-wrap {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.wc-ico-cart {
	cursor: pointer;
}

.shopping-cart .counter,
.wc-ico-cart .counter {
	background: #e40045 !important;
	color: #fff !important;
}

/* Plugin floating basket is replaced by the header icon. */
.xoo-wsc-basket {
	display: none !important;
}

/*
 * Plugin hides the panel with right: -<configured width>.
 * A full-width mobile panel is wider than that, so a pink strip peeks on large phones.
 */
body:not(.xoo-wsc-cart-active) .xoo-wsc-container,
.xoo-wsc-modal:not(.xoo-wsc-cart-active) .xoo-wsc-container {
	right: -110% !important;
}

.xoo-wsc-cart-active .xoo-wsc-container,
.xoo-wsc-slider-active .xoo-wsc-slider {
	right: 0 !important;
}

@media (max-width: 778px) {
	.xoo-wsc-container,
	.xoo-wsc-slider {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Side cart panel. */
.xoo-wsc-container,
.xoo-wsc-body,
.xoo-wsc-header,
.xoo-wsc-footer,
.xoo-wsc-product,
.xoo-wsc-ft-amt,
.xoo-wsc-ft-buttons-cont a,
.xoo-wsch-text {
	font-family: var(--mtb-font, "Montserrat", Helvetica, Arial, sans-serif) !important;
}

.xoo-wsc-header {
	background: #235070 !important;
	color: #fff !important;
	border-bottom: none !important;
}

.xoo-wsch-text,
.xoo-wsc-header,
.xoo-wsc-header a,
.xoo-wsch-close,
.xoo-wsch-icon {
	color: #fff !important;
}

.xoo-wsch-text {
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.xoo-wsc-body {
	background: #f7f8f9 !important;
}

.xoo-wsc-product {
	border-radius: 12px !important;
	box-shadow: 0 4px 16px rgba(35, 80, 112, 0.08) !important;
}

.xoo-wsc-pname,
.xoo-wsc-pname a,
.xoo-wsc-smr-ptitle,
.xoo-wsc-smr-ptitle a {
	color: #235070 !important;
	font-weight: 600;
}

.xoo-wsc-footer {
	background: #fff !important;
}

.xoo-wsc-ft-amt-label,
.xoo-wsc-ft-amt-value,
.xoo-wsc-ft-amt {
	color: #235070 !important;
	font-weight: 600;
}

.xoo-wsc-ft-btn,
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn {
	border-radius: 999px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase !important;
	box-shadow: none !important;
}

.xoo-wsc-ft-btn-checkout {
	background: #e40045 !important;
	border-color: #e40045 !important;
	color: #fff !important;
}

.xoo-wsc-ft-btn-checkout:hover {
	background: #235070 !important;
	border-color: #235070 !important;
	color: #fff !important;
}

.xoo-wsc-ft-btn-continue,
.xoo-wsc-ft-btn-empty {
	background: #fff !important;
	border: 2px solid #235070 !important;
	color: #235070 !important;
}

.xoo-wsc-ft-btn-continue:hover,
.xoo-wsc-ft-btn-empty:hover {
	background: #235070 !important;
	color: #fff !important;
}

.xoo-wsc-empty-cart {
	text-align: center;
	padding: 24px 16px;
}

.xoo-wsc-emp-txt {
	display: block;
	margin: 12px 0 20px;
	color: #6b6f74;
}

.xoo-wsc-empty-cart .xoo-wsc-btn {
	display: inline-block;
	background: #e40045 !important;
	border-color: #e40045 !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 12px 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.xoo-wsc-empty-cart .xoo-wsc-btn:hover {
	background: #235070 !important;
	border-color: #235070 !important;
	color: #fff !important;
}

.xoo-wsc-body:has(.xoo-wsc-empty-cart) ~ .xoo-wsc-footer .xoo-wsc-ft-buttons-cont {
	display: none;
}

.xoo-wsc-empty-cart .xoo-wsc-ft-btn,
.xoo-wsc-ft-btn-empty {
	border-radius: 999px !important;
}

.mobile-mini-widgets .mini-wpml:empty {
	display: none !important;
}

@media (max-width: 1199px) and (min-width: 779px) {
	.masthead .mobile-mini-widgets .show-on-second-switch {
		display: none !important;
	}

	.masthead .mobile-mini-widgets .mini-search.show-on-first-switch,
	.masthead .mobile-mini-widgets .shopping-cart.show-on-first-switch {
		display: inline-flex !important;
		align-items: center;
		color: #235070 !important;
	}
}

@media (max-width: 778px) {
	.masthead .mobile-mini-widgets .show-on-first-switch {
		display: none !important;
	}

	.masthead .mobile-mini-widgets .mini-search.show-on-second-switch,
	.masthead .mobile-mini-widgets .shopping-cart.show-on-second-switch {
		display: inline-flex !important;
		align-items: center;
		color: #235070 !important;
	}
}

@media (max-width: 1199px) {
	.masthead .mobile-mini-widgets .mini-search i,
	.masthead .mobile-mini-widgets .shopping-cart i,
	.masthead .mobile-mini-widgets .wc-ico-cart,
	.masthead .mobile-mini-widgets .dgwt-wcas-search-icon,
	.masthead .mobile-mini-widgets .dgwt-wcas-ico-magnifier,
	.masthead .mobile-header-bar .mini-search i,
	.masthead .mobile-header-bar .shopping-cart i {
		color: #235070 !important;
		fill: #235070 !important;
	}

	.masthead .mobile-mini-widgets .shopping-cart .woocommerce-Price-amount,
	.masthead .mobile-mini-widgets .shopping-cart .amount,
	.masthead .mobile-header-bar .shopping-cart .woocommerce-Price-amount,
	.masthead .mobile-header-bar .shopping-cart .amount {
		display: none;
	}

	.masthead .mobile-mini-widgets .mini-search .searchform,
	.masthead .mobile-header-bar .mini-search .searchform {
		width: auto !important;
		max-width: 42px;
	}

	.masthead .mobile-mini-widgets .dgwt-wcas-search-wrapp,
	.masthead .mobile-header-bar .dgwt-wcas-search-wrapp {
		min-width: 0 !important;
		width: auto !important;
	}
}
