.ctz-video-cart {
	--ctz-video-ink: #17162b;
	--ctz-video-muted: #686171;
	--ctz-video-pink: #cf356f;
	--ctz-video-pink-dark: #a91f57;
	--ctz-video-line: #f1d5df;
	--ctz-video-shadow: 0 24px 70px rgba(67, 22, 43, .24);
	font-family: "Nunito Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.45;
}

.ctz-video-cart *,
.ctz-video-cart *::before,
.ctz-video-cart *::after {
	box-sizing: border-box;
}

.ctz-video-cart [hidden] {
	display: none !important;
}

html.ctz-video-cart-open,
body.ctz-video-cart-open {
	overflow: hidden !important;
}

html.ctz-video-cart-open #moderncart-floating-cart,
body.ctz-video-cart-open #moderncart-floating-cart {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: translateY(18px) scale(.9) !important;
}

.ctz-video-cart__launcher {
	position: fixed;
	z-index: 1000000;
	left: 24px;
	bottom: max(106px, calc(env(safe-area-inset-bottom) + 86px));
	width: 150px;
	transition: opacity .2s ease, transform .2s ease;
}

.ctz-video-cart__preview {
	position: relative;
	display: block;
	width: 150px;
	height: 232px;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .72) !important;
	border-radius: 16px !important;
	background: #17162b !important;
	box-shadow: 0 16px 38px rgba(23, 22, 43, .26) !important;
	cursor: pointer;
}

.ctz-video-cart__preview:hover {
	transform: translateY(-2px);
}

.ctz-video-cart__preview-video,
.ctz-video-cart__main-video {
	display: block;
	width: 100%;
	height: 100%;
	background: #17162b;
}

.ctz-video-cart__preview-video {
	object-fit: cover;
}

.ctz-video-cart__main-video {
	object-fit: contain;
}

.ctz-video-cart__preview-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(23, 22, 43, 0) 38%, rgba(23, 22, 43, .78) 100%);
	pointer-events: none;
}

.ctz-video-cart__play {
	position: absolute;
	right: 12px;
	bottom: 48px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: var(--ctz-video-pink);
	color: #fff;
	box-shadow: 0 10px 24px rgba(207, 53, 111, .34);
}

.ctz-video-cart__play svg,
.ctz-video-cart__close svg,
.ctz-video-cart__dismiss svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ctz-video-cart__play svg {
	margin-left: 2px;
	fill: currentColor;
	stroke: none;
}

.ctz-video-cart__preview-copy {
	position: absolute;
	right: 12px;
	bottom: 14px;
	left: 12px;
	color: #fff;
	text-align: left;
}

.ctz-video-cart__preview-copy strong {
	display: block;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .34);
}

.ctz-video-cart__dismiss {
	position: absolute;
	top: -10px;
	right: -10px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0 !important;
	border: 1px solid rgba(207, 53, 111, .18) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--ctz-video-pink) !important;
	box-shadow: 0 10px 24px rgba(67, 22, 43, .14) !important;
	cursor: pointer;
}

.ctz-video-cart__overlay {
	position: fixed;
	z-index: 1000003;
	inset: 0;
	background: rgba(23, 22, 43, .68);
	backdrop-filter: blur(8px);
}

.ctz-video-cart__dialog {
	position: fixed;
	z-index: 1000004;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	opacity: 0;
	transform: translateY(10px) scale(.98);
	transition: opacity .2s ease, transform .2s ease;
}

.ctz-video-cart__dialog.is-open {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.ctz-video-cart__panel {
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	width: min(430px, 100%);
	height: min(760px, calc(100vh - 42px));
	height: min(760px, calc(100dvh - 42px));
	max-height: min(760px, calc(100vh - 42px));
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .82);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--ctz-video-shadow);
}

.ctz-video-cart__close {
	position: absolute;
	z-index: 2;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .92) !important;
	color: var(--ctz-video-pink) !important;
	box-shadow: 0 10px 24px rgba(67, 22, 43, .16) !important;
	cursor: pointer;
}

.ctz-video-cart__media {
	position: relative;
	aspect-ratio: auto;
	min-height: 0;
	overflow: hidden;
	background: #17162b;
}

.ctz-video-cart__body {
	display: grid;
	gap: 12px;
	overflow-y: auto;
	padding: 18px 22px 22px;
	background: #fff;
}

.ctz-video-cart__body p {
	margin: 0 !important;
	color: var(--ctz-video-pink) !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ctz-video-cart__body h2 {
	margin: 0 !important;
	color: var(--ctz-video-ink) !important;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0;
}

.ctz-video-cart__product {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 2px;
	color: var(--ctz-video-ink);
}

.ctz-video-cart__product strong {
	min-width: 0;
	font-size: 15px;
	line-height: 1.25;
}

.ctz-video-cart__product span {
	flex: 0 0 auto;
	color: var(--ctz-video-muted);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.ctz-video-cart__purchase {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 10px;
}

.ctz-video-cart__quantity {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) 36px;
	min-height: 52px;
	overflow: hidden;
	border: 1px solid var(--ctz-video-line);
	border-radius: 999px;
	background: #fff;
}

.ctz-video-cart__quantity button,
.ctz-video-cart__quantity input {
	min-width: 0;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--ctz-video-ink) !important;
	font: inherit;
	font-weight: 800;
	text-align: center;
	box-shadow: none !important;
}

.ctz-video-cart__quantity button {
	font-size: 20px;
	cursor: pointer;
	touch-action: manipulation;
}

.ctz-video-cart__quantity button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.ctz-video-cart__quantity input {
	width: 46px;
	font-size: 15px;
	appearance: textfield;
}

.ctz-video-cart__quantity input::-webkit-inner-spin-button,
.ctz-video-cart__quantity input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.ctz-video-cart__add,
.ctz-video-cart__add.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	width: 100%;
	padding: 13px 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--ctz-video-pink), #e44683) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 14px 32px rgba(207, 53, 111, .32) !important;
	transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.ctz-video-cart__add:hover,
.ctz-video-cart__add.button:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 38px rgba(207, 53, 111, .38) !important;
}

.ctz-video-cart__add.is-loading {
	opacity: .72;
	pointer-events: none;
}

.ctz-video-cart :focus-visible {
	outline: 3px solid rgba(207, 53, 111, .34) !important;
	outline-offset: 3px !important;
}

.single-product form.cart.ctz-video-cart-highlight {
	animation: ctz-video-cart-highlight 1.6s ease;
}

@keyframes ctz-video-cart-highlight {
	0%, 100% { box-shadow: none; }
	18%, 70% { box-shadow: 0 0 0 5px rgba(207, 53, 111, .18); }
}

@media (max-width: 921px) {
	.ctz-video-cart__launcher {
		left: 16px;
		bottom: max(76px, calc(env(safe-area-inset-bottom) + 68px));
		width: 96px;
	}

	.ctz-video-cart__preview {
		width: 96px;
		height: 150px;
		border-radius: 14px !important;
	}

	.ctz-video-cart__dismiss {
		top: -8px;
		right: -8px;
		width: 28px;
		height: 28px;
	}

	.ctz-video-cart__play {
		right: 8px;
		bottom: 38px;
		width: 30px;
		height: 30px;
	}

	.ctz-video-cart__preview-copy strong {
		font-size: 12px;
	}
}

@media (max-width: 520px) {
	.ctz-video-cart__dialog {
		align-items: center;
		height: 100vh;
		height: 100dvh;
		padding: 10px;
		overflow: hidden;
	}

	.ctz-video-cart__panel {
		grid-template-rows: minmax(0, 1fr) auto;
		width: 100%;
		height: calc(100vh - 20px);
		height: calc(100dvh - 20px);
		max-height: 760px;
		border-radius: 16px;
	}

	.ctz-video-cart__media {
		aspect-ratio: auto;
	}

	.ctz-video-cart__close {
		z-index: 5;
		top: 10px;
		right: 10px;
		width: 42px;
		height: 42px;
		touch-action: manipulation;
	}

	.ctz-video-cart__body {
		gap: 10px;
		padding: 14px 16px max(16px, calc(env(safe-area-inset-bottom) + 12px));
	}

	.ctz-video-cart__body h2 {
		font-size: 23px;
	}

	.ctz-video-cart__product {
		gap: 8px;
	}

	.ctz-video-cart__purchase {
		grid-template-columns: 116px minmax(0, 1fr);
		gap: 8px;
	}

	.ctz-video-cart__add,
	.ctz-video-cart__add.button {
		padding-right: 12px !important;
		padding-left: 12px !important;
		font-size: 14px !important;
	}
}

@media (max-width: 340px) {
	.ctz-video-cart__purchase {
		grid-template-columns: 1fr;
	}
}
