/**
 * Single Product V2 — scoped under .sp-v2 only.
 */

 .sp-v2 {
	--sp-v2-sidebar: 410px;
	--sp-v2-sticky-top: 70px;
	--sp-v2-bg: #f2f2f2;
	--sp-v2-null: #f8f8f8;
	--sp-v2-null-text: #b6b6b6;
	--sp-v2-color: #0F0F0F;
	--sp-v2-black: #000000;
	--sp-v2-border: #e3e3e3;
	--sp-v2-white: #ffffff;
	--sp-v2-muted: #7a7a7a;
	--sp-v2-brown: #9C4721;
	--sp-v2-accent: #ff0000;
  --sp-v2-dark: #362F28;

	--sp-v2-swiper-idle: #d9d9d9;
	--sp-v2-swiper-active: #0F0F0F;

	--sp-v2-font-body: 'Inter', sans-serif;
	--sp-v2-font-display: 'Bounded', sans-serif;

	color: #0F0F0F;
	font-family: var(--sp-v2-font-body);
}

/* --- Layout --- */

.sp-v2__product-row {
	display: flex;
	width: 100%;
	position: relative;
}

/* --- Gallery --- */

.sp-v2__gallery {
	width: calc(100% - var(--sp-v2-sidebar));
	padding: 0;
	background-color: var(--sp-v2-bg);
	box-sizing: border-box;
	border-bottom: 1px solid var(--sp-v2-white);
	flex-shrink: 0;
}

.sp-v2__gallery-grid {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.sp-v2__gallery-item {
	width: 50%;
	padding-top: 65%;
	position: relative;
	overflow: hidden;
	background-color: var(--sp-v2-bg);
	margin: 0;
	box-sizing: border-box;
	border-bottom: 1px solid var(--sp-v2-white);
}

.sp-v2__gallery-item:nth-child(even) {
	border-left: 1px solid var(--sp-v2-white);
}

.sp-v2__gallery-item:last-child:nth-child(odd) {
	border-bottom: none;
}

.sp-v2__gallery-item img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: auto;
	object-fit: cover;
	transform: translate(-50%, -50%);
}

.sp-v2__gallery-mobile {
	display: none;
	width: 100%;
	max-width: 600px;
	aspect-ratio: 3 / 4;
	margin: -1px auto 0;
	background-color: var(--sp-v2-bg);
	position: relative;
}

.sp-v2__gallery-mobile .swiper-slide {
	display: grid;
	place-items: center;
	height: 100%;
}

.sp-v2__gallery-mobile .swiper-slide img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.sp-v2-swiper .swiper-button-next,
.sp-v2-swiper .swiper-button-prev {
	color: var(--sp-v2-muted);
	width: 28px;
	height: 28px;
}
.sp-v2-swiper .swiper-button-next:after,
.sp-v2-swiper .swiper-button-prev:after {
	font-size: 18px;
	font-weight: 600;
}
.sp-v2-swiper .swiper-button-prev {
  left: 0;
  right: auto;
}
.sp-v2-swiper .swiper-button-next {
  right: 0;
  left: auto;
}
.sp-v2-swiper .swiper-pagination {
	position: absolute;
	top: 24px !important;
	bottom: auto !important;
	width: 100%;
	display: flex;
	justify-content: center;
	z-index: 1;
}
.sp-v2-swiper .swiper-pagination-bullet {
	background-color: var(--sp-v2-swiper-idle);
	opacity: 1;
	margin: 0 4px;
  width: 38px;
  height: 2px;
  border-radius: 0;
}
.sp-v2-swiper .swiper-pagination-bullet-active {
	background-color: var(--sp-v2-swiper-active);
}

/* --- Sidebar --- */
.sp-v2 .sp-v2__sidebar {
	width: var(--sp-v2-sidebar);
	position: sticky;
	align-self: flex-start;
	overflow-y: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}
.sp-v2 .sp-v2__category-back {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 16px 20px 18px;
	border-bottom: 1px solid var(--sp-v2-border);

	font-family: var(--sp-v2-font-body);
	font-weight: 400;
	font-size: 14px;
	line-height: 150%;
	text-transform: uppercase;
	text-decoration: none !important;
	color: var(--sp-v2-color);
}
.sp-v2 .sp-v2__category-back img {
	display: block;
	flex-shrink: 0;
}

.sp-v2 .sp-v2__sidebar-inner {
  padding: 32px 20px;
}

.sp-v2__badge {
	color: var(--sp-v2-black);
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
  text-transform: uppercase;

  width: fit-content;
	background-color: var(--sp-v2-bg);
	padding: 4px 8px;
	margin-bottom: 24px;
}

.sp-v2 .sp-v2__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}
.sp-v2 .sp-v2__title {
	color: var(--sp-v2-color);
	font-size: 24px;
	font-weight: 400;
	line-height: 132%;
	text-transform: uppercase;
	margin: 0;
}
.sp-v2 .sp-v2__subtitle {
	font-size: 14px;
	font-weight: 400;
	line-height: 150%;
	color: var(--sp-v2-black);
	margin-top: 8px;
  margin-bottom: 0;
}
.sp-v2 .sp-v2__header .omw_button_spot {
	flex-shrink: 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.sp-v2 .sp-v2__header .omw_button_spot button::before {
  width: 44px;
  height: 44px;
}

.sp-v2 .sp-v2__price {
	color: var(--sp-v2-color);
	font-size: 24px;
  font-weight: 400;
	line-height: 100%;
  text-decoration: none;
	margin-top: 24px;
  margin-bottom: 0;
}
.sp-v2 .sp-v2__price del {
	color: var(--sp-v2-muted);
}
.sp-v2 .sp-v2__price ins {
  text-decoration: none;
}

/* --- Size --- */
.sp-v2 .sp-v2__attribute-row {
  margin-top: 32px;
}
.sp-v2 .sp-v2__attribute-labels {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.sp-v2 .sp-v2__attribute-name {
	font-size: 14px;
  font-weight: 400;
  line-height: 100%;
	text-transform: uppercase;
  margin-bottom: 0;
}
.sp-v2 .sp-v2__size-guide {
	color: var(--sp-v2-muted);
	font-size: 12px;
  font-weight: 400;
  line-height: 100%;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sp-v2 .sp-v2__size-guide:hover {
	color: var(--sp-v2-muted);
}
.sp-v2 .sp-v2__size-selector {
	position: relative;
	margin-top: 12px;
}
.sp-v2 .sp-v2__size-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(calc((100% - 5px) / 6), 1fr));
	gap: 1px;
	background-color: var(--sp-v2-border);
	border: 1px solid var(--sp-v2-border);
}
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+1))::after,
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+2))::after,
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+3))::after,
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+4))::after,
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+5))::after {
	content: "";
	background-color: var(--sp-v2-white);
	margin-right: -1px;
	margin-bottom: -1px;
}
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+1))::after {
	grid-column: 2 / -1;
}
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+2))::after {
	grid-column: 3 / -1;
}
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+3))::after {
	grid-column: 4 / -1;
}
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+4))::after {
	grid-column: 5 / -1;
}
.sp-v2 .sp-v2__size-tiles:has(.sp-v2__size-tile:nth-child(7)):has(> .sp-v2__size-tile:last-child:nth-child(6n+5))::after {
	grid-column: 6 / -1;
}
.sp-v2 .sp-v2__size-tile {
	color: var(--sp-v2-color);
	font-size: 14px;
	font-weight: 500;
	line-height: 100%;
	text-transform: uppercase;
	border: none;
	background-color: #fff;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
  transition: none;
}
.sp-v2 .sp-v2__size-tile:hover {
  border-color: var(--sp-v2-border);
	background-color: var(--sp-v2-bg);
}
.sp-v2 .sp-v2__size-tile.is-oos {
	background-color: var(--sp-v2-null);
	color: var(--sp-v2-null-text);
}
.sp-v2 .sp-v2__size-tile.is-oos:hover {
	background-color: var(--sp-v2-bg);
	color: var(--sp-v2-null-text);
}
.sp-v2 .sp-v2__size-tile.is-selected:not(.is-oos),
.sp-v2 .sp-v2__size-tile.is-selected:not(.is-oos):hover {
	background-color: var(--sp-v2-brown);
	color: var(--sp-v2-bg);
	box-shadow: 0 0 0 1px var(--sp-v2-brown);
	position: relative;
	z-index: 1;
}
.sp-v2 .sp-v2__size-tile.is-oos.is-selected {
	box-shadow: 0 0 0 1px var(--sp-v2-muted);
	position: relative;
	z-index: 1;
}

.sp-v2__low-stock {
	display: none;
	background-color: var(--sp-v2-bg);
	color: var(--sp-v2-color);
	font-size: 12px;
	font-weight: 500;
	line-height: 150%;
	text-transform: uppercase;
	padding: 8px 12px;
	text-align: center;
  margin-top: 1px;
}
.sp-v2__low-stock:not([hidden]) {
	display: block;
}
.sp-v2__size-selector .main-select {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- Cart --- */
.sp-v2 .sp-v2__purchase {
	display: flex;
	flex-direction: column;
}
.sp-v2 .sp-v2__cart-form,
.sp-v2 .single_variation_wrap {
	display: contents !important;
}
.sp-v2 .sp-v2__attribute-row {
	order: 1;
}
.sp-v2 .single_variation {
	margin-bottom: 0;
	order: 1;
}
.sp-v2 .sp-v2__notify-form {
	order: 2;
	display: grid;
	grid-template-rows: 0fr;
	margin-top: 0;
	transition: grid-template-rows 0.35s ease, margin-top 0.35s ease;
}
.sp-v2 .sp-v2__notify-form[hidden] {
	display: none !important;
}
.sp-v2 .sp-v2__notify-form.is-open {
	grid-template-rows: 1fr;
	margin-top: 32px;
}
.sp-v2 .sp-v2__notify-form-inner {
	min-height: 0;
	overflow: hidden;
}
.sp-v2 .sp-v2__notify-form-inner > * {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.sp-v2 .sp-v2__notify-form.is-open .sp-v2__notify-form-inner > * {
	opacity: 1;
	transform: translateY(0);
}
.sp-v2 .sp-v2__cart-row {
	background-color: var(--sp-v2-black);
  color: var(--sp-v2-white);
	display: flex;
	align-items: stretch;
	margin-top: 32px;
  height: 52px;
  width: 100%;
	order: 3;
	transition: margin-top 0.35s ease;
}
.sp-v2 .sp-v2__purchase.is-notify-open .sp-v2__cart-row {
	margin-top: 0;
}
.sp-v2 .sp-v2__purchase.is-notify-open .sp-v2__wish-button-block {
	display: none;
}
.sp-v2 .sp-v2__add-to-cart {
  display: flex;
  align-items: center;
	flex: 1;
  gap: 8px;
	padding: 18px;
	font-size: 12px;
	font-weight: 500;
	line-height: 100%;
	text-transform: uppercase;
}
.sp-v2 .sp-v2__add-to-cart:disabled,
.sp-v2 .sp-v2__add-to-cart.disabled {
	opacity: 1;
	color: var(--sp-v2-white);
}
.sp-v2 .sp-v2__add-to-cart.dionis-notify-button,
.sp-v2 .sp-v2__add-to-cart.dionis-notify-button.disabled {
	cursor: pointer;
}
.sp-v2 .sp-v2__add-to-cart.is-notify-send,
.sp-v2 .sp-v2__add-to-cart.is-notify-sent {
	justify-content: center;
}
.sp-v2 .sp-v2__add-to-cart.is-notify-sent,
.sp-v2 .sp-v2__add-to-cart.is-notify-sent.disabled {
	cursor: default;
	pointer-events: none;
}
.sp-v2 .sp-v2__add-to-cart.is-notify-sending {
	position: relative;
	pointer-events: none;
	color: transparent !important;
}
.sp-v2 .sp-v2__add-to-cart.is-notify-sending span {
	visibility: hidden;
}
.sp-v2 .sp-v2__add-to-cart.is-notify-sending::after {
	content: '';
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	box-sizing: border-box;
	border: 2px solid var(--sp-v2-white);
	border-bottom-color: transparent;
	border-radius: 50%;
	animation: loading-spin 1s linear infinite;
}
.sp-v2 .sp-v2__add-to-cart:not(.dionis-notify-button):before {
	content: '';
	background-image: url('../images/single-product-v2/bag.svg');
	width: 16px;
	height: 16px;
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
	flex: 0 0 16px;
}
.sp-v2 .sp-v2__add-to-cart:not(.dionis-notify-button).loading,
.sp-v2 .sp-v2__add-to-cart:not(.dionis-notify-button).added {
	color: var(--sp-v2-white) !important;
}
.sp-v2 .sp-v2__add-to-cart:not(.dionis-notify-button).loading::after,
.sp-v2 .sp-v2__add-to-cart:not(.dionis-notify-button).added::after {
	content: '' !important;
	display: inline-block !important;
	position: static !important;
	left: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	font-family: inherit !important;
	font-size: 0 !important;
	background-color: transparent;
	transform: none;
}
.sp-v2 .sp-v2__add-to-cart:not(.dionis-notify-button).loading::after {
	border: 2px solid var(--sp-v2-white) !important;
	border-bottom-color: transparent !important;
	border-radius: 50%;
	background-image: none !important;
	animation: loading-spin 1s linear infinite;
}
.sp-v2 .sp-v2__add-to-cart:not(.dionis-notify-button).added::after {
	border: none !important;
	border-radius: 0;
	animation: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.5 12L13 4' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sp-v2 .sp-v2__add-to-cart.dionis-notify-button.added::after,
.sp-v2 .sp-v2__add-to-cart.dionis-notify-button.loading::after {
	content: none !important;
	display: none !important;
}

.sp-v2 .sp-v2__wish-button-block {
  display: flex;
	align-items: center;
	justify-content: center;
  padding: 15px;
	border-left: 1px solid var(--sp-v2-white);
}
.sp-v2 .sp-v2__wish-button {
  display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sp-v2-white);
	text-decoration: none;
  margin: 0;
}
.sp-v2 .sp-v2__wish-button svg {
  width: 21px;
  height: 18px;
}
.sp-v2 .sp-v2__wish-button .path {
	stroke: currentColor;
}
.sp-v2 .sp-v2__wish-button:hover .path {
	fill: var(--sp-v2-white);
  /* stroke: var(--sp-v2-accent); */
}
.sp-v2 .sp-v2__wish-button.loved .path {
  fill: var(--sp-v2-accent);
}
.sp-v2 .sp-v2__offline-note {
	display: none;
	color: var(--sp-v2-color);
	font-size: 14px;
	font-weight: 400;
	line-height: 150%;
	margin: 12px 0 0;
	order: 4;
}
.sp-v2 .sp-v2__offline-note span {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sp-v2 .sp-v2__cart-form:has(.dionis-notify-button) .sp-v2__offline-note {
	display: block;
}

/* Форма */
.sp-v2 .sp-v2__notify-form-fields .wpcf7 {
	margin: 0;
}
.sp-v2 .sp-v2__notify-form-fields form.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}
.sp-v2 .sp-v2__notify-form-fields form.wpcf7-form > p {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}
.sp-v2 .sp-v2__notify-form-fields form.wpcf7-form > p:has(.wpcf7-submit),
.sp-v2 .sp-v2__notify-form-fields form.wpcf7-form > p:has(h3),
.sp-v2 .sp-v2__notify-form-fields form.wpcf7-form > p:first-of-type:not(:has(input)),
.sp-v2 .sp-v2__notify-form-fields h3,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-submit,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-spinner,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-response-output,
.sp-v2 .sp-v2__notify-form-fields .screen-reader-response,
.sp-v2 .sp-v2__notify-form-fields br {
	display: none !important;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	position: relative;
  margin-bottom: 12px;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap:last-child {
  margin-bottom: 10px;
}
.sp-v2 .sp-v2__notify-label {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	font-size: 14px;
	font-weight: 400;
	color: var(--sp-v2-muted);
	text-transform: uppercase;
	pointer-events: none;
	transition: top 0.15s ease, font-size 0.15s ease, transform 0.15s ease, color 0.15s ease;
	line-height: 1;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-focused .sp-v2__notify-label,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-filled .sp-v2__notify-label {
	top: 7px;
	transform: none;
	font-size: 10px;
	color: var(--sp-v2-muted);
}
.sp-v2 .dionis-backinstock-form > p {
  margin-bottom: 0;
}
.sp-v2 .sp-v2__notify-check {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	opacity: 0;
	pointer-events: none;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-valid .sp-v2__notify-check {
	opacity: 1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.5 12L13 4' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sp-v2 .sp-v2__notify-error {
	display: none;
	position: absolute;
	top: 7px;
	left: 16px;
	z-index: 2;
	margin: 0;
	font-size: 10px;
	color: var(--sp-v2-accent);
	text-transform: uppercase;
	line-height: 1;
	pointer-events: none;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error .sp-v2__notify-error {
	display: block;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error:not(.is-filled) .sp-v2__notify-label {
	top: 22px;
	transform: none;
	font-size: 14px;
	color: var(--sp-v2-accent);
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error.is-filled .sp-v2__notify-label {
	visibility: hidden;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-not-valid-tip,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-not-valid-tip::before,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-not-valid-tip::after {
	display: none !important;
	content: none !important;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-text,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-email {
	width: 100%;
	height: 52px;
	box-sizing: border-box;
	margin: 0;
	padding: 18px 40px 18px 16px;
	background-color: var(--sp-v2-white);
	border: 1px solid var(--sp-v2-black);
	border-radius: 0;
	outline: none;
	font-family: var(--sp-v2-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 100%;
	color: var(--sp-v2-color);
	transition: background-color 0.2s ease, border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-text:hover,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-email:hover {
	background-color: var(--sp-v2-bg);
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-focused .wpcf7-text,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-focused .wpcf7-email,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-text:focus,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-email:focus {
	background-color: var(--sp-v2-bg);
	border-color: var(--sp-v2-black);
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-focused .wpcf7-text,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-focused .wpcf7-email,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-filled .wpcf7-text,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-filled .wpcf7-email {
	padding-top: 22px;
	text-transform: uppercase;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-filled .wpcf7-text,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-filled .wpcf7-email {
	background-color: var(--sp-v2-bg);
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-filled.is-valid .wpcf7-text,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-filled.is-valid .wpcf7-email {
	border-color: var(--sp-v2-bg);
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error .wpcf7-text,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error .wpcf7-email,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error .wpcf7-text:hover,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error .wpcf7-email:hover,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error .wpcf7-text:focus,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap.is-error .wpcf7-email:focus {
	background-color: var(--sp-v2-white);
	border-color: var(--sp-v2-accent);
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap:has(.wpcf7-text:-webkit-autofill) .sp-v2__notify-label,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap:has(.wpcf7-email:-webkit-autofill) .sp-v2__notify-label {
	top: 7px;
	transform: none;
	font-size: 10px;
	color: var(--sp-v2-muted);
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap:has(.wpcf7-text:-webkit-autofill) .wpcf7-text,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-form-control-wrap:has(.wpcf7-email:-webkit-autofill) .wpcf7-email {
	padding-top: 22px;
}
.sp-v2 .sp-v2__notify-form-fields .wpcf7-text::placeholder,
.sp-v2 .sp-v2__notify-form-fields .wpcf7-email::placeholder {
	color: transparent;
	opacity: 0;
}
.sp-v2 .sp-v2__notify-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
  margin-top: 6px;
  margin-bottom: 39px;
	text-align: center;
}
.sp-v2 .sp-v2__notify-success[hidden] {
	display: none !important;
}
.sp-v2 .sp-v2__notify-success-icon {
	display: block;
	width: 27px;
	height: 27px;
}
.sp-v2 .sp-v2__notify-success-text {
	color: var(--sp-v2-black);
	font-size: 14px;
	font-weight: 400;
	line-height: 150%;
}

/* --- Benefits --- */
.sp-v2 .sp-v2__benefits {
	display: flex;
	flex-direction: column;
  gap: 1px;
	margin-top: 32px;
}
.sp-v2 .sp-v2__benefit {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	background-color: var(--sp-v2-bg);
}
.sp-v2 .sp-v2__benefit-text {
	color: var(--sp-v2-color);
	font-size: 14px;
	font-weight: 400;
	line-height: 150%;
}
.sp-v2 .sp-v2__benefit-icon {
	display: block;
	flex-shrink: 0;
}
.sp-v2 .sp-v2__benefit-icon--split {
	width: 54px;
	height: 20px;
}
.sp-v2 .sp-v2__benefit-icon--delivery {
	width: 16px;
	height: 16px;
}
.sp-v2 .sp-v2__benefit-icon--dolyami {
	width: 79px;
	height: 10px;
}

/* --- Accordion --- */
.sp-v2 .sp-v2__accordion {
	margin-top: 32px;
	border-bottom: 1px solid var(--sp-v2-border);
}
.sp-v2 .sp-v2__accordion-button {
	background: none;
	border: none;
	font-size: 14px;
	font-weight: 500;
  line-height: 150%;
	text-transform: uppercase;
	color: var(--sp-v2-color);
	text-align: left;
	width: 100%;
	padding: 20px 20px 20px 0;
	cursor: pointer;
	outline: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--sp-v2-border);
	position: relative;
}
.sp-v2 .sp-v2__accordion-button::after {
	content: '';
	width: 10px;
	height: 5px;
	background: url('../images/single-product-v2/accordion-arrow.svg') center / contain no-repeat;
	transition: transform 0.3s ease;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
	transform-origin: center;
}
.sp-v2 .sp-v2__accordion-button.active::after {
	transform: translateY(-50%) rotate(0deg);
}
.sp-v2 .sp-v2__accordion-content {
	display: none;
	padding-bottom: 20px;
	font-size: 14px;
	font-weight: 400;
	line-height: 150%;
	color: var(--sp-v2-muted);
	border-top: 1px solid var(--sp-v2-border);
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease-out;
	margin-top: -8px;
}
.sp-v2 .sp-v2__accordion-content p {
	margin-bottom: 8px;
}
.sp-v2 .sp-v2__accordion-content p:last-child {
  margin-bottom: 0;
}
.sp-v2 .sp-v2__accordion-button.active + .sp-v2__accordion-content {
	display: block;
	max-height: 2000px;
	border-top: none;
}

/* --- Upsells --- */
.sp-v2 .sp-v2__upsell-title {
	font-size: 20px;
  font-weight: 400;
  line-height: 100%;
	text-transform: uppercase;
	padding: 32px 24px 20px 24px;
	margin: 0;
}

.sp-v2 .sp-v2__upsell .mfn-wish-button {
	color: var(--sp-v2-black);
}
.sp-v2 .sp-v2__upsell .mfn-wish-button svg {
	width: 21px;
	height: 18px;
}
.sp-v2 .sp-v2__upsell .mfn-wish-button .path {
	stroke: currentColor;
	fill: none;
  transition: none;
}
.sp-v2 .sp-v2__upsell .mfn-wish-button:hover .path {
	stroke: var(--sp-v2-accent);
}
.sp-v2 .sp-v2__upsell .mfn-wish-button.loved .path {
	stroke: var(--sp-v2-accent);
	fill: var(--sp-v2-accent);
}

.sp-v2 .sp-v2__upsell-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	background-color: var(--sp-v2-white);
	gap: 1px;
  margin-bottom: 52px;
}
.sp-v2 .sp-v2__upsell-card {
	width: calc(25% - 1px);
	text-align: center;
}

.sp-v2 .sp-v2__upsell-image {
	position: relative;
}
.sp-v2 .sp-v2__upsell-image img {
	width: 100%;
	height: auto;
	background-color: var(--sp-v2-bg);
	aspect-ratio: 3 / 4;
	object-fit: contain;
}
.sp-v2 .sp-v2__upsell-image .mfn-li-product-row-button {
	position: absolute;
	top: 16px;
	right: 16px;
}
.sp-v2 .sp-v2__upsell-image .mfn-li-product-row-button a {
  margin: 0;
}
.sp-v2 .sp-v2__upsell-badge {
	background-color: var(--sp-v2-white);
  color: var(--sp-v2-dark);
  font-size: 10px;
  font-weight: 600;
  line-height: 100%;
	text-transform: uppercase;
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 4px 8px;
	z-index: 5;
}
.sp-v2__upsell-badge--made-to-order::before {
	content: 'ИЗГОТАВЛИВАЕТСЯ ПОД ЗАКАЗ';
}

.sp-v2 .sp-v2__upsell-card-content {
  padding: 21px 10px;
}
.sp-v2 h3.sp-v2__upsell-name {
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  text-transform: uppercase;
  margin-bottom: 0;
}
.sp-v2 .sp-v2__upsell-name a {
  color: var(--sp-v2-dark);
	text-decoration: none;
}
.sp-v2 .sp-v2__upsell-name a:hover {
  color: var(--sp-v2-black);
}
.sp-v2 .sp-v2__upsell-price {
  color: var(--sp-v2-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  margin-top: 10px;
}
.sp-v2 .sp-v2__upsell-price del {
	color: var(--sp-v2-muted);
}
.sp-v2 .sp-v2__upsell-price ins {
  text-decoration: none;
}

/* --- Mobile --- */
@media (max-width: 767px) {
	.sp-v2 .sp-v2__gallery-mobile {
		display: block;
    height: 500px;
	}
	.sp-v2 .sp-v2__gallery {
		display: none;
	}
  .sp-v2 .sp-v2__gallery-mobile .swiper-slide img {
    height: 500px;
    object-fit: cover;
  }

  .sp-v2 .sp-v2__sidebar {
		width: 100%;
		position: static;
	}

  .sp-v2 .sp-v2__category-back {
    padding: 16px;
  }
  .sp-v2 .sp-v2__sidebar-inner {
    padding: 32px 16px;
  }

  .sp-v2 .sp-v2__benefits {
    margin-top: 23px;
  }

  .sp-v2 .sp-v2__accordion {
    margin-top: 23px;
  }

	.sp-v2 .sp-v2__upsell-title {
		padding: 20px 16px;
	}
  .sp-v2 .sp-v2__upsell-card:nth-child(n+3) {
    display: none;
  }
  .sp-v2 .sp-v2__upsell-grid {
    justify-content: space-between;
  }
  .sp-v2 .sp-v2__upsell-card {
    width: calc(50% - 1px);
  }
  .sp-v2 .sp-v2__upsell-image img {
    height: 250px;
    object-fit: cover;
  }
  .sp-v2 .sp-v2__upsell-card-content {
    padding: 10px;
  }
	.sp-v2 .sp-v2__upsell-badge--made-to-order::before {
		content: 'ПОД ЗАКАЗ';
	}
}

@media (prefers-reduced-motion: reduce) {
	.sp-v2 .sp-v2__notify-form,
	.sp-v2 .sp-v2__notify-form-inner > *,
	.sp-v2 .sp-v2__notify-label,
	.sp-v2 .sp-v2__notify-form-fields .wpcf7-text,
	.sp-v2 .sp-v2__notify-form-fields .wpcf7-email,
	.sp-v2 .sp-v2__cart-row {
		transition: none;
	}
	.sp-v2 .sp-v2__add-to-cart:not(.dionis-notify-button).loading::after,
	.sp-v2 .sp-v2__add-to-cart.is-notify-sending::after {
		animation: none;
	}
}
