.sp-product-page {
	padding-top: 16px;
}

.sp-product {
	padding-bottom: 80px;
}

.sp-product__hero {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	margin-bottom: 48px;
}

.sp-product__gallery {
	align-items: stretch;
	display: grid;
	gap: 16px;
	grid-template-columns: 64px minmax(0, 1fr);
	border-radius: 1rem;
	max-height: 500px;
	height: 500px;
}

.sp-product__thumbs-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	max-height: 500px;
	min-height: 0;
}

.sp-product__thumbs-col.is-compact .sp-product__thumbs-nav {
	display: none;
}

.sp-product__thumbs-swiper {
	flex: 1;
	min-height: 0;
	overflow: hidden;
	width: 64px;
}

.sp-product__thumbs-swiper .swiper-slide {
	height: auto;
	width: 64px;
}

.sp-product__thumbs-nav {
	appearance: none;
	background-color: #fff;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid #d7d7d7;
	border-radius: 50%;
	box-shadow: none;
	color: transparent;
	cursor: pointer;
	flex-shrink: 0;
	font-size: 0;
	height: 36px;
	line-height: 0;
	margin: 0 auto;
	padding: 0;
	position: static;
	width: 36px;
}

.sp-product__thumbs-nav::after,
.sp-product__thumbs-nav::before {
	display: none !important;
}

.sp-product__thumbs-nav--prev {
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7L7 1L13 7' stroke='%23181818' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 14px 8px;
}

.sp-product__thumbs-nav--next {
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23181818' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 14px 8px;
}

.sp-product__thumbs-nav.swiper-button-disabled,
.sp-product__thumbs-nav:disabled {
	cursor: default;
	opacity: 0.4;
	pointer-events: none;
}

.sp-product__thumb {
	background: #181818;
	border: 1px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	height: 70px;
	overflow: hidden;
	padding: 0;
}

.sp-product__thumb.is-active {
	border-color: #a12c2f;
}

.sp-product__thumb img,
.sp-product__main-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: auto;
	margin: 0 auto;
}

.sp-product__main-image-wrap {
	background: #f1f1f1;
	border-radius: 18px;
	height: 100%;
	max-height: 500px;
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.sp-product__main-image {
	display: none;
	height: 100%;
}

.sp-product__main-image-link {
	display: block;
	height: 100%;
}

.sp-product__main-image.is-active {
	display: block;
}

.sp-product__summary {
	background: #ffffff;
	border-radius: 24px;
	padding: 30px;
}

.sp-product__title {
	color: #181818;
	font-family: "Playfair Display", serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
	margin: 0 0 12px;
}

.sp-product__price {
	color: #181818;
	font-size: 40px;
	font-weight: 700;
	line-height: 44px;
	margin-bottom: 18px;
}

.sp-product__excerpt {
	color: #525252;
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 18px;
}

.sp-product__excerpt p {
	margin: 0;
}

.sp-product__add-to-cart {
	margin-bottom: 12px;
}

.sp-product__add-to-cart form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sp-product__add-to-cart .quantity {
	margin: 0;
}

.sp-product__add-to-cart .quantity .qty {
	appearance: auto;
	-webkit-appearance: auto;
	background: #fff;
	border: 1px solid #d3d3d3;
	border-radius: 10px;
	color: #181818;
	font-size: 18px;
	font-weight: 500;
	height: 52px;
	line-height: 1;
	min-width: 84px;
	padding: 0 12px;
	text-align: center;
}

.sp-product__add-to-cart .single_add_to_cart_button {
	background: #a12c2f !important;
	border: none !important;
	border-radius: 12px !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 24px !important;
	padding: 14px 18px !important;
	width: 100%;
}

.sp-product__add-to-cart .variations_button {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sp-product__add-to-cart .variations_button .quantity {
	flex: 0 0 auto;
}

.sp-product__add-to-cart .variations_button .single_add_to_cart_button,
.sp-product__add-to-cart .variations_button .sp-product__one-click--inline {
	flex: 1 1 220px;
	width: auto;
}

.sp-product__one-click {
	border: 1px solid #181818;
	border-radius: 12px;
	color: #181818;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 24px;
	padding: 14px 18px;
	text-align: center;
	text-decoration: none;
}

.sp-product__one-click--inline {
	margin: 0;
	min-height: 52px;
}

.sp-product__one-click-modal {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 14px 44px rgba(24, 24, 24, 0.12);
	max-width: 560px;
	padding: 28px;
	width: min(560px, calc(100vw - 32px));
}

.sp-product__one-click-head {
	margin-bottom: 14px;
}

.sp-product__one-click-title {
	color: #17161a;
	font-family: "Playfair Display", serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 40px;
	margin: 0 0 8px;
}

.sp-product__one-click-subtitle {
	color: #666;
	font-size: 15px;
	line-height: 22px;
	margin: 0;
}

.sp-product__one-click-modal .wpcf7 form > p {
	margin: 0 0 12px;
}

.sp-product__one-click-modal .wpcf7 form > p:last-child {
	margin-bottom: 0;
}

.sp-product__one-click-modal .wpcf7-form-control-wrap {
	display: block;
}

.sp-product__one-click-modal .wpcf7 input[type="text"],
.sp-product__one-click-modal .wpcf7 input[type="tel"],
.sp-product__one-click-modal .wpcf7 input[type="email"],
.sp-product__one-click-modal .wpcf7 textarea,
.sp-product__one-click-modal .wpcf7 select {
	background: #fff;
	border: 1px solid #d7d7d7;
	border-radius: 12px;
	color: #181818;
	font-size: 16px;
	line-height: 24px;
	padding: 13px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.sp-product__one-click-modal .wpcf7 textarea {
	min-height: 100px;
	resize: vertical;
}

.sp-product__one-click-modal .wpcf7 input[type="text"]:focus,
.sp-product__one-click-modal .wpcf7 input[type="tel"]:focus,
.sp-product__one-click-modal .wpcf7 input[type="email"]:focus,
.sp-product__one-click-modal .wpcf7 textarea:focus,
.sp-product__one-click-modal .wpcf7 select:focus {
	border-color: #a12c2f;
	box-shadow: 0 0 0 3px rgba(161, 44, 47, 0.12);
	outline: none;
}

.sp-product__one-click-modal .wpcf7-submit {
	background: #a12c2f;
	border: none;
	border-radius: 12px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	margin-top: 4px;
	padding: 14px 20px;
	transition: background-color 0.2s ease, transform 0.2s ease;
	width: 100%;
}

.sp-product__one-click-modal .wpcf7-submit:hover {
	background: #8f2628;
	transform: translateY(-1px);
}

.sp-product__one-click-modal .wpcf7-submit:active {
	transform: translateY(0);
}

.sp-product__one-click-modal .wpcf7-not-valid-tip {
	color: #be1e2d;
	font-size: 13px;
	line-height: 18px;
	margin-top: 6px;
}

.sp-product__one-click-modal .wpcf7 form .wpcf7-response-output {
	border-radius: 10px;
	font-size: 14px;
	line-height: 20px;
	margin: 12px 0 0;
	padding: 10px 12px;
}

.fancybox__content .sp-product__one-click-modal,
.fancybox-content .sp-product__one-click-modal {
	display: block !important;
}

@media (max-width: 640px) {
	.sp-product__one-click-modal {
		border-radius: 14px;
		padding: 20px;
	}

	.sp-product__one-click-title {
		font-size: 28px;
		line-height: 34px;
	}
}

.sp-product__delivery {
	border-top: 1px solid #d3d3d3;
	padding-top: 14px;
}

.sp-product__delivery-title {
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	margin-bottom: 10px;
}

.sp-product__delivery-item {
	color: #181818;
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 6px;
}

.sp-product__details {
	margin-bottom: 60px;
}

.sp-product__tabs {
	border-bottom: 1px solid #d3d3d3;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 30px;
}

.sp-product__tab {
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	color: #acacac;
	cursor: pointer;
	font-size: 16px;
	line-height: 24px;
	padding: 0 0 14px;
}

.sp-product__tab.is-active {
	border-bottom-color: #a12c2f;
	color: #a12c2f;
	font-weight: 500;
}

.sp-product__tab-panel {
	display: none;
}

.sp-product__tab-panel.is-active {
	display: block;
}

.sp-product__description-content {
	color: #525252;
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 30px;
	max-width: 980px;
}

.sp-product__attributes-title {
	color: #272727;
	font-family: "Playfair Display", serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 40px;
	margin: 0 0 12px;
}

.sp-product__attributes {
	max-width: 520px;
}

.sp-product__attribute-row {
	align-items: baseline;
	border-bottom: 1px dashed #e5e5e5;
	display: flex;
	font-size: 16px;
	gap: 16px;
	justify-content: space-between;
	line-height: 24px;
	padding: 8px 0;
}

.sp-product__attribute-label {
	color: #acacac;
}

.sp-product__attribute-value {
	color: #17161a;
	text-align: right;
}

.sp-product__related .related.products > h2 {
	color: #181818;
	font-family: "Playfair Display", serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 48px;
	margin: 0 0 16px;
	text-align: center;
}

.sp-product__related ul.products {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.sp-product__related ul.products::before,
.sp-product__related ul.products::after,
.sp-product__related ul.products li.product::before,
.sp-product__related ul.products li.product::after {
	content: none !important;
	display: none !important;
}

.sp-product__related ul.products[class*="columns-"] li.product,
.sp-product__related ul.products li.product {
	clear: none !important;
	float: none !important;
	margin: 0 !important;
	width: auto !important;
}

.sp-product__related ul.products li.product {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
	padding: 0 0 18px;
}

.sp-product__related ul.products li.product a img {
	aspect-ratio: 4 / 3;
	background: #181818;
	margin: 0 0 18px !important;
	object-fit: cover;
	width: 100%;
}

.sp-product__related ul.products li.product .woocommerce-loop-product__title {
	font-family: "Playfair Display", serif;
	font-size: 24px;
	line-height: 36px;
	padding: 0 18px;
}

.sp-product__related ul.products li.product .price {
	color: #181818;
	font-size: 20px;
	line-height: 28px;
	margin-top: auto;
	padding: 0 18px;
}

.sp-product__related ul.products li.product .button {
	align-self: flex-start;
	margin: 10px 18px 0 !important;
}

.sp-shop-page {
	padding-bottom: 90px;
}

.sp-shop-hero {
	background: #d3d3d3 url('/wp-content/uploads/vino4.jpg') center / cover no-repeat;
	margin-bottom: 24px;
	padding: 90px 0;
}

.sp-shop-hero__title {
	color: #17161a;
	font-family: "Playfair Display", serif;
	font-size: 48px;
	font-weight: 700;
	line-height: 56px;
	margin: 0;
	background: rgba(241, 241, 241, 0.94);
    padding: 0.5rem;
    border-radius: 20px;
    width: auto;
    display: block;
    max-width: fit-content;
}
.variations{
	width: 100%;
    border-bottom: 1px solid #c3c3c3;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
.reset_variations{
		align-items: center;
		background: #a12c2f;
		border: none;
		border-radius: 12px;
		box-sizing: border-box;
		color: #fff !important;
		display: inline-flex;
		font-size: 14px;
		font-weight: 400;
		justify-content: center;
		line-height: 20px;
		margin-top: 8px;
		min-height: 44px;
		padding: 10px 18px;
		text-align: center;
		text-decoration: none !important;
		transition: background-color 0.15s ease;
		width: fit-content;
		max-width: 100%;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{
	-webkit-box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 1px #a12c2f);
    box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 1px #a12c2f);
}
.sp-shop-hero__desc {
	color: #525252;
	font-size: 16px;
	line-height: 24px;
	margin-top: 12px;
	max-width: 760px;
}

.sp-shop-toolbar {
	display: block;
	margin-bottom: 2rem;
	overflow-x: auto;
	padding-bottom: 0;
	white-space: nowrap;
}

.sp-shop-toolbar__cats {
	display: flex;
	flex-wrap: nowrap;
	gap: 24px;
	min-width: max-content;
	border-bottom: 1px solid #d3d3d3;
	justify-content: space-between;
}

.sp-shop-chip {
	color: #181818;
	display: inline-flex;
	font-size: 1.125rem;
	padding: 0 2px 12px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sp-shop-chip.is-active {
	border-bottom: 1px solid #a12c2f;
	color: #a12c2f;
	font-weight: 500;
}
.sp-shop-chip:hover{
	border-bottom: 1px solid #a12c2f;
	color: #a12c2f;
}
.sp-shop-products ul.products,
.sp-shop-gifts ul.products,
.sp-product__related ul.products {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.sp-shop-products ul.products::before,
.sp-shop-products ul.products::after,
.sp-shop-gifts ul.products::before,
.sp-shop-gifts ul.products::after {
	content: none !important;
	display: none !important;
}

.sp-shop-products ul.products li.product,
.sp-shop-gifts ul.products li.product,
.sp-product__related ul.products li.product,
.sp-shop-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	overflow: hidden;
	padding: 0 0 18px;
	width: auto !important;
}

.sp-shop-card__image-link {
	display: block;
}

.sp-shop-card__image-link img {
	aspect-ratio: 4 / 3;
	background: #181818;
	display: block;
	height: auto;
	margin: 0 !important;
	object-fit: cover;
	width: 100%;
}

.sp-shop-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 0 18px;
}

.sp-shop-card .woocommerce-loop-product__title,
.sp-shop-products ul.products li.product .woocommerce-loop-product__title,
.sp-shop-gifts ul.products li.product .woocommerce-loop-product__title {
	font-family: "Playfair Display", serif;
	font-size: 24px;
	line-height: 34px;
	margin: 0;
	padding: 0;
}

.sp-shop-card .woocommerce-loop-product__title a {
	color: #17161a;
	text-decoration: none;
}

.sp-shop-card__excerpt {
	color: #8f8f8f;
	font-size: 14px;
	line-height: 20px;
	margin: 0;
}

.sp-shop-card .price,
.sp-shop-products ul.products li.product .price,
.sp-shop-gifts ul.products li.product .price {
	color: #17161a;
	font-size: 16px;
	line-height: 24px;
	margin-top: auto;
	padding: 0;
}

.sp-shop-card__link {
	align-items: center;
	background: #a12c2f;
	border: none;
	border-radius: 12px;
	box-sizing: border-box;
	color: #fff !important;
	display: inline-flex;
	font-size: 14px;
	font-weight: 400;
	justify-content: center;
	line-height: 20px;
	margin-top: 8px;
	min-height: 44px;
	padding: 10px 18px;
	text-align: center;
	text-decoration: none !important;
	transition: background-color 0.15s ease;
	width: fit-content;
	max-width: 100%;
}

.sp-shop-card__link:hover,
.sp-shop-card__link:focus-visible {
	background: #8b2528;
	color: #fff !important;
	text-decoration: none !important;
}

.sp-shop-card__link:focus-visible {
	outline: 2px solid #181818;
	outline-offset: 2px;
}

.sp-shop-products nav.woocommerce-pagination {
	margin-top: 28px;
	text-align: center;
}

.sp-shop-products nav.woocommerce-pagination ul {
	border: none !important;
	display: inline-flex;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.sp-shop-products nav.woocommerce-pagination ul li {
	border: none !important;
	float: none !important;
}

.sp-shop-products nav.woocommerce-pagination ul li a,
.sp-shop-products nav.woocommerce-pagination ul li span {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	color: #525252;
	min-width: 34px;
	padding: 8px 10px;
}

.sp-shop-products nav.woocommerce-pagination ul li .current {
	background: #a12c2f;
	border-color: #a12c2f;
	color: #fff;
}

.sp-shop-why,
.sp-shop-gifts {
	margin-top: 70px;
}

.sp-shop-section-title {
	color: #17161a;
	font-family: "Playfair Display", serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 48px;
	margin: 0 0 16px;
	text-align: center;
}

.sp-shop-section-subtitle {
	color: #525252;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 28px;
	text-align: center;
}

.sp-shop-why__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-shop-info-card {
	background: #fff;
	border: 1px solid #f1f1f1;
	border-radius: 26px;
	padding: 26px;
	text-align: center;
}

.sp-shop-info-card__icon {
	align-items: center;
	background: #181818;
	border-radius: 999px;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	margin: 0 auto 12px;
	padding: 10px;
	width: 48px;
}

.sp-shop-info-card__icon img {
	display: block;
	height: 24px;
	object-fit: contain;
	width: 24px;
}

.sp-shop-info-card h3 {
	color: #17161a;
	font-family: "Playfair Display", serif;
	font-size: 24px;
	line-height: 34px;
	margin: 0 0 8px;
}

.sp-shop-info-card p {
	color: #8f8f8f;
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}

@media (max-width: 1100px) {
	.sp-product__hero {
		grid-template-columns: 1fr;
	}

	.sp-shop-products ul.products,
	.sp-shop-gifts ul.products,
	.sp-product__related ul.products,
	.sp-shop-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.sp-product__gallery {
		grid-template-columns: 1fr;
		height: auto;
		max-height: none;
	}

	.sp-product__thumbs-col {
		flex-direction: row;
		align-items: center;
		max-height: none;
		width: 100%;
	}

	.sp-product__thumbs-swiper {
		flex: 1;
		width: auto;
	}

	.sp-product__thumbs-swiper .swiper-slide {
		width: 70px;
	}

	.sp-product__thumbs-nav--prev {
		background-image: url("data:image/svg+xml,%3Csvg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1L1 7L7 13' stroke='%23181818' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
		background-size: 8px 14px;
	}

	.sp-product__thumbs-nav--next {
		background-image: url("data:image/svg+xml,%3Csvg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L1 13' stroke='%23181818' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
		background-size: 8px 14px;
	}

	.sp-product__main-image-wrap {
		aspect-ratio: 4 / 3;
		height: auto;
		max-height: 360px;
	}

	.sp-product__related ul.products {
		grid-template-columns: 1fr;
	}

	.sp-product__related .related.products > h2 {
		font-size: 32px;
		line-height: 40px;
	}

	.sp-shop-hero {
		padding: 56px 0;
	}

	.sp-shop-hero__title,
	.sp-shop-section-title {
		font-size: 32px;
		line-height: 40px;
	}

	.sp-shop-toolbar {
		overflow-x: auto;
	}

	.sp-shop-products ul.products,
	.sp-shop-gifts ul.products,
	.sp-shop-why__grid {
		grid-template-columns: 1fr;
	}
}

/* Cart / checkout: «Перейти к оформлению заказа» — как основная красная кнопка */
.woocommerce .wc-proceed-to-checkout .checkout-button.button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button.button {
	background: #a12c2f !important;
	border: none !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	color: #fff !important;
	display: block !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 24px !important;
	padding: 14px 18px !important;
	text-align: center !important;
	text-decoration: none !important;
	width: 100%;
}

.woocommerce .wc-proceed-to-checkout .checkout-button.button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button.button:hover {
	background: #8b2528 !important;
	color: #fff !important;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button {
	width: 100%;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button.wc-block-components-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button.wc-block-components-button,
.wc-block-cart__submit-container .wc-block-cart__submit-button:not(.is-link),
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:not(.is-link) {
	background: #a12c2f !important;
	border: none !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 24px !important;
	min-height: 52px;
	padding: 14px 18px !important;
	text-align: center !important;
	text-decoration: none !important;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button.wc-block-components-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button.wc-block-components-button:hover {
	background: #8b2528 !important;
	color: #fff !important;
	opacity: 1 !important;
}

.wc-block-cart__submit-container .wc-block-components-button.is-link.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button.is-link.wc-block-cart__submit-button {
	background: #a12c2f !important;
	border-radius: 12px !important;
	color: #fff !important;
	display: inline-flex !important;
	justify-content: center !important;
	opacity: 1 !important;
	padding: 14px 18px !important;
	text-decoration: none !important;
	width: 100%;
	box-sizing: border-box !important;
}

.wc-block-mini-cart__footer-checkout.wc-block-components-button {
	background: #a12c2f !important;
	border: none !important;
	border-radius: 12px !important;
	color: #fff !important;
	padding: 12px 16px !important;
	text-decoration: none !important;
}

.wc-block-mini-cart__footer-checkout.wc-block-components-button:hover {
	background: #8b2528 !important;
	color: #fff !important;
	opacity: 1 !important;
}

/* AJAX add to cart: toast вместо ссылки «Просмотр корзины» в блоке кнопок */
.sp-wc-toast-root {
	bottom: max(16px, env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: calc(100vh - 32px);
	overflow: visible;
	pointer-events: none;
	position: fixed;
	right: max(16px, env(safe-area-inset-right, 0px));
	width: min(360px, calc(100vw - 32px));
	z-index: 100050;
}

.sp-wc-toast {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 14px 44px rgba(24, 24, 24, 0.16);
	color: #17161a;
	opacity: 0;
	padding: 16px 18px;
	pointer-events: auto;
	transform: translateX(12px);
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.sp-wc-toast.is-visible {
	opacity: 1;
	transform: translateX(0);
}

.sp-wc-toast__text {
	font-size: 15px;
	line-height: 22px;
	margin: 0 0 10px;
}

.sp-wc-toast__text:last-child {
	margin-bottom: 0;
}

.sp-wc-toast__link {
	color: #a12c2f;
	display: inline-block;
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
	text-decoration: underline;
}

.sp-wc-toast__link:hover {
	color: #8b2528;
}

