.sgc-shop-gift-card {
	--sgc-shop-block-bg: #f3ecd9;
	--sgc-shop-block-border: #d7c99f;
	--sgc-shop-card-bg: #fffdf8;
	--sgc-shop-accent: #5f812f;
	--sgc-shop-text: #1d2f13;
	--sgc-shop-heading: #173812;
	--sgc-shop-button-bg: #5f812f;
	--sgc-shop-button-text: #ffffff;
	display: grid;
	grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 1.12fr);
	gap: clamp(28px, 4vw, 52px);
	align-items: center;
	margin: 42px 0;
	padding: clamp(28px, 4vw, 48px);
	color: var(--sgc-shop-text);
	background: var(--sgc-shop-block-bg);
	border: 1px solid var(--sgc-shop-block-border);
	border-radius: 8px;
}

.sgc-shop-gift-card *,
.sgc-shop-gift-card *::before,
.sgc-shop-gift-card *::after {
	box-sizing: border-box;
}

.sgc-shop-gift-card__preview {
	display: flex;
	justify-content: center;
}

.sgc-shop-gift-card__card {
	position: relative;
	width: min(100%, 620px);
	min-height: 350px;
	padding: clamp(28px, 4vw, 44px);
	overflow: hidden;
	background: var(--sgc-shop-card-bg);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 6px;
	box-shadow: 0 20px 38px rgba(29, 47, 19, 0.12);
}

.sgc-shop-gift-card__stripe {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--sgc-shop-accent), #cfb765);
}

.sgc-shop-gift-card__eyebrow,
.sgc-shop-gift-card__footer {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sgc-shop-gift-card__title {
	max-width: 360px;
	margin: 12px 0 16px;
	color: var(--sgc-shop-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 700;
	line-height: 0.95;
}

.sgc-shop-gift-card__subtitle,
.sgc-shop-gift-card__note {
	margin: 0;
	color: rgba(29, 47, 19, 0.65);
	font-size: 14px;
}

.sgc-shop-gift-card__amount {
	margin: clamp(28px, 4vw, 46px) 0 12px;
	color: var(--sgc-shop-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(42px, 6vw, 58px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.sgc-shop-gift-card__divider {
	margin: 24px 0 16px;
	border-top: 1px dashed rgba(29, 47, 19, 0.25);
}

.sgc-shop-gift-card__content {
	max-width: 700px;
}

.sgc-shop-gift-card__heading {
	margin: 0 0 16px;
	color: var(--sgc-shop-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0;
}

.sgc-shop-gift-card__description {
	max-width: 680px;
	margin: 0 0 26px;
	color: #111;
	font-size: 16px;
	line-height: 1.6;
}

.sgc-shop-gift-card__options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
}

.sgc-shop-gift-card__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 86px;
	min-height: 46px;
	padding: 10px 18px;
	color: var(--sgc-shop-text);
	font-weight: 700;
	background: #fff;
	border: 1px solid var(--sgc-shop-block-border);
	border-radius: 4px;
	cursor: pointer;
}

.sgc-shop-gift-card__option:hover,
.sgc-shop-gift-card__option:focus-visible,
.sgc-shop-gift-card__option.is-active {
	background: rgba(95, 129, 47, 0.1);
	border-color: var(--sgc-shop-accent);
	outline: none;
}

.sgc-shop-gift-card__option:focus-visible {
	box-shadow: 0 0 0 3px rgba(95, 129, 47, 0.25);
}

.sgc-shop-gift-card__button {
	min-height: 44px;
	padding: 12px 34px;
	color: var(--sgc-shop-button-text);
	font-weight: 800;
	text-transform: uppercase;
	background: var(--sgc-shop-button-bg);
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}

.sgc-shop-gift-card__button:hover,
.sgc-shop-gift-card__button:focus-visible {
	filter: brightness(0.95);
	outline: none;
	box-shadow: 0 0 0 3px rgba(95, 129, 47, 0.25);
}

@media (max-width: 780px) {
	.sgc-shop-gift-card {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.sgc-shop-gift-card__card {
		min-height: 300px;
	}

	.sgc-shop-gift-card__heading {
		font-size: 32px;
	}

	.sgc-shop-gift-card__option,
	.sgc-shop-gift-card__button {
		width: 100%;
	}
}

body.sp-shop-redesign .sgc-shop-gift-card {
	grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(28px, 4vw, 52px);
	margin: 32px 22px 44px;
	padding: clamp(34px, 4vw, 48px);
	border-color: #d7ccad;
	border-radius: 10px;
	background: #f1ead8;
	box-shadow: none;
}

body.sp-shop-redesign .sgc-shop-gift-card__preview {
	justify-content: center;
}

body.sp-shop-redesign .sgc-shop-gift-card__card {
	min-height: 318px;
	padding: 28px;
	border-color: #ded4b9;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 14px 30px rgba(48, 44, 33, 0.1);
}

body.sp-shop-redesign .sgc-shop-gift-card__stripe {
	height: 5px;
	background: linear-gradient(90deg, var(--sgc-shop-accent) 0%, #cfb765 100%);
}

body.sp-shop-redesign .sgc-shop-gift-card__eyebrow,
body.sp-shop-redesign .sgc-shop-gift-card__footer {
	color: #103716;
	font-size: 12px;
	letter-spacing: 0.12em;
}

body.sp-shop-redesign .sgc-shop-gift-card__title {
	max-width: 280px;
	margin-top: 12px;
	margin-bottom: 14px;
	font-size: clamp(32px, 3.4vw, 44px);
	font-weight: 900;
	line-height: 0.98;
}

body.sp-shop-redesign .sgc-shop-gift-card__subtitle,
body.sp-shop-redesign .sgc-shop-gift-card__note {
	color: #6f725f;
	font-size: 14px;
	line-height: 1.4;
}

body.sp-shop-redesign .sgc-shop-gift-card__amount {
	margin-top: 22px;
	margin-bottom: 12px;
	color: #123816;
	font-size: clamp(42px, 5vw, 56px);
	font-weight: 900;
	letter-spacing: 0.12em;
}

body.sp-shop-redesign .sgc-shop-gift-card__divider {
	margin: 24px 0 16px;
	border-top-color: #d8cda9;
}

body.sp-shop-redesign .sgc-shop-gift-card__content {
	max-width: 650px;
}

body.sp-shop-redesign .sgc-shop-gift-card__heading {
	max-width: 560px;
	margin-bottom: 18px;
	font-size: clamp(32px, 3.5vw, 42px);
	line-height: 1.05;
}

body.sp-shop-redesign .sgc-shop-gift-card__description {
	max-width: 650px;
	margin-bottom: 24px;
	color: #1d1b15;
	font-size: 16px;
	line-height: 1.62;
}

body.sp-shop-redesign .sgc-shop-gift-card__options {
	gap: 10px;
	margin-bottom: 24px;
}

body.sp-shop-redesign .sgc-shop-gift-card__option {
	min-width: 82px;
	min-height: 46px;
	padding: 12px 20px;
	border: 1px solid #d4c8aa;
	border-radius: 4px;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	box-shadow: none;
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

body.sp-shop-redesign .sgc-shop-gift-card__option:hover,
body.sp-shop-redesign .sgc-shop-gift-card__option:focus-visible,
body.sp-shop-redesign .sgc-shop-gift-card__option.is-active {
	border-color: var(--sgc-shop-accent);
	background: #edf4df;
	color: #123816;
}

body.sp-shop-redesign .sgc-shop-gift-card__button,
body.sp-shop-redesign .sgc-shop-gift-card__button.button {
	min-width: 200px;
	min-height: 44px;
	padding: 12px 34px;
	border: 0 !important;
	border-radius: 3px;
	background: var(--sgc-shop-button-bg) !important;
	color: var(--sgc-shop-button-text) !important;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: none !important;
}

body.sp-shop-redesign .sgc-shop-gift-card__button:hover,
body.sp-shop-redesign .sgc-shop-gift-card__button:focus-visible {
	background: #4e7127 !important;
	color: #fff !important;
}

.sgc-voucher-preview {
	max-width: 420px;
	margin: 18px 0;
	padding: 24px;
	color: var(--sgc-preview-text, #211b17);
	background: var(--sgc-preview-bg, #f7f2ec);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
}

.sgc-voucher-preview[data-template="birthday"] {
	--sgc-preview-bg: #fff0f5;
	--sgc-preview-text: #6d214f;
}

.sgc-voucher-preview[data-template="holiday"] {
	--sgc-preview-bg: #f0fff4;
	--sgc-preview-text: #14532d;
}

.sgc-voucher-preview__eyebrow,
.sgc-voucher-preview__code {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sgc-voucher-preview__title {
	margin: 12px 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.05;
}

.sgc-voucher-preview__amount {
	margin: 20px 0 14px;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
}

.sgc-voucher-preview__message {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.45;
}

@media (max-width: 1024px) {
	body.sp-shop-redesign .sgc-shop-gift-card {
		grid-template-columns: 1fr;
		margin-right: 12px;
		margin-left: 12px;
	}
}

@media (max-width: 780px) {
	body.sp-shop-redesign .sgc-shop-gift-card {
		padding: 22px;
	}

	body.sp-shop-redesign .sgc-shop-gift-card__card {
		min-height: 300px;
	}
}
