/* GlamUpper Bundle Deals — frontend styles
   Brand pink: #F2C4CE (Blush Pink) */

.gub-box,
.gub-upsell {
	border: 1px solid #F2C4CE;
	border-radius: 14px;
	padding: 16px 18px;
	margin: 18px 0;
	background: #fff7f9;
	font-size: 15px;
	line-height: 1.5;
}

.gub-box__title,
.gub-upsell__head {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 8px;
	color: #3a2a2f;
}

.gub-box__items {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
}

.gub-box__items li {
	padding: 2px 0;
	color: #5a4a4f;
}

.gub-box__price,
.gub-upsell__price {
	margin: 8px 0 12px;
}

.gub-box__before,
.gub-upsell__price .gub-box__before {
	text-decoration: line-through;
	opacity: 0.6;
	margin-right: 8px;
}

.gub-box__after {
	font-weight: 700;
	font-size: 18px;
	color: #c0566f;
}

.gub-box__save {
	display: inline-block;
	margin-left: 8px;
	background: #F2C4CE;
	color: #3a2a2f;
	border-radius: 999px;
	padding: 2px 10px;
	font-weight: 700;
	font-size: 13px;
}

.gub-btn {
	display: inline-block;
	background: #F2C4CE;
	color: #3a2a2f !important;
	font-weight: 700;
	text-decoration: none;
	padding: 11px 20px;
	border-radius: 999px;
	transition: filter 0.15s ease;
	border: none;
	cursor: pointer;
}

.gub-btn:hover {
	filter: brightness(0.95);
}

.gub-btn--sm {
	padding: 8px 16px;
	font-size: 14px;
}

.gub-upsell__offer {
	border-top: 1px dashed #F2C4CE;
	padding-top: 10px;
	margin-top: 10px;
}

.gub-upsell__offer p {
	margin: 0 0 8px;
}

/* Cart / checkout bundle badge */
.gub-badge {
	display: inline-block;
	background: #F2C4CE;
	color: #3a2a2f;
	border-radius: 999px;
	padding: 1px 9px;
	font-size: 12px;
	font-weight: 600;
	margin-top: 4px;
}

/* Product thumbnails strip (upsell + bundle box) */
.gub-thumbs {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	flex-wrap: wrap;
	margin: 10px 0 12px;
}

.gub-thumb {
	margin: 0;
	width: 84px;
	text-align: center;
}

.gub-thumb__img,
.gub-thumb img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid #F2C4CE;
	display: block;
	background: #fff;
}

.gub-thumb__name {
	font-size: 11px;
	line-height: 1.25;
	margin-top: 5px;
	color: #5a4a4f;
}

.gub-thumbs__plus {
	align-self: center;
	font-size: 18px;
	font-weight: 700;
	color: #c0566f;
	padding-top: 28px;
}

@media (max-width: 480px) {
	.gub-thumb,
	.gub-thumb__img,
	.gub-thumb img {
		width: 72px;
	}
	.gub-thumb__img,
	.gub-thumb img {
		height: 72px;
	}
	.gub-thumbs__plus {
		padding-top: 22px;
	}
}

/* Combo deals grid (homepage [glamupper_bundles]) */
.gub-grid-wrap {
	margin: 24px 0;
}

.gub-grid__title {
	text-align: center;
	font-size: 26px;
	margin: 0 0 18px;
	color: #3a2a2f;
}

.gub-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
}

.gub-grid--cols-1 { grid-template-columns: 1fr; }
.gub-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.gub-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.gub-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.gub-grid .gub-box {
	margin: 0;
	display: flex;
	flex-direction: column;
}

/* push button to bottom so cards align */
.gub-grid .gub-box .gub-btn {
	margin-top: auto;
}

@media (max-width: 900px) {
	.gub-grid,
	.gub-grid--cols-2,
	.gub-grid--cols-3,
	.gub-grid--cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.gub-grid,
	.gub-grid--cols-2,
	.gub-grid--cols-3,
	.gub-grid--cols-4 {
		grid-template-columns: 1fr;
	}
}

/* "Part of a combo deal" badge (top of product page) */
.gub-pillbadge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #F2C4CE;
	color: #3a2a2f !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	padding: 8px 14px;
	border-radius: 999px;
	margin: 10px 0 14px;
	transition: filter 0.15s ease, transform 0.15s ease;
	scroll-behavior: smooth;
}

.gub-pillbadge:hover {
	filter: brightness(0.96);
	transform: translateY(-1px);
}

.gub-pillbadge__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #c0566f;
	flex: 0 0 auto;
	box-shadow: 0 0 0 0 rgba(192, 86, 111, 0.6);
	animation: gub-pulse 1.8s infinite;
}

.gub-pillbadge__text strong {
	font-weight: 700;
}

@keyframes gub-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(192, 86, 111, 0.5); }
	70%  { box-shadow: 0 0 0 8px rgba(192, 86, 111, 0); }
	100% { box-shadow: 0 0 0 0 rgba(192, 86, 111, 0); }
}

html {
	scroll-behavior: smooth;
}

/* Desktop homepage bundle layout: horizontal card. Mobile rules stay unchanged. */
@media (min-width: 901px) {
	.gub-grid-wrap {
		width: min(1000px, calc(100vw - 72px));
		max-width: none;
		margin: 28px 0;
		margin-left: auto !important;
		margin-right: auto !important;
		transform: none;
	}

	.gub-grid,
	.gub-grid--cols-2,
	.gub-grid--cols-3,
	.gub-grid--cols-4 {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.gub-grid .gub-box {
		--gub-thumb-size: clamp(122px, 11.8vw, 150px);
		display: grid;
		grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.75fr);
		column-gap: 34px;
		row-gap: 12px;
		align-items: center;
		box-sizing: border-box;
		padding: 28px 34px;
		overflow: visible;
	}

	.gub-grid .gub-box__title {
		grid-column: 1 / -1;
		text-align: center;
		font-size: 20px;
		margin-bottom: 8px;
	}

	.gub-grid .gub-thumbs {
		grid-column: 1;
		grid-row: 2 / span 3;
		justify-content: center;
		align-items: flex-start;
		flex-wrap: nowrap;
		gap: clamp(10px, 1.15vw, 16px);
		margin: 0;
		max-width: 100%;
		min-width: 0;
		position: relative;
		z-index: 1;
	}

	.gub-grid .gub-thumb {
		flex: 0 0 var(--gub-thumb-size);
		width: var(--gub-thumb-size);
		max-width: var(--gub-thumb-size);
		box-sizing: border-box;
		position: relative;
		z-index: 1;
	}

	.gub-grid .gub-thumb__img,
	.gub-grid .gub-thumb img {
		width: var(--gub-thumb-size);
		height: var(--gub-thumb-size);
		max-width: 100%;
		box-sizing: border-box;
		border-radius: 16px;
	}

	.gub-grid .gub-thumb__name {
		display: block;
		position: static;
		font-size: 13px;
		line-height: 1.25;
		margin-top: 8px;
		max-width: 100%;
		overflow-wrap: anywhere;
		hyphens: auto;
		z-index: 2;
	}

	.gub-grid .gub-thumbs__plus {
		flex: 0 0 20px;
		display: flex;
		align-items: center;
		justify-content: center;
		height: var(--gub-thumb-size);
		font-size: 24px;
		padding-top: 0;
		align-self: flex-start;
	}

	.gub-grid .gub-box__items,
	.gub-grid .gub-box__price,
	.gub-grid .gub-btn {
		grid-column: 2;
		position: relative;
		z-index: 2;
	}

	.gub-grid .gub-box__items {
		margin: 0 0 4px;
	}

	.gub-grid .gub-box__price {
		margin: 0 0 8px;
	}

	.gub-grid .gub-box__after {
		font-size: 22px;
	}

	.gub-grid .gub-btn {
		justify-self: start;
		margin-top: 0 !important;
	}
}

@media (min-width: 901px) and (max-width: 1180px) {
	.gub-grid-wrap {
		width: min(1000px, calc(100vw - 72px));
	}

	.gub-grid .gub-box {
		grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.75fr);
		column-gap: 24px;
		padding: 24px;
	}

	.gub-grid .gub-thumbs {
		gap: 10px;
	}
}


/* --- Component prices + clickable products in bundle boxes --- */
.gub-pricelist {
	list-style: none;
	margin: 12px 0 8px;
	padding: 0;
	font-size: 15px;
}

.gub-pricelist li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px dashed rgba(179, 69, 95, 0.22);
}

.gub-pricelist li:last-child {
	border-bottom: 0;
}

.gub-pricelist__name a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(179, 69, 95, 0.35);
}

.gub-pricelist__name a:hover {
	color: #b3455f;
	border-bottom-color: #b3455f;
}

.gub-pricelist__price {
	white-space: nowrap;
	font-weight: 600;
}

.gub-save {
	margin: 4px 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: #b3455f;
}

.gub-thumb__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.gub-thumb__link:hover img {
	transform: scale(1.04);
}

.gub-thumb img {
	transition: transform 0.18s ease;
}


/* Cart promo: free Miss Baltics Body Oil + bundle suggestions */
.gub-cart-savings-row {
	background: #fff7f9;
	border-top-color: rgba(192, 86, 111, 0.18);
	border-bottom-color: rgba(192, 86, 111, 0.18);
}

.gub-cart-savings-row .wc-block-components-totals-item {
	color: #3a2a2f;
	font-weight: 800;
}

.gub-cart-savings-row__label,
.gub-cart-savings-row__value {
	color: #c0566f;
}

.gub-cart-savings-row__description {
	color: #6b5960;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	margin-top: 4px;
}

.gub-cart-extras {
	box-sizing: border-box;
	width: min(1100px, calc(100vw - 32px));
	margin: 28px auto 0;
}

.gub-cart-promo {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	border: 1px solid #F2C4CE;
	border-radius: 18px;
	background: #fff7f9;
	padding: 16px 18px;
	margin: 0 0 24px;
	color: #3a2a2f;
}

.gub-cart-suggestions + .gub-cart-promo {
	margin-top: 18px;
}

.gub-cart-promo.is-eligible {
	background: #f6fff7;
	border-color: #b8e2bf;
}

.gub-cart-promo__icon {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: #F2C4CE;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	flex: 0 0 auto;
}

.gub-cart-promo.is-eligible .gub-cart-promo__icon {
	background: #b8e2bf;
}

.gub-cart-promo__image {
	position: relative;
	display: block;
	flex: 0 0 88px;
	width: 88px;
	color: inherit;
	text-decoration: none;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(242, 196, 206, 0.9);
	box-shadow: 0 8px 20px rgba(58, 42, 47, 0.08);
}

.gub-cart-promo__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
}

.gub-cart-promo__badge {
	position: absolute;
	left: 6px;
	bottom: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 22px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #F2C4CE;
	color: #3a2a2f;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 5px 14px rgba(58, 42, 47, 0.14);
}

.gub-cart-promo.is-eligible .gub-cart-promo__image {
	border-color: #b8e2bf;
}

.gub-cart-promo.is-eligible .gub-cart-promo__badge {
	background: #b8e2bf;
}

.gub-cart-promo__body {
	min-width: 0;
	flex: 1 1 auto;
}

.gub-cart-promo__title {
	font-weight: 800;
	font-size: 17px;
	line-height: 1.35;
	margin: 0 0 4px;
}

.gub-cart-promo__text {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #5a4a4f;
}

.gub-cart-promo__bar {
	height: 8px;
	border-radius: 999px;
	background: rgba(58, 42, 47, 0.10);
	overflow: hidden;
}

.gub-cart-promo__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #c0566f;
}

.gub-cart-promo.is-eligible .gub-cart-promo__bar span {
	background: #4f9f5f;
}

.gub-cart-suggestions {
	box-sizing: border-box;
	padding: 30px 20px;
	border: 1px solid #F2C4CE;
	border-radius: 28px;
	background: #fff7f9;
}

.gub-cart-suggestions__eyebrow {
	margin: 0 0 8px;
	color: #8f6f63;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-align: center;
	font-weight: 700;
}

.gub-cart-suggestions__title {
	margin: 0 0 10px;
	color: #3a2a2f;
	text-align: center;
	font-size: clamp(24px, 2.6vw, 36px);
	line-height: 1.15;
}

.gub-cart-suggestions__sub {
	max-width: 720px;
	margin: 0 auto 20px;
	color: #544f4a;
	text-align: center;
	font-size: 15px;
	line-height: 1.6;
}

.gub-cart-suggestions .gub-grid-wrap {
	margin-top: 0;
	margin-bottom: 0;
}

.gub-cart-suggestions__quick {
	margin: 24px auto 0;
}

.gub-cart-suggestions__quick-title {
	margin: 0 0 14px;
	color: #3a2a2f;
	font-size: 20px;
	line-height: 1.25;
	text-align: center;
}

.gub-cart-suggestions__quick .gub-product-recs__quick-grid {
	max-width: 940px;
	margin: 0 auto;
}

.gub-cart-suggestions__quick .gub-product-card {
	background: #fff;
}

@media (max-width: 700px) {
	.gub-cart-extras {
		width: calc(100vw - 20px);
		margin-top: 20px;
	}
	.gub-cart-promo {
		padding: 14px;
		border-radius: 16px;
		gap: 12px;
	}
	.gub-cart-promo__image {
		flex-basis: 74px;
		width: 74px;
		border-radius: 12px;
	}
	.gub-cart-promo__badge {
		left: 5px;
		bottom: 5px;
		min-height: 20px;
		padding: 3px 7px;
		font-size: 10px;
	}
	.gub-cart-suggestions {
		padding: 24px 12px;
		border-radius: 22px;
	}
	.gub-cart-suggestions__title {
		font-size: 24px;
	}
}

/* Hair Growth Serum product-page recommendations */
.gub-product-recs {
	box-sizing: border-box;
	width: min(1100px, calc(100vw - 32px));
	margin: 34px auto 30px;
	padding: 4px 0 0;
	clear: both;
	color: #3a2a2f;
}

.gub-product-recs__eyebrow {
	margin: 0 0 8px;
	color: #8f6f63;
	font-size: 12px;
	letter-spacing: 0;
	text-transform: uppercase;
	text-align: center;
	font-weight: 700;
}

.gub-product-recs__title {
	margin: 0 0 10px;
	color: #3a2a2f;
	text-align: center;
	font-size: clamp(24px, 2.6vw, 36px);
	line-height: 1.15;
}

.gub-product-recs__sub {
	max-width: 720px;
	margin: 0 auto 22px;
	color: #544f4a;
	text-align: center;
	font-size: 15px;
	line-height: 1.6;
}

.gub-product-recs .gub-grid-wrap {
	margin-top: 0;
	margin-bottom: 24px;
}

.gub-product-recs__quick {
	margin: 24px auto 0;
}

.gub-product-recs__quick-title {
	margin: 0 0 14px;
	color: #3a2a2f;
	font-size: 20px;
	line-height: 1.25;
	text-align: center;
}

.gub-product-recs__quick-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.gub-product-card {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	border: 1px solid #F2C4CE;
	border-radius: 14px;
	background: #fff7f9;
	padding: 12px;
	min-width: 0;
}

.gub-product-card__image {
	display: block;
	color: inherit;
	text-decoration: none;
}

.gub-product-card__image img {
	display: block;
	width: 108px;
	height: 108px;
	object-fit: cover;
	border-radius: 10px;
	background: #fff;
	border: 1px solid rgba(242, 196, 206, 0.85);
}

.gub-product-card__body {
	min-width: 0;
}

.gub-product-card__title {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.25;
}

.gub-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.gub-product-card__title a:hover {
	color: #b3455f;
}

.gub-product-card__price {
	margin: 0 0 10px;
	color: #5a4a4f;
	font-weight: 700;
}

.gub-product-card__price .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.gub-product-card__price .woocommerce-price-suffix {
	display: none !important;
}

.gub-product-card__price del {
	opacity: 0.58;
	margin-right: 4px;
}

.gub-product-card__price ins {
	color: #c0566f;
	text-decoration: none;
}

.gub-product-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #F2C4CE;
	color: #3a2a2f !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
}

.gub-product-card__btn:hover {
	filter: brightness(0.95);
}

@media (max-width: 900px) {
	.gub-product-recs__quick-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.gub-product-recs {
		width: calc(100vw - 20px);
		margin-top: 26px;
	}

	.gub-product-card {
		grid-template-columns: 86px minmax(0, 1fr);
		gap: 12px;
		padding: 10px;
	}

	.gub-product-card__image img {
		width: 86px;
		height: 86px;
	}

	.gub-product-card__title {
		font-size: 15px;
	}
}

/* Product summary offer placement: keep the bundle decision close to the buy box. */
body.gub-product-offer-active.single-product .summary .custom-instant-buy,
body.gub-product-offer-active.single-product .summary .glamupper-buy-now {
	display: none !important;
}

.single-product .summary .gub-upsell {
	margin: 12px 0 18px;
	padding: 14px;
	border-radius: 16px;
}

.single-product .summary .gub-upsell__head {
	margin-bottom: 6px;
}

.single-product .summary .gub-upsell__offer {
	margin-top: 8px;
	padding-top: 8px;
}

.single-product .summary .gub-upsell__offer p {
	font-size: 14px;
	line-height: 1.45;
}

.single-product .summary .gub-upsell .gub-thumbs {
	flex-wrap: nowrap;
	gap: 5px;
}

.single-product .summary .gub-upsell .gub-thumb,
.single-product .summary .gub-upsell .gub-thumb__img,
.single-product .summary .gub-upsell .gub-thumb img {
	width: 72px;
}

.single-product .summary .gub-upsell .gub-thumb__img,
.single-product .summary .gub-upsell .gub-thumb img {
	height: 72px;
}

.single-product .summary .gub-upsell .gub-thumb__name {
	font-size: 10px;
}

.single-product .summary .gub-upsell .gub-thumbs__plus {
	padding-top: 21px;
}

.single-product .summary .gub-product-recs--summary {
	width: 100%;
	margin: 16px 0 18px;
	padding: 0;
	clear: none;
}

.single-product .summary .gub-product-recs--summary .gub-product-recs__eyebrow,
.single-product .summary .gub-product-recs--summary .gub-product-recs__title,
.single-product .summary .gub-product-recs--summary .gub-product-recs__sub {
	text-align: left;
}

.single-product .summary .gub-product-recs--summary .gub-product-recs__eyebrow {
	margin-bottom: 5px;
}

.single-product .summary .gub-product-recs--summary .gub-product-recs__title {
	font-size: 20px;
	margin-bottom: 6px;
}

.single-product .summary .gub-product-recs--summary .gub-product-recs__sub {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.45;
}

.single-product .summary .gub-product-recs--summary .gub-grid-wrap {
	width: 100%;
	margin: 0;
}

.single-product .summary .gub-product-recs--summary .gub-grid {
	grid-template-columns: 1fr;
	gap: 12px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-box {
	display: block;
	padding: 14px;
	border-radius: 16px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-box__title {
	text-align: left;
	font-size: 16px;
	margin-bottom: 8px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-thumbs {
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 5px;
	margin: 8px 0 10px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-thumb,
.single-product .summary .gub-product-recs--summary .gub-grid .gub-thumb__img,
.single-product .summary .gub-product-recs--summary .gub-grid .gub-thumb img {
	width: 68px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-thumb__img,
.single-product .summary .gub-product-recs--summary .gub-grid .gub-thumb img {
	height: 68px;
	border-radius: 10px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-thumb__name {
	font-size: 10px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-thumbs__plus {
	height: 68px;
	padding-top: 0;
	font-size: 18px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-box__items {
	margin: 0 0 8px;
	font-size: 13px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-box__price {
	margin: 0 0 10px;
}

.single-product .summary .gub-product-recs--summary .gub-grid .gub-box__after {
	font-size: 18px;
}

/* Homepage three-product carousel fallback for cached mobile HTML. */
@media (max-width: 781px) {
	body.home .gu-product-carousel,
	body.page-id-12478 .gu-product-carousel,
	body.page-id-13836 .gu-product-carousel {
		box-sizing: border-box;
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 22px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		max-width: 100vw !important;
		width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding: 0 20px 18px !important;
	}

	body.home .gu-product-carousel > .wp-block-column,
	body.page-id-12478 .gu-product-carousel > .wp-block-column,
	body.page-id-13836 .gu-product-carousel > .wp-block-column {
		box-sizing: border-box;
		flex: 0 0 78vw !important;
		max-width: 320px !important;
		scroll-snap-align: start;
	}

	body.home .gu-product-carousel .wp-block-image img,
	body.page-id-12478 .gu-product-carousel .wp-block-image img,
	body.page-id-13836 .gu-product-carousel .wp-block-image img {
		display: block;
		width: 100%;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}
}

@supports selector(.wp-block-columns:has(a)) {
	@media (max-width: 781px) {
		body.home .wp-block-columns:has(a[href*="/product/ripsmeseerum/"]):has(a[href*="/product/kulmugeel/"]):has(a[href*="/product/tubing-efekt-seerumiga-ripsmetuss/"]),
		body.page-id-12478 .wp-block-columns:has(a[href*="/product/ripsmeseerum/"]):has(a[href*="/product/kulmugeel/"]):has(a[href*="/product/tubing-efekt-seerumiga-ripsmetuss/"]),
		body.page-id-13836 .wp-block-columns:has(a[href*="/en/product/lash-serum/"]):has(a[href*="/en/product/brow-gel/"]):has(a[href*="/en/product/tubing-mascara/"]) {
			box-sizing: border-box;
			display: flex !important;
			flex-wrap: nowrap !important;
			gap: 22px !important;
			overflow-x: auto !important;
			overflow-y: hidden !important;
			scroll-snap-type: x mandatory;
			-webkit-overflow-scrolling: touch;
			max-width: 100vw !important;
			width: 100vw !important;
			margin-left: calc(50% - 50vw) !important;
			margin-right: calc(50% - 50vw) !important;
			padding: 0 20px 18px !important;
		}

		body.home .wp-block-columns:has(a[href*="/product/ripsmeseerum/"]):has(a[href*="/product/kulmugeel/"]):has(a[href*="/product/tubing-efekt-seerumiga-ripsmetuss/"]) > .wp-block-column,
		body.page-id-12478 .wp-block-columns:has(a[href*="/product/ripsmeseerum/"]):has(a[href*="/product/kulmugeel/"]):has(a[href*="/product/tubing-efekt-seerumiga-ripsmetuss/"]) > .wp-block-column,
		body.page-id-13836 .wp-block-columns:has(a[href*="/en/product/lash-serum/"]):has(a[href*="/en/product/brow-gel/"]):has(a[href*="/en/product/tubing-mascara/"]) > .wp-block-column {
			box-sizing: border-box;
			flex: 0 0 78vw !important;
			max-width: 320px !important;
			scroll-snap-align: start;
		}
	}
}

/* Mobile journey cleanup: shorter header and non-blocking language switcher. */
@media (max-width: 781px) {
	header.wp-block-template-part {
		margin-block-start: 0 !important;
	}

	header.wp-block-template-part > .wp-block-group {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	header.wp-block-template-part > .wp-block-group.alignfull:first-child {
		min-height: 0 !important;
	}

	header.wp-block-template-part > .wp-block-group.alignfull:first-child p {
		margin-top: 0 !important;
		margin-bottom: 2px !important;
		font-size: 14px !important;
		line-height: 1.35 !important;
	}

	header.wp-block-template-part .wp-block-site-title {
		font-size: clamp(28px, 8vw, 34px) !important;
		line-height: 1.05 !important;
		margin: 0 !important;
	}

	header.wp-block-template-part .wp-block-site-title a {
		line-height: inherit !important;
	}

	header.wp-block-template-part .wp-block-columns {
		row-gap: 10px !important;
		column-gap: 12px !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	header.wp-block-template-part .wp-block-navigation__container {
		gap: 18px !important;
		justify-content: center !important;
	}

	header.wp-block-template-part .wp-block-navigation-item__content {
		font-size: 17px !important;
		line-height: 1.2 !important;
	}

	header.wp-block-template-part .wp-block-woocommerce-customer-account,
	header.wp-block-template-part .wc-block-mini-cart,
	header.wp-block-template-part .wc-block-customer-account__link,
	header.wp-block-template-part .wc-block-mini-cart__button {
		width: 38px !important;
		height: 38px !important;
		min-height: 38px !important;
		padding: 0 !important;
	}

	header.wp-block-template-part .wc-block-customer-account__link svg,
	header.wp-block-template-part .wc-block-mini-cart__button svg {
		width: 24px !important;
		height: 24px !important;
	}

	header.wp-block-template-part form.wp-block-search {
		margin: 0 !important;
	}

	header.wp-block-template-part .wp-block-search__inside-wrapper {
		height: 46px !important;
	}

	header.wp-block-template-part .wp-block-search__input {
		min-height: 46px !important;
		padding: 9px 14px !important;
		font-size: 17px !important;
	}

	header.wp-block-template-part > .wp-block-group.alignfull.has-background-background-color {
		padding-top: 10px !important;
		padding-bottom: 12px !important;
		margin-top: 8px !important;
	}

	.glamupper-global-language-switcher {
		left: auto !important;
		right: 12px !important;
		bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
		width: auto !important;
		max-width: calc(100vw - 24px) !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 4px !important;
		border-radius: 999px !important;
		transform: none !important;
	}

	.glamupper-global-language-switcher a,
	.glamupper-global-language-switcher span {
		min-height: 34px !important;
		padding: 7px 12px !important;
		font-size: 14px !important;
		line-height: 1.15 !important;
	}

	body.woocommerce-cart .glamupper-global-language-switcher,
	body.woocommerce-checkout .glamupper-global-language-switcher {
		display: none !important;
	}
}
