html {
	scroll-behavior: smooth;
}

.resource-junior__header--product {
	background-position: center bottom 0px;
}
.resource-junior__header--product::after {
	background-position: center bottom 0px;
}

.resource-header__detail {
	display: flex;
	flex-direction: column;
	position: relative;
	margin-top: 48px;
	padding-bottom: 110px;
}

.resource-header__detail_bottle {
	margin-top: 26px;
	padding-bottom: 60px;
}
.resource-header__content {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 100px;
	padding-left: 70px;
}
.resource-header__slider {
	width: 100%;
	max-width: 382px;
}

.resource-header__info {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}
.resource-header__title {
	font-weight: 700;
	font-size: 36px;
	line-height: 38px;
	color: var(--white);
}
.resource-header__title--mobile {
	display: none;
}
.resource-header__labels {
	margin-top: 28px;
	display: flex;
	justify-content: flex-start;
	gap: 8px;
	flex-wrap: wrap;
	list-style-type: none;
}
.resource-header__labels--mobile {
	display: none;
}
.resource-header__label {
	padding: 6px 16px;
	background: #009fe3;
	border-radius: 8px;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	color: var(--white);
}
.resource-header__description {
	margin-top: 32px;
	font-weight: 400;
	font-size: 18px;
	line-height: 32px;
	color: var(--white);
}
.resource-header__tags {
	margin-top: 32px;
	display: flex;
	justify-content: flex-start;
	gap: 8px;
	flex-wrap: wrap;
	list-style-type: none;
}
.resource-header__tag {
	padding: 6px 16px;
	background: #13a538;
	border-radius: 8px;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	color: var(--white);
}
.resource-header__tag[data-color="yellow"] {
	background: #f4b500;
}
.resource-header__tag[data-color="green"] {
	background: #13a538;
}
.resource-header__tag[data-color="pink"] {
	background: #e13578;
}
.resource-header__tag[data-color="orange"] {
	background: #f09828;
}
.resource-header__tag[data-color="brown"] {
	background: #954d22;
}
.resource-header__link {
	margin-top: 32px;
}
.resource-header__link .ui-button-buy {
	background-color: var(--white);
}
.resource-header__note {
	margin: 67px auto 0;
	max-width: 730px;
	font-weight: 400;
	font-size: 18px;
	line-height: 32px;
	text-align: center;
	color: var(--white);
}

.resource-header__slider .splide__slide {
	width: 382px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.3s ease;
	transform: translateZ(0);
	backface-visibility: hidden;
	perspective: 1000px;
}

.resource-header__slider .splide__slide img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 382px;
	object-fit: contain;
	object-position: center;
	transform: translateZ(0);
	image-rendering: -webkit-optimize-contrast;
	/* image-rendering: crisp-edges; */
}

.resource-header__slider .splide__slide:not(:first-child) img {
	/* aspect-ratio: 87/100; */
}

.resource-header__slider .splide__arrow {
	border-radius: 100%;
	width: 56px;
	height: 56px;
	opacity: 1;
	background: var(--white);
	background-image: url(../assets/icons/ui/arrow-up-blue.svg);
	background-repeat: no-repeat;
	background-position: center center;
	transition: all .1s ease;
}
.resource-header__slider .splide__arrow--prev {
	left: -60px;
	transform: rotate(270deg);
}
.resource-header__slider .splide__arrow--next {
	right: -60px;
	transform: rotate(90deg);
}
.resource-header__slider .splide__pagination {
	bottom: -40px;
	gap: 16px;
}
.resource-header__slider .splide__pagination__page {
	margin: 0;
	opacity: 1;
	background: var(--white);
	width: 8px;
	height: 8px;
	transform: scale(1);
	border-radius: 100%;
}
.resource-header__slider .splide__pagination__page.is-active {
	width: 16px;
	height: 16px;
	transform: scale(1);
}

.resource-junior__container {
	max-width: 840px;
	margin: 0 auto;
}

.resource-junior--jar .resource-junior__balance {
	margin-top: 110px;
	padding-bottom: 72px;
}

.resource-junior--jar .resource-balance {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.resource-junior--jar .resource-balance__item {
	width: 100%;
	max-width: 320px;
}

.resource-junior--bottle .resource-junior__balance {
	padding-bottom: 120px;
}
.resource-junior--bottle .resource-junior__balance::after {
	background-size: 135% 200%;
	z-index: 2;
}

.resource-junior--bottle .resource-junior__balance .resource-junior__wrapper {
	z-index: 3;
}

.resource-junior--bottle .resource-balance__item {
	width: 100%;
	max-width: 400px;
}

.resource-junior--bottle .resource-balance {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.resource-junior__taste {
	margin-top: 40px;
	padding-top: 40px;
}

.resource-junior__taste .resource-junior__heading {
	color: var(--white);
}
.resource-junior__taste .underline__highlighter {
	background: var(--white);
}

.junior-taste {
	margin-top: 40px;
	margin-bottom: -180px;
	padding-bottom: 240px;
}

.junior-taste__img {
	max-width: 780px;
	margin: 0 auto;
	text-align: center;
}

.junior-taste__img img {
	width: 100%;
}

.resource-junior--bottle .resource-junior__middle::after {
	left: -30px;
	background-position: center top 143%;
}

.resource-junior--bottle .resource-junior__middle::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: -5px;
	left: 0;
	right: 0;
	background-image: url('../assets/images/resource-junior/bg-polygon-white.webp');
	background-repeat: no-repeat;
	background-size: 135% 85%;
	background-position: center bottom -425%;
	pointer-events: none;
}

.resource-junior-accordion {
	margin-top: 16px;
	padding: 32px;
	border-radius: 16px;
	background: #ebf6ff;
}
.resource-junior-accordion__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	position: relative;
	font-weight: 700;
	font-size: 28px;
	line-height: 32px;
	color: var(--dark-blue);
	cursor: pointer;
}
.resource-junior-accordion__head::after {
	content: '';
	display: inline-block;
	flex-shrink: 0;
	width: 23px;
	height: 13px;
	background-image: url(../assets/icons/ui/arrow-up-gray.svg);
	background-repeat: no-repeat;
	transition: all .2s ease;
	transform: rotate(180deg);
}
.resource-junior-accordion__item.is-active .resource-junior-accordion__head::after {
	transform: rotate(0deg);
}
.resource-junior-accordion__body {
	min-height: 0;
	overflow: hidden;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	color: #000;
}
.resource-junior-accordion__item:not(.is-active) .resource-junior-accordion__body {
	visibility: hidden;
	opacity: 0;
}

.resource-junior-accordion__item.is-active .resource-junior-accordion__body {
	margin-top: 32px;
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s ease 0.1s;
}

/* .resource-junior-accordion__item.is-active .resource-junior-accordion__body  */

.resource-junior__tabs .ui-tabs__header {
	flex-wrap: nowrap;
}
.resource-junior__tabs .ui-tabs__btn {
	flex-grow: 1;
}

.junior-nutritional__table .product-nutritional-table__th:nth-child(2),
.junior-nutritional__table .product-nutritional-table__td:nth-child(2) {
	max-width: 320px;
	flex-grow: 1;
	text-align: left;
}

.junior-compound__note {
	margin-top: 32px;
}
.product-compound-note {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 40px;
}
.product-compound-note__item {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 12px;
	font-weight: 400;
	font-size: 20px;
	line-height: 28px;
	color: #000;
}
.product-compound-note__icon {
	width: 80px;
	height: 80px;
}

.junior-manual__list {
	margin: 0;
	padding-left: 24px;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	color: #000;
}

.junior-manual__table {
	margin-top: 32px;
}

.junior-manual-table {
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	color: #000;
}
.junior-manual-table__head {
	padding: 16px 0px;
	background: #d2e9fd;
	border: 1px solid rgb(177, 214, 240, 1);
	border-bottom-color: rgb(177, 214, 240, .5);
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
}
.junior-manual-table__middle {
	background: #dcecf9;
}
.junior-manual-table__row {
	display: flex;
}
.junior-manual-table__col {
	width: calc(100% / 3);
}
.junior-manual-table__cell {
	padding: 16px 0px;
	border: 1px solid rgb(177, 214, 240, .5);
}
.junior-manual-table__dosage {
	display: flex;
}
.junior-manual-table__ml {
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc(100% / 2);
	border: 1px solid rgb(177, 214, 240, .5);
}
.junior-manual-table__kkal {
	width: calc(100% / 2);
}
.junior-manual-table__product {
}
.junior-manual-table__water {
}
.junior-manual-table__bottom {
	padding: 16px 0px;
	background: #dcecf9;
	border: 1px solid rgb(177, 214, 240, 1);
	border-top-color: rgb(177, 214, 240, .5);
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
}

.junior-manual__note {
	margin-top: 32px;
	font-weight: 400;
	font-size: 20px;
	line-height: 30px;
	color: #000;
}

.resource-junior__product {
	margin-top: 40px;
}

.resource-product {
	display: flex;
	justify-content: center;
}

.resource-junior--product .resource-junior__retailers {
	margin-top: 80px;
	scroll-margin-top: 80px;
}

.ui-button-buy:hover {
	background-color: #F16400;
}

@media (max-width: 1023px) {
	.resource-junior__header--product {
		background-size: 180% 200%;
	}
	.resource-junior__header--product::after {
		background-position: left -260px bottom 60px;
	}
	.resource-header__title,
	.resource-header__labels {
		display: none;
	}
	.resource-header__title--mobile {
		display: block
	}
	.resource-header__labels--mobile {
		display: flex;
	}

	.resource-header__content {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding-left: 0;
	}
	.resource-header__slider {
		width: 100%;
		max-width: none;
		padding-left: 60px;
		padding-right: 60px;
	}
	.resource-header__slider .splide__slide {
		text-align: center;
	}

	.resource-junior--product .resource-junior__balance {
		margin-top: 40px;
		padding-bottom: 40px;
	}

	.resource-junior--jar .resource-balance__item {
		max-width: none;
	}

	.resource-junior--bottle .resource-balance__item {
		max-width: none;
	}

	.junior-taste {
		margin-bottom: 0;
		padding-bottom: 56px;
	}

	.junior-nutritional__table .product-nutritional-table__th:nth-child(2),
	.junior-nutritional__table .product-nutritional-table__td:nth-child(2) {
		max-width: none;
		flex-grow: 1;
		text-align: right;
	}

	.resource-junior--bottle .resource-junior__middle::after {
		background-image: url(../assets/images/resource-junior/resource-bg-middle-tablet-v-2.webp);
		background-repeat: repeat-x;
		background-size: 124% 100%;
		background-position: left 45% center;
		top: 500px;
		bottom: -170px;
	}

	.resource-junior--product .resource-junior__retailers {
		margin-top: 40px;
	}
}

@media (max-width: 767px) {
	/* .ui-shop-dropdown__toggle {
		background-size: 18px;
		background-position: left 36px center;
		padding: 11px 42px 11px 68px;
		font-size: 14px;
	} */
	.ui-shop-dropdown__menu {
		width: 170px;
	}

	.resource-retailers-buy {
		right: 42px;
	}
	.resource-junior__header--product {
		background-size: 185% 105%;
	}
	.resource-junior__header--product::after {
		background-position: left -315px top -185px;
	}
	.resource-junior__header--product .resource-header__logo {
		text-align: center;
	}
	.resource-header__detail {
		margin-top: 24px;
		padding-bottom: 80px;
	}
	.resource-header__content {
		gap: 0;
	}
	.resource-header__title {
		font-size: 26px;
		line-height: 34px;
	}
	.resource-header__labels {
		flex-direction: column;
		margin-top: 24px;
	}
	.resource-header__slider {
		margin-top: 21px;
		padding-left: 0;
		padding-right: 0;
	}
	.resource-header__slider .splide__slide img {
		aspect-ratio: 67/100;
	}
	.resource-header__slider .splide__slide {
		padding-left: 52px;
		padding-right: 52px;
	}
	.resource-header__slider .splide__arrow {
		width: 48px;
		height: 48px;
	}
	.resource-header__slider .splide__arrow--prev {
		left: 0;
	}
	.resource-header__slider .splide__arrow--next {
		right: 0;
	}
	.resource-header__slider .splide__pagination {
		bottom: -23px;
		gap: 16px;
	}
	.resource-header__slider .splide__pagination__page {
		width: 6px;
		height: 6px;
	}
	.resource-header__slider .splide__pagination__page.is-active {
		width: 12px;
		height: 12px;
	}
	.resource-header__description {
		margin-top: 48px;
		font-size: 16px;
		line-height: 22px;
	}
	.resource-header__tags {
		margin-top: 16px;
	}
	.resource-header__link {
		margin-top: 24px;
	}
	.resource-header__link .ui-button-buy {
		padding: 9px 32px 9px 60px;
		background-position: left 24px center;
		font-size: 16px;
	}
	.resource-header__note {
		margin-top: 24px;
		text-align: left;
		font-size: 14px;
		line-height: 24px;
	}
	.resource-junior--bottle .resource-junior__balance::after {
		content: none;
	}
	.resource-junior__taste {
		position: relative;
		margin-top: -90px;
		padding-top: 125px;
	}
	.resource-junior__taste::after {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-image: url(../assets/images/resource-junior/resource-bg-middle-tablet-v-3.webp);
		background-repeat: repeat-x;
		background-size: 132% 100%;
		background-position: left 50% bottom;
		pointer-events: none;
	}
	.resource-junior__taste::before {
		content: '';
		position: absolute;
		z-index: 1;
		top: 3px;
		bottom: 20px;
		left: -9px;
		right: 0;
		background-image: url(../assets/images/resource-junior/resource-bg-decor-3.webp);
		background-repeat: no-repeat;
		background-size: 124% 100%;
		background-position: center bottom;
		pointer-events: none;
	}
	.junior-taste {
		margin-bottom: 0;
		padding-bottom: 22px;
	}
	.resource-junior--bottle .resource-junior__middle::after {
		content: none;
	}

	.resource-junior-accordion {
		padding: 24px;
	}
	.resource-junior-accordion__head {
		font-size: 19px;
		line-height: 29px;
	}
	.resource-junior-accordion__body {
		margin-top: 16px;
		font-size: 16px;
		line-height: 22px;
	}

	.junior-compound__note {
		margin-top: 16px;
	}
	.product-compound-note {
		flex-direction: column;
		gap: 24px;
	}

	.junior-manual__list {
		font-size: 16px;
		line-height: 19px;
	}

	.junior-manual-table {
		font-size: 16px;
		line-height: 19px;
	}
	.junior-manual__note {
		margin-top: 16px;
		font-size: 16px;
		line-height: 19px;
	}

	.resource-junior__tabs .ui-tabs__btn {
		font-size: 11px;
	}
}

@media (max-width: 620px) {
	.resource-header__slider .splide__slide img {
		min-width: auto;
	}
	.resource-junior__taste {
		position: relative;
		margin-top: -90px;
		padding-top: 90px;
	}
}

@media (max-width: 479px) {
	.resource-junior__header--product {
		background-size: 185% 105%;
	}
	.resource-junior__header::after {
		background-position: left -290px top -150px;
	}
	.resource-junior__taste {
		position: relative;
		margin-top: -70px;
		padding-top: 90px;
	}
}

@media (max-width: 479px) {
	.resource-junior__taste {
		position: relative;
		margin-top: -70px;
		padding-top: 70px;
	}
}
