/* ITSOFT cart redesign — isolated from the rest of the theme. */
.woocommerce-cart .breadcrumbs__list {
	padding-bottom: 8px;
}

.cart-page {
	padding: 0 0 96px;
}

.cart-page__hero {
	margin: 0 0 32px;
}

.cart-page__hero-grid {
	align-items: end;
}

.cart-page__heading {
	grid-column: span 7;
}

.cart-page__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(108, 76, 255, 0.09);
	color: var(--main-perple);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.cart-page__title {
	margin: 14px 0 8px;
	color: var(--h1--primary);
	font-size: clamp(38px, 4vw, 52px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.cart-page__lead {
	max-width: 650px;
	margin: 0;
	color: var(--body-text);
	font-size: 16px;
	line-height: 1.6;
}

.cart-steps {
	display: grid;
	grid-column: span 5;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	margin: 0 0 4px;
	padding: 0;
	list-style: none;
}

.article .cart-steps,
.cart-steps {
	padding-left: 0;
}

.cart-steps__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 0 8px;
	color: var(--placeholders);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.cart-steps__item::before {
	content: '';
	position: absolute;
	top: 15px;
	right: calc(50% + 16px);
	left: calc(-50% + 16px);
	height: 1px;
	background: #dfe3ec;
	z-index: 0;
}

.cart-steps__item:first-child::before {
	display: none;
}

.cart-steps__number {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid #dfe3ec;
	border-radius: 50%;
	background: #fff;
	color: #777f91;
	box-shadow: 0 3px 10px rgba(15, 17, 22, 0.05);
}

.cart-steps__item--active {
	color: var(--h2-h3-h4);
}

.cart-steps__item--active .cart-steps__number {
	border-color: var(--main-perple);
	background: var(--main-perple);
	color: #fff;
	box-shadow: 0 7px 16px rgba(108, 76, 255, 0.26);
}

.cart-steps__item--active::before,
.cart-steps__item--complete::before {
	background: var(--main-perple);
}

.cart-steps__item--complete {
	color: var(--h2-h3-h4);
}

.cart-steps__item--complete .cart-steps__number {
	border-color: rgba(108, 76, 255, 0.38);
	background: rgba(108, 76, 255, 0.1);
	color: var(--main-perple);
}

.checkout-page {
	padding-bottom: 96px;
}

.checkout-page__content {
	grid-column: span 12;
	min-width: 0;
}

.checkout-page__content.article {
	overflow: visible;
}

/* Checkout — stage 2. */
.checkout-page--form .checkout-page__content > .woocommerce,
.checkout-page--form .wp-block-woocommerce-checkout {
	margin: 0;
}

.checkout-page--form .wp-block-woocommerce-checkout.wc-block-checkout {
	display: block;
}

.checkout-page--form .wc-block-components-sidebar-layout.wc-block-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 24px;
	align-items: start;
}

.checkout-page--form .wc-block-checkout__main,
.checkout-page--form .wc-block-components-main {
	box-sizing: border-box;
	grid-column: 1;
	grid-row: 1;
	float: none;
	width: auto;
	padding-right: 0;
}

.checkout-page--form .wc-block-checkout__sidebar,
.checkout-page--form .wc-block-components-sidebar {
	box-sizing: border-box;
	grid-column: 2;
	grid-row: 1;
	float: none;
	width: auto;
	padding-left: 0;
}

.checkout-page--form .wc-block-components-form .wc-block-components-checkout-step {
	box-sizing: border-box;
	margin: 0 0 16px;
	padding: 24px;
	border: 1px solid #e7e9f0;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 44px rgba(21, 27, 51, 0.06);
}

.checkout-page--form .wc-block-components-checkout-step__heading {
	margin: 0 0 18px;
}

.checkout-page--form .wc-block-components-checkout-step__heading-container {
	margin-bottom: 0;
}

.checkout-page--form .wc-block-components-checkout-step__title,
.checkout-page--form .wc-block-components-title {
	margin: 0;
	color: #11131a;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.checkout-page--form .wc-block-components-checkout-step__description,
.checkout-page--form .wc-block-components-checkout-step__heading-content {
	color: #777f91;
	font-size: 13px;
	line-height: 1.5;
}

.checkout-page--form .wc-block-checkout p {
	margin: 0;
}

.checkout-page--form .wc-block-components-checkout-step__content > * {
	margin-bottom: 12px;
}

.checkout-page--form .wc-block-components-checkout-step__content > :last-child {
	margin-bottom: 0;
}

.checkout-page--form .wp-block-woocommerce-checkout-shipping-method-block:not(:has(*)),
.checkout-page--form .wp-block-woocommerce-checkout-pickup-options-block:not(:has(*)) {
	display: none;
	margin: 0;
}

.checkout-page--form .wc-block-components-text-input input,
.checkout-page--form .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.checkout-page--form .wc-block-components-textarea {
	box-sizing: border-box;
	min-height: 52px;
	border: 1px solid #dfe3ec;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	color: #11131a;
	font-size: 15px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-page--form .wc-block-components-text-input input:focus,
.checkout-page--form .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.checkout-page--form .wc-block-components-textarea:focus {
	border-color: var(--main-perple, #6c4cff);
	box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.11);
	outline: 0;
}

.checkout-page--form .wc-block-components-text-input label,
.checkout-page--form .wc-block-components-combobox label {
	color: #777f91;
}

.checkout-page--form .wc-block-components-checkbox .wc-block-components-checkbox__input[type='checkbox'] {
	border-color: #cfd4df;
	border-radius: 5px;
}

.checkout-page--form .wc-block-components-checkbox .wc-block-components-checkbox__input[type='checkbox']:checked {
	border-color: var(--main-perple, #6c4cff);
	background: var(--main-perple, #6c4cff);
}

.checkout-page--form .wc-block-components-radio-control--highlight-checked {
	overflow: hidden;
	border: 1px solid #e1e4ec;
	border-radius: 14px;
	background: #fff;
}

.checkout-page--form .wc-block-components-radio-control--highlight-checked::after,
.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option::after,
.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option::after {
	display: none !important;
	content: none !important;
}

.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option {
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: background-color 0.2s ease;
}

.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option,
.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option + .wc-block-components-radio-control__option {
	border-top: 1px solid #e7e9f0;
}

.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option:has(input:checked),
.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option:has(input:checked),
.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.checkout-page--form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted {
	background: #f8f6ff;
	box-shadow: none;
}

.checkout-page--form .wc-block-components-radio-control__input:checked::before {
	background: var(--main-perple, #6c4cff);
}

.checkout-page--form .wc-block-checkout__terms {
	margin: 4px 0 16px;
}

.checkout-page--form .wc-block-checkout__actions {
	margin: 0;
}

.checkout-page--form .wc-block-components-checkout-place-order-button {
	min-height: 54px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #7657ff 0%, #5836eb 100%);
	box-shadow: 0 10px 24px rgba(108, 76, 255, 0.24);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-page--form .wc-block-components-checkout-place-order-button:hover,
.checkout-page--form .wc-block-components-checkout-place-order-button:focus-visible {
	box-shadow: 0 13px 30px rgba(108, 76, 255, 0.31);
	transform: translateY(-1px);
}

.checkout-page--form .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
.checkout-page--form .wc-block-components-sidebar .wc-block-components-totals-wrapper {
	padding: 18px 0;
	border-color: #eceef4;
}

.checkout-page--form .wc-block-checkout__sidebar .wc-block-components-totals-wrapper:first-child,
.checkout-page--form .wc-block-components-sidebar > div:first-child {
	padding-top: 0;
}

.checkout-page--form .wc-block-checkout__sidebar,
.checkout-page--form .wc-block-components-sidebar {
	position: sticky;
	top: 22px;
	padding: 26px;
	border: 1px solid #e7e9f0;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 44px rgba(21, 27, 51, 0.07);
}

.checkout-page--form .wc-block-components-sidebar .wc-block-components-title,
.checkout-page--form .wc-block-components-order-summary__button-text {
	font-size: 20px;
	font-weight: 700;
}

.checkout-page--form .wc-block-components-order-summary-item {
	padding: 16px 0;
}

.checkout-page--form .wc-block-components-order-summary-item__image img {
	border: 1px solid #eceef4;
	border-radius: 12px;
}

.checkout-page--form .wc-block-components-product-name {
	color: #11131a;
	font-weight: 650;
	line-height: 1.4;
}

.checkout-page--form .wc-block-components-product-price,
.checkout-page--form .wc-block-components-totals-item__value {
	color: #343947;
	font-weight: 650;
}

.checkout-page--form .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.checkout-page--form .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: #11131a;
	font-size: 20px;
	font-weight: 750;
}

.checkout-page--form .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: #ff3157;
}

.checkout-page--form .wc-block-components-panel__button,
.checkout-page--form .wc-block-components-totals-coupon-link {
	color: var(--main-perple, #6c4cff);
	font-weight: 650;
}

.checkout-page--form .wc-block-components-totals-coupon__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: stretch;
	padding-top: 12px;
}

.checkout-page--form .wc-block-components-totals-coupon__input {
	min-width: 0;
}

.checkout-page--form .wc-block-components-totals-coupon__input input {
	min-height: 50px;
	border: 1px solid #dfe2ec;
	border-radius: 12px;
	background: #fff;
	color: #11131a;
}

.checkout-page--form .wc-block-components-totals-coupon__button {
	min-width: 124px;
	min-height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: var(--main-perple, #6c4cff);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 10px 22px rgba(108, 76, 255, 0.2);
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.checkout-page--form .wc-block-components-totals-coupon__button:hover:not(:disabled),
.checkout-page--form .wc-block-components-totals-coupon__button:focus-visible:not(:disabled) {
	background: var(--main-perple-hover, #4b2fd7);
	box-shadow: 0 12px 26px rgba(108, 76, 255, 0.28);
	transform: translateY(-1px);
}

.checkout-page--form .wc-block-components-totals-coupon__button:disabled {
	background: #ece8fb;
	color: #817997;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 1;
}

.checkout-page--form .wc-block-components-notice-banner {
	border: 1px solid #e1dcff;
	border-radius: 14px;
	background: #f5f2ff;
	color: #352f68;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 8px 24px rgba(45, 34, 104, 0.07);
}

.checkout-page--form .wc-block-components-notice-banner.is-error {
	border-color: #f4ccd1;
	background: #fff5f6;
	color: #9f1d30;
}

@media (max-width: 480px) {
	.checkout-page--form .wc-block-components-totals-coupon__form {
		grid-template-columns: 1fr;
	}

	.checkout-page--form .wc-block-components-totals-coupon__button {
		width: 100%;
	}
}

/* Order received — stage 3. */
.checkout-page--complete .checkout-page__hero {
	margin-bottom: 24px;
}

.checkout-page--complete .woocommerce-order {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.85fr);
	gap: 20px 24px;
	align-items: start;
}

.checkout-page--complete .woocommerce-notice--success {
	position: relative;
	grid-column: 1 / -1;
	margin: 0;
	padding: 24px 28px 24px 76px;
	border: 1px solid #dcefe5;
	border-radius: 18px;
	background: linear-gradient(135deg, #f5fcf8 0%, #f8f6ff 100%);
	color: #183d2b;
	font-size: 17px;
	font-weight: 700;
	box-shadow: 0 10px 30px rgba(21, 27, 51, 0.05);
}

.checkout-page--complete .woocommerce-notice--success::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 24px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: #26a269;
	background-image: linear-gradient(135deg, #35bd7c, #15935b);
	box-shadow: 0 7px 17px rgba(38, 162, 105, 0.22);
	transform: translateY(-50%);
}

.checkout-page--complete .woocommerce-notice--success::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 35px;
	width: 11px;
	height: 6px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: translateY(-65%) rotate(-45deg);
}

.checkout-page--complete .woocommerce-order-overview {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #e7e9f0;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(21, 27, 51, 0.06);
	list-style: none;
}

.checkout-page--complete .woocommerce-order-overview::before,
.checkout-page--complete .woocommerce-order-overview::after,
.checkout-page--complete .woocommerce-order-overview li::before {
	display: none !important;
	content: none !important;
}

.checkout-page--complete ul.woocommerce-order-overview.order_details > li {
	box-sizing: border-box;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0 !important;
	padding: 20px 22px !important;
	border: 0;
	border-right: 1px solid #eceef4;
	color: #81889a;
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.035em;
	line-height: 1.35;
	text-transform: uppercase;
}

.checkout-page--complete ul.woocommerce-order-overview.order_details > li:last-child {
	border-right: 0;
}

.checkout-page--complete ul.woocommerce-order-overview.order_details > li strong {
	display: block;
	margin-top: 7px;
	overflow-wrap: anywhere;
	color: #242936;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
}

.checkout-page--complete .woocommerce-order-details,
.checkout-page--complete .woocommerce-customer-details {
	box-sizing: border-box;
	margin: 0;
	padding: 28px;
	border: 1px solid #e7e9f0;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 44px rgba(21, 27, 51, 0.06);
}

.checkout-page--complete .woocommerce-order-details {
	grid-column: 1;
}

.checkout-page--complete .woocommerce-customer-details {
	grid-column: 2;
}

.checkout-page--complete .woocommerce-order-details__title,
.checkout-page--complete .woocommerce-column__title,
.checkout-page--complete .itsoft-license-keys h2 {
	margin: 0 0 20px;
	color: #11131a;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.checkout-page--complete .woocommerce-order-details .shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}

.checkout-page--complete .woocommerce-order-details .shop_table th,
.checkout-page--complete .woocommerce-order-details .shop_table td {
	padding: 15px 12px;
	border: 0;
	border-bottom: 1px solid #eceef4;
	background: transparent;
	color: #3f4554;
	font-size: 15px;
	text-align: left;
}

.checkout-page--complete .woocommerce-order-details .shop_table thead th {
	padding-top: 4px;
	color: #81889a;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.checkout-page--complete .woocommerce-order-details .shop_table th:last-child,
.checkout-page--complete .woocommerce-order-details .shop_table td:last-child {
	text-align: right;
}

.checkout-page--complete .woocommerce-order-details .shop_table .product-name a {
	color: #11131a;
	font-weight: 650;
	text-decoration: none;
}

.checkout-page--complete .woocommerce-order-details .shop_table tfoot th,
.checkout-page--complete .woocommerce-order-details .shop_table tfoot td {
	font-weight: 650;
}

.checkout-page--complete .woocommerce-order-details .shop_table tfoot tr:last-child th,
.checkout-page--complete .woocommerce-order-details .shop_table tfoot tr:last-child td {
	padding-top: 18px;
	border-bottom: 0;
	color: #11131a;
	font-size: 17px;
	font-weight: 750;
}

.checkout-page--complete .woocommerce-customer-details .woocommerce-columns {
	display: block;
	margin: 0;
}

.checkout-page--complete .woocommerce-customer-details .woocommerce-column {
	float: none;
	width: auto;
	margin: 0;
}

.checkout-page--complete .woocommerce-customer-details address {
	margin: 0;
	padding: 0;
	border: 0;
	color: #4c5363;
	font-size: 15px;
	font-style: normal;
	line-height: 1.75;
}

.checkout-page--complete .woocommerce-customer-details address p {
	margin: 14px 0 0;
	padding-top: 14px;
	border-top: 1px solid #eceef4;
}

.checkout-page--complete .woocommerce-customer-details--phone,
.checkout-page--complete .woocommerce-customer-details--email {
	overflow-wrap: anywhere;
}

.checkout-page--complete .itsoft-license-keys {
	grid-column: 1 / -1;
}

.checkout-page--complete .itsoft-license-keys + .woocommerce-customer-details {
	grid-column: 2;
}

.checkout-next {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	margin-top: 24px;
	padding: 26px 28px;
	border-radius: 20px;
	background: linear-gradient(135deg, #17152a 0%, #28214f 100%);
	color: #fff;
	box-shadow: 0 18px 46px rgba(28, 24, 54, 0.18);
}

.checkout-next__icon {
	position: relative;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.1);
}

.checkout-next__icon::before {
	content: '';
	position: absolute;
	top: 13px;
	left: 12px;
	width: 22px;
	height: 17px;
	border: 2px solid #bdb0ff;
	border-radius: 4px;
}

.checkout-next__icon::after {
	content: '';
	position: absolute;
	top: 14px;
	left: 17px;
	width: 13px;
	height: 9px;
	border-bottom: 2px solid #bdb0ff;
	transform: rotate(-35deg);
}

.checkout-next__eyebrow {
	display: block;
	margin-bottom: 5px;
	color: #bdb0ff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.checkout-next h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 21px;
	font-weight: 700;
}

.checkout-next p {
	max-width: 700px;
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.55;
}

.checkout-next__actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.checkout-next__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 19px;
	border: 1px solid transparent;
	border-radius: 13px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.checkout-next__button:hover,
.checkout-next__button:focus-visible {
	transform: translateY(-1px);
}

.checkout-next__button--primary {
	background: #fff;
	color: #2b2258;
}

.checkout-next__button--secondary {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.cart-page__content {
	grid-column: span 12;
	min-width: 0;
}

.cart-page__woocommerce.article {
	overflow-wrap: normal;
}

.cart-page__woocommerce > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 24px;
	align-items: start;
}

.cart-page__woocommerce > .woocommerce > .woocommerce-notices-wrapper,
.cart-page__woocommerce > .woocommerce > .woocommerce-error,
.cart-page__woocommerce > .woocommerce > .woocommerce-message,
.cart-page__woocommerce > .woocommerce > .woocommerce-info,
.cart-page__woocommerce > .woocommerce > .cart-empty,
.cart-page__woocommerce > .woocommerce > .return-to-shop {
	grid-column: 1 / -1;
}

.cart-page .woocommerce-cart-form {
	grid-column: 1;
	min-width: 0;
	margin: 0;
}

.cart-page .woocommerce-cart-form__contents {
	display: table;
	width: 100%;
	margin: 0;
	overflow: visible;
	border: 1px solid #e7e9f0;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 44px rgba(21, 27, 51, 0.07);
}

.cart-page .woocommerce-cart-form__contents thead th {
	padding: 17px 16px;
	border-bottom: 1px solid #eceef4;
	background: #fbfbfd;
	color: #777f91;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.cart-page .woocommerce-cart-form__contents thead th:first-child {
	border-radius: 20px 0 0;
}

.cart-page .woocommerce-cart-form__contents thead th:last-child {
	border-radius: 0 20px 0 0;
}

.cart-page .woocommerce-cart-form__contents tbody td {
	padding: 22px 16px;
	border: 0;
	border-bottom: 1px solid #eceef4;
	border-radius: 0;
	background: #fff;
}

.cart-page .woocommerce-cart-form__cart-item:last-of-type td {
	border-bottom: 1px solid #eceef4;
}

.cart-page .product-remove {
	width: 44px;
	padding-right: 4px !important;
}

.cart-page .product-remove .remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #fff1f4;
	color: #e23b5b !important;
	font-size: 23px;
	font-weight: 400;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cart-page .product-remove .remove:hover,
.cart-page .product-remove .remove:focus-visible {
	background: #e23b5b !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.cart-page .product-thumbnail {
	width: 84px;
}

.cart-page .product-thumbnail img {
	width: 68px;
	height: 68px;
	border: 1px solid #eceef4;
	border-radius: 14px;
	object-fit: contain;
	background: #f8f9fc;
}

.cart-page .product-name {
	min-width: 210px;
}

.cart-page .product-name a {
	display: inline-block;
	color: var(--h2-h3-h4);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.cart-page .product-price .amount,
.cart-page .product-subtotal .amount {
	color: var(--h2-h3-h4);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.cart-page .itsoft-cart-quantity {
	min-height: 40px;
	border-color: #dfe3ec;
	border-radius: 12px;
	background: #f8f9fc;
}

.cart-page .itsoft-cart-quantity__button {
	width: 38px;
	min-height: 38px;
	background: transparent;
	color: var(--h2-h3-h4);
	font-size: 18px;
}

.cart-page .itsoft-cart-quantity__button:hover:not(:disabled),
.cart-page .itsoft-cart-quantity__button:focus-visible {
	background: rgba(108, 76, 255, 0.09);
	color: var(--main-perple);
}

.cart-page .itsoft-cart-quantity input.qty {
	width: 44px;
	min-height: 38px;
	border-color: #dfe3ec;
	background: #fff;
	color: var(--h2-h3-h4);
	font-weight: 700;
}

.cart-page td.actions {
	padding: 18px 20px !important;
	border: 0 !important;
	border-radius: 0 0 20px 20px !important;
	background: #fff !important;
}

.cart-page .coupon {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.cart-page .coupon #coupon_code {
	width: 150px !important;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #dfe3ec;
	border-radius: 12px;
	background: #fbfbfd;
	color: var(--h2-h3-h4);
	font-size: 13px;
}

.cart-page .coupon .button,
.cart-page .actions > .button[name='update_cart'] {
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: #f0edff;
	color: var(--main-perple);
	font-size: 13px;
	font-weight: 700;
	box-shadow: none;
}

.cart-page .coupon .button:hover,
.cart-page .actions > .button[name='update_cart']:hover {
	background: #e4deff;
	color: var(--main-perple);
}

.cart-page .actions > .button[name='update_cart']:disabled {
	display: none;
}

.cart-page .cart-collaterals {
	position: sticky;
	top: 24px;
	display: block;
	grid-column: 2;
	width: 100%;
	margin: 0;
}

.cart-page .cart_totals {
	box-sizing: border-box;
	float: none;
	width: 100% !important;
	max-width: none;
	padding: 26px;
	border: 1px solid #e7e9f0;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 44px rgba(21, 27, 51, 0.07);
}

.cart-page .cart_totals h2 {
	margin: 0 0 18px;
	padding: 0 0 18px;
	border-bottom: 1px solid #eceef4;
	color: var(--h2-h3-h4);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.cart-page .cart_totals .shop_table {
	display: table;
	width: 100%;
	margin: 0 0 20px;
	overflow: visible;
	border: 0;
}

.cart-page .cart_totals .shop_table th,
.cart-page .cart_totals .shop_table td {
	padding: 11px 0;
	border: 0;
	background: transparent;
	font-size: 14px;
	line-height: 1.45;
}

.cart-page .cart_totals .shop_table th {
	width: 44%;
	color: var(--body-text);
	font-weight: 500;
}

.cart-page .cart_totals .shop_table td {
	color: var(--h2-h3-h4);
	font-weight: 700;
	text-align: right;
}

.cart-page .cart_totals .order-total th,
.cart-page .cart_totals .order-total td {
	padding-top: 17px;
	border-top: 1px solid #eceef4;
	font-size: 18px;
}

.cart-page .cart_totals .order-total .amount {
	color: var(--price);
	font-size: 21px;
}

.cart-page .wc-proceed-to-checkout {
	padding: 0;
}

.cart-page .checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin: 0;
	padding: 0 22px !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, #7657ff 0%, #5b3af0 100%) !important;
	box-shadow: 0 12px 24px rgba(108, 76, 255, 0.25);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2 !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-page .checkout-button:hover,
.cart-page .checkout-button:focus-visible {
	background: linear-gradient(135deg, #6848f5 0%, #4b2fd7 100%) !important;
	box-shadow: 0 15px 28px rgba(108, 76, 255, 0.32);
	transform: translateY(-1px);
}

.cart-page .cart_totals::after {
	content: 'Нажимая кнопку, вы перейдёте к контактам и оплате';
	display: block;
	margin-top: 14px;
	color: #848b9b;
	font-size: 11px;
	line-height: 1.45;
	text-align: center;
}

.cart-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.cart-benefits__item {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	padding: 17px 18px;
	border: 1px solid #e7e9f0;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
}

.cart-benefits__icon {
	display: inline-flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #f0edff;
	color: var(--main-perple);
}

.cart-benefits__icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.cart-benefits__item > span:last-child {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.cart-benefits__item strong {
	color: var(--h2-h3-h4);
	font-size: 13px;
	line-height: 1.35;
}

.cart-benefits__item small {
	color: #777f91;
	font-size: 11px;
	line-height: 1.45;
}

.cart-page .woocommerce-info,
.cart-page .woocommerce-message,
.cart-page .woocommerce-error {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 20px;
	border: 1px solid #e1dcff;
	border-radius: 14px;
	background: #f5f2ff;
	box-shadow: none;
}

.cart-page .woocommerce-error,
.checkout-page .woocommerce-error {
	border-color: #f4ccd1;
	background: #fff5f6;
	color: #9f1d30;
}

.cart-page .woocommerce-message .button {
	display: none;
}

.cart-page .cart-empty:not(.cart-empty-state) {
	margin: 0;
	padding: 52px 24px;
	border: 1px solid #e7e9f0;
	border-radius: 20px;
	background: #fff;
	color: var(--h2-h3-h4);
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	box-shadow: 0 14px 44px rgba(21, 27, 51, 0.07);
}

.cart-page .return-to-shop {
	margin-top: -8px;
	text-align: center;
}

.cart-page .return-to-shop .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 14px;
	background: var(--main-perple);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

/* Purpose-built empty state: there is no checkout journey until a product exists. */
.cart-page--empty {
	padding-top: 30px;
	padding-bottom: 80px;
}

.cart-page--empty .cart-page__hero {
	display: none;
}

.cart-page--empty .cart-page__heading {
	grid-column: 3 / span 8;
	text-align: center;
}

.cart-page--empty .cart-page__lead {
	margin-right: auto;
	margin-left: auto;
}

.cart-page--empty .cart-steps,
.cart-page--empty .cart-benefits {
	display: none;
}

.cart-page--empty .cart-page__woocommerce > .woocommerce {
	display: block;
}

.cart-empty-state {
	position: relative;
	display: flex;
	box-sizing: border-box;
	max-width: 920px;
	min-height: 360px;
	margin: 0 auto;
	padding: 44px 48px 34px;
	overflow: hidden;
	align-items: center;
	flex-direction: column;
	border: 1px solid #e4e1f3;
	border-radius: 28px;
	background:
		radial-gradient(circle at 50% -20%, rgba(108, 76, 255, 0.16), transparent 43%),
		linear-gradient(180deg, #fff 0%, #fdfcff 100%);
	box-shadow: 0 22px 65px rgba(35, 28, 75, 0.09);
	text-align: center;
}

.cart-empty-state__visual {
	position: relative;
	display: flex;
	width: 84px;
	height: 84px;
	margin-bottom: 20px;
	align-items: center;
	justify-content: center;
	border-radius: 26px;
	background: linear-gradient(145deg, #7657ff, #5435e8);
	box-shadow: 0 16px 32px rgba(85, 54, 222, 0.28);
}

.cart-empty-state__visual > svg {
	position: relative;
	z-index: 2;
	width: 58px;
	height: 58px;
	fill: none;
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
}

.cart-empty-state__visual .cart-empty-state__spark {
	stroke: #dcd4ff;
	stroke-width: 2.5;
}

.cart-empty-state__glow {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.cart-empty-state__glow--one {
	top: 8px;
	right: 9px;
	width: 26px;
	height: 26px;
}

.cart-empty-state__glow--two {
	bottom: 10px;
	left: 8px;
	width: 16px;
	height: 16px;
}

.cart-empty-state__eyebrow {
	margin-bottom: 8px;
	color: var(--main-perple);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cart-empty-state h2 {
	margin: 0;
	color: var(--h1--primary);
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.cart-empty-state > p {
	max-width: 610px;
	margin: 12px auto 22px;
	color: #626b7d;
	font-size: 15px;
	line-height: 1.65;
}

.cart-empty-state__button {
	display: inline-flex;
	box-sizing: border-box;
	min-height: 50px;
	padding: 0 22px 0 25px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 14px;
	background: var(--main-perple);
	box-shadow: 0 12px 25px rgba(85, 54, 222, 0.22);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-empty-state__button svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.cart-empty-state__button:hover,
.cart-empty-state__button:focus-visible {
	background: #5537dc;
	box-shadow: 0 15px 30px rgba(85, 54, 222, 0.29);
	color: #fff;
	transform: translateY(-2px);
}

.cart-empty-state__benefits {
	display: flex;
	margin: 27px 0 0;
	padding: 19px 0 0;
	align-items: center;
	justify-content: center;
	gap: 24px;
	border-top: 1px solid #eceaf5;
	color: #697184;
	font-size: 12px;
	font-weight: 600;
	list-style: none;
}

.article .cart-empty-state__benefits {
	padding-left: 0;
}

.cart-empty-state__benefits li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.article .cart-empty-state__benefits li::before {
	display: none;
	content: none;
}

.cart-empty-state__benefit-icon {
	display: inline-flex;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eeeaff;
	color: var(--main-perple);
	font-size: 11px;
	font-weight: 800;
}

.cart-empty-state__benefit-text {
	min-width: 0;
}

@media (max-width: 1024px) {
	.cart-page__heading,
	.cart-steps {
		grid-column: span 12;
	}

	.cart-page--empty .cart-page__heading {
		grid-column: span 12;
	}

	.cart-steps {
		max-width: 520px;
		margin-top: 26px;
	}

	.cart-page__woocommerce > .woocommerce {
		grid-template-columns: minmax(0, 1fr) 330px;
	}

	.cart-page .woocommerce-cart-form__contents thead th,
	.cart-page .woocommerce-cart-form__contents tbody td {
		padding-right: 11px;
		padding-left: 11px;
	}

	.cart-page .product-thumbnail {
		display: none;
	}

	.cart-benefits {
		grid-template-columns: 1fr;
	}

	.checkout-page--form .wc-block-components-form .wc-block-components-checkout-step {
		padding: 24px;
	}

	.checkout-page--form .wc-block-components-sidebar-layout.wc-block-checkout {
		grid-template-columns: minmax(0, 1fr) 330px;
	}

	.checkout-page--form .wc-block-checkout__sidebar,
	.checkout-page--form .wc-block-components-sidebar {
		padding: 22px;
	}

	.checkout-page--complete .woocommerce-order {
		grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
	}

	.checkout-page--complete .woocommerce-order-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.checkout-page--complete .woocommerce-order-overview li:nth-child(2) {
		border-right: 0;
	}

	.checkout-page--complete .woocommerce-order-overview li:nth-child(-n + 2) {
		border-bottom: 1px solid #eceef4;
	}

	.checkout-next {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.checkout-next__actions {
		grid-column: 2;
	}
}

@media (max-width: 820px) {
	.cart-page {
		padding-bottom: 72px;
	}

	.cart-page__hero {
		margin-bottom: 24px;
	}

	.cart-page__woocommerce > .woocommerce {
		display: block;
	}

	.cart-page .woocommerce-cart-form {
		margin-bottom: 20px;
	}

	.cart-page .cart-collaterals {
		position: static;
	}

	.cart-benefits {
		margin-top: 18px;
	}

	.checkout-page--form .wc-block-checkout__sidebar,
	.checkout-page--form .wc-block-components-sidebar {
		grid-column: 1;
		grid-row: 2;
		position: static;
		margin-top: 18px;
	}

	.checkout-page--form .wc-block-components-sidebar-layout.wc-block-checkout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.checkout-page--complete .woocommerce-order {
		display: block;
	}

	.checkout-page--complete .woocommerce-order > * {
		margin-bottom: 18px;
	}

	.checkout-page--complete .woocommerce-order > *:last-child {
		margin-bottom: 0;
	}
}

@media (max-width: 600px) {
	.cart-page--empty {
		padding-bottom: 56px;
	}

	.cart-page--empty .cart-page__hero {
		margin-bottom: 20px;
	}

	.cart-empty-state {
		min-height: 0;
		padding: 32px 20px 25px;
		border-radius: 22px;
	}

	.cart-empty-state__visual {
		width: 72px;
		height: 72px;
		margin-bottom: 17px;
		border-radius: 22px;
	}

	.cart-empty-state__visual > svg {
		width: 50px;
		height: 50px;
	}

	.cart-empty-state h2 {
		font-size: 27px;
	}

	.cart-empty-state > p {
		margin-bottom: 20px;
		font-size: 14px;
	}

	.cart-empty-state__button {
		width: 100%;
	}

	.cart-empty-state__benefits {
		width: 100%;
		margin-top: 24px;
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
	}

	.cart-empty-state__benefits li {
		display: grid;
		width: 100%;
		grid-template-columns: 19px minmax(0, 1fr);
		gap: 8px;
		align-items: start;
		text-align: left;
	}

	.cart-empty-state__benefit-icon {
		margin-top: 1px;
	}

	.cart-empty-state__benefit-text {
		line-height: 1.45;
	}
	.woocommerce-cart .grid-container,
	.cart-page__content,
	.cart-page__woocommerce,
	.cart-page__woocommerce > .woocommerce,
	.cart-page .woocommerce-cart-form,
	.cart-page .woocommerce-cart-form__contents,
	.cart-page .woocommerce-cart-form__contents tbody,
	.cart-page .woocommerce-cart-form__contents tr,
	.cart-page .woocommerce-cart-form__contents td,
	.cart-page .cart-collaterals,
	.cart-page .cart_totals {
		box-sizing: border-box;
		max-width: 100%;
	}

	.woocommerce-cart .grid-container,
	.cart-page__content,
	.cart-page__woocommerce,
	.cart-page__woocommerce > .woocommerce,
	.cart-page .woocommerce-cart-form,
	.cart-page .cart-collaterals {
		width: 100%;
		min-width: 0;
	}

	.cart-page__title {
		font-size: 36px;
	}

	.cart-page__lead {
		font-size: 14px;
	}

	.cart-steps__label {
		font-size: 10px;
	}

	.cart-page .woocommerce-cart-form__contents {
		display: block;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.cart-page .woocommerce-cart-form__contents tbody {
		display: block;
	}

	.cart-page .woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 0 18px;
		margin: 0 0 12px;
		padding: 20px;
		border: 1px solid #e7e9f0;
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 10px 30px rgba(21, 27, 51, 0.06);
	}

	.cart-page .woocommerce-cart-form__contents tbody td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		width: auto !important;
		min-width: 0;
		padding: 10px 0;
		border-bottom: 1px solid #eceef4 !important;
		text-align: right !important;
	}

	.cart-page .woocommerce-cart-form__contents tbody td::before {
		color: #848b9b;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.02em;
		text-transform: uppercase;
	}

	.cart-page .woocommerce-cart-form__contents .product-remove {
		position: static;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		padding: 0 !important;
		border: 0 !important;
	}

	.cart-page .woocommerce-cart-form__contents .product-name {
		display: block !important;
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
		padding: 2px 0 16px !important;
		border-bottom: 1px solid #eceef4 !important;
		text-align: left !important;
	}

	.cart-page .woocommerce-cart-form__contents .product-name a {
		padding-right: 4px;
		font-size: 15px;
	}

	.cart-page .woocommerce-cart-form__contents .product-price,
	.cart-page .woocommerce-cart-form__contents .product-quantity,
	.cart-page .woocommerce-cart-form__contents .product-subtotal {
		grid-column: 1 / -1;
	}

	.cart-page .woocommerce-cart-form__contents .product-subtotal {
		border-bottom: 0 !important;
	}

	.cart-page .woocommerce-cart-form__contents tr:last-child {
		display: block;
		width: 100%;
		margin-top: 10px;
	}

	.cart-page td.actions {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		background: transparent !important;
	}

	.cart-page .coupon {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(124px, auto);
		gap: 8px;
		width: 100%;
		margin: 0;
	}

	.cart-page .coupon #coupon_code {
		grid-column: 1;
		width: 100% !important;
	}

	.cart-page .coupon .button {
		grid-column: 2;
		box-sizing: border-box;
		width: 100%;
		min-width: 124px;
		padding: 0 12px;
		line-height: 1.2;
		white-space: nowrap;
	}

	.cart-page .cart_totals .shop_table tbody {
		display: table-row-group;
	}

	.cart-page .cart_totals .shop_table tr {
		display: table-row;
	}

	.cart-page .cart_totals .shop_table th,
	.cart-page .cart_totals .shop_table td {
		display: table-cell;
		width: auto !important;
	}

	.cart-page .cart_totals .shop_table td::before {
		display: none;
	}

	.cart-page .actions > .button[name='update_cart'] {
		width: 100%;
		margin-top: 10px;
	}

	.cart-page .cart_totals {
		padding: 22px 20px;
		border-radius: 18px;
	}

	.cart-benefits__item {
		padding: 15px;
	}

	.checkout-page--form .wc-block-components-form .wc-block-components-checkout-step,
	.checkout-page--form .wc-block-checkout__sidebar,
	.checkout-page--form .wc-block-components-sidebar {
		padding: 20px;
		border-radius: 18px;
	}

	.checkout-page--form .wc-block-components-checkout-step__title,
	.checkout-page--form .wc-block-components-title {
		font-size: 19px;
	}

	.checkout-page--complete .woocommerce-notice--success {
		padding: 20px 18px 20px 64px;
		font-size: 15px;
	}

	.checkout-page--complete .woocommerce-notice--success::before {
		left: 18px;
	}

	.checkout-page--complete .woocommerce-notice--success::after {
		left: 29px;
	}

	.checkout-page--complete .woocommerce-order-overview {
		display: block;
	}

	.checkout-page--complete ul.woocommerce-order-overview.order_details > li,
	.checkout-page--complete ul.woocommerce-order-overview.order_details > li:nth-child(2),
	.checkout-page--complete ul.woocommerce-order-overview.order_details > li:nth-child(-n + 2) {
		padding: 16px 18px !important;
		border-right: 0;
		border-bottom: 1px solid #eceef4;
	}

	.checkout-page--complete .woocommerce-order-overview li:last-child {
		border-bottom: 0;
	}

	.checkout-page--complete .woocommerce-order-details,
	.checkout-page--complete .woocommerce-customer-details {
		padding: 21px 18px;
		border-radius: 18px;
	}

	.checkout-page--complete .woocommerce-order-details__title,
	.checkout-page--complete .woocommerce-column__title,
	.checkout-page--complete .itsoft-license-keys h2 {
		font-size: 21px;
	}

	.checkout-page--complete .woocommerce-order-details .shop_table th,
	.checkout-page--complete .woocommerce-order-details .shop_table td {
		padding-right: 6px;
		padding-left: 6px;
		font-size: 13px;
	}

	.checkout-next {
		display: block;
		padding: 22px 20px;
		border-radius: 18px;
	}

	.checkout-next__icon {
		margin-bottom: 16px;
	}

	.checkout-next__actions {
		flex-direction: column;
		align-items: stretch;
		margin-top: 18px;
	}

	.checkout-next__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cart-page .product-remove .remove,
	.cart-page .checkout-button {
		transition: none;
	}
}
