:root {
	--medis-mw-green: #3f6f36;
	--medis-mw-green-dark: #31582a;
	--medis-mw-cream: #f5f1e8;
	--medis-mw-border: #d8d2c5;
	--medis-mw-text: #2d2d2d;
}

.top_bar > .container {
	max-width: 1320px;
	height: 100%;
}

.top_bar > .container > .row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	height: 100%;
}

.top_bar .mobile_justify {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	height: 100%;
}

.top_bar .mobile_justify > .shops,
.top_bar .mobile_justify > .social_icon,
.top_bar .mobile_justify > .my_account {
	display: inline-flex;
	align-items: center;
	height: 100%;
}

.top_bar .mobile_justify > .shops > a,
.top_bar .mobile_justify > .social_icon > a {
	display: inline-flex;
	align-items: center;
	height: 100%;
}

@media (min-width: 992px) {
	.top_bar .top_bar__slogan {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
		margin-right: 17px;
	}

	.top_bar .top_bar__actions {
		flex: 1 1 0;
		width: auto;
		max-width: none;
		min-width: 0;
		padding-left: 0;
	}
}

@media (min-width: 1200px) {
	.top_bar .top_bar__slogan {
		margin-right: 0;
		padding-right: 0;
	}

	.top_bar .medis-mw-header {
		flex: 1 1 auto;
		justify-content: center;
		margin-right: 0;
	}

	.top_bar .top_bar__actions {
		flex: 0 0 auto;
	}

	.top_bar .top_bar__slogan,
	.top_bar .top_bar__slogan p {
		display: flex;
		align-items: center;
		height: 100%;
	}

	.top_bar .top_bar__slogan p {
		margin: 0;
		line-height: normal;
	}

	.top_bar .top_bar__actions .my_account {
		gap: 8px;
	}
}

.medis-mw-header {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0;
	height: 100%;
	margin: 0 28px 0 0;
	padding: 0;
	color: #fff;
	line-height: normal;
}

.medis-mw-header__status {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 100%;
	margin: 0;
	font-size: 14px;
	line-height: normal;
	white-space: nowrap;
}

.medis-mw-header__label {
	margin: 0;
	font-weight: 400;
	line-height: normal;
}

.medis-mw-header__active {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	box-sizing: border-box;
	margin: 0;
	padding: 4px 12px;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 18px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 1px 3px rgba(20, 48, 17, .14);
	color: var(--medis-mw-green-dark);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.medis-mw-header__caret {
	font-size: .9em;
	font-weight: 700;
	line-height: 1;
}

.medis-mw-header__active:hover,
.medis-mw-header__active[aria-expanded="true"] {
	border-color: #fff;
	background: #fff;
	box-shadow: 0 2px 6px rgba(20, 48, 17, .2);
}

.medis-mw-header__active:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.medis-mw-header__panel {
	position: absolute;
	z-index: 10020;
	top: calc(100% + 5px);
	right: 0;
	width: 180px;
	padding: 6px;
	border: 1px solid var(--medis-mw-border);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.medis-mw-header__panel[hidden] {
	display: none !important;
}

.medis-mw-header__panel .medis-mw-selector {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
}

.medis-mw-selector {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.medis-mw-selector__button {
	appearance: none;
	border: 1px solid var(--medis-mw-border);
	border-radius: 3px;
	background: #fff;
	color: var(--medis-mw-text);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	min-height: 32px;
	padding: 7px 12px;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.medis-mw-selector__button:hover,
.medis-mw-selector__button:focus {
	border-color: var(--medis-mw-green);
	color: var(--medis-mw-green-dark);
	outline: none;
}

.medis-mw-selector__button.is-active {
	border-color: var(--medis-mw-green);
	background: var(--medis-mw-green);
	color: #fff;
}

.medis-mw-selector__button.is-loading {
	cursor: wait;
	opacity: .65;
}

.medis-mw-selector--header .medis-mw-selector__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 38px;
	padding: 8px 10px;
	border-color: transparent;
	background: transparent;
	color: var(--medis-mw-text);
	font-size: 13px;
	font-weight: 500;
	text-align: left;
}

.medis-mw-selector--header .medis-mw-selector__button:not(.is-active):hover,
.medis-mw-selector--header .medis-mw-selector__button:not(.is-active):focus-visible {
	border-color: rgba(63, 111, 54, .25);
	background: rgba(63, 111, 54, .08);
	color: var(--medis-mw-green-dark);
}

.medis-mw-selector--header .medis-mw-selector__button.is-active {
	border-color: rgba(63, 111, 54, .28);
	background: rgba(63, 111, 54, .1);
	color: var(--medis-mw-green-dark);
	font-weight: 700;
	box-shadow: none;
}

.medis-mw-selector--header .medis-mw-selector__button.is-active::after {
	content: "\2713";
	margin-left: 8px;
	font-weight: 700;
}

.medis-mw-selector--header .medis-mw-selector__button:focus-visible {
	outline: 2px solid var(--medis-mw-green);
	outline-offset: -2px;
}

.medis-mw-product-stock {
	clear: both;
	margin: 18px 0;
	padding: 18px;
	border: 1px solid var(--medis-mw-border);
	border-radius: 4px;
	background: #f5f5f5;
	color: var(--medis-mw-text);
}

.medis-mw-product-stock h3 {
	margin: 0 0 10px;
	font-size: 17px;
}

.medis-mw-stock-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.medis-mw-stock-row {
	padding: 9px 11px 9px 14px;
	background: #fff;
}

.medis-mw-stock-row.is-active {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--medis-mw-green);
}

.medis-mw-active-message {
	margin: 12px 0 0;
	font-weight: 600;
}

.medis-mw-mixed-note {
	margin: 9px 0 0;
	font-size: 13px;
	line-height: 1.45;
}

.single_add_to_cart_button.medis-mw-unavailable {
	cursor: not-allowed !important;
	opacity: .5 !important;
}

.medis-mw-popup[hidden] {
	display: none !important;
}

.medis-mw-popup {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.medis-mw-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(24, 28, 22, .55);
}

.medis-mw-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(430px, 100%);
	padding: 32px;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
	text-align: center;
}

.medis-mw-popup__dialog h2 {
	margin: 0 0 8px;
	font-size: 24px;
}

.medis-mw-popup__dialog p {
	margin: 0 0 20px;
}

.medis-mw-popup__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #555;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.medis-mw-selector--popup {
	display: flex;
	justify-content: center;
}

.medis-mw-selector--popup .medis-mw-selector__button {
	min-width: 125px;
	min-height: 44px;
}

body.medis-mw-popup-open {
	overflow: hidden;
}

.medis-mw-checkout-warehouse {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-left: 4px solid var(--medis-mw-green);
	background: var(--medis-mw-cream);
	color: var(--medis-mw-text);
}

@media (max-width: 1199px) {
	.top_bar {
		height: auto;
		min-height: 48px;
	}

	.top_bar > .container,
	.top_bar > .container > .row {
		height: auto;
	}

	.top_bar > .container > .row {
		align-items: center;
		flex-wrap: wrap;
	}

	.top_bar .top_bar__slogan {
		display: none;
	}

	.top_bar .top_bar__actions {
		order: 1;
		flex: 0 0 100%;
		justify-content: flex-end;
		gap: 18px;
		width: 100%;
		max-width: 100%;
		min-height: 48px;
		height: auto;
		align-items: center;
		flex-wrap: wrap;
		padding-right: 15px;
		padding-left: 15px;
	}

	.medis-mw-header {
		order: 2;
		display: flex;
		flex: 0 0 100%;
		justify-content: center;
		flex-wrap: wrap;
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 42px;
		margin: 0;
		padding: 4px 15px 6px;
	}

	.medis-mw-header__panel {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.medis-mw-header__status {
		font-size: 13px;
	}
}

@media (max-width: 575px) {
	.medis-mw-header__status {
		justify-content: center;
		flex-wrap: wrap;
		row-gap: 6px;
		width: 100%;
		height: auto;
		min-width: 0;
		font-size: 13px;
	}

	.medis-mw-header__active {
		margin: 0;
		padding: 3px 10px;
	}

	.medis-mw-header__panel {
		right: auto;
		left: 50%;
		width: min(210px, calc(100vw - 24px));
		transform: translateX(-50%);
	}

	.medis-mw-stock-list {
		grid-template-columns: 1fr;
	}

	.medis-mw-product-stock {
		padding: 14px;
	}

	.medis-mw-popup__dialog {
		padding: 28px 18px 22px;
	}

	.medis-mw-selector--popup {
		flex-direction: column;
	}
}

.medis-mw-switch-toast {
	position: fixed;
	z-index: 10030;
	top: 56px;
	right: 16px;
	left: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	max-width: 480px;
	margin: 0 auto;
	padding: 11px 12px 11px 15px;
	border: 1px solid rgba(255, 255, 255, .68);
	border-radius: 6px;
	background: var(--medis-mw-green-dark);
	box-shadow: 0 7px 24px rgba(20, 48, 17, .26);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}

.medis-mw-switch-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.medis-mw-switch-toast__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	color: var(--medis-mw-green-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.medis-mw-switch-toast__message {
	min-width: 0;
}

.medis-mw-switch-toast__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	margin: -5px -5px -5px 2px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	pointer-events: auto;
	transition: background-color .2s ease;
}

.medis-mw-switch-toast__close:hover {
	background: rgba(255, 255, 255, .16);
}

.medis-mw-switch-toast__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

@media (max-width: 767px) {
	.top_bar .top_bar__actions > .shops {
		display: none;
	}

	.medis-mw-header {
		min-height: 50px;
		padding: 7px 12px 9px;
	}

	.medis-mw-header__status {
		justify-content: center;
		flex-wrap: wrap;
		column-gap: 10px;
		row-gap: 7px;
		width: 100%;
		height: auto;
		min-width: 0;
		font-size: 16px;
		line-height: 1.35;
		text-align: center;
	}

	.medis-mw-header__label {
		line-height: 1.35;
	}

	.medis-mw-header__active {
		min-height: 34px;
		padding: 6px 13px;
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.medis-mw-switch-toast {
		transition: none;
	}
}
