.sp-fast-order-open {
	overflow: hidden;
}

.sp-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: rgba(12, 18, 28, 0.54);
	backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.24s ease, visibility 0.24s ease;
	box-sizing: border-box;
}

.sp-modal-overlay.sp-modal-active {
	opacity: 1;
	visibility: visible;
}

.sp-modal-window {
	width: min(100%, 540px);
	max-height: min(94vh, 720px);
	max-height: min(94dvh, 720px);
	display: flex;
	transform: translateY(18px) scale(0.98);
	transition: transform 0.24s ease;
	box-sizing: border-box;
}

.sp-modal-overlay.sp-modal-active .sp-modal-window {
	transform: translateY(0) scale(1);
}

.sp-modal-overlay.sp-has-errors .sp-modal-window {
	max-height: calc(100vh - 16px);
	max-height: calc(100dvh - 16px);
}

.sp-modal-content {
	width: 100%;
	max-height: inherit;
	display: flex;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(12, 18, 28, 0.26);
}

#sp-fo-container {
	position: relative;
	width: 100%;
	max-height: inherit;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--fo-bg, #fff);
	color: #18202b;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	text-align: left;
}

#sp-fo-container * {
	box-sizing: border-box;
}

#sp-fo-container button,
#sp-fo-container input,
#sp-fo-container textarea,
#sp-fo-container select {
	font-family: inherit;
}

.sp-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(24, 32, 43, 0.12) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.86) !important;
	color: #344054 !important;
	font-size: 24px !important;
	line-height: 1 !important;
	appearance: none;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.sp-modal-close span {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	line-height: 0;
}

.sp-modal-close span::before {
	content: "\00d7";
	display: block;
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-3px);
}

.sp-modal-close:hover {
	background: #fff !important;
	border-color: rgba(24, 32, 43, 0.22) !important;
	transform: translateY(-1px);
}

.sp-fo-header {
	flex: 0 0 auto;
	padding: 16px 52px 14px 18px;
	background: var(--fo-header, #f5f5f5);
	background: linear-gradient(135deg, color-mix(in srgb, var(--fo-header, #f5f5f5), #fff 14%), var(--fo-header, #f5f5f5));
	border-bottom: 1px solid rgba(24, 32, 43, 0.08);
}

.sp-fo-header h3 {
	margin: 0 !important;
	color: #121821 !important;
	font-size: 18px !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
}

.sp-fo-body {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	padding: 16px 18px 18px;
	-webkit-overflow-scrolling: touch;
}

.sp-fo-body::-webkit-scrollbar {
	width: 6px;
}

.sp-fo-body::-webkit-scrollbar-track {
	background: transparent;
	margin: 8px 0;
}

.sp-fo-body::-webkit-scrollbar-thumb {
	background: #cbd3dd;
	border-radius: 999px;
}

.sp-fo-body::-webkit-scrollbar-thumb:hover {
	background: #aeb8c6;
}

.sp-fo-richtext {
	margin-bottom: 12px;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.55;
	text-align: center !important;
}

.sp-fo-richtext p,
.sp-fo-richtext div {
	text-align: center !important;
}

.sp-fo-richtext-after {
	margin-top: 14px;
}

.sp-fo-alert {
	display: none;
	margin-bottom: 10px;
	padding: 9px 11px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.45;
}

.sp-fo-alert.sp-is-visible {
	display: block;
}

.sp-fo-alert-error {
	color: #842029;
	background: #fff1f2;
	border: 1px solid #fecdd3;
}

.sp-fo-main {
	display: block;
}

.sp-fo-contact-grid,
.sp-fo-method-grid {
	display: block;
}

.sp-fo-method-column {
	min-width: 0;
}

.sp-fo-product {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin-bottom: 14px;
	padding: 10px;
	background: #f8fafc;
	border: 1px solid #e7ebf0;
	border-radius: 8px;
}

.sp-fo-image {
	width: 82px;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 6px;
	background: #fff;
	border: 1px solid #edf0f3;
	border-radius: 8px;
}

.sp-fo-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.sp-fo-details {
	min-width: 0;
}

.sp-fo-title {
	margin: 0 0 8px !important;
	color: #18202b !important;
	font-size: 14px !important;
	font-weight: 650 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
}

.sp-fo-price-wrap {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
	position: relative;
	min-height: 22px;
	transition: opacity 0.18s ease;
}

.sp-fo-price-wrap:after {
	content: "";
	width: 14px;
	height: 14px;
	display: none;
	border: 2px solid var(--fo-btn-buy, #167d4b);
	border-right-color: transparent;
	border-radius: 50%;
	animation: spFoSpin 0.72s linear infinite;
}

.sp-fo-price-wrap.sp-is-recalculating-price .sp-fo-price,
.sp-fo-price-wrap.sp-is-recalculating-price .sp-fo-price-old {
	opacity: 0.45;
	transform: translateY(2px);
	filter: blur(0.2px);
}

.sp-fo-price-wrap.sp-is-recalculating-price:after,
.sp-fo-price-wrap.sp-is-loading-price:after {
	display: inline-block;
}

.sp-fo-price-wrap.sp-price-updated .sp-fo-price {
	animation: spFoPricePulse 0.42s ease;
}

.sp-fo-price {
	color: #121821 !important;
	font-size: 20px !important;
	font-weight: 760 !important;
	line-height: 1 !important;
	transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.sp-fo-price-old {
	color: #8a94a6 !important;
	font-size: 13px !important;
	text-decoration: line-through !important;
	transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.sp-is-hidden {
	display: none !important;
}

.sp-fo-qty-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.sp-fo-qty-wrap > .sp-fo-error-text {
	flex: 0 0 100%;
	width: 100%;
}

.sp-fo-qty-label {
	color: #667085 !important;
	font-size: 13px !important;
	line-height: 1 !important;
}

.sp-fo-qty-control {
	width: 104px;
	height: 34px;
	display: grid;
	grid-template-columns: 32px 1fr 32px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #d7dde5;
	border-radius: 8px;
}

.sp-fo-qty-control button {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0 !important;
	background: #f3f5f7 !important;
	color: #263241 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background 0.18s ease;
}

.sp-fo-qty-control button:hover {
	background: #e8edf2 !important;
}

.sp-fo-qty-control input {
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	border: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #18202b !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-align: center !important;
	outline: 0 !important;
}

.sp-fo-input-readonly {
	opacity: 0.72;
}

.sp-fo-form {
	margin: 0;
}

.sp-fo-group {
	margin-bottom: 10px;
	position: relative;
}

.sp-fo-group-comment {
	margin-top: 4px;
}

.sp-fo-label {
	display: block;
	margin: 0 0 5px !important;
	color: #344054 !important;
	font-size: 13px !important;
	font-weight: 650 !important;
	line-height: 1.3 !important;
}

.sp-fo-req {
	display: inline-block;
	margin-right: 4px;
	color: #d92d20 !important;
	font-weight: 800;
}

.sp-fo-address-req {
	display: none;
}

.sp-fo-address-req.sp-is-visible {
	display: inline-block;
}

.sp-fo-input,
.sp-fo-textarea {
	width: 100% !important;
	min-height: 40px;
	padding: 9px 11px !important;
	border: 1px solid #d0d5dd !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
	color: #18202b !important;
	font-size: 14px !important;
	line-height: 1.35 !important;
	outline: 0 !important;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.sp-fo-input:focus,
.sp-fo-textarea:focus {
	border-color: var(--fo-btn-buy, #167d4b) !important;
	box-shadow: 0 0 0 3px rgba(22, 125, 75, 0.14) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 82%) !important;
}

.sp-fo-input.sp-error,
.sp-fo-textarea.sp-error,
.sp-fo-select.sp-error {
	border-color: #d92d20 !important;
	box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12) !important;
}

.sp-fo-group.sp-has-field-error > .sp-fo-label,
.sp-fo-option.sp-has-field-error > .sp-fo-label,
.sp-fo-footer-checks.sp-has-field-error .sp-fo-checkbox-text {
	color: #b42318 !important;
}

.sp-fo-group.sp-has-field-error .sp-fo-input,
.sp-fo-group.sp-has-field-error .sp-fo-textarea,
.sp-fo-group.sp-has-field-error .sp-fo-select {
	border-color: #d92d20 !important;
	background: #fffafa !important;
	box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.10) !important;
}

.sp-fo-textarea {
	min-height: 72px;
	resize: vertical !important;
}

.sp-fo-select {
	appearance: none;
	padding-right: 34px !important;
	background-image: linear-gradient(45deg, transparent 50%, #667085 50%), linear-gradient(135deg, #667085 50%, transparent 50%) !important;
	background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px !important;
	background-size: 5px 5px, 5px 5px !important;
	background-repeat: no-repeat !important;
}

.sp-fo-error-text {
	display: none;
	margin-top: 5px !important;
	padding: 6px 8px !important;
	align-items: flex-start;
	gap: 6px;
	border: 1px solid #fecdca;
	border-radius: 8px;
	background: #fff6f5;
	color: #d92d20 !important;
	font-size: 12px !important;
	line-height: 1.35 !important;
}

.sp-fo-error-text.sp-is-visible {
	display: flex;
}

.sp-fo-error-text:before {
	content: "!";
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #d92d20;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.sp-fo-autocomplete {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 5;
	display: none;
	max-height: 190px;
	overflow-y: auto;
	margin: 0;
	padding: 5px;
	list-style: none;
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(12, 18, 28, 0.18);
}

.sp-fo-autocomplete.sp-is-visible {
	display: block;
}

.sp-fo-autocomplete button {
	width: 100%;
	display: block;
	padding: 7px 8px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: transparent !important;
	color: #344054 !important;
	font-size: 12px !important;
	line-height: 1.35 !important;
	text-align: left !important;
	cursor: pointer;
}

.sp-fo-autocomplete button:hover {
	background: #f3f6f8 !important;
	color: #18202b !important;
}

.sp-fo-error-agree {
	margin-top: -4px !important;
	margin-bottom: 12px !important;
}

.sp-fo-footer {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}

.sp-fo-footer-checks {
	display: grid;
	gap: 3px;
}

.sp-fo-footer-checks.sp-has-field-error {
	padding: 6px;
	border: 1px solid #fecdca;
	border-radius: 8px;
	background: #fffafa;
}

.sp-fo-order-summary {
	display: none;
	gap: 6px;
	align-items: center;
	padding: 8px 10px;
	border: 1px solid #e1e7ef;
	border-radius: 8px;
	background: #f8fafc;
	color: #344054;
	font-size: 12px;
	line-height: 1.35;
}

.sp-fo-order-summary.sp-is-visible {
	display: flex;
}

.sp-fo-order-summary-title {
	flex: 0 0 auto;
	color: #18202b;
	font-weight: 750;
}

.sp-fo-order-summary-items {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sp-fo-section-title {
	margin: 14px 0 8px !important;
	color: #18202b !important;
	font-size: 14px !important;
	font-weight: 750 !important;
	line-height: 1.3 !important;
}

.sp-fo-methods-list {
	display: grid;
	gap: 6px;
	margin-bottom: 12px;
}

.sp-fo-options {
	grid-column: 1 / -1;
	margin-bottom: 14px;
}

.sp-fo-option-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

.sp-fo-option-card {
	position: relative;
	display: flex !important;
	gap: 8px;
	align-items: center;
	margin: 0 !important;
	padding: 9px 10px;
	border: 1px solid #dce2ea;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.sp-fo-option-card:hover {
	border-color: var(--fo-btn-buy, #167d4b);
	border-color: color-mix(in srgb, var(--fo-btn-buy, #167d4b), #dce2ea 48%);
}

.sp-fo-option-card > input {
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0;
	cursor: pointer;
}

.sp-fo-option-card.sp-is-checked,
.sp-fo-option-card:has(input:checked) {
	border-color: var(--fo-btn-buy, #167d4b);
	background: #f8fafc;
	background: color-mix(in srgb, var(--fo-btn-buy, #167d4b), #fff 94%);
	box-shadow: 0 0 0 3px rgba(22, 125, 75, 0.12);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 88%);
}

.sp-fo-option.sp-has-field-error .sp-fo-option-card {
	border-color: #fecdca;
	background: #fffafa;
}

.sp-fo-option.sp-has-field-error .sp-fo-option-card:hover {
	border-color: #d92d20;
}

.sp-fo-option-card input:checked + .sp-fo-radio-circle {
	border-color: var(--fo-btn-buy, #167d4b);
}

.sp-fo-option-card input:checked + .sp-fo-radio-circle:after {
	transform: scale(1);
}

.sp-fo-option-card input:checked + .sp-fo-checkbox-box {
	background: var(--fo-btn-buy, #167d4b) !important;
	border-color: var(--fo-btn-buy, #167d4b) !important;
}

.sp-fo-option-card input:checked + .sp-fo-checkbox-box:after {
	transform: rotate(45deg) scale(1);
}

.sp-fo-option-image {
	width: 34px;
	height: 34px;
	object-fit: cover;
	border-radius: 7px;
	border: 1px solid #edf0f3;
	background: #fff;
}

.sp-fo-option-text {
	flex: 1 1 auto;
	min-width: 0;
	display: grid;
	gap: 2px;
	color: #344054;
	font-size: 13px;
	line-height: 1.35;
}

.sp-fo-option-name {
	min-width: 0;
	font-weight: 560;
}

.sp-fo-option-price {
	color: #667085;
	font-size: 12px;
	font-weight: 650;
}

.sp-fo-method-card {
	position: relative;
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	margin: 0 !important;
	padding: 10px 11px;
	border: 1px solid #dce2ea;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.sp-fo-method-card:hover {
	border-color: var(--fo-btn-buy, #167d4b);
	border-color: color-mix(in srgb, var(--fo-btn-buy, #167d4b), #dce2ea 48%);
}

.sp-fo-method-card input {
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0;
	cursor: pointer;
}

.sp-fo-radio-circle {
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #98a2b3;
	border-radius: 50%;
	background: #fff;
	transition: border-color 0.18s ease;
}

.sp-fo-radio-circle:after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fo-btn-buy, #167d4b);
	transform: scale(0);
	transition: transform 0.18s ease;
}

.sp-fo-method-card input:checked + .sp-fo-radio-circle {
	border-color: var(--fo-btn-buy, #167d4b);
}

.sp-fo-method-card input:checked + .sp-fo-radio-circle:after {
	transform: scale(1);
}

.sp-fo-method-card.sp-is-checked,
.sp-fo-method-card:has(input:checked) {
	border-color: var(--fo-btn-buy, #167d4b);
	background: #f8fafc;
	border-color: color-mix(in srgb, var(--fo-btn-buy, #167d4b), #fff 28%);
	background: color-mix(in srgb, var(--fo-btn-buy, #167d4b), #fff 94%);
	box-shadow: 0 0 0 3px rgba(22, 125, 75, 0.12);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 88%);
}

.sp-fo-method-name {
	min-width: 0;
	color: #344054;
	font-size: 14px;
	font-weight: 560;
	line-height: 1.35;
}

.sp-fo-method-comment {
	display: none;
	margin: -2px 0 0;
	padding: 8px 11px 9px 39px;
	color: #667085;
	background: #f8fafc;
	border: 1px solid #e7ebf0;
	border-top: 0;
	border-radius: 0 0 8px 8px;
	font-size: 12px;
	line-height: 1.45;
}

.sp-fo-method-comment.sp-is-visible {
	display: block;
}

.sp-fo-address-box {
	display: none;
	margin-bottom: 12px;
	padding: 12px 12px 2px;
	background: #f8fafc;
	border: 1px solid #e7ebf0;
	border-radius: 8px;
}

.sp-fo-address-box.sp-is-visible {
	display: block;
}

.sp-fo-address-box .sp-fo-group {
	display: none;
}

.sp-fo-address-box .sp-fo-group.sp-is-visible {
	display: block;
}

.sp-fo-checkbox-wrap {
	position: relative;
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	margin: 0 0 9px !important;
	cursor: pointer !important;
	user-select: none !important;
}

.sp-fo-checkbox-wrap input {
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	z-index: 2;
	opacity: 0;
	cursor: pointer;
}

.sp-fo-checkbox-box {
	width: 19px !important;
	height: 19px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 2px solid #98a2b3 !important;
	border-radius: 6px !important;
	background: #fff !important;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.sp-fo-checkbox-box:after {
	content: "";
	width: 5px;
	height: 9px;
	margin-top: -2px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.18s ease;
}

.sp-fo-checkbox-wrap input:checked + .sp-fo-checkbox-box {
	background: var(--fo-btn-buy, #167d4b) !important;
	border-color: var(--fo-btn-buy, #167d4b) !important;
}

.sp-fo-checkbox-wrap input:checked + .sp-fo-checkbox-box:after {
	transform: rotate(45deg) scale(1);
}

.sp-fo-checkbox-text {
	color: #475467 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
}

.sp-fo-checkbox-text a {
	color: var(--fo-btn-buy, #167d4b) !important;
	text-decoration: none !important;
	border-bottom: 1px solid color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 55%);
}

.sp-fo-buttons {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 8px;
	margin: 14px -18px -18px;
	padding: 12px 18px 14px;
	background: color-mix(in srgb, var(--fo-bg, #fff), #fff 78%);
	border-top: 1px solid rgba(24, 32, 43, 0.08);
}

.sp-fo-btn {
	min-width: 0;
	min-height: 43px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 12px !important;
	border: 0 !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 720 !important;
	line-height: 1.25 !important;
	text-align: center;
	text-transform: none !important;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.sp-fo-btn:hover {
	transform: translateY(-1px);
}

.sp-fo-btn:active {
	transform: translateY(0);
}

.sp-fo-btn:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.sp-fo-btn-cancel {
	white-space: nowrap;
	background: var(--fo-btn-cancel, #e9edf2) !important;
	color: var(--fo-btn-cancel-text, #344054) !important;
}

.sp-fo-btn-submit {
	background: var(--fo-btn-buy, #167d4b) !important;
	color: var(--fo-btn-buy-text, #fff) !important;
	box-shadow: 0 10px 24px rgba(22, 125, 75, 0.24);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 76%);
}

.sp-is-loading:before {
	content: "";
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spFoSpin 0.72s linear infinite;
}

.sp-fo-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 36px 12px 8px;
	text-align: center;
}

.sp-fo-success-icon {
	width: 66px;
	height: 66px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--fo-btn-buy, #167d4b);
	color: var(--fo-btn-buy-text, #fff);
	font-size: 30px;
	box-shadow: 0 14px 30px rgba(22, 125, 75, 0.24);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 76%);
}

.sp-fo-success-message {
	width: 100%;
	color: #344054;
	font-size: 15px;
	line-height: 1.55;
}

.sp-fo-success-message h1,
.sp-fo-success-message h2,
.sp-fo-success-message h3,
.sp-fo-success-message p {
	margin: 0 0 10px !important;
	line-height: 1.35 !important;
}

.sp-fo-success-close {
	width: 100%;
	margin-top: 22px;
}

.sp-fast-order-page-btn-wrap {
	display: block;
	clear: both;
	flex: 0 0 100%;
	grid-column: 1 / -1;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 14px 0 0 !important;
	box-sizing: border-box;
}

.sp-fast-order-page-btn {
	display: inline-flex !important;
	flex: 0 0 auto;
	grid-column: auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto !important;
	max-width: 100% !important;
	min-width: 0;
	margin: var(--sp-fast-order-margin-top, 0) 0 0 var(--sp-fast-order-margin-left, 0) !important;
	padding: 13px 20px;
	border: 0;
	border-radius: 8px;
	background: var(--fo-btn-buy, #167d4b);
	color: var(--fo-btn-buy-text, #fff);
	font-size: 15px;
	font-weight: 720;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(22, 125, 75, 0.22);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 78%);
	transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.sp-fast-order-page-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(22, 125, 75, 0.26);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 74%);
}

.sp-fast-order-page-btn:disabled {
	cursor: wait;
	opacity: 0.76;
	transform: none;
}

@media (max-width: 767px) {
	.sp-modal-close {
		top: 4px;		
	}
	
	.sp-fast-order-page-btn-parent {
		flex-wrap: wrap !important;
	}

	.sp-fast-order-page-btn-parent > .sp-fast-order-page-btn {
		flex: 0 0 100%;
		grid-column: 1 / -1;
		width: 100% !important;
		--sp-fast-order-margin-top: 10px;
	}
}

.sp-fast-order-page-error {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 999998;
	max-width: min(360px, calc(100vw - 36px));
	padding: 12px 14px;
	border: 1px solid #fecdd3;
	border-radius: 8px;
	background: #fff1f2;
	color: #842029;
	box-shadow: 0 12px 34px rgba(12, 18, 28, 0.18);
	font-size: 13px;
	line-height: 1.45;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.sp-fast-order-page-error.sp-is-visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes spFoSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes spFoPricePulse {
	0% {
		opacity: 0;
		transform: translateY(-4px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 760px) {
	.sp-modal-overlay {
		padding: 18px;
	}

	.sp-modal-window {
		width: min(1080px, calc(100vw - 36px));
		max-height: min(90vh, 760px);
		max-height: min(90dvh, 760px);
	}

	.sp-modal-overlay.sp-has-errors .sp-modal-window {
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
	}

	.sp-fo-header {
		padding: 14px 56px 13px 20px;
	}

	.sp-fo-header h3 {
		font-size: 17px !important;
	}

	.sp-fo-body {
		padding: 14px 16px 16px;
	}

	.sp-modal-overlay.sp-has-errors .sp-fo-body {
		padding-bottom: 12px;
	}

	.sp-fo-main {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		align-items: start;
	}

	.sp-fo-product {
		display: grid;
		grid-template-columns: 96px minmax(170px, 0.34fr) minmax(0, 1fr);
		gap: 10px;
		margin-bottom: 0;
		padding: 10px;
	}

	.sp-fo-product:not(.sp-fo-has-options),
	.sp-fo-product:not(:has(.sp-fo-options)) {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.sp-fo-image {
		width: 96px;
		max-width: none;
		margin: 0;
	}

	.sp-fo-title {
		margin-bottom: 7px !important;
		font-size: 14px !important;
	}

	.sp-fo-price {
		font-size: 22px !important;
	}

	.sp-fo-qty-wrap {
		justify-content: flex-start;
	}

	.sp-fo-form {
		display: grid;
		grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
		gap: 8px 12px;
		align-items: start;
		min-width: 0;
	}

	.sp-fo-contact-grid {
		grid-column: 1;
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		align-content: start;
	}

	.sp-fo-contact-grid .sp-fo-group,
	.sp-fo-options .sp-fo-group,
	.sp-fo-method-grid .sp-fo-group {
		margin-bottom: 0;
	}

	.sp-fo-options {
		grid-column: auto;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px 8px;
		align-content: start;
		margin-top: 0;
		margin-bottom: 0;
	}

	.sp-fo-options .sp-fo-section-title {
		grid-column: 1 / -1;
	}

	.sp-fo-section-title:first-child {
		margin-top: 0 !important;
	}

	.sp-fo-section-title {
		margin: 4px 0 6px !important;
		font-size: 13px !important;
	}

	.sp-fo-label {
		margin-bottom: 4px !important;
		font-size: 12px !important;
	}

	.sp-fo-input,
	.sp-fo-textarea {
		min-height: 36px;
		padding: 7px 10px !important;
		font-size: 13px !important;
	}

	.sp-fo-select {
		background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px !important;
	}

	.sp-fo-option-list {
		gap: 5px;
	}

	.sp-fo-option-card,
	.sp-fo-method-card {
		padding: 7px 8px;
	}

	.sp-fo-option-text,
	.sp-fo-method-name {
		font-size: 12px;
	}

	.sp-fo-option-price {
		font-size: 11px;
	}

	.sp-fo-option-image {
		width: 30px;
		height: 30px;
	}

	.sp-fo-method-grid {
		grid-column: 2;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.sp-fo-method-column:only-child {
		grid-column: 1 / -1;
	}

	.sp-fo-form > .sp-fo-group-comment {
		grid-column: 2;
	}

	.sp-fo-methods-list {
		gap: 5px;
		margin-bottom: 8px;
	}

	.sp-fo-address-box.sp-is-visible {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.sp-fo-address-box .sp-fo-group#sp-fo-group-city,
	.sp-fo-address-box .sp-fo-group#sp-fo-group-address {
		grid-column: 1 / -1;
	}

	.sp-fo-address-box {
		margin-bottom: 0;
		padding: 9px;
	}

	.sp-fo-address-box .sp-fo-group.sp-is-visible {
		display: block;
	}

	.sp-fo-textarea {
		min-height: 52px;
	}

	.sp-fo-checkbox-wrap {
		margin-bottom: 6px !important;
	}

	.sp-fo-footer {
		grid-column: 2;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 5px 12px;
		align-items: stretch;
		margin-top: 2px;
	}

	.sp-modal-overlay.sp-has-errors .sp-fo-footer {
		gap: 5px 12px;
		margin-top: 0;
	}

	.sp-fo-footer-checks {
		grid-column: 2;
		justify-self: stretch;
		width: auto;
	}

	.sp-fo-order-summary {
		grid-column: 1 / -1;
	}

	.sp-fo-buttons {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: stretch;
		align-items: stretch;
		gap: 12px;
		margin: 2px 0 0;
		padding: 0;
		background: transparent;
		border-top: 0;
	}

	.sp-fo-btn-cancel {
		justify-self: stretch;
		width: 100%;
	}

	.sp-fo-btn-submit {
		justify-self: stretch;
		width: 100%;
	}

	.sp-fo-btn {
		min-height: 38px;
	}
}

@media (max-width: 480px) {
	.sp-modal-overlay {
		align-items: flex-end;
		padding: 8px;
	}

	.sp-modal-window {
		width: 100%;
		min-height: min(78vh, 620px);
		min-height: min(78dvh, 620px);
		max-height: calc(100vh - 16px);
		max-height: calc(100dvh - 16px);
	}

	.sp-modal-content {
		border-radius: 14px;
	}

	.sp-fo-header {
		padding: 15px 50px 13px 16px;
	}

	.sp-fo-body {
		padding: 13px 14px 14px;
		scrollbar-width: thin;
	}

	.sp-fo-body::-webkit-scrollbar {
		width: 4px;
	}

	.sp-fo-product {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 10px;
		margin-bottom: 12px;
		padding: 9px;
	}

	.sp-fo-image {
		width: 72px;
	}

	.sp-fo-title {
		font-size: 13px !important;
	}

	.sp-fo-price {
		font-size: 19px !important;
	}

	.sp-fo-input,
	.sp-fo-textarea {
		min-height: 38px;
		padding: 8px 10px !important;
	}

	.sp-fo-option-card,
	.sp-fo-method-card {
		padding: 8px 9px;
	}

	.sp-fo-option-card {
		gap: 7px;
	}

	.sp-fo-option-text {
		font-size: 12px;
	}

	.sp-fo-option-price {
		font-size: 11px;
	}

	.sp-fo-option-image {
		width: 32px;
		height: 32px;
	}

	.sp-fo-buttons {
		grid-template-columns: 1fr;
		margin: 12px -14px -14px;
		padding: 10px 14px 12px;
	}

	.sp-fo-btn {
		min-height: 42px;
	}

	.sp-fo-order-summary {
		align-items: flex-start;
		flex-direction: column;
	}

	.sp-fo-order-summary-items {
		overflow: visible;
		white-space: normal;
	}
}

.sp-fo-option-card:focus-within,
.sp-fo-method-card:focus-within,
.sp-fo-checkbox-wrap:focus-within {
	outline: 3px solid rgba(22, 125, 75, 0.28);
	outline: 3px solid color-mix(in srgb, var(--fo-btn-buy, #167d4b), transparent 72%);
	outline-offset: 2px;
}

@media (pointer: coarse) {
	.sp-fo-qty-control {
		width: 128px;
		height: 44px;
		grid-template-columns: 44px minmax(40px, 1fr) 44px;
	}

	.sp-modal-close,
	.sp-fo-qty-btn {
		min-width: 44px;
		width: 44px;
		min-height: 44px;
		height: 44px;
	}

	.sp-fo-input,
	.sp-fo-textarea,
	.sp-fo-select,
	.sp-fo-btn,
	.sp-fo-option-card,
	.sp-fo-method-card {
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sp-modal-overlay,
	.sp-modal-window,
	.sp-fo-btn,
	.sp-fast-order-page-btn,
	.sp-fo-price,
	.sp-fo-price-old {
		animation: none !important;
		transition: none !important;
	}
}

@media (max-width: 480px) {
	.sp-fo-buttons .sp-fo-btn-submit {
		order: 1;
	}

	.sp-fo-buttons .sp-fo-btn-cancel {
		order: 2;
		min-height: 38px;
		margin-top: 8px;
		font-size: 13px;
	}
}