/* Product Page Builder owned asset. */
.toby-offer-banner {
	position: relative;
	z-index: 20;
	overflow: hidden;
	background: var(--toby-offer-bg);
	color: var(--toby-offer-color);
}

.toby-offer-banner__media {
	position: relative;
	display: flex;
	width: 100%;
	justify-content: center;
	overflow: hidden;
	line-height: 0;
}

.toby-offer-banner__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, color-mix(in srgb, var(--toby-offer-bg) 56%, transparent), color-mix(in srgb, var(--toby-offer-bg) 14%, transparent));
	pointer-events: none;
}

.toby-offer-banner.is-media-only .toby-offer-banner__media::after {
	display: none;
}

.toby-offer-banner__asset {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: none;
	margin: 0 auto;
	object-fit: contain;
}

.toby-offer-banner__asset.is-mobile {
	display: none;
}

.toby-offer-carousel,
.toby-offer-carousel__viewport,
.toby-offer-carousel__track {
	width: 100%;
	min-width: 0;
}

.toby-offer-carousel {
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
}

.toby-offer-carousel:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--toby-offer-accent) 75%, #fff);
	outline-offset: -3px;
}

.toby-offer-carousel__viewport {
	overflow: hidden;
}

.toby-offer-carousel__track {
	display: flex;
	align-items: stretch;
	transition: transform .48s cubic-bezier(.22, .72, .18, 1);
	will-change: transform;
}

.toby-offer-carousel__slide {
	position: relative;
	display: flex;
	min-width: 100%;
	flex: 0 0 100%;
	align-items: center;
	justify-content: center;
}

.toby-offer-carousel__slide-link {
	display: flex;
	width: 100%;
	min-width: 0;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
}

.toby-offer-carousel__slide-link:hover {
	color: inherit;
	text-decoration: none;
}

.toby-offer-carousel__slide-link:focus-visible {
	outline: 3px solid var(--toby-offer-accent, #ff003b);
	outline-offset: -3px;
}

.toby-offer-carousel__slide .toby-offer-banner__asset {
	flex: 0 0 auto;
}

.toby-offer-carousel.is-fade .toby-offer-carousel__track {
	display: grid;
	transform: none !important;
}

.toby-offer-carousel.is-fade .toby-offer-carousel__slide {
	grid-area: 1 / 1;
	min-width: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity .42s ease;
}

.toby-offer-carousel.is-fade .toby-offer-carousel__slide.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
}

.toby-offer-carousel__arrow {
	position: absolute;
	z-index: 4;
	top: 50%;
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 50%;
	background: rgba(15, 23, 42, .48);
	box-shadow: 0 8px 22px rgba(15, 23, 42, .16);
	color: #fff;
	cursor: pointer;
	font: inherit;
	transform: translateY(-50%);
	transition: background .18s ease, transform .18s ease;
}

.toby-offer-carousel__arrow:hover {
	background: rgba(15, 23, 42, .7);
	transform: translateY(-50%) scale(1.05);
}

.toby-offer-carousel__arrow:focus-visible,
.toby-offer-carousel__dots button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.toby-offer-carousel__arrow span {
	display: block;
	margin-top: -2px;
	font-size: 29px;
	font-weight: 300;
	line-height: 1;
}

.toby-offer-carousel__arrow.is-prev {
	left: clamp(10px, 2vw, 28px);
}

.toby-offer-carousel__arrow.is-next {
	right: clamp(10px, 2vw, 28px);
}

.toby-offer-carousel__dots {
	position: absolute;
	z-index: 4;
	bottom: 10px;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, .38);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transform: translateX(-50%);
}

.toby-offer-carousel__dots button {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .62);
	cursor: pointer;
	transition: width .2s ease, background .2s ease;
}

.toby-offer-carousel__dots button.is-active,
.toby-offer-carousel__dots button[aria-current="true"] {
	width: 20px;
	background: #fff;
}

.toby-offer-banner__inner {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: 70px;
	max-width: var(--toby-content-width, 1440px);
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin: auto;
	padding: 12px 54px;
}

.toby-offer-banner.has-media .toby-offer-banner__inner {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: var(--toby-content-width, 1440px);
}

.toby-offer-banner__copy {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.toby-offer-banner__copy span {
	padding: 5px 8px;
	border-radius: 999px;
	background: var(--toby-offer-accent);
	color: #111827;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.toby-offer-banner__copy strong {
	font-size: 17px;
}

.toby-offer-banner__inner > a {
	flex: 0 0 auto;
	padding: 10px 17px;
	border-radius: 9px;
	background: var(--toby-offer-accent);
	color: #111827;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.toby-offer-banner__inner > a:hover {
	transform: translateY(-1px);
	filter: brightness(.97);
}

.toby-offer-banner__inner > button {
	position: absolute;
	right: 15px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .17);
	color: inherit;
	cursor: pointer;
}

.toby-offer-banner__inner > button .toby-icon {
	width: 17px;
}

.toby-offer-banner.is-site_top {
	z-index: 9990;
}

.toby-offer-banner.is-floating {
	position: fixed;
	z-index: 9998;
	right: 22px;
	bottom: 22px;
	width: min(460px, calc(100vw - 32px));
	border-radius: 17px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, .28);
}

.toby-offer-banner.is-floating .toby-offer-banner__asset {
	width: 100%;
}

.toby-offer-banner.is-floating .toby-offer-banner__inner {
	min-height: 140px;
	align-items: flex-start;
	flex-direction: column;
	padding: 24px 54px 24px 25px;
}

.toby-offer-banner.is-floating .toby-offer-banner__copy {
	align-items: flex-start;
	flex-direction: column;
	text-align: left;
}

.toby-offer-banner.is-floating .toby-offer-banner__copy strong {
	font-size: 21px;
}

.toby-offer-banner.is-floating .toby-offer-banner__inner > button {
	top: 14px;
}

.toby-offer-banner.is-hidden {
	display: none !important;
}

.products .product,
.wc-block-grid__product,
.wc-block-components-product-card,
.single-product div.product,
.tppb-product,
.toby-product-card {
	position: relative;
}

.toby-campaign-product-badge {
	position: absolute;
	z-index: 12;
	top: 0;
	left: 0;
	display: inline-flex;
	max-width: calc(100% - 88px);
	align-items: center;
	height: var(--toby-campaign-badge-height, 26px);
	min-height: var(--toby-campaign-badge-height, 26px);
	padding: 0 var(--toby-campaign-badge-padding, 9px);
	border: 1px solid color-mix(in srgb, var(--toby-campaign-badge-accent) 64%, transparent);
	border-width: 0 1px 1px 0;
	border-radius: 9px 0 11px 0;
	background: var(--toby-campaign-badge-bg);
	box-shadow: none;
	color: var(--toby-campaign-badge-color);
	font-size: var(--toby-campaign-badge-font-size, 9px);
	font-weight: 850;
	letter-spacing: .045em;
	line-height: 1.15;
	text-transform: uppercase;
	pointer-events: none;
}

.toby-campaign-product-badge.has-shadow {
	box-shadow: 0 8px 20px color-mix(in srgb, var(--toby-campaign-badge-bg) 22%, transparent), inset 0 -1px 0 rgba(255,255,255,.12);
}

.single-product div.product > .toby-campaign-product-badge,
.tppb-product > .toby-campaign-product-badge {
	top: 0;
	left: 0;
}

@media (max-width: 767px) {
	.toby-offer-carousel__slide.has-mobile-media .toby-offer-banner__asset.is-desktop {
		display: none;
	}

	.toby-offer-carousel__slide.has-mobile-media .toby-offer-banner__asset.is-mobile {
		display: block;
	}

	.toby-offer-banner.has-mobile-media .toby-offer-banner__asset.is-desktop {
		display: none;
	}

	.toby-offer-banner.has-mobile-media .toby-offer-banner__asset.is-mobile {
		display: block;
	}

	.toby-offer-banner__media::after {
		background: color-mix(in srgb, var(--toby-offer-bg) 48%, transparent);
	}

	.toby-offer-banner__inner {
		min-height: 76px;
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		padding: 12px 48px 12px 16px;
	}

	.toby-offer-banner.has-media .toby-offer-banner__inner {
		justify-content: center;
	}

	.toby-offer-banner__copy {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
		text-align: left;
	}

	.toby-offer-banner__copy strong {
		font-size: 14px;
	}

	.toby-offer-banner__inner > a {
		padding: 8px 12px;
	}

	.toby-offer-banner__inner > button {
		top: 12px;
		right: 10px;
	}

	.toby-offer-banner.is-floating {
		right: 16px;
		bottom: 16px;
	}

	.toby-campaign-product-badge {
		top: 0;
		left: 0;
		min-height: var(--toby-campaign-badge-height, 26px);
		padding: 0 var(--toby-campaign-badge-padding, 9px);
		border-radius: 9px 0 11px 0;
		font-size: var(--toby-campaign-badge-font-size, 9px);
	}

	.toby-offer-carousel__arrow {
		width: 34px;
		height: 34px;
	}

	.toby-offer-carousel__dots {
		bottom: 7px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.toby-offer-carousel__track,
	.toby-offer-carousel__slide,
	.toby-offer-carousel__arrow,
	.toby-offer-carousel__dots button {
		transition: none !important;
	}
}
