/* --- Fonts --- */
@font-face {
	font-family: "Gotham Book";
	src: url("../fonts/Gotham-Book.woff2") format("woff2"),
		url("../fonts/Gotham-Book.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gotham Book";
	src: url("../fonts/Gotham-Book.woff2") format("woff2"),
		url("../fonts/Gotham-Book.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gotham";
	src: url("../fonts/Gotham-Bold.woff2") format("woff2"),
		url("../fonts/Gotham-Bold.woff") format("woff");
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gotham";
	src: url("../fonts/Gotham-Bold.woff2") format("woff2"),
		url("../fonts/Gotham-Bold.woff") format("woff");
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gotham";
	src: url("../fonts/Gotham-Bold.woff2") format("woff2"),
		url("../fonts/Gotham-Bold.woff") format("woff");
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gotham Book";
	src: url("../fonts/Gotham-Book.woff2") format("woff2"),
		url("../fonts/Gotham-Book.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* nav highlighting */
.nav-products.nav-header {
	background-color: #52beda;
}

@media (min-width: 1300px) {
	.ah-navbar > li.nav-products > a {
		margin-left: -100px;
		padding-left: 110px;
		background-color: #52beda;
	}
}

/* --- Global --- */
:root {
	--container-max-width: 9999px;

	--side-nav-width: 108px;
	--side-nav-top: calc(
		40vh - calc(var(--nav-height) + var(--top-bar-height))
	);
	--side-nav-margin-left: 0px;
	--side-nav-container-extra-padding: 0px;

	--grey-bg-color: #f3f3f4;

	--section-top-bottom-padding: 55px;
	--prod-body-p-margin-bottom: 30px;

	--prod-ingredients-image-thumbs-width: 475px;
	--prod-ingredients-thumb-width: 85px;
}

/* --- Bootstrap --- */
.modal-body {
	font-size: 16px;
}

.ah-custom-tooltip {
	--bs-tooltip-bg: var(--grey-bg-color);
	--bs-tooltip-color: black;
	--bs-tooltip-opacity: 1;
	--bs-tooltip-max-width: 400px;
}

.toast {
	--bs-toast-max-width: 400px;
}
/* custom gallery modal */
/* 
.gallery-modal {
	display: none;
	position: fixed;
	z-index: 3000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	justify-content: center;
	align-items: center;
	padding-top: var(--nav-height);
}

.gallery-modal-content {
	background-color: #fefefe;
	position: relative;
	height: 70vh;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	padding: 30px;
}

.gallery-close-btn {
	position: absolute;
	top: 0px;
	right: 10px;
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.gallery-close-btn:hover,
.gallery-close-btn:focus {
	color: black;
}

.gallery-main-content {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.gallery-main-content img,
.gallery-main-content video {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
} */

#formulaType {
	position: absolute;
	left: 370px;
	top: 20%; /* Align 20% down from the top of Zoomer */
	transform: translateY(-50%);
	width: 100px;
	display: none;
}

#formulaTypeMobile {
	position: absolute;
	left: 260px;
	top: 23%; /* Align 20% down from the top of slider */
	transform: translateY(-50%);
	width: 100px;
	display: none;
}

#mobileBlazeSlider {
	padding-left: 0;
	padding-right: 0;
}

.gallery-modal {
	display: none;
	position: fixed;
	z-index: 3000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	justify-content: center;
	align-items: center;
}

.gallery-modal-content {
	background-color: #fefefe;
	position: relative;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	padding: 30px;
	gap: 20px;
	max-height: 750px;
	max-width: 1200px;
	width: auto;
	height: 90vh;
	aspect-ratio: 1200 / 750;
}

@media (max-aspect-ratio: 1200 / 750) {
	.gallery-modal-content {
		width: 90vw;
		height: auto;
	}
}

.gallery-close-btn {
	position: absolute;
	top: 0px;
	right: 10px;
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.gallery-close-btn:hover,
.gallery-close-btn:focus {
	color: black;
}

.gallery-main-content {
	width: 80%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	flex: 1;
}

.gallery-main-image-container {
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	position: relative;
	overflow: hidden;
	z-index: 10;
}

.gallery-main-content img,
.gallery-main-content video {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.gallery-main-content .chevron {
	font-size: 2rem;
	color: #000;
	cursor: pointer;
	z-index: 1;
	user-select: none;
}

.gallery-main-content .chevron.left {
	left: 7px;
	padding-right: 10px;
}

.gallery-main-content .chevron.right {
	right: 7px;
	padding-left: 10px;
}

.gallery-thumbnails {
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-y: auto;
	width: 20%;
	gap: 10px;
	padding: 6px;
	max-width: 100px;
}

.gallery-thumbnails img {
	position: absolute;
	top: 0;
	left: 0;
	object-fit: contain;
	height: 100%;
	width: 100%;
}

.gallery-thumbnail-container {
	aspect-ratio: 1 / 1;
	border: solid 1px #d3d3d3;
	text-align: center;
	padding: 2px 2px;
	border-radius: 5px;
	box-shadow: 0px 0px 5px 0px #0000003b;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	flex: none;
}

.gallery-thumbnail {
	margin: 5px;
	cursor: pointer;
	border: 2px solid transparent;
	height: 100%;
	width: 100%;
	position: relative;
}

.gallery-thumbnail-container.gallery-selected {
	border: solid 1px var(--accent-color-teal);
}

@media (max-width: 767.98px) {
	.gallery-modal-content {
		width: 90vw;
		height: 80vh;
	}
	/* style for vertical mobile */
	@media (max-aspect-ratio: 750 / 750) {
		.gallery-modal-content {
			flex-direction: column;
		}
		.gallery-main-content {
			width: 100%;
			height: 80%;
			position: static;
		}

		.gallery-thumbnails {
			flex-direction: row;
			overflow-x: auto;
			overflow-y: hidden;
			width: 100%;
			max-width: none;
			gap: 10px;
			padding: 6px;
			height: 80px;
			flex-shrink: 0;
		}

		.gallery-thumbnail-container {
			width: auto;
			height: 100%;
			flex: none;
		}
		.gallery-main-content .chevron {
			position: absolute;
		}
	}
}

/* --- Magic Zoom Plus Overrides--- */
.mz-hint {
	display: none !important;
}

.mz-expand .mz-expand-bg {
	display: none !important;
}
.mz-expand {
	background-color: #89898969 !important;
}
@media (max-width: 767.98px) {
	.mz-expand {
		visibility: hidden;
	}
}

.mobile-magic .mz-expand button.mz-button.mz-button-close {
	color: #fff !important;
	bottom: 0 !important;
	top: unset !important;
}

button.mz-button {
	color: #fff !important;
}

:root:not(.mobile-magic) button.mz-button:hover,
button.mz-button:active {
	color: rgb(131 131 131) !important;
}

/* --- Bazaar Voice --- */
.bv-cv2-cleanslate .bv-core-container-277 .bv-content-title,
.bv-cv2-cleanslate .bv-core-container-277 .bv-content-summary-title {
	font-family: "Roboto", sans-serif !important;
}

/* --- Product Page --- */

section {
	/*min-height: 50vh;*/
}

section:first-of-type {
	margin-bottom: 70px;
}

section:not(:first-of-type) {
	padding-top: var(--section-top-bottom-padding);
	padding-bottom: calc(
		var(--section-top-bottom-padding) - var(--prod-body-p-margin-bottom)
	);
}

section.grey-bg {
	background-color: var(--grey-bg-color);
}

section > .container {
	max-width: var(--container-max-width) !important;
}

section .prod-heading {
	font-size: 32px;
	font-weight: 500;
	color: var(--accent-color-teal);
	margin-bottom: 20px;
	display: flex;
}

section .prod-heading > span.reg {
	font-size: 18px;
	line-height: 1;
	margin-right: 5px;
	margin-top: 5px;
}

section .prod-heading > span.trade {
	font-size: 42px;
	line-height: 1;
	margin-right: 5px;
	margin-top: 5px;
}

section .prod-subheading {
	margin-top: -20px;
	margin-bottom: 20px;
}

section .prod-subheading a {
	color: var(--accent-color-skyblue);
}

section .prod-body > img,
section .prod-body > figure > img {
	width: 100%;
}

section .prod-body > figure > figcaption {
	user-select: none;
	font-style: italic;
	text-align: center;
}

section .prod-body p,
section .prod-body ul,
section .prod-body table,
section .prod-body ul.numbered-list li,
section .prod-body > figure > figcaption,
section .prod-subheading {
	font-size: 16px;
}

section .prod-body p {
	margin-bottom: var(--prod-body-p-margin-bottom);
}

section .prod-body p > a:not(.no-link-style) {
	text-decoration: underline;
	color: #00a1e9;
}

section .prod-body ul {
	list-style-position: outside;
	margin-bottom: 20px;
}

/* Orange Bullet Points */
section .prod-body ul.orange-bullets > li::marker {
	color: var(--accent-color-orange);
}

/* Blue Bullet Points */
section .prod-body ul.teal-bullets > li::marker {
	color: var(--accent-color-teal);
}

/* Blue Circled Numbered List */
section .prod-body ul.numbered-list {
	counter-reset: li;
	list-style-type: none;
	line-height: 18px;
	padding-left: 10px;
}

section .prod-body ul.numbered-list > li {
	position: relative;
	padding: 5px 0 5px 30px;
	margin-bottom: 5px;
}

section .prod-body ul.numbered-list > li:before {
	content: counter(li);
	counter-increment: li;
	height: 22px;
	width: 22px;
	border: 2px solid var(--accent-color-teal);
	border-radius: 50%;
	color: var(--accent-color-teal);
	text-align: center;
	position: absolute;
	left: 0;
	top: 3px;
	font-weight: bold;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 13px;
}

/* --- Side Nav --- */

.side-nav {
	position: fixed;
	top: var(--side-nav-top);
	display: none;
	flex-direction: column;
	width: 108px;
	border: 1px solid #e7e7e7;
	border-radius: 5px;
	box-shadow: 0px 0px 5px 0px #a7a7a73b;
	padding: 20px 15px;
	background-color: #f7f7f7;
	z-index: 100;
	margin-left: var(--side-nav-margin-left);
}

.side-nav > a {
	font-size: 14px;
	margin-bottom: 15px;
}

.side-nav > a:last-child {
	margin-bottom: 0;
}

.side-nav > a.selected {
	font-weight: 500;
	color: var(--accent-color-teal) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
}

.side-nav > a.selected[data-scroll="prod-granules-advantage"] {
	text-underline-offset: 4px;
}

@media (min-width: 1440px) {
	.side-nav {
		display: inline-flex;
	}
	section:not(:first-of-type) > .container {
		padding-left: calc(
			calc(var(--bs-gutter-x) * 0.5) + var(--side-nav-width) +
				var(--side-nav-container-extra-padding)
		) !important;
	}
}

/* --- section.prod-main --- */
/* section.prod-main {
	margin-top: calc(var(--nav-height) + var(--top-bar-height));
} */

#magicZoomSection {
	display: flex;
}

#magicZoomSection .main-image-section {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

section.prod-main > .container {
	position: relative;
}

/* Category Breadcrumb */
section.prod-main .category-breadcrumb {
	font-size: 14px;
	font-weight: 500;
	height: 21px;
}

/* Image/Video Selector */
section.prod-main .image {
	max-width: 500px;
}

section.prod-main .image .thumb_image img {
	width: 100%;
	height: 100%;
	max-height: 72px;
	object-fit: contain;
}

section.prod-main .image .thumb-container {
	flex-grow: 0;
	padding-right: 30px;
}

section.prod-main .image .image-container {
	min-height: 450px;
	display: inline-flex;
	justify-content: center;
	flex-grow: 0;
}

section.prod-main .image .image-container:hover,
section.prod-main .image .image-container img:hover {
	cursor: crosshair;
}

body
	main#main
	section
	div
	div
	div
	div
	div
	a#Zoomer:not(.mz-no-rt-width-css)
	> .mz-figure:not(.mz-no-rt-width-css)
	> img {
	width: unset !important;
}

#Zoomer > figure > img {
	max-width: 100% !important;
	max-height: 450px !important;
}

#Zoomer {
	display: flex;
	align-items: center; /* align vertical */
	justify-content: center; /* align horizontal */
	height: 100%;
}

/* #mobile_Zoomer {
	display: flex;
	align-items: center; 
	justify-content: center; 
	height: 100%;
} */

#thumb_area {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#thumb_area .thumb_image {
	width: 65px;
	height: 65px;
	border: solid 1px #d3d3d3;
	overflow: hidden;
	text-align: center;
	padding: 2px 0 !important;
	margin: 5px 0 !important;
	border-radius: 5px;
	box-shadow: 0px 0px 5px 0px #0000003b;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

#thumb_area .thumb_image > a {
	padding: 3px;
	height: 100%;
}

#thumb_area .thumb_image#showMoreGalleryButton {
	height: 30px;
	color: var(--accent-color-teal);
	font-size: 14px;
	align-items: flex-end;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
#thumb_area .thumb_image#showMoreGalleryButton:hover {
	background-color: var(--accent-color-teal);
	color: white;
}
#thumb_area .thumb_image#showMoreGalleryButton .show-more-quantity {
	font-size: 16px;
}

/* Blaze Slider Styling */

/* Style for the pagination buttons */
.blaze-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	position: relative;
	height: 15px;
	margin-top: 7px;
}

.blaze-pagination button {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-color: lightgrey;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s;
	padding: 0;
	font-size: 0;
}

.blaze-pagination button.active {
	background-color: grey;
}

.blaze-track .blaze-mobile-slide {
	display: flex;
	justify-content: center;
	position: relative;
	padding-inline: 10px;
}

.blaze-track .mobile-product-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Image Hover */
section.prod-main .image-hover {
	display: none;
	position: absolute;
	top: calc(3rem + 21px);
	left: 500px;
	z-index: 99;
	padding-left: 12.5vw;
	padding-right: 12.5vw;
	background-color: white;
	box-shadow: 0px 0px 5px 0px #0000003b;
	border-radius: 5px;
}

section.prod-main .image-hover > img {
	max-width: 35vw;
	max-height: 75vh;
}

/* Disclaimer */
section.prod-main .image .below-main-image .disclaimer {
	justify-content: flex-end;
}

section.prod-main .image .below-main-image .disclaimer > div > div {
	text-align: center;
}

/* Product Icons */
section.prod-main .image .below-main-image .icons {
	justify-content: flex-end;
	min-height: 70px;
}

section.prod-main .image .below-main-image .icons > div {
	display: flex;
	justify-content: center;
}

section.prod-main .image .below-main-image .icons img {
	display: none;
	max-width: 70px;
}

/* Product Info */
section.prod-main .info {
	display: flex;
	flex-direction: column;
	padding-left: 30px;
	padding-right: 30px;
}

section.prod-main .info > .info-top {
}

section.prod-main .info > .info-top .prod-gct-text {
	color: var(--accent-color-skyblue);
	font-family: "Gotham Book", sans-serif;
	font-size: 18px;
	font-weight: bold;
	display: flex;
	align-items: self-start;
}

section.prod-main .info > .info-top .prod-gct-text > span {
	font-family: "Roboto", sans-serif;
	font-size: 11px;
	margin-top: 2px;
}

section.prod-main .info > .info-top .prod-title {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 5px;
}

section.prod-main .info > .info-top .prod-subtitle {
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	margin-bottom: 10px;
}

section.prod-main .info > .info-top .prod-subtitle.larger-subtitle {
	font-size: 22px;
}

section.prod-what-does-it-do-how-to-use-it .prod-body ul.teal-bullets {
	padding-left: 15px;
}

section.prod-main .info > .info-top .prod-subtitle a {
	color: var(--accent-color-skyblue);
	font-weight: 400;
}

section.prod-main .info > .info-top > .prod-extra-info {
	display: flex;
	flex-wrap: wrap;
}

section.prod-main .info > .info-top > .prod-extra-info .prod-concentration {
	line-height: 1;
	font-size: 33px;
	font-weight: 600;
	padding: 6px 12px;
	background-color: #86bc26;
	color: white;
	letter-spacing: 1px;
	margin-right: 10px;
}

section.prod-main
	.info
	> .info-top
	> .prod-extra-info
	> .prod-extra-info-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

section.prod-main
	.info
	> .info-top
	> .prod-extra-info
	> .prod-extra-info-inner
	.prod-sub-subtitle {
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 5px;
}

section.prod-main
	.info
	> .info-top
	> .prod-extra-info
	> .prod-extra-info-inner
	.prod-muted-text {
	color: #9b9b9b;
	font-size: 16px;
	line-height: 1;
}

section.prod-main .info > .info-top .stars-container {
	display: flex;
	align-items: center;
	margin-top: 10px;
	margin-bottom: 10px;
	height: 21px;
}

section.prod-main .info > .info-top .stars-container > .prod-stars {
	font-size: 24px;
	line-height: 1;
	user-select: none;
	cursor: pointer;
	display: grid;
}

section.prod-main .info > .info-top .stars-container > .prod-stars > .behind,
section.prod-main .info > .info-top .stars-container > .prod-stars > .ahead {
	grid-column: 1;
	grid-row: 1;
}

section.prod-main .info > .info-top .stars-container > .prod-stars > .behind {
	color: #6f6e73;
}

section.prod-main .info > .info-top .stars-container > .prod-stars > .ahead {
	color: #f8961e;
	overflow: hidden;
}

section.prod-main .info > .info-top .stars-container > .rating {
	cursor: pointer;
	font-size: 16px;
	margin-left: 10px;
	color: #717174;
}

section.prod-main .info > .info-top .stars-container > .num-reviews {
	font-size: 16px;
	margin-left: 5px;
	color: #717174;
}

section.prod-main .info > .info-top .prod-best-seller {
	margin-bottom: 10px;
}

section.prod-main .info > .info-top .prod-best-seller > img {
	user-select: none;
	width: 100px;
}

section.prod-main .info > .info-top .prod-description {
	font-size: 16px;
	padding-top: 20px;
	padding-bottom: 20px;
}

section.prod-main .info > .info-top .prod-description a {
	color: var(--accent-color-skyblue);
}

section.prod-main .info > .info-top .prod-description li {
}

section.prod-main .info > .info-top .prod-description li::marker {
	color: var(--accent-color-orange);
}

section.prod-main .info > .info-top span.hr {
	height: 100px;
	width: 100%;
	height: 1px;
	background-color: #b0b0b0;
	display: inline-block;
}

/* Info Bottom */
section.prod-main .info > .info-bottom {
	margin-top: auto;
}

/* Best Before Date */
section.prod-main .info > .info-bottom .best-before-date {
	margin-top: 10px;
	display: flex;
	align-items: center;
	font-size: 14px;
}

section.prod-main .info > .info-bottom .best-before-date > span:first-child {
	margin-right: 5px;
}

section.prod-main .info > .info-bottom .best-before-date > img {
	user-select: none;
	cursor: pointer;
	width: 18px;
	margin-right: 5px;
}

/* Share */

section.prod-main .info > .info-bottom .share-container {
	margin-top: 10px;
	margin-bottom: 20px;
}

section.prod-main .info > .info-bottom span.hr {
	height: 1px;
	background-color: #b0b0b0;
	display: inline-block;
	width: 100%;
	margin-bottom: 40px;
}

section.prod-main .info > .info-bottom .share-container > a {
	margin-top: 5px;
}

section.prod-main .info > .info-bottom .share-container > a > img {
	width: 30px;
}

/* Related Products / Topics */
.related {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.related .related-products,
.related .related-topics {
	max-width: 250px;
}

.related .related-title {
	color: var(--accent-color-teal);
	font-size: 14px;
	font-weight: 600;
}

.related .related-box {
	padding: 5px 0;
	display: flex;
	flex-direction: column;
}

.related .related-box > a {
	width: fit-content;
}

/* Add to Cart Box */
section.prod-main .cart {
	max-width: 256px;
}

section.prod-main .row.add-to-cart {
	padding: 10px 3px;
	border-top: 1px solid #b0b0b0;
	border-bottom: 1px solid #b0b0b0;
	border-right: 1px solid #b0b0b0;
	border-left: 1px solid #b0b0b0;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	padding-bottom: 20px;
}

section.prod-main .add-to-cart-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

section.prod-main .add-to-cart-container .price {
	font-size: 36px;
	font-weight: 800;
	margin-top: 10px;
	margin-bottom: 5px;
}

section.prod-main .add-to-cart-container span.hr {
	height: 1px;
	background-color: #b0b0b0;
	display: inline-block;
	width: 80%;
	margin-top: 10px;
	margin-bottom: 10px;
}

.short-slices-switcher > div > label > img {
	width: 75px;
	padding-right: 10px;
}

section.prod-main .add-to-cart-container .pian-wan-switcher,
.short-slices-switcher,
.attributes-switcher {
	margin-top: 10px;
	margin-bottom: 10px;

	width: 100%;

	display: flex;
	align-items: center;
}

section.prod-main .add-to-cart-container .pian-wan-switcher > div,
.short-slices-switcher > div,
.attributes-switcher > div {
	display: flex;

	padding-inline: 10px;
	padding-block: 3.5px;

	border: 2px solid #ededed;
	border-radius: 5px;
}

section.prod-main .add-to-cart-container .pian-wan-switcher > .wan,
.short-slices-switcher > .slices,
.attributes-switcher > .attribute-option {
	margin-top: 7.5px;
}

.attribute-option .form-check-label {
	padding-right: 10px;
	flex-grow: 1;
	display: flex;
}

.attribute-option-name {
	font-weight: 600;
	text-align: end;
	width: 40%;
}
.attribute-option-price {
	text-align: end;
	width: 35%;
}

section.prod-main
	.add-to-cart-container
	.pian-wan-switcher
	> div
	> .form-input-container,
.short-slices-switcher > div > .form-input-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

section.prod-main
	.add-to-cart-container
	.pian-wan-switcher
	> div
	> .form-input-container
	> input,
.short-slices-switcher > div > .form-input-container > input {
	width: 16px;
	height: 16px;
}

section.prod-main
	.add-to-cart-container
	.pian-wan-switcher
	> div
	> .form-input-container
	> input:checked,
.short-slices-switcher > div > .form-input-container > input:checked {
	background-color: var(--accent-color-orange);
	border-color: var(--accent-color-orange);
}

section.prod-main .add-to-cart-container .pian-wan-switcher > div > label,
.short-slices-switcher > div > label {
	font-weight: 600;
	display: inline-flex;
	align-items: center;
}

section.prod-main
	.add-to-cart-container
	.pian-wan-switcher
	> div
	> label
	> img {
	width: 75px;
}
section.prod-main
	.add-to-cart-container
	.short-slices-switcher
	> div
	> label
	> span {
	width: 100%;
}
section.prod-main .add-to-cart-container .short-slices-switcher > div > label {
	min-width: 20%;
}
.short-slices-switcher > div {
	width: 100%;
	display: flex;
	gap: 15px;
	min-height: 47px;
}
.short-slices-switcher {
	flex-wrap: wrap;
}
.short-slices-switcher > span {
	margin-top: -15px;
	color: var(--accent-color-orange);
}

section.prod-main
	.add-to-cart-container
	.pian-wan-switcher
	> div
	> label
	> span:not(:last-child) {
	margin-right: 5px;
}

section.prod-main
	.add-to-cart-container
	.pian-wan-switcher
	> div
	> label
	> span:last-child {
	font-weight: normal;
}

#wasPrice {
	color: red;
	text-decoration: line-through;
}

table.quantity-save {
	border-collapse: collapse;
	margin-bottom: 0px;
}
.quantity-save td {
	padding: 0; /* Adjust or remove padding as needed */
}
.quantity-save .label {
	text-align: right;
	padding-right: 10px; /* Space between label and value */
}
.quantity-save .value {
	text-align: left;
}

section.prod-main .add-to-cart-container .quantity-save #saveAmount {
	color: var(--accent-color-orange);
	font-weight: 600;
}

section.prod-main .add-to-cart-container .quantity {
	display: flex;
	margin-top: 20px;
	margin-bottom: 30px;
}

section.prod-main .add-to-cart-container .quantity > span {
	margin-right: 5px;
	display: flex;
	align-items: center;
	font-size: 15px;
}

section.prod-main .add-to-cart-container .quantity > .input-group input {
	width: 50px;
	text-align: center;
	font-weight: 600;
	height: 30px;
	margin-left: 5px !important;
	margin-right: 5px !important;
}

section.prod-main .add-to-cart-container .quantity > .input-group button {
	background-color: #ceced0;
	border: 0;
	height: 30px;
	line-height: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	color: black;
}

#quantity-decrease {
	font-size: 34px;
}

#quantity-increase {
	font-size: 28px;
}

section.prod-main
	.add-to-cart-container
	.quantity
	> .input-group
	input::-webkit-outer-spin-button,
section.prod-main
	.add-to-cart-container
	.quantity
	> .input-group
	input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

section.prod-main
	.add-to-cart-container
	.quantity
	> .input-group
	input[type="number"] {
	-moz-appearance: textfield;
}

#notify-me-overlay .x-close-btn {
	cursor: pointer;
	color: #fff;
	border: 1px solid #aeaeae;
	border-radius: 50%;
	background: #a7a7a7;
	font-size: 19px;
	font-weight: bold;
	display: inline-block;
	line-height: 0;
	padding: 8px 3px;
	transition: all 0.2s ease-out;
}
#notify-me-overlay .x-close-btn:before {
	content: "x";
}
#notify-me-overlay .x-close-btn:hover {
	background: #ff6c00;
}

section.prod-main .add-to-cart-container .add-to-cart-button,
section.prod-main .add-to-cart-container .out-of-stock-button,
section.prod-main .add-to-cart-container .notify-when-available-button {
	cursor: pointer;
	user-select: none;

	height: 30px;
	font-size: 15px;
	background-color: var(--accent-color-orange);
	border-radius: 5px;
	color: white;
	padding: 5px;
	text-align: center;
	width: 100%;

	display: flex;
	justify-content: center;
}
section.prod-main .add-to-cart-container .out-of-stock-button {
	cursor: default;
	background-color: #9a9a9a;
}
section.prod-main .add-to-cart-container .notify-when-available-button {
	margin-top: 10px;
}

section.prod-main .add-to-cart-container .add-to-cart-button > img {
	width: 24px;
}

section.prod-main .add-to-cart-container .add-to-cart-button > span {
	margin-left: 5px;
}

section.prod-main .add-to-cart-container .add-to-favorites-button {
	cursor: pointer;
	user-select: none;

	height: 30px;
	font-size: 15px;
	margin-top: 10px;
	background-color: #9a9a9a;
	border-radius: 5px;
	color: white;
	padding: 5px;
	text-align: center;
	width: 100%;

	display: flex;
	justify-content: center;
	align-items: center;
}

section.prod-main .add-to-cart-container .add-to-favorites-button > span {
	margin-left: 5px;
}

section.prod-main .add-to-cart-container .add-to-favorites-button > svg {
	width: 22px;
	margin-bottom: 5px;
}

section.prod-main
	.add-to-cart-container
	.add-to-favorites-button
	> svg
	> polygon {
	fill: white;
}

/* Automatic Reorder */
section.prod-main .row.automatic-reorder {
	display: none;
	padding: 10px;
	border-bottom: 1px solid #ededed;
	border-right: 1px solid #ededed;
	border-left: 1px solid #ededed;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	background-color: var(--grey-bg-color);
	border-top: 1px solid #dedede;

	padding-bottom: 30px;
}

section.prod-main .automatic-reorder-container {
}

section.prod-main .automatic-reorder-container > .form-select {
	font-size: 13px;
	margin-top: 10px;
}

section.prod-main .automatic-reorder-container > .set-up-now-button {
	cursor: pointer;
	user-select: none;
	margin-top: 10px;
	background-color: #f8931d;
	border-radius: 5px;
	color: white;
	padding: 5px;
	text-align: center;
	font-size: 14px;
}

/* --- prod-what-does-it-do-how-to-use-it --- */
section.prod-what-does-it-do-how-to-use-it {
	padding-bottom: var(--section-top-bottom-padding) !important;
}

section.prod-what-does-it-do-how-to-use-it a[data-toggle="lightbox"] {
}

section.prod-what-does-it-do-how-to-use-it a[data-toggle="lightbox"] > img {
	width: 100%;
}

/* --- prod-what-does-it-do --- */
section.prod-what-does-it-do {
}

section.prod-what-does-it-do .prod-body > p > img {
	user-select: none;
	float: right;
	margin-left: var(--prod-body-p-margin-bottom);
	margin-bottom: var(--prod-body-p-margin-bottom);
	max-height: 300px;
}

section.prod-what-does-it-do > .container.me {
	display: none;
}

section.prod-what-does-it-do > .container.me .subtitle {
	font-size: 20px;
	font-weight: 500;
	color: var(--accent-color-teal);
	margin-bottom: 5px;
	display: flex;
}

section.prod-what-does-it-do > .container.me .subtitle > sup {
	top: 0;
	line-height: 1;
}

section.prod-what-does-it-do > .container.me .prod-body > picture > img {
	width: 100%;
}

section.prod-what-does-it-do > .container.me .prod-body > picture > img.ah-mt {
	margin-top: var(--prod-body-p-margin-bottom);
}

section.prod-what-does-it-do > .container.me .prod-body > picture > img.ah-mb {
	margin-bottom: var(--prod-body-p-margin-bottom);
}

section.prod-what-does-it-do > .container.me .prod-body > img {
	width: 100%;
}

section.prod-what-does-it-do > .container.me .prod-body > img.ah-mt {
	margin-top: var(--prod-body-p-margin-bottom);
}

section.prod-what-does-it-do > .container.me .prod-body > img.ah-mb {
	margin-bottom: var(--prod-body-p-margin-bottom);
}

section.prod-what-does-it-do > .container.me .prod-body .what-mobile {
	display: none;
}

/* --- prod-preparation --- */
section.prod-preparation {
}

section.prod-preparation .prod-body > figure {
	float: left;
	padding-right: var(--prod-body-p-margin-bottom);
	padding-bottom: var(--prod-body-p-margin-bottom);
}

section.prod-preparation .prod-body > figure > img {
	user-select: none;
	max-width: 300px;
}

/* --- prod-granules-advantage --- */
section.prod-granules-advantage {
}

section.prod-granules-advantage .primary-box {
}

section.prod-granules-advantage .primary-box img {
	width: 100%;
	max-width: 200px;
}

section.prod-granules-advantage .primary-box .col-7 {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

section.prod-granules-advantage .primary-box .box-heading {
	font-size: 34px;
	font-weight: 600;
	color: var(--accent-color-teal);
}

section.prod-granules-advantage .primary-box .box-body {
	font-size: 16px;
}

section.prod-granules-advantage .primary-box .box-body ul {
	list-style-type: "✓";
	list-style-position: inside;
	margin-bottom: 20px;
}

section.prod-granules-advantage .primary-box .box-body ul li::marker {
	font-weight: bold;
	color: var(--accent-color-orange);
}

section.prod-granules-advantage .primary-box .box-body ul li span {
	position: relative;
	/*left: -7.5px;*/
}

section.prod-granules-advantage .secondary-box {
	max-width: 500px;
}

section.prod-granules-advantage .secondary-box img {
	width: 100%;
}

section.prod-granules-advantage .secondary-box .box-heading {
	font-size: 22px;
	font-weight: 600;
	color: var(--accent-color-teal);
}

section.prod-granules-advantage .secondary-box .box-body {
	font-size: 16px;
}

/* --- Modern Essentials Extra Info --- */
section.prod-me-extra-info {
	padding-bottom: var(--section-top-bottom-padding) !important;
}

section.prod-me-extra-info .subtitle {
	font-size: 20px;
	font-weight: 500;
	color: var(--accent-color-teal);
	margin-bottom: 0px;
	display: flex;
}

/* --- Product Specification --- */
section.prod-specification {
}

section.prod-specification table {
	width: auto;
}

/* --- Ingredients --- */
section.prod-ingredients {
	padding-bottom: var(--section-top-bottom-padding);
}

#ingredients-table {
	max-width: 825px;
	border-collapse: separate;
	border-spacing: 0 10px;
	margin-bottom: calc(var(--prod-body-p-margin-bottom) * 2);
}

#ingredients-table > thead > tr {
	background-color: var(--grey-bg-color);
}

#ingredients-table > thead > tr > th {
	font-weight: bold;
}

#ingredients-table:not(.baiyao-ingredients) > tbody > tr {
	cursor: pointer;
}

.baiyao-ingredients > tbody a {
	color: var(--accent-color-skyblue);
}

#ingredients-table > tbody > tr.active {
	box-shadow: inset 0px 0px 0px 2px #3d9ab0;
	-moz-box-shadow: inset 0px 0px 0px 2px #3d9ab0;
	-webkit-box-shadow: inset 0px 0px 0px 2px #3d9ab0;
	-webkit-appearance: none;
}

/*#ingredients-table > tbody > tr:hover {
  box-shadow: inset 0px 0px 0px 2px #3d9ab0
}*/

#ingredients-table > tbody > tr > td > img {
	width: 100%;
	max-width: 400px;
	display: block;
	margin: auto;
}

#ingredients-table > tbody > tr[data-mobile] > td {
	padding: 0;
}

#ingredients-image-selector {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: sticky;
	top: calc(var(--nav-height) + var(--top-bar-height));
	margin-top: -40px;
}

#ingredients-image-selector > .active-image {
	display: flex;
	justify-content: center;
	align-items: center;
	/*min-height: 450px;*/
}

#ingredients-image-selector > .active-image img {
	user-select: none;
	width: 100%;
	max-width: 400px;
}

#ingredients-image-selector > .image-thumbs {
	display: flex;
	flex-wrap: wrap;
	width: var(--prod-ingredients-image-thumbs-width);
}

#ingredients-image-selector > .image-thumbs .thumb {
	cursor: pointer;
	width: var(--prod-ingredients-thumb-width);
	height: var(--prod-ingredients-thumb-width);
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	margin: 5px;
}

#ingredients-image-selector > .image-thumbs > div > div {
	display: flex;
	justify-content: center;
	align-items: center;
}

#ingredients-image-selector > .image-thumbs .thumb.active {
	box-shadow: inset 0px 0px 0px 4px #3d9ab0;
}

#ingredients-image-selector > .image-thumbs img {
	user-select: none;
	width: 100%;
	z-index: -1;
}

/* --- Quality Assurance --- */
section.prod-quality-assurance {
}

/* --- How to use it? / Precaution --- */
section.prod-how-to-use-it-precaution {
}

section.prod-how-to-use-it-precaution .col-6 {
	/*padding-right: calc(var(--bs-gutter-x) * 4);*/
}

/* --- GCT / ME Advantages --- */

section.prod-gct-me-advantages {
	padding-bottom: var(--section-top-bottom-padding);
}

section.prod-gct-me-advantages .row.gct-me-advantages-row > div:first-child {
	width: 50%;
}

section.prod-gct-me-advantages .row > div:first-child > .prod-body {
	padding: 20px 20px 10px;
	background-color: #e7e7e7;
	border-radius: 10px;
	width: 100%;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages {
	/* padding: 20px 20px 10px; */
	background-color: transparent;
	border-radius: 10px;
	flex-grow: 1;
	width: 100%;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages
	.heading {
	font-size: 25px;
	font-weight: 300;
	display: flex;
	gap: 5px;
	align-items: center;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages
	.heading
	img {
	height: 20px;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages
	.heading
	p {
	font-size: inherit;
	font-weight: inherit;
	margin-bottom: 0;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages
	ul {
	padding-left: 20px;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages
	ul
	li {
	padding: 5px 10px;
	box-sizing: border-box;
	border: 2px solid white;
	cursor: pointer;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages
	#gct-me-advantages-img {
	padding: 5px 10px;
	box-sizing: border-box;
	border: 2px solid white;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages
	ul
	li.gct-hover {
	border: 2px solid #3d9ab0;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body
	.gct-advantages
	ul
	li::marker {
	font-size: 22px;
}

section.prod-gct-me-advantages .row .gct-me-advantages-img-wrapper {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 50%;
}

section.prod-gct-me-advantages .row .gct-me-advantages-img-container {
	margin-top: 60px;
	border-radius: 25px;
	overflow: hidden;
	-webkit-box-shadow: 0px 8px 8px 2px rgba(237, 237, 237, 1);
	-moz-box-shadow: 0px 8px 8px 2px rgba(237, 237, 237, 1);
	box-shadow: 0px 8px 8px 2px rgba(237, 237, 237, 1);
	position: relative;
	width: 505px;
	height: 403px;
	display: flex;
	align-items: center;
}

@media (max-width: 1599px) {
	section.prod-gct-me-advantages .row .gct-me-advantages-img-container {
		width: 421px;
		height: 336px;
	}
}

section.prod-gct-me-advantages
	.row
	.gct-me-advantages-img-container
	> img:not(.initial-potency) {
	width: 100%;
	position: absolute;

	left: 0;
	opacity: 0;
	transition: all 0.3s;
}

section.prod-gct-me-advantages
	.row
	> div:first-child
	> .prod-body.gct-advantages
	ul
	img {
	display: none;
}

section.prod-gct-me-advantages
	.row
	.gct-me-advantages-img-container
	> img.initial-potency {
	transform: translateY(0px);
	opacity: 0;
	transition: all 0.3s;
	height: 106%;
	margin-left: 7%;
}

section.prod-gct-me-advantages
	.row
	.gct-me-advantages-img-container
	> img.show {
	opacity: 1;
}

section.prod-gct-me-advantages .prod-heading {
	white-space: nowrap;
}

section.prod-gct-me-advantages video.advantages-back {
	user-select: none;
	position: relative;
	width: 100%;
}

section.prod-gct-me-advantages img.advantages-bottle {
	user-select: none;
	position: absolute;
	max-width: 500px;
	right: 0;
	bottom: -20px;
}

section.prod-gct-me-advantages img.advantages-bottle.me-img {
	max-width: 600px;
}

@media (max-width: 768px) {
	section.prod-gct-me-advantages
		.row.gct-me-advantages-row
		> div:first-child {
		width: 100%;
		padding: 0;
	}
	section.prod-gct-me-advantages .gct-me-advantages-row {
		flex-direction: column;
	}

	section.prod-gct-me-advantages .gct-me-advantages-row .prod-heading {
		justify-content: center;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages {
		width: 100%;
		padding-top: 0;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		ul {
		list-style: none;
		margin: 0;
		padding: 0;
		margin-left: 0 !important;
		margin-bottom: 10px;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		.heading {
		font-size: 20px;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		ul
		li {
		margin-left: 0 !important;
		border-top: 1px solid #a7a7a7;
		border-bottom: 2px solid #f1f1f3;
		background-color: #f8f8f87d;
		display: flex;
		align-items: center;
		padding: 5px 25px;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		ul
		li.gct-hover {
		border: unset;
		border-top: 1px solid #a7a7a7;
		border-bottom: 2px solid #f1f1f3;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		ul
		li.gct-selected {
		border: 2px solid #3d9ab0;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		ul
		li::before {
		content: "";
		background-color: var(--accent-color-orange);
		width: 3px;
		height: 3px;
		border-radius: 50%;
		transform: translateX(-10px);
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		.heading {
		justify-content: center;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		ul
		img {
		display: block;
		width: 100%;
		height: 0;
		transition: all 0.3s;
	}

	section.prod-gct-me-advantages .row .gct-me-advantages-img-container {
		display: none;
	}

	section.prod-gct-me-advantages
		.row
		> div:first-child
		> .prod-body.gct-advantages
		ul
		img.show {
		display: block;
		width: 100%;
		height: 0;
		transition: all 0.3s;
	}
}

/* --- Reviews --- */
section.prod-reviews {
	border-top: 2px solid var(--grey-bg-color);
}

/* --- Q&A --- */
section.prod-qa {
}

/* --- Customers Who Bought --- */
section.prod-customers-who-bought {
	padding-bottom: var(--section-top-bottom-padding) !important;
}

section.prod-customers-who-bought .col-md-3 {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

section.prod-customers-who-bought .bottle-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	/*margin-top: auto;*/
	height: 285px;
}

section.prod-customers-who-bought .bottle-container > a > img {
	max-width: 170px;
	width: 100%;
}

section.prod-customers-who-bought .bottle-container > a {
	width: 100%;
}

section.prod-customers-who-bought .bottle-container > a > img.bulk {
	max-width: 285px;
	max-height: 285px;
}

section.prod-customers-who-bought .rating {
	user-select: none;
	/*font-size: 19.5px;
  color: #e9af00;
  line-height: 1;*/
	margin-top: 5px;
}

section.prod-customers-who-bought .prod-name {
	font-size: 24px;
	font-weight: 500;
	color: var(--accent-color-teal);
	margin-top: 5px;
	margin-bottom: 2.5px;
	line-height: 1.1;
}

section.prod-customers-who-bought .price {
	/*color: #f46d14;*/
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: auto;
	margin-top: 5px;
}

/* --- Recently Viewed Products --- */
section.prod-recently-viewed {
	padding-bottom: var(--section-top-bottom-padding) !important;
	background-image: url("/img/product-assets/back-recentlyviewed.jpg");
	background-position: center;
}

section.prod-recently-viewed .col-md-3 {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

section.prod-recently-viewed .bottle-container {
	display: flex;
	align-items: center;
	justify-content: center;
	/*margin-top: auto;*/
	width: 100%;
	height: 285px;
}

section.prod-recently-viewed .bottle-container > a > img {
	max-width: 170px;
	width: 100%;
}

section.prod-recently-viewed .bottle-container > a {
	width: 100%;
}

section.prod-recently-viewed .bottle-container > a > img.bulk {
	max-width: 285px;
	max-height: 285px;
}

section.prod-recently-viewed .rating {
	user-select: none;
	/*font-size: 19.5px;
  color: #e9af00;
  line-height: 1;*/
	margin-top: 5px;
}

section.prod-recently-viewed .prod-name {
	font-size: 24px;
	font-weight: 500;
	color: var(--accent-color-teal);
	margin-top: 5px;
	margin-bottom: 2.5px;
	line-height: 1.1;
}

section.prod-recently-viewed .price {
	/*color: #f46d14;*/
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: auto;
	margin-top: 5px;
}

/* --- Customers Who Bought & Recently Viewed Products --- */
section.prod-customers-who-bought .rating > .prod-stars > span > svg,
section.prod-recently-viewed .rating > .prod-stars > span > svg {
	width: 16px;
	height: 16px;
}

section.prod-customers-who-bought .rating > .prod-stars,
section.prod-recently-viewed .rating > .prod-stars {
	user-select: none;
	cursor: pointer;
	display: grid;
	white-space: nowrap;
}

section.prod-customers-who-bought .rating > .prod-stars > .behind,
section.prod-customers-who-bought .rating > .prod-stars > .ahead,
section.prod-recently-viewed .rating > .prod-stars > .behind,
section.prod-recently-viewed .rating > .prod-stars > .ahead {
	grid-column: 1;
	grid-row: 1;
}

section.prod-customers-who-bought .rating > .prod-stars > .ahead,
section.prod-recently-viewed .rating > .prod-stars > .ahead {
	overflow: hidden;
}
/* Used to determine youtube video iframe size */
.aspect-ratio-box {
	width: 100%; /* Span the full width of its container */
	height: 0;
	padding-top: 57%; /* This effectively sets the height as 57% of the width */
	position: relative; /* Needed to position content inside it correctly */
}

/* If you have content inside .aspect-ratio-box that should be 100% height and width */
.aspect-ratio-box > * {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*** MEDIA QUERIES ***/

@media (max-width: 1299.98px) {
	/* section.prod-main {
		margin-top: calc(
			calc(
					var(--nav-height) + var(--nav-height2) +
						var(--free-ship-bar-height)
				) + var(--top-bar-height)
		);
	} */
	#ah-toasts-container > .toast-container {
		margin-top: calc(
			calc(
					var(--nav-height) + var(--nav-height2) +
						var(--free-ship-bar-height)
				) + var(--top-bar-height)
		) !important;
	}

	@keyframes slideUp {
		from {
			transform: translateY(100%);
			opacity: 0%;
		}
		to {
			transform: translateY(0);
			opacity: 100%;
		}
	}

	.toast {
		width: max-content;

		animation: slideUp 0.2s ease-in;
	}

	.ah-toast-add-to-cart > .toast-header {
		background: var(--accent-color-orange);
	}

	.ah-toast-add-to-favorites > .toast-header {
		background: #9a9a9a !important;
	}

	.ah-toast-add-to-favorites > .toast-header a,
	.ah-toast-add-to-cart > .toast-header a {
		text-decoration: none;
		color: #fff;
	}

	.ah-toast-add-to-favorites > .toast-header a:visited,
	.ah-toast-add-to-cart > .toast-header a:visited {
		text-decoration: none;
		color: #fff;
	}
}

@media (max-width: 1199.98px) {
	/* prod-what-does-it-do */
	section.prod-what-does-it-do .prod-body > p > img {
		max-height: unset;
		max-width: 300px;
	}

	section.prod-main .add-to-cart-container .pian-wan-switcher > div > label {
		font-size: 85%;
	}
}

@media (min-width: 1800px) {
	#Zoomer img {
		max-height: 570px !important;
	}
	#thumb_area .thumb_image {
		width: 75px !important;
		height: 75px !important;
	}
	#thumb_area .thumb_image#showMoreGalleryButton {
		height: 30px !important;
	}
}

@media (min-width: 1600px) {
	section.prod-gct-me-advantages img.advantages-bottle {
		max-width: 600px;
	}
	section.prod-gct-me-advantages img.advantages-bottle.me-img {
		max-width: 800px;
	}
}

@media (min-width: 1500px) {
	section.prod-main .image {
		max-width: unset;
		width: 39% !important;
		flex: 0 0 auto !important;
	}
	#Zoomer img {
		max-height: 520px !important;
	}
	section.prod-main .info {
		width: 44% !important;
		flex: 0 0 auto !important;
		padding-right: 45px;
	}
	section.prod-main .image .thumb-container {
		padding-right: 45px;
	}
	section.prod-main .cart {
		max-width: unset;
		width: 17% !important;
		flex: 0 0 auto !important;
	}

	section.prod-main .add-to-cart-container .price {
		font-size: 46px;
	}

	section.prod-main .add-to-cart-container span.hr {
		width: 95%;
	}

	#thumb_area .thumb_image {
		width: 72px;
		height: 72px;
	}

	section.prod-main .add-to-cart-container .pian-wan-switcher > div > label {
		font-size: 15px;
	}

	section.prod-main
		.add-to-cart-container
		.pian-wan-switcher
		> div
		> label
		> img {
		width: 80px;
	}

	.short-slices-switcher > div > label > img {
		width: 80px;
	}

	section.prod-main .add-to-cart-container .add-to-cart-button,
	section.prod-main .add-to-cart-container .add-to-favorites-button,
	section.prod-main .add-to-cart-container .out-of-stock-button,
	section.prod-main .add-to-cart-container .notify-when-available-button {
		height: 35px;
		padding: 7.5px;
		font-size: 16px;
		/* max-width: 208px; */
	}

	section.prod-main .add-to-cart-container .quantity > .input-group button,
	section.prod-main .add-to-cart-container .quantity > .input-group input {
		height: 32.5px;
	}

	section.prod-main .add-to-cart-container .quantity > .input-group input {
		font-size: 1.1rem;
	}

	section.prod-main .info > .info-top .prod-description {
		font-size: 17px;
	}

	section.prod-main .info > .info-bottom .best-before-date {
		font-size: 15px;
	}

	.related .related-title {
		font-size: 15px;
	}

	section.prod-main .info > .info-top .prod-gct-text {
	}

	section.prod-main .info > .info-top .prod-title {
		font-weight: 800;
	}

	section .prod-body p,
	section .prod-body ul,
	section .prod-body table,
	section .prod-body ul.numbered-list li,
	section .prod-body > figure > figcaption,
	section .prod-subheading {
		font-size: 17px;
	}

	.side-nav > a {
		white-space: nowrap;
		font-size: 15px;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	section.prod-main .info {
		padding-right: calc(var(--bs-gutter-x) * 0.5);
		padding-left: calc(var(--bs-gutter-x) * 0.5);
	}
	section.prod-main .image .thumb-container {
		padding-right: calc(var(--bs-gutter-x) * 0.5);
	}

	section.prod-main .row.add-to-cart {
		padding: 20px;
		padding-bottom: 20px;
	}

	section.prod-main .cart {
		margin-top: 70px;
		max-width: unset !important;
		margin-left: auto;
		margin-right: auto;
	}

	section.prod-main .add-to-cart-container {
		flex-direction: row-reverse;
		justify-content: center;
		padding: 0 !important;
	}

	section.prod-main .add-to-cart-container .quantity-save {
		order: 1;
		margin-right: 20px;
	}

	section.prod-main .add-to-cart-container .price_quantity_wrapper {
		order: 3;
	}

	section.prod-main .add-to-cart-container .btns_wrapper {
		margin-left: 20px;
	}

	section.prod-main .add-to-cart-container span.hr {
		order: 2;
		width: 1px;
		height: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 0;
		margin-bottom: 0;
	}

	section.prod-main .add-to-cart-container .pian-wan-switcher {
		order: 1;
		margin-top: 0;
		margin-bottom: 0;
		width: 240px;
	}

	section.prod-main .add-to-cart-container .pian-wan-switcher > div {
		height: 57px;
	}

	section.prod-main .add-to-cart-container .add-to-cart-button,
	section.prod-main .add-to-cart-container .add-to-favorites-button,
	section.prod-main .add-to-cart-container .out-of-stock-button,
	section.prod-main .add-to-cart-container .notify-when-available-button {
		font-size: 16px;
	}

	section.prod-main .add-to-cart-container .add-to-cart-button,
	section.prod-main .add-to-cart-container .out-of-stock-button,
	section.prod-main .add-to-cart-container .notify-when-available-button {
		width: 240px;
		height: 57px;
		align-items: center;
	}

	section.prod-main .add-to-cart-container .add-to-cart-button > img {
		/*height: 24px;*/
	}

	section.prod-main .add-to-cart-container .add-to-favorites-button {
		width: 240px;
		height: 57px;
		margin-top: 7.5px;
	}

	section.prod-main .add-to-cart-container .quantity {
		/*order: 3;*/
		min-width: 170px;
		margin-top: 0;
		margin-bottom: 0;
		display: flex;
		justify-content: center;
	}

	section.prod-main .add-to-cart-container .quantity > span {
		display: none;
	}

	section.prod-main .add-to-cart-container .quantity > .input-group {
		max-width: 143px;
	}

	section.prod-main .add-to-cart-container .price {
		/*order: 4;*/
		text-align: center;
		font-size: 44px;
		margin-top: 0;
		margin-bottom: 0;
	}

	section.prod-main .add-to-cart-container .pian-wan-switcher > div > label {
		font-size: 16px;
	}

	section.prod-main
		.add-to-cart-container
		.pian-wan-switcher
		> div
		> label
		> img {
		width: 100px;
	}

	section.prod-main .add-to-cart-container .quantity > .input-group button {
		height: 35px;
	}

	section.prod-main .add-to-cart-container .quantity > .input-group input {
		height: 35px;
	}
}

@media (min-width: 900px) and (max-width: 991.98px) {
	section.prod-main .add-to-cart-container .add-to-favorites-button,
	section.prod-main .add-to-cart-container .add-to-cart-button,
	section.prod-main .add-to-cart-container .out-of-stock-button,
	section.prod-main .add-to-cart-container .notify-when-available-button {
		width: 240px !important;
	}
}

@media (min-width: 768px) and (max-width: 819.98px) {
	section.prod-main .add-to-cart-container span.hr {
		visibility: hidden;
		margin-left: 15px;
	}

	section .prod-body ul {
		margin-left: 1rem !important;
	}
}

@media (max-width: 991.98px) {
	/* prod-what-does-it-do */
	section.prod-what-does-it-do .prod-body > p > img {
		max-height: unset;
		max-width: 100%;
	}

	section.prod-what-does-it-do > .container.me .prod-body .what-mobile {
		display: inline !important;
	}

	section.prod-what-does-it-do > .container.me .prod-body .no-what-mobile {
		display: none !important;
	}

	/* Ingredients */
	#ingredients-table > thead > tr > th:nth-child(2) {
		display: none;
	}

	#ingredients-table > tbody > tr > td:nth-child(2) {
		display: none;
	}

	section.prod-ingredients .prod-body p {
		margin-bottom: 5px;
	}

	#ingredients-table {
		border-spacing: 0 0px;
	}

	#ingredients-table > tbody > tr[data-mobile] > td:first-child {
		background-color: white;
	}

	#ingredients-table > tbody > tr[data-ingredient] > td:first-child {
		background-color: #f3f3f5;
	}

	#ingredients-table > thead > tr > th:first-child {
		background-color: #ebebeb;
	}
	#ingredients-table.baiyao-ingredients > thead > tr > th:first-child {
		background-color: var(--grey-bg-color);
	}

	#ingredients-table > thead > tr > th:last-child {
		width: 0px;
	}

	#ingredients-table > tbody > tr:not(.active):nth-last-child(2) {
		border-bottom: 1px solid #b0b0b0;
	}

	#ingredients-table > tbody > tr[data-ingredient]:not(.active) {
		border-top: 1px solid #b0b0b0;
	}

	#ingredients-table > tbody > tr[data-ingredient] > td:last-child {
		white-space: nowrap;
	}

	#ingredients-table {
		border-collapse: collapse;
	}

	#ingredients-table > tbody > tr.active {
		box-shadow: none;
		border: 2px solid #3d9ab0;
	}

	section.prod-gct-me-advantages .row > div:first-child > .prod-body {
		padding-inline: 15px;
	}
}

@media (min-width: 768px) {
	*[class^="prod-mobile-"],
	*[class*="prod-mobile-"] {
		display: none !important;
	}

	#ingredients-table > tbody > tr[data-mobile] {
		display: none !important;
	}

	.mobile-only {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	section.prod-recently-viewed .bottle-container {
		height: 210px;
	}
	section.prod-customers-who-bought .bottle-container {
		height: 210px;
	}
	section.prod-recently-viewed .bottle-container > a > img.bulk {
		max-width: 210px;
		max-height: 210px;
	}
	section.prod-customers-who-bought .bottle-container > a > img.bulk {
		max-width: 210px;
		max-height: 210px;
	}

	section .prod-subheading {
		margin-top: 0;
	}

	body
		main#main
		section
		div
		div
		div
		div
		div
		div
		div#mobileMagicZoomSection
		div
		a#mobile_Zoomer:not(.mz-no-rt-width-css)
		> .mz-figure:not(.mz-no-rt-width-css)
		> img {
		/* width: unset !important; */
	}

	body
		main#main
		section
		div
		div
		div
		div
		div
		div
		div#mobileMagicZoomSection
		div
		a#mobile_Zoomer:not(.mz-no-rt-width-css)
		> .mz-figure:not(.mz-no-rt-width-css) {
		height: 500px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#mobile_Zoomer {
		height: 500px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#mobileBlazeSlider .blaze-track {
		height: 500px;
	}

	.no-mobile {
		display: none !important;
	}

	section .prod-heading {
		font-size: 28px;
	}

	/* Mobile Bottom Fixed Quantity / Add To Cart */
	.prod-mobile-quantity-add-to-cart {
		display: flex;
		position: fixed;
		width: 100%;
		bottom: 0;
		background-color: #f3f3f5;
		padding: 10px;
		align-items: center;
		justify-content: center;
		z-index: 100;
	}

	.prod-mobile-quantity-add-to-cart .quantity {
		display: flex;
	}

	.prod-mobile-quantity-add-to-cart .quantity > span {
		margin-right: 5px;
		margin-top: 5px;
		font-size: 14px;
		color: #4e4e4e;
	}

	.prod-mobile-quantity-add-to-cart .quantity > .input-group input {
		width: 50px;
		text-align: center;
		font-weight: 600;
		height: 30px;
		margin-left: 5px !important;
		margin-right: 5px !important;
	}

	.prod-mobile-quantity-add-to-cart .quantity > .input-group button {
		background-color: #ceced0;
		border: 0;
		font-size: 24px;
		height: 30px;
		line-height: 1;
		display: flex;
		justify-content: center;
		align-items: center;
		color: black;
	}

	.prod-mobile-quantity-add-to-cart
		.quantity
		> .input-group
		input::-webkit-outer-spin-button,
	.prod-mobile-quantity-add-to-cart
		.quantity
		> .input-group
		input::-webkit-inner-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}

	.prod-mobile-quantity-add-to-cart
		.quantity
		> .input-group
		input[type="number"] {
		-moz-appearance: textfield;
	}

	.prod-mobile-quantity-add-to-cart .add-to-cart-button {
		cursor: pointer;
		user-select: none;
		height: 35px;
		font-size: 16px;
		background-color: var(--accent-color-orange);
		border-radius: 5px;
		color: white;
		padding: 5px;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 180px;
		margin-left: 10px;
	}

	.prod-mobile-quantity-add-to-cart .add-to-cart-button > img {
		height: 20px;
	}

	.prod-mobile-quantity-add-to-cart .add-to-cart-button > span {
		margin-left: 5px;
	}

	/* Mobile Product Image Selector */
	.prod-mobile-image {
		position: relative;
	}

	.prod-mobile-image .image-container {
		display: inline-flex;
		justify-content: center;
	}

	.prod-mobile-image .image-container > a img {
		max-width: 100% !important; /* Ensures image width doesn't exceed the div width */
		max-height: 100% !important; /* Ensures image height doesn't exceed the div height */
		height: auto !important; /* Maintains aspect ratio */
		width: auto !important; /* Maintains aspect ratio */
		object-fit: contain;
	}

	#mobile_thumb_area {
		display: flex;
		justify-content: center;
	}

	#mobile_thumb_area > .thumb_image {
		width: 15px;
		height: 15px;
	}

	#mobile_thumb_area > .thumb_image:not(:last-child) {
		margin-right: 10px;
	}

	#mobile_thumb_area > .thumb_image > a {
		width: 100%;
		height: 100%;
		background-color: #cbcbcb;
		border-radius: 100%;
	}

	#mobile_thumb_area > .thumb_image > a.mz-thumb-selected {
		background-color: #575757;
	}

	#mobile_thumb_area > .thumb_image > a > img {
		width: 100%;
		height: 100%;
		visibility: hidden;
	}

	.prod-mobile-image .share-container {
		position: absolute;

		display: inline-flex;
		flex-direction: column;
		width: auto;
		padding: 0;
		z-index: 99;
		bottom: 110px;
	}

	.prod-mobile-image .share-container > a:not(:last-child) {
		margin-bottom: 5px;
	}

	.prod-mobile-image .share-container > a > img {
		width: 40px;
	}

	/* Disclaimer */
	.prod-mobile-image > .disclaimer {
	}

	.prod-mobile-image > .disclaimer > div > div {
		text-align: center;
	}

	/* Product Icons */
	.prod-mobile-image > .icons {
	}

	.prod-mobile-image > .icons > div {
		display: flex;
		justify-content: center;
	}

	.prod-mobile-image > .icons img {
		display: none;
		max-width: 70px;
	}

	/* Top Info */
	section.prod-main .prod-mobile-best-seller {
		display: flex;
		justify-content: flex-end;
	}

	section.prod-main .prod-mobile-best-seller > img {
		width: 120px;
	}

	section.prod-main .info {
		padding-right: calc(var(--bs-gutter-x) * 0.5);
		padding-left: calc(var(--bs-gutter-x) * 0.5);
	}

	section.prod-main .info > .info-top .prod-gct-text {
	}

	section.prod-main .info > .info-top .prod-gct-text > span {
		font-size: 14px;
		margin-top: 0;
	}

	section.prod-main .info > .info-top .prod-title {
		margin-bottom: 10px;
		font-weight: 800;
	}

	section.prod-main .info > .info-top .prod-subtitle {
		font-size: 16px;
		margin-bottom: 15px;
	}

	section.prod-main .info > .info-top .stars-container {
		margin-top: 10px;
	}

	section.prod-main .info > .info-top .prod-description {
		padding-bottom: 0;
	}

	section.prod-main .info > .info-bottom {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 1rem;

		padding-bottom: 1rem;
	}

	section.prod-main .info > .info-bottom .best-before-date {
		font-size: 16px;
	}

	.related {
		display: flex;
		justify-content: center;

		gap: 4rem;
		padding-top: 1rem;
	}

	/* Cart Box */

	section.prod-main .cart {
		max-width: 370px;
		margin-left: auto;
		margin-right: auto;
	}

	section.prod-main .row.add-to-cart {
		padding-bottom: 2em;
	}

	section.prod-main .add-to-cart-container .price {
		font-size: 50px;
	}

	section.prod-main
		.add-to-cart-container
		.pian-wan-switcher
		> div
		> label
		> img {
		width: 90px;
	}

	section.prod-main .add-to-cart-container span.hr {
		width: 100%;
	}

	section.prod-main .add-to-cart-container .add-to-cart-button,
	section.prod-main .add-to-cart-container .out-of-stock-button,
	section.prod-main .add-to-cart-container .notify-when-available-button {
		margin-top: 10px;
	}

	section.prod-main .add-to-cart-container .add-to-cart-button,
	section.prod-main .add-to-cart-container .add-to-favorites-button,
	section.prod-main .add-to-cart-container .out-of-stock-button,
	section.prod-main .add-to-cart-container .notify-when-available-button {
		font-size: 18px;
		height: 35px;
		align-items: center;
	}

	section.prod-main .add-to-cart-container .pian-wan-switcher {
		width: 100%;
	}

	section.prod-main .add-to-cart-container .pian-wan-switcher > div {
		display: flex;
		justify-content: center;
	}

	section.prod-main .add-to-cart-container .pian-wan-switcher > div > label {
		font-size: 16px;
	}

	/* Section Specific */
	section.prod-gct-me-advantages .prod-body.position-relative {
		margin-bottom: 100px;
	}

	section.prod-gct-me-advantages .row > div:first-child > .prod-body {
		margin-bottom: 10px;
	}

	section.prod-gct-me-advantages img.advantages-bottle {
		max-width: unset;
		width: 100%;
		bottom: -100px;
	}

	section.prod-gct-me-advantages .prod-body ul {
		list-style-position: outside;
		margin-left: 20px;
	}

	section.prod-gct-me-advantages .prod-body ul li span {
		left: 0;
	}

	section.prod-recently-viewed .prod-heading,
	section.prod-customers-who-bought .prod-heading {
		font-size: 22px;
		text-align: center;
	}

	section.prod-recently-viewed *[class^="prod"],
	section.prod-recently-viewed *[class*="prod"] {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	/*section.prod-customers-who-bought .rating,
  section.prod-recently-viewed .rating {
    font-size: 16.5px;
  }*/

	section.prod-recently-viewed .prod-name,
	section.prod-customers-who-bought .prod-name {
		font-size: 20px;
	}

	section.prod-customers-who-bought .bottle-container > a > img {
		max-width: 120px;
	}

	section.prod-recently-viewed .bottle-container > a > img {
		max-width: 120px;
	}

	/* prod-preparation */
	section.prod-preparation .prod-body > figure {
		order: 3;
		width: 100%;
		padding-right: 0;
	}

	section.prod-preparation .prod-body {
		display: flex;
		flex-direction: column;
	}

	/* prod-ingredients */
	#ingredients-image-selector {
		/*margin-top: 0;*/
		display: none;
	}

	section .prod-body > figure > figcaption {
		text-align: left;
	}

	#ingredients-table > tbody > tr > td > img {
		background-color: white;
	}

	/* Single Herb Extract Advantages */
	section.prod-granules-advantage .secondary-box {
		max-width: 100%;
	}

	section.prod-granules-advantage .secondary-box img {
		max-height: 140px;
	}
}

@media (max-width: 575.98px) {
	body
		main#main
		section
		div
		div
		div
		div
		div
		div
		div#mobileMagicZoomSection
		div
		a#mobile_Zoomer:not(.mz-no-rt-width-css)
		> .mz-figure:not(.mz-no-rt-width-css) {
		height: 350px;
	}

	#mobile_Zoomer {
		height: 350px;
	}

	#mobileBlazeSlider .blaze-track {
		height: 350px;
	}

	:root {
		--prod-body-p-margin-bottom: 15px;
	}

	section .prod-heading {
		text-align: center;
		justify-content: center;
		font-size: 24px;
	}

	/* Top Info */
	section.prod-main .category-breadcrumb {
		font-size: 12px;
		font-weight: 600;
	}

	section.prod-main .prod-mobile-best-seller > img {
		width: 100px;
	}

	section.prod-main .info > .info-top .prod-title {
		font-size: 28px;
	}

	section.prod-main .info > .info-top .stars-container > .prod-stars {
		font-size: 22px;
	}

	/* Top Info / Image */

	.prod-mobile-image .image-container > a > figure > img {
		/* height: auto; */
	}

	/* Section Specific */

	/* ingredients */
	section.prod-ingredients .prod-subheading {
		margin-top: 0;
	}

	section.prod-ingredients .prod-body p {
		margin-bottom: 5px;
	}

	#ingredients-table {
		font-size: 14px;
	}

	/* prod-preparation */
	section.prod-preparation .prod-body > figure {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
	}

	/* advantages */
	section.prod-gct-me-advantages .row > div:first-child > .prod-body {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	#main
		> section.prod-ingredients.prod-bulk-d-none.prod-granules-d-none
		> div
		> div.row
		> div.col-12.col-md-6.col-lg-7 {
		width: 60%;
	}
	#main
		> section.prod-ingredients.prod-bulk-d-none.prod-granules-d-none
		> div
		> div.row
		> div.col-12.col-md-6.col-lg-5 {
		width: 40%;
	}
	:root {
		--prod-ingredients-image-thumbs-width: 260px !important;
		--prod-ingredients-thumb-width: 55px !important;
	}
}

@media (max-width: 419.98px) {
}

/* Ingredients */

@media (min-width: 1200px) and (max-height: 999.98px) and (max-width: 1799.98px) {
	:root {
		--prod-ingredients-image-thumbs-width: 480px;
		--prod-ingredients-thumb-width: 70px;
	}
}

@media (min-width: 1800px) and (min-height: 1100px) {
	:root {
		--prod-ingredients-image-thumbs-width: 550px;
		--prod-ingredients-thumb-width: 100px;
	}
}

@media (max-width: 1199.98px) {
	:root {
		--prod-ingredients-image-thumbs-width: 400px;
		--prod-ingredients-thumb-width: 70px;
	}

	#ingredients-image-selector > .active-image img {
		max-width: 350px;
		margin-top: 20px;
	}
}

@media (max-width: 1299.98px) and (max-height: 899.98px) {
	#ingredients-image-selector > .active-image img {
		max-width: 280px;
	}
}

@media (max-width: 419.98px) {
	:root {
		--prod-ingredients-image-thumbs-width: 340px;
		--prod-ingredients-thumb-width: 75px;
	}
}
