.course-gift-card {
	position: sticky;
	top: 160px;
	box-sizing: border-box;
	display: flex;
	width: 250px;
	flex-direction: column;
	gap: 16px;
	padding: 18px 16px;
	border-radius: 16px;
	background-color: #dfdffc;
	color: #1f1f1f;
	font-family: "Montserrat", sans-serif;
	overflow: hidden;
}

.js-enabled .course-gift-card:not(.is-ready) {
	visibility: hidden;
}

.course-gift-card__view:not(.active),
.course-gift-card__offer-actions:not(.active),
.course-gift-card__actions > [data-open-gift]:not(.active) {
	display: none !important;
}

.course-gift-card__view,
.course-gift-card__actions,
.course-gift-card__offer-actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.course-gift-card__pill {
	box-sizing: border-box;
	min-height: 32px;
	align-self: flex-start;
	padding: 5px 10px;
	border-radius: 100px;
	background-color: #fff;
	color: #4b47ef;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	white-space: nowrap;
}

.course-gift-card__return-header {
	position: relative;
	display: flex;
	height: 38px;
	align-items: center;
	gap: 12px;
}

.course-gift-card__return-discount {
	box-sizing: border-box;
	display: flex;
	height: 38px;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border-radius: 8px;
	background-color: #6060f0;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.course-gift-card h6.course-gift-card__return-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.course-gift-card__return-spark {
	position: absolute;
	top: -11px;
	left: 22px;
	width: 28px;
	height: 12px;
}

.course-gift-card__art {
	position: relative;
	width: 206px;
	height: 157px;
	flex: none;
	overflow: hidden;
}

.course-gift-card__art--compact {
	height: 136px;
}

.course-gift-card__gift {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center;
	transition: opacity 180ms ease;
}

.course-gift-card__gift--hover {
	opacity: 0;
	cursor: pointer;
}

.course-gift-card__view--closed.is-hovering .course-gift-card__gift--closed {
	opacity: 0;
}

.course-gift-card__view--closed.is-hovering .course-gift-card__gift--hover {
	opacity: 1;
}

.course-gift-card__title {
	margin: 0;
	color: #1f1f1f;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.course-gift-card p.course-gift-card__description {
	margin: 0;
	color: rgba(31, 31, 31, 0.7);
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
}

.course-gift-card__coupon {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	min-height: 76px;
	flex-direction: column;
	gap: 12px;
	padding: 12px 12px 8px;
	background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='12' ry='12' stroke='%234B47EFFF' stroke-width='3' stroke-dasharray='6' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
	border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.6);
	color: #1f1f1f;
	cursor: pointer;
	font: inherit;
	text-align: left;
}

.course-gift-card__coupon-row {
	display: flex;
	min-height: 24px;
	align-items: center;
	justify-content: space-between;
}

.course-gift-card__coupon-code {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.course-gift-card__coupon-code.active {
	color: #4b47ef;
}

.course-gift-card__copy-icon {
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	padding: 3px;
	border-radius: 6px;
	background-color: rgba(96, 96, 240, 0.2);
}

.course-gift-card__copy-icon.active {
	background-color: #6060f0;
}

.course-gift-card__timer {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

.course-gift-card__timer img {
	width: 13px;
	height: 13px;
	flex: none;
}

.course-gift-card__button {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	height: 43px;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border: 0;
	border-radius: 12px;
	background-color: #edff3e;
	color: #1f1f1f;
	cursor: pointer;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease;
}

.course-gift-card__description--return:not(.active) {
	display: none;
}

.course-gift-card__button:hover {
	background-color: #e4f72e;
}

.course-gift-card__button:focus-visible,
.course-gift-card__coupon:focus-visible {
	outline: 2px solid #4b47ef;
	outline-offset: 3px;
}

.course-gift-card__status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1366px) {
	.course-gift-card {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.course-gift-card__gift,
	.course-gift-card__button {
		transition: none;
	}
}
