.cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear .3s;
}

.cart-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.cart-drawer__panel:focus {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.cart-drawer,
	.cart-drawer__overlay,
	.cart-drawer__panel {
		transition: none;
	}
}

.cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .45);
	opacity: 0;
	transition: opacity .3s ease;
}

.cart-drawer.is-open .cart-drawer__overlay {
	opacity: 1;
}

.cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 420px;
	max-width: 100%;
	height: 100%;
	background: var(--white);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.22, .61, .36, 1);
	box-shadow: -12px 0 40px rgba(15, 23, 42, .12);
}

.cart-drawer.is-open .cart-drawer__panel {
	transform: translateX(0);
}

.cd-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px;
	border-bottom: 1px solid var(--line);
}

.cd-title {
	font-family: 'Outfit', sans-serif;
	font-size: 20px;
	font-weight: 700;
}

.cd-close {
	width: 32px;
	height: 32px;
	border: none;
	background: none;
	color: var(--gray);
	cursor: pointer;
	padding: 4px;
}

.cd-close svg {
	width: 100%;
	height: 100%;
}

.cart-drawer__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.cart-drawer__items {
	flex: 1;
	overflow-y: auto;
	padding: 16px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cart-drawer__empty {
	color: var(--gray);
	font-size: 14px;
	padding: 24px 0;
	margin: 0;
}

.cd-item {
	display: flex;
	gap: 12px;
}

.cd-item__thumb {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--bg-light) center/cover no-repeat;
}

.cd-item__thumb,
.cart-item__img,
.order-line__media {
	overflow: hidden;
}

.cd-item__photo,
.cart-item__photo,
.order-line__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cd-item__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cd-item__name {
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: var(--dark);
}

.cd-item__name:hover {
	color: var(--green);
}

.cd-item__meta {
	font-size: 12px;
	color: var(--gray);
}

.cd-item__row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}

.cd-item__price {
	font-weight: 600;
	font-size: 14px;
	margin-right: auto;
}

.cd-qty {
	display: flex;
	align-items: center;
	border: 1px solid var(--ib-line, var(--line));
	border-radius: 10px;
	overflow: hidden;
}

.cd-qty__btn {
	width: 28px;
	height: 28px;
	border: none;
	background: none;
	cursor: pointer;
	color: var(--dark);
	font-size: 16px;
	line-height: 1;
}

.cd-qty__btn:hover {
	background: var(--green-soft);
	color: var(--green);
}

.cd-qty__input {
	width: 34px;
	height: 28px;
	border: none;
	text-align: center;
	font-size: 13px;
	font-family: inherit;
	-moz-appearance: textfield;
}

.cd-qty__input::-webkit-outer-spin-button,
.cd-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.cd-item__del {
	width: 28px;
	height: 28px;
	border: none;
	background: none;
	color: var(--gray);
	cursor: pointer;
	padding: 5px;
}

.cd-item__del:hover {
	color: var(--ib-danger, #dc2626);
}

.cd-item__del svg {
	width: 100%;
	height: 100%;
}

.cd-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.cd-total__value {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cd-total__count {
	color: var(--gray);
}

.cd-total__value b {
	font-size: 18px;
}

.cd-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 24px 24px;
}

.cd-actions .btn {
	width: 100%;
}

@media (min-width: 768px) {
	.cd-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.cd-actions .btn {
		flex: 1 1 auto;
		width: auto;
		padding-right: 16px;
		padding-left: 16px;
		white-space: nowrap;
	}
}

.cd-actions__checkout.is-disabled {
	background: var(--bg-light);
	color: var(--gray);
	pointer-events: none;
}

.shop-toasts {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1100;
	max-width: min(320px, calc(100vw - 48px));
	display: flex;
	flex-direction: column;
	gap: 8px;
	pointer-events: none;
}

.shop-toast {
	background: var(--dark);
	color: var(--white);
	border-radius: 12px;
	padding: 12px 18px;
	font-size: 14px;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease;
}

.shop-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.shop-toast--error {
	background: #dc2626;
}

.is-loading {
	opacity: .6;
	pointer-events: none;
}

body.has-drawer {
	overflow: hidden;
}

body.has-drawer .ib-contact-widget,
body.has-drawer .ib-video-widget {
	visibility: hidden;
}

body.has-drawer .shop-toasts {
	right: calc(var(--drawer-width, 420px) + 24px);
}

@media (max-width: 760px) {
	body.has-drawer .shop-toasts {
		right: 16px;
		bottom: auto;
		top: 16px;
	}
}

@media (max-width: 520px) {
	.cart-drawer__panel {
		width: 100%;
	}

	.shop-toasts {
		right: 16px;
		left: 16px;
		bottom: 16px;
	}
}

.stack {
	display: flex;
	flex-direction: column;
}

.stack--gap-sm {
	gap: 8px;
}

.stack--gap-md {
	gap: 16px;
}

.qty {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 2px;
	border: 1px solid var(--ib-line, var(--line));
	border-radius: 10px;
	flex-shrink: 0;
}

.qty:focus-within,
.cd-qty:focus-within {
	border-color: var(--ib-accent, var(--green));
}

.qty__btn {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 8px;
	background: var(--bg-light);
	color: var(--dark);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.qty__btn:hover {
	background: var(--green-soft);
	color: var(--green);
}

.qty__input {
	width: 40px;
	height: 28px;
	border: none;
	outline: none;
	text-align: center;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	-moz-appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.input-field {
	width: 100%;
	min-height: 46px;
	padding: 12px 16px;
	border: 1px solid var(--ib-line, var(--line));
	border-radius: var(--ib-radius, 12px);
	background: var(--ib-bg, var(--white));
	font-family: inherit;
	font-size: 16px;
	color: var(--ib-fg, var(--dark));
	outline: none;
	transition: border-color .15s ease;
}

.input-field::placeholder {
	color: var(--ib-muted, var(--gray));
}

.input-field:hover {
	border-color: color-mix(in srgb, var(--ib-fg, #141414) 30%, var(--ib-bg, #fff));
}

.input-field:focus {
	border-color: var(--ib-accent, var(--green));
	box-shadow: 0 0 0 3px var(--ib-accent-soft, transparent);
}

textarea.input-field {
	min-height: 96px;
	resize: vertical;
}

.card-surface {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.card-surface__title {
	margin: 0 0 20px;
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 700;
}

.summary {
	position: sticky;
	top: calc(20px + var(--shop-header-space, 0px));
	transition: top .35s ease;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.summary__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	font-size: 14px;
}

.summary__row--head {
	padding-top: 0;
}

.summary__head-title {
	font-family: 'Outfit', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.summary__val {
	font-weight: 700;
}

.summary__note {
	font-size: 13px;
	color: var(--gray);
}

.summary__hr {
	border: none;
	border-top: 1px solid var(--line);
	margin: 12px 0;
}

.summary__row--total {
	font-size: 18px;
	font-weight: 800;
}

.summary__row--total .summary__val {
	color: var(--green);
}

.summary__action {
	width: 100%;
	margin-top: 12px;
}

.checkout__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 16px;
	color: var(--gray);
	font-size: 12px;
	line-height: 1.45;
	cursor: pointer;
}

.checkout__consent input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--ib-accent, #008f76);
}

.checkout__consent a {
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
}

.cart-page--empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.cart-page__empty {
	margin: 0;
	color: var(--gray);
}

.cart-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.cart-item__img {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--bg-light) center/cover no-repeat;
}

.cart-item__main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cart-item__title {
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--dark);
}

.cart-item__title:hover {
	color: var(--green);
}

.cart-item__params,
.cart-item__unit {
	font-size: 13px;
	color: var(--gray);
}

.cart-item__price {
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}

.cart-item__remove {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	padding: 3px;
	border: none;
	background: none;
	color: var(--light-gray);
	cursor: pointer;
}

.cart-item__remove:hover {
	color: var(--ib-danger, #dc2626);
}

.cart-item__remove svg {
	width: 100%;
	height: 100%;
}

.order-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
}

.order-item + .order-item {
	border-top: 1px solid var(--line);
}

.order-item__left {
	flex: 1;
	min-width: 0;
}

.order-item__title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
}

.order-item__count {
	white-space: nowrap;
}

.order-item__mult {
	color: var(--gray);
	font-weight: 400;
}

.order-item__param {
	margin-top: 6px;
}

.order-item__size {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 2px 8px;
	border: 1px solid var(--green-border);
	border-radius: 6px;
	background: var(--green-soft);
	font-size: 12px;
	color: var(--green-dark);
}

.order-item__price {
	font-weight: 700;
	white-space: nowrap;
}

.checkout__error {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1px solid #fecaca;
	border-radius: 12px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 14px;
}

.checkout__fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.checkout__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.checkout__field--wide {
	grid-column: 1 / -1;
}

.checkout__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
}

.shop-add {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.shop-add__row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.shop-add__submit {
	flex: 1 1 auto;
}

.shop-add__variation {
	width: 100%;
	min-height: 46px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	font-family: inherit;
	font-size: 14px;
	color: var(--dark);
	cursor: pointer;
}

.shop-add__note {
	margin: 0;
	color: var(--gray);
}

.order-received {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.order-card {
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
}

.order-card__title {
	margin: 0 0 16px;
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 700;
}

.order-received__head {
	display: flex;
	align-items: center;
	gap: 18px;
}

.order-received__badge {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--gradient);
}

.order-received__badge svg {
	width: 26px;
	height: 26px;
}

.order-received__head .order-card__title {
	margin: 0 0 4px;
}

.order-received__meta {
	margin: 0;
	font-size: 14px;
	color: var(--gray);
}

.order-lines {
	display: flex;
	flex-direction: column;
}

.order-line {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
}

.order-line:first-child {
	border-top: 0;
	padding-top: 0;
}

.order-line__media {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	background: var(--bg-light) center/cover no-repeat;
}

.order-line__info {
	flex: 1;
	min-width: 0;
}

.order-line__name {
	font-size: 14px;
	font-weight: 600;
	color: var(--dark);
}

.order-line__name:hover {
	color: var(--green);
}

.order-line__qty {
	flex: none;
	font-size: 14px;
	color: var(--gray);
	white-space: nowrap;
}

.order-line__sum {
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.order-totals {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.order-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}

.order-total--grand {
	font-size: 18px;
	font-weight: 800;
}

.order-total--grand .order-total__value {
	color: var(--green);
}

.order-fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 24px;
	margin: 0;
}

.order-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.order-field dt {
	font-size: 12px;
	color: var(--gray);
}

.order-field dd {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}

.order-received__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 919.98px) {
	.summary {
		position: static;
	}
}

@media (max-width: 640px) {
	.checkout__fields,
	.order-fields {
		grid-template-columns: 1fr;
	}

	.cart-item {
		flex-wrap: wrap;
	}

	.cart-item__main {
		flex: 1 1 calc(100% - 96px);
	}

	.cart-item__price {
		margin-left: auto;
	}

	.order-received__actions {
		justify-content: stretch;
	}

	.order-received__actions .btn {
		flex: 1 1 100%;
	}
}

.block-products .btn,
.cart-drawer .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 12px 22px;
	border: 0;
	border-radius: var(--ib-radius, 12px);
	background: var(--ib-fill, var(--gradient, var(--ib-accent, #008f76)));
	color: var(--white, var(--ib-fill-ink, var(--ib-accent-contrast, #fff)));
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: filter .15s ease;
}

.block-products .btn:hover,
.cart-drawer .btn:hover {
	filter: brightness(1.06);
	color: var(--white, var(--ib-fill-ink, var(--ib-accent-contrast, #fff)));
}

.block-products .btn--gradient,
.cart-drawer .btn--gradient {
	padding: 16px 24px;
	overflow: hidden;
}

.block-products .btn--outline,
.cart-drawer .btn--outline {
	background: var(--white, #fff);
	color: var(--green-dark, var(--ib-accent, #008f76));
	border: 1px solid var(--green-border, var(--ib-line, rgba(0, 0, 0, .12)));
}

.block-products .btn--muted,
.cart-drawer .btn--muted {
	background: var(--bg-light, #f1f5f4);
	color: var(--gray, #6b7280);
	pointer-events: none;
}

.block-products .btn-arrow,
.cart-drawer .btn-arrow {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateX(6px);
	transition: max-width .22s ease, opacity .22s ease, transform .22s ease;
}

.block-products .btn-arrow svg,
.cart-drawer .btn-arrow svg {
	width: 16px;
	height: 16px;
}

.block-products .btn:hover .btn-arrow,
.cart-drawer .btn:hover .btn-arrow {
	max-width: 22px;
	opacity: 1;
	transform: translateX(0);
}


body .js-add-to-cart.btn,
body .cart-drawer .btn,
body .block-products .btn,
body .cd-actions .btn {
	background: var(--ib-fill, var(--ib-accent, var(--gradient, #008f76)));
	color: var(--ib-fill-ink, var(--ib-accent-contrast, var(--white, #fff)));
	border-radius: var(--ib-radius, 12px);
}

body .cart-drawer .btn--outline,
body .cd-actions__cart.btn--outline,
body .block-products .btn--outline {
	background: var(--ib-bg, var(--white, #fff));
	color: var(--ib-fg, var(--green-dark, #111));
	border: 1px solid var(--ib-line, var(--green-border, rgba(0, 0, 0, .12)));
}

body .js-add-to-cart.btn--muted,
body .block-products .btn--muted {
	background: var(--ib-soft, var(--bg-light, #f1f5f4));
	color: var(--ib-muted, var(--gray, #6b7280));
}

.shop-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}

.shop-stars__star {
  width: 16px;
  height: 16px;
  fill: var(--ib-line, #d9d9d9);
}

.shop-stars__star.is-on {
  fill: var(--ib-accent);
}

.summary__row--points {
	flex-wrap: wrap;
}

.summary__points {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.summary__points-check {
	margin: 0;
}

.summary__points-note {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--gray);
}

.summary__points-note.is-short,
.summary__row--points.is-short .summary__val {
	color: var(--ib-danger, #dc2626);
}

.summary__row--due[hidden] {
	display: none;
}

.order-files {
	display: grid;
	gap: 12px;
}

.order-files__title {
	margin: 0;
}

.order-files__note {
	margin: 0;
	color: var(--gray);
}

.order-files__list,
.account-files__list,
.account-files__links,
.account-points__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.order-files__item,
.account-files__link {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	overflow-wrap: anywhere;
}

.order-files__meta {
	font-size: 13px;
	color: var(--gray);
}

.account-files__title,
.account-points__title {
	margin: 0 0 14px;
}

.account-files__item {
	display: grid;
	gap: 6px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
}

.account-files__item:first-child {
	padding-top: 0;
	border-top: none;
}

.account-files__product {
	font-weight: 700;
	color: var(--dark);
	text-decoration: none;
}

.account-files__product:hover {
	color: var(--green);
}

.account-files__link a,
.order-files__item a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.account-files__links {
	gap: 6px;
}

.account-points__balance {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 800;
	color: var(--green);
}

.account-points__rules {
	margin: 0;
}

.account-points__history {
	margin-top: 16px;
}

.account-points__item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 16px;
	padding: 10px 0;
	border-top: 1px solid var(--line);
}

.account-points__item:first-child {
	border-top: none;
}

.account-points__date {
	grid-row: 2;
	font-size: 13px;
}

.account-points__delta {
	grid-row: 1 / span 2;
	grid-column: 2;
	align-self: center;
	font-weight: 700;
	white-space: nowrap;
}

.account-points__delta.is-plus {
	color: var(--green);
}

@media (max-width: 767px), (pointer: coarse) {
	.qty__input,
	.cd-qty__input {
		font-size: 16px;
	}
}

@keyframes shop-fly {
	0% {
		opacity: .95;
		transform: scale(1);
	}

	100% {
		opacity: 0;
		transform: translate(var(--fx), var(--fy)) scale(.3);
	}
}

.shop-fly {
	position: fixed;
	z-index: 9999;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--ib-accent, #008f76);
	box-shadow: 0 0 0 3px rgb(255 255 255 / .7);
	pointer-events: none;
	animation: shop-fly .6s cubic-bezier(.5, 0, .75, .3) forwards;
}

@keyframes shop-pop {
	0% {
		transform: scale(1);
	}

	40% {
		transform: scale(1.4);
	}

	100% {
		transform: scale(1);
	}
}

[data-cart-count].is-pop,
.cart__counter.is-pop {
	animation: shop-pop .35s ease;
}

.cd-undo {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 10px 12px 10px 16px;
	border-radius: 12px;
	background: var(--bg-light);
	overflow: hidden;
	font-size: 14px;
	transition: opacity .25s ease;
}

.cart-page .cd-undo {
	min-height: 64px;
	padding: 12px 16px;
	border-radius: 20px;
}

.cart-page--empty > .cd-undo {
	align-self: stretch;
	max-width: 760px;
}

.cd-undo.is-gone {
	opacity: 0;
}

.cd-undo__text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--gray);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cd-undo__name {
	color: var(--dark);
	font-weight: 600;
}

.cd-undo__back {
	flex-shrink: 0;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--white);
	color: var(--dark);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: color .2s ease;
}

.cd-undo__back:hover {
	color: var(--ib-accent, #008f76);
}

.cd-undo__back.is-loading {
	opacity: .6;
	pointer-events: none;
}

.cd-undo__bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: var(--ib-accent, #008f76);
	transform-origin: left center;
	animation: cd-undo var(--cd-undo-time, 3s) linear forwards;
}

@keyframes cd-undo {
	from {
		transform: scaleX(var(--cd-undo-from, 1));
	}

	to {
		transform: scaleX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cd-undo {
		transition: none;
	}

	.cd-undo__bar {
		animation: none;
	}
}

.summary__promo {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	min-width: 0;
}

.summary__promo-action {
	padding: 0;
	border: 0;
	background: none;
	color: var(--gray);
	font: inherit;
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color .2s ease;
}

.summary__promo-action:hover,
.summary__promo-action:focus-visible {
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
}

.summary__promo-action.is-loading {
	opacity: .5;
	pointer-events: none;
}

.summary__val--discount {
	flex: none;
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
	white-space: nowrap;
}

.summary__row--promo-off {
	color: var(--gray);
	font-size: 13px;
}

.summary__row--saving {
	padding-top: 0;
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
	font-size: 13px;
}

.shop-promo {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 14px;
}

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

.shop-promo__field {
	display: flex;
	gap: 8px;
}

.shop-promo__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 10px 14px;
	font-size: 15px;
	text-transform: uppercase;
}

.shop-promo__input::placeholder {
	text-transform: none;
}

.shop-promo__apply {
	flex: none;
	min-height: 44px;
	padding: 10px 16px;
}

.shop-promo__apply.is-loading {
	opacity: .6;
	pointer-events: none;
}

.shop-promo__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
}

.shop-promo__note--ok {
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
}

.shop-promo__note--error {
	color: #c2410c;
}

.cd-discount {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px 0;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.cd-discount + .cd-total {
	border-top: 0;
}

.cd-discount__value {
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
	font-weight: 700;
}

.order-total--discount .order-total__value,
.vo-total--discount .vo-total__value {
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
}

.checkout__payment {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	border: 0;
}

.checkout__subtitle {
	margin: 0 0 4px;
	padding: 0;
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 700;
}

.checkout__pay {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--ib-line, var(--line));
	border-radius: var(--ib-radius, 12px);
	background: var(--ib-bg, var(--white));
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.checkout__pay:has(input:checked) {
	border-color: var(--ib-accent, #008f76);
	box-shadow: 0 0 0 1px var(--ib-accent, #008f76);
}

.checkout__pay input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--ib-accent, #008f76);
}

.checkout__pay-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.checkout__pay-title {
	font-size: 15px;
	font-weight: 600;
}

.checkout__pay-text,
.checkout__pay-test,
.order-pay__test {
	color: var(--gray);
	font-size: 13px;
	line-height: 1.4;
}

.checkout__pay-test,
.order-pay__test {
	margin: 0;
}

.order-pay__text {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
}

.order-pay--paid .order-pay__text {
	margin: 0;
}

.order-pay__text--error {
	color: #c2410c;
}

.order-pay__form {
	margin: 0 0 8px;
}

.order-pay__button {
	min-width: 240px;
}

@media (max-width: 560px) {
	.order-pay__button {
		width: 100%;
	}
}

.shop-rail {
	--rail-n: 4;
	--rail-gap: 20px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.shop-rail__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
}

.shop-rail .shop-rail__titles {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0;
}

.shop-rail__tools {
	display: flex;
	flex: none;
	align-items: center;
	gap: 16px;
	padding-bottom: 6px;
}

.shop-rail__all {
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.shop-rail__all:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.shop-rail__nav {
	display: flex;
	gap: 8px;
}

.shop-rail__nav[hidden] {
	display: none;
}

.shop-rail__arrow {
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1.5px solid var(--ib-line, #e0e0e0);
	border-radius: 50%;
	background: var(--ib-bg, #fff);
	color: var(--ib-fg, #111);
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}

.shop-rail__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translate(-65%, -50%) rotate(45deg);
}

.shop-rail__arrow--prev::before {
	transform: translate(-35%, -50%) rotate(-135deg);
}

.shop-rail__arrow:hover:not(:disabled),
.shop-rail__arrow:focus-visible {
	border-color: var(--ib-accent, #008f76);
	color: var(--ib-accent-ink, var(--ib-accent, #008f76));
}

.shop-rail__arrow:disabled {
	opacity: .35;
	cursor: default;
}

.shop-rail__viewport {
	margin: -6px -6px 0;
	padding: 6px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 6px;
	scrollbar-width: none;
}

.shop-rail__viewport::-webkit-scrollbar {
	display: none;
}

.shop-rail__viewport:focus-visible {
	outline: 2px solid var(--ib-accent, #008f76);
	outline-offset: 2px;
	border-radius: 12px;
}

.shop-rail__track {
	display: flex;
	gap: var(--rail-gap);
}

.shop-rail__track--by-3 {
	--rail-n: 3;
}

.shop-rail__track--by-5 {
	--rail-n: 5;
}

.shop-rail__item {
	display: flex;
	flex: 0 0 calc((100% - (var(--rail-n) - 1) * var(--rail-gap)) / var(--rail-n));
	min-width: 0;
	scroll-snap-align: start;
}

.shop-rail__item > * {
	width: 100%;
}

@media (max-width: 1439px) {
	.shop-rail__track--by-5 {
		--rail-n: 4;
	}
}

@media (max-width: 1100px) {
	.shop-rail__track--by-4,
	.shop-rail__track--by-5 {
		--rail-n: 3;
	}
}

@media (max-width: 900px) {
	.shop-rail__track {
		--rail-n: 2.3;
		--rail-gap: 12px;
	}
}

@media (max-width: 767px) {
	.shop-rail__nav {
		display: none;
	}
}

@media (max-width: 560px) {
	.shop-rail__track {
		--rail-n: 1.25;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shop-rail__arrow {
		transition: none;
	}
}
