.apd-root {
	--apd-accent: #00AC69;
	position: relative;
	box-sizing: border-box;
	padding: 0;
	background: var(--apd-accent);
	font-family: 'Exo 2', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	overflow-x: clip;
}

.apd-root *,
.apd-root *::before,
.apd-root *::after {
	box-sizing: border-box;
}

.apd-root.is-loading {
	min-height: 460px;
}

.apd-band {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 0;
	pointer-events: none;
	top: 66px;
	height: 360px;
	background: repeating-linear-gradient( 122deg, transparent 0, transparent 21px, rgba( 255, 255, 255, .11 ) 21px, rgba( 255, 255, 255, .11 ) 23px );
	-webkit-mask-image: linear-gradient( 90deg, transparent, #000 15%, #000 85%, transparent );
	mask-image: linear-gradient( 90deg, transparent, #000 15%, #000 85%, transparent );
}

.apd-root--narrow .apd-band {
	top: 16px;
	height: 210px;
}

.apd-inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Stage ---------- */
.apd-stage--wide {
	display: grid;
	grid-template-columns: 1fr minmax( 260px, 420px ) 1fr;
	align-items: stretch;
	gap: 10px;
	padding: 8px 0;
}

.apd-stage--narrow {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 6px 0;
}

.apd-col {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 14px;
	min-height: 500px;
}

/* ---------- Product ---------- */
.apd-product-area {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	touch-action: pan-y;
}

.apd-stage--wide .apd-product-area {
	height: 500px;
}

.apd-stage--narrow .apd-product-area {
	height: 230px;
}

.apd-stack {
	position: absolute;
	inset: 0;
}

.apd-img {
	position: absolute;
	inset: 0;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	object-fit: contain;
	filter: drop-shadow( 0 14px 26px rgba( 0, 0, 0, .22 ) );
	user-select: none;
	-webkit-user-drag: none;
	opacity: 0;
}

.apd-stage--narrow .apd-img {
	filter: drop-shadow( 0 12px 22px rgba( 0, 0, 0, .22 ) );
}

/* ---------- Claim rows (wide) ---------- */
.apd-claim {
	display: flex;
	align-items: center;
	gap: 8px;
	transition: opacity .4s ease, transform .4s ease;
}

.apd-col--left .apd-claim {
	justify-content: flex-end;
}

.apd-col--right .apd-claim {
	justify-content: flex-start;
}

.apd-claim__label {
	font-family: 'Sour Gummy', 'Exo 2', cursive;
	font-weight: 600;
	color: #fff;
	font-size: 30px;
	line-height: 1.1;
	text-shadow: 0 1px 2px rgba( 0, 0, 0, .14 );
}

.apd-col--left .apd-claim__label {
	text-align: right;
}

.apd-col--right .apd-claim__label {
	text-align: left;
}

/* ---------- Pills (narrow) ---------- */
.apd-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
	width: 100%;
}

.apd-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba( 255, 255, 255, .13 );
	border: 1.5px solid rgba( 255, 255, 255, .4 );
	border-radius: 999px;
	padding: 7px 12px 7px 14px;
	transition: opacity .4s ease, transform .4s ease;
}

.apd-pill__label {
	font-family: 'Sour Gummy', 'Exo 2', cursive;
	font-weight: 600;
	color: #fff;
	font-size: 16px;
	line-height: 1.1;
}

/* Entrance state shared by claims and pills */
.apd-claim.is-enter,
.apd-pill.is-enter {
	opacity: 0;
	transform: translateY( 12px );
	transition: none;
}

/* ---------- Tooltip ---------- */
.apd-tip {
	position: relative;
	flex: none;
}

.apd-help {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	padding: 0;
	border-radius: 50%;
	border: 2px solid rgba( 255, 255, 255, .85 );
	background: transparent;
	color: #fff;
	font-family: 'Exo 2', sans-serif;
	font-weight: 700;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
}

.apd-help:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.apd-pill .apd-help {
	width: 20px;
	height: 20px;
	font-size: 11px;
	border-color: rgba( 255, 255, 255, .9 );
}

.apd-bubble {
	position: absolute;
	bottom: calc( 100% + 12px );
	left: 50%;
	width: 262px;
	max-width: 72vw;
	padding: 13px 15px;
	background: #fff;
	color: #0B5A39;
	font-family: 'Exo 2', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
	border-radius: 13px;
	box-shadow: 0 10px 30px rgba( 0, 0, 0, .24 );
	z-index: 40;
	opacity: 0;
	transform: translate( -50%, 8px );
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}

.apd-pill .apd-bubble {
	width: 250px;
	max-width: 80vw;
	bottom: calc( 100% + 10px );
	font-size: 13.5px;
	box-shadow: 0 10px 30px rgba( 0, 0, 0, .26 );
}

.apd-bubble::after {
	content: "";
	position: absolute;
	top: 100%;
	left: calc( 50% - var( --apd-arrow-shift, 0px ) );
	width: 13px;
	height: 13px;
	background: #fff;
	transform: translate( -50%, -6px ) rotate( 45deg );
}

.apd-tip.is-open .apd-bubble {
	opacity: 1;
	transform: translate( -50%, 0 );
	pointer-events: auto;
}

/* ---------- Arrows ---------- */
.apd-arrow {
	flex: none;
	opacity: .95;
}

.apd-arrow.is-flipped {
	transform: scaleX( -1 );
}

/* ---------- Navigation ---------- */
.apd-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 14px;
}

.apd-nav__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba( 0, 0, 0, .18 );
	transition: background .2s ease;
}

.apd-nav__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.apd-nav__btn svg {
	stroke: var( --apd-accent );
	transition: stroke .2s ease;
}

.apd-nav__btn:hover {
	background: var( --apd-nav-hover, #020101 );
}

.apd-nav__btn:hover svg {
	stroke: #fff;
}

.apd-dots {
	display: flex;
	align-items: center;
	gap: 9px;
}

.apd-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba( 255, 255, 255, .5 );
	cursor: pointer;
	transition: width .25s ease, background .25s ease;
}

.apd-dot.is-active {
	width: 26px;
	background: #fff;
}

.apd-dot:not( .is-active ):hover {
	background: var( --apd-nav-hover, #020101 );
}

.apd-name {
	text-align: center;
	margin-top: 8px;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .4px;
	color: rgba( 255, 255, 255, .85 );
	text-transform: uppercase;
}

/* ---------- Editor notice ---------- */
.apd-notice {
	padding: 14px 18px;
	border: 1px dashed #c3c4c7;
	border-radius: 8px;
	background: #fff;
	color: #50575e;
	font-family: system-ui, sans-serif;
}

/* ---------- No-JS fallback ---------- */
.apd-fallback {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
}

.apd-fallback__product {
	max-width: 320px;
	color: #fff;
	text-align: center;
}

.apd-fallback__image {
	max-width: 100%;
	height: auto;
}

.apd-fallback__name {
	font-family: 'Sour Gummy', 'Exo 2', cursive;
	margin: 10px 0;
}

.apd-fallback__claims {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.apd-fallback__claims li {
	margin-bottom: 8px;
}

@media ( prefers-reduced-motion: reduce ) {
	.apd-claim,
	.apd-pill,
	.apd-img,
	.apd-bubble,
	.apd-dot {
		transition: none !important;
	}

	.apd-claim.is-enter,
	.apd-pill.is-enter {
		opacity: 1;
		transform: none;
	}
}
