.mfp-wqv .mfp-content {
    max-width: 1000px !important;
    width: 90% !important;
}

.site-footer-new__accordion-trigger-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #101012;
	text-transform: uppercase;
}

.sp-wqv-content {
    max-width: 1000px !important;
    max-height: min(92vh, 720px) !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.wqv-product-images {
    width: 50% !important;
}
.wqv-product-images img {
    width: 100%;
    height: 100%;
    max-height: 100% !important;
    object-fit: cover;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.wqv-product-info {
    width: 50% !important;
    padding: 32px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'PT Mono', monospace;
}

.wqv-product-info .wqv-product-content {
    padding: 0 !important;
    overflow: visible !important;
}

.wqv-product-info .woocommerce-variation.single_variation,
.wqv-product-info .single_variation {
    display: none !important;
}

.wqv-product-info .variations_form .quantity {
    display: none !important;
}

.wqv-product-info .woocommerce-variation-add-to-cart.variations_button {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* Title */
.wqv-product-info .product_title {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}

/* Price */
.wqv-product-info .price {
    font-family: 'PT Mono', monospace !important;
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
}
.wqv-product-info .price del {
    opacity: 0.5;
}

/* Description */
.wqv-product-info .woocommerce-product-details__short-description,
.wqv-product-info .woocommerce-product-details__short-description p {
    font-family: 'PT Mono', monospace !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin-bottom: 16px !important;
}

/* Ratings */
.wqv-product-info .woocommerce-product-rating {
    margin-bottom: 12px !important;
}

/* Variation dropdown -> hidden, replaced by JS buttons */
.wqv-product-info table.variations {
    display: none !important;
}

/* Purchase grid (variations + Abonnement) — aligned with single product */
.w22-qwv-purchase-grid {
    margin-bottom: 16px;
    padding-top: 8px;
}

.w22-qwv-purchase-grid .wqv-var-btn,
.w22-qwv-purchase-grid .wqv-sub-btn {
    padding: 0.125rem 0.25rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    text-align: center;
    white-space: nowrap;
}

.w22-qwv-purchase-grid .wqv-var-btn.is-active,
.w22-qwv-purchase-grid .wqv-sub-btn.is-active {
    opacity: 1;
    font-weight: 700;
}

.w22-purchase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    width: 100%;
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
}

.w22-purchase-sep {
    color: #9ca3af;
    line-height: 1;
    user-select: none;
}

.w22-purchase-divider {
    grid-column: 1 / -1;
    border-top: 1px solid #d1d5db;
    width: 80%;
    margin: 0.65rem auto;
}

/* Legacy — keep if old markup cached */
.wqv-variation-buttons {
    display: none !important;
}

/* Add to cart button */
.wqv-product-info .single_add_to_cart_button,
.wqv-product-info .button {
    font-family: 'PT Mono', monospace !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
    text-align: center !important;
}
.wqv-product-info .single_add_to_cart_button:hover,
.wqv-product-info .button:hover {
    background: #fff !important;
    color: #000 !important;
}

/* Close button */
.mfp-wqv .mfp-close {
    font-size: 28px !important;
    color: #000 !important;
    opacity: 0.6;
    right: 8px !important;
    top: 8px !important;
}
.mfp-wqv .mfp-close:hover {
    opacity: 1;
}

/* Product meta (SKU, categories) */
.wqv-product-info .product_meta {
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

/* ===== FOOTER ACCORDION (MOBILE) ===== */

@media (max-width: 767px) {
    .footer-section {
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 10px;
    }

    /* скрыть маленькие бордер-сепараторы под заголовками в мобилке */
    .footer-section > .w-\[15\%\],
    .footer-section > .w-\[20\%\] {
        display: none;
    }

    .footer-accordion-toggle {
        cursor: pointer;
    }

    .footer-accordion-icon {
        transition: transform 0.2s ease;
    }

    .footer-section.footer-open .footer-accordion-icon {
        transform: rotate(90deg);
    }

    .footer-section .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        text-align: left;
        margin-top: 0.5rem;
    }

    .footer-section.footer-open .footer-accordion-content {
        max-height: 500px; /* достаточно для контента */
    }

    .footer-section .footer-accordion-content > * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* всё содержимое аккордеона в мобилке выравниваем влево */
    .footer-section .footer-accordion-content .payment-icons,
    .footer-section .footer-accordion-content .w-24 {
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-section .footer-accordion-content .w-24 {
        width: auto !important;
        text-align: left;
    }

    /* скрыть все маленькие бордер-сепараторы в секциях футера на мобилке */
    .footer-section .w-\[15\%\],
    .footer-section .w-\[20\%\] {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-accordion-icon {
        display: none;
    }

    .footer-section .footer-accordion-content {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Mobile Quick View layout */
@media (max-width: 640px) {
    .sp-wqv-content {
        flex-direction: column !important;
        max-height: 90vh !important;
    }
    .wqv-product-images,
    .wqv-product-info {
        width: 100% !important;
    }
    .wqv-product-images {
        max-height: 250px;
    }
    .wqv-product-info {
        padding: 20px !important;
    }
}


/* Site footer (new main page) */
.site-footer-new {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 40px 0 0;
	gap: 40px;
	border-top: 1px solid #BBBBC2;
	background: #fff;
	color: #101012;
}

.site-footer-new__inner {
	width: 100%;
	padding: 0 var(--w22-header-gutter, 1rem) 40px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	box-sizing: border-box;
}

.site-footer-new__grid {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
	width: 100%;
}

.site-footer-new__nav {
	flex: 0 1 auto;
	min-width: 0;
	width: 55%;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px;
	align-items: start;
}

.site-footer-new__accordion {
	display: contents;
}

.site-footer-new__col--brand {
	flex: 0 1 min(420px, 36%);
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.site-footer-new__logo {
	order: 1;
}

.site-footer-new__newsletter-title {

	order: 2;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: min(16px, calc(100vw * 16 / 1440));
	line-height: min(19px, calc(100vw * 19 / 1440));
	color: #101012;
}

.site-footer-new__newsletter {
	order: 3;
}

.site-footer-new__legal-note {
	order: 4;
}

.site-footer-new__lang {
	order: 5;
}

.site-footer-new__col--contact {
	grid-column: 3;
}

.site-footer-new__top-row {
	display: contents;
}

.site-footer-new__item-heading {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

.site-footer-new__accordion-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	color: inherit;
}

.site-footer-new__accordion-chevron {
	display: none;
	width: 10px;
	height: 6px;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}

.site-footer-new__accordion-panel {
	display: block;
}

.site-footer-new__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.site-footer-new__col--brand {
	gap: 16px;
}

.site-footer-new__logo {
	display: inline-flex;
	width: fit-content;
}

.site-footer-new__logo img {
	display: block;
	width: 57px;
	height: 57px;
}

.site-footer-new__heading {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #101012;
}

.site-footer-new__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer-new__links a {
	font-family: 'Roboto', sans-serif;
	font-size: min(14px, calc(100vw * 14 / 1440));
	line-height: min(20px, calc(100vw * 20 / 1440));
	color: #101012;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.site-footer-new__links a:hover {
	opacity: 0.65;
}

.site-footer-new__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-weight: 400;
	font-family: 'Roboto', sans-serif;
	font-size: min(14px, calc(100vw * 14 / 1440));
	line-height: min(20px, calc(100vw * 20 / 1440));
	color: #101012;
}

.site-footer-new__contact p {
	margin: 0;
}

.site-footer-new__contact a {
	color: inherit;
	text-decoration: none;
}

.site-footer-new__contact a:hover {
	opacity: 0.65;
}

.site-footer-new__social {
	display: flex;
	align-items: center;
	gap: 8px;
	grid-column: 3;
	margin-top: -90px
}

.site-footer-new__col--kunden,
.site-footer-new__col--service,
.site-footer-new__col--contact {
	min-width: 0;
}

.site-footer-new__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #101012;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.site-footer-new__social-link:hover {
	background: #101012;
	color: #fff;
}

/* Иконки соцсетей выводятся через <img>, а не инлайновым svg,
   поэтому правило нужно и для него — иначе картинка рисуется
   по html-атрибутам, вылезает за 40px ссылки и строка переносится. */
.site-footer-new__social-link svg,
.site-footer-new__social-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* При наведении плитка чернеет, а иконка тёмная — инвертируем,
   иначе она сливается с фоном. */
.site-footer-new__social-link:hover img {
	filter: invert(1);
}

.site-footer-new__newsletter {
	width: 100%;
	max-width: 320px;
}

.site-footer-new .tnp-subscription-minimal {
	margin: 0;
	width: 100%;
	max-width: none;
}

.site-footer-new .tnp-subscription-minimal form {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	width: 100%;
	white-space: normal;
	text-align: left !important;
}

.site-footer-new .tnp-subscription-minimal input.tnp-email {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	max-width: none;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #BBBBC2;
	border-right: 0;
	border-radius: 0;
	background: #fff;
	font-family: 'Roboto Mono', monospace;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 21px;
	color: #909090;
}

.site-footer-new .tnp-subscription-minimal input.tnp-email::placeholder {
	font-family: 'Roboto Mono', monospace;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 21px;
	color: #909090;
}

.site-footer-new .tnp-subscription-minimal input.tnp-submit {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid #101012;
	border-radius: 0;
	background: #101012;
	color: transparent;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
	transition: opacity 0.2s ease;
}

.site-footer-new .tnp-subscription-minimal input.tnp-submit:hover {
	opacity: 0.85;
}

.site-footer-new .tnp-subscription-minimal .tnp-field.tnp-privacy-field,
.site-footer-new .tnp-subscription-minimal .tnp-privacy-field {
	flex: 0 0 100%;
	margin: 8px 0 0;
	font-family: 'Roboto', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 14px;
	color: #909090;
}

.site-footer-new .tnp-subscription-minimal .tnp-field.tnp-privacy-field label,
.site-footer-new .tnp-subscription-minimal .tnp-privacy-field label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font: inherit;
	color: inherit;
}

.site-footer-new .tnp-subscription-minimal .tnp-field.tnp-privacy-field a,
.site-footer-new .tnp-subscription-minimal .tnp-privacy-field a {
	font: inherit;
	color: inherit;
}

.site-footer-new__legal-note {
	margin: 0;
	max-width: 320px;
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	line-height: 1.45;
	color: #6b6b73;
}

.site-footer-new__legal-note a {
	color: inherit;
	text-decoration: underline;
}

.site-footer-new__lang {
	position: relative;
	margin-top: 50px;
	width: fit-content;
}

.site-footer-new__lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

#footer-current-lang-label {
	font-family: 'Roboto', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 19px;
	color: #101012;
}

.site-footer-new__lang-globe {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.site-footer-new__lang-chevron {
	width: 10px;
	height: 6px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.site-footer-new__lang.is-open .site-footer-new__lang-chevron {
	transform: rotate(180deg);
}

.site-footer-new__lang-menu {
	position: absolute;
	left: 0;
	bottom: calc(100% + 8px);
	min-width: 140px;
	padding: 4px 0;
	border: 1px solid #BBBBC2;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 16, 18, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 20;
}

.site-footer-new__lang.is-open .site-footer-new__lang-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-footer-new__lang-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer-new__lang-menu li {
	margin: 0;
}

.site-footer-new__lang-menu a {
	display: block;
	padding: 8px 14px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 1.2;
	color: #101012;
	text-decoration: none;
}

.site-footer-new__lang-menu a:hover {
	background: #f6f7f1;
}

.site-footer-new__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid #BBBBC2;
}

.site-footer-new__copy {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	line-height: 1.4;
	color: #6b6b73;
}

.site-footer-new__payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.site-footer-new__payment-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 24px;
	flex-shrink: 0;
}

.site-footer-new__payment-icon svg,
.site-footer-new__payment-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.site-footer-new__social {

		margin-top: 0;
	}
	.site-footer-new__grid {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}

	.site-footer-new__col--brand {
		flex: none;
		max-width: none;
		width: 100%;
	}

	.site-footer-new__nav {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	.site-footer-new__accordion {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		width: 100%;
		gap: 0;
	}

	.site-footer-new__col--contact {
		grid-column: auto;
	}

	.site-footer-new__social {
		grid-column: auto;
		justify-content: center;
		width: 100%;
	}

	.site-footer-new__links a {
		font-size: 14px;
		line-height: 20px;
	}

	.site-footer-new__contact {
		font-size: 14px;
		line-height: 20px;
	}
}

@media (max-width: 767.98px) {
	.site-footer-new {
		padding-top: min(32px, calc(100vw * 32 / 430));
		gap: min(32px, calc(100vw * 32 / 430));
	}

	.site-footer-new__inner {
		padding: 0 var(--w22-mobile-header-gutter, 1rem) min(32px, calc(100vw * 32 / 430));
		gap: min(32px, calc(100vw * 32 / 430));
	}

	.site-footer-new__grid {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: min(24px, calc(100vw * 24 / 430));
	}

	.site-footer-new__nav {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: min(24px, calc(100vw * 24 / 430));
	}

	.site-footer-new__col--brand {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: min(16px, calc(100vw * 16 / 430));
		width: 100%;
	}

	.site-footer-new__logo,
	.site-footer-new__newsletter-title,
	.site-footer-new__newsletter,
	.site-footer-new__legal-note,
	.site-footer-new__lang {
		order: unset;
	}

	.site-footer-new__top-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: min(16px, calc(100vw * 16 / 430));
		width: 100%;
	}

	.site-footer-new__newsletter-title {
		display: block;
		width: 100%;
		font-size: min(16px, calc(100vw * 16 / 430));
		line-height: min(19px, calc(100vw * 19 / 430));
	}

	.site-footer-new__newsletter {
		max-width: none;
		width: 100%;
	}

	.site-footer-new .tnp-subscription-minimal input.tnp-email {
		font-size: min(16px, calc(100vw * 16 / 430));
		line-height: min(21px, calc(100vw * 21 / 430));
	}

	.site-footer-new .tnp-subscription-minimal input.tnp-email::placeholder {
		font-size: min(16px, calc(100vw * 16 / 430));
		line-height: min(21px, calc(100vw * 21 / 430));
	}

	.site-footer-new__legal-note {
		max-width: none;
		width: 100%;
		font-size: min(12px, calc(100vw * 12 / 430));
		line-height: min(16px, calc(100vw * 16 / 430));
	}

	.site-footer-new__accordion {
		display: flex;
		flex-direction: column;
		width: 100%;
		border-top: 1px solid #BBBBC2;
	}

	.site-footer-new__accordion-item {

		gap: 0;
	}

	.site-footer-new__accordion-trigger {
		padding: min(16px, calc(100vw * 16 / 430)) 0;
		text-transform: none;
		letter-spacing: 0;
		font-size: min(16px, calc(100vw * 16 / 430));
		line-height: min(19px, calc(100vw * 19 / 430));
	}

	.site-footer-new__accordion-chevron {
		display: block;
		width: min(10px, calc(100vw * 10 / 430));
		height: min(6px, calc(100vw * 6 / 430));
	}

	.site-footer-new__accordion-item.is-open .site-footer-new__accordion-chevron {
		transform: rotate(180deg);
	}

	.site-footer-new__accordion-panel {
		display: none;
		padding-bottom: min(16px, calc(100vw * 16 / 430));
	}

	.site-footer-new__accordion-item.is-open .site-footer-new__accordion-panel {
		display: block;
	}

	.site-footer-new__social {
		justify-content: center;
		width: 100%;
		gap: min(8px, calc(100vw * 8 / 430));
	}

	.site-footer-new__social-link {
		width: min(50px, calc(100vw * 50 / 430));
		height: min(50px, calc(100vw * 50 / 430));
	}

	.site-footer-new__bottom {
		flex-direction: column;
		align-items: center;
		gap: min(16px, calc(100vw * 16 / 430));
		padding-top: min(24px, calc(100vw * 24 / 430));
		text-align: center;
	}

	.site-footer-new__copy {
		width: 100%;
		font-size: min(12px, calc(100vw * 12 / 430));
		line-height: min(16px, calc(100vw * 16 / 430));
	}

	.site-footer-new__payments {
		justify-content: center;
		width: 100%;
	}

	.site-footer-new .tnp-subscription-minimal form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) min(48px, calc(100vw * 48 / 430));
		column-gap: 0;
		row-gap: min(8px, calc(100vw * 8 / 430));
		align-items: stretch;
		width: 100%;
	}

	.site-footer-new .tnp-subscription-minimal input.tnp-email {
		grid-column: 1;
		grid-row: 1;
		flex: unset;
		width: 100%;
		min-width: 0;
		height: min(48px, calc(100vw * 48 / 430));
		padding: 0 min(16px, calc(100vw * 16 / 430));
		border-right: 0;
	}

	.site-footer-new .tnp-subscription-minimal input.tnp-submit {
		grid-column: 2;
		grid-row: 1;
		flex: unset;
		width: min(48px, calc(100vw * 48 / 430));
		height: min(48px, calc(100vw * 48 / 430));
		margin-top: 0;
		background-size: min(18px, calc(100vw * 18 / 430)) min(18px, calc(100vw * 18 / 430));
	}

	.site-footer-new .tnp-subscription-minimal .tnp-field.tnp-privacy-field,
	.site-footer-new .tnp-subscription-minimal .tnp-privacy-field {
		grid-column: 1 / -1;
		grid-row: 2;
		flex: unset;
		width: 100%;
		margin: 0;
		font-size: min(12px, calc(100vw * 12 / 430));
		line-height: min(14px, calc(100vw * 14 / 430));
	}
}

/* === Плавающие кнопки справа: WhatsApp и почта (template-parts/contact-float.php) === */
.w22-contact-float {
	position: fixed;
	top: 50%;
	/* По центру над плавающей корзиной (64 px у самого края окна). */
	right: calc(7px + var(--w22-page-gutter, 0px));
	z-index: 45;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transform: translateY(-50%);
}

.w22-contact-float__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	color: #101012;
	text-decoration: none;
}

.w22-contact-float__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 12px rgba(16, 16, 18, 0.16);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.w22-contact-float__icon svg {
	display: block;
}

/* Подпись выезжает слева при наведении и с клавиатуры. */
.w22-contact-float__label {
	position: absolute;
	top: 50%;
	right: calc(100% + 10px);
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 12px;
	font-family: 'Roboto', sans-serif;
	line-height: normal;
	white-space: nowrap;
	color: #fff;
	background: #101012;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(6px, -50%);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.w22-contact-float__title {
	font-size: 12px;
	font-weight: 400;
	color: #bbbbc2;
}

.w22-contact-float__value {
	font-size: 14px;
	font-weight: 500;
}

.w22-contact-float__item:focus-visible .w22-contact-float__label {
	opacity: 1;
	visibility: visible;
	transform: translate(0, -50%);
}

.w22-contact-float__item:focus-visible .w22-contact-float__icon {
	color: #fff;
	background: #101012;
}

@media (hover: hover) {
	.w22-contact-float__item:hover .w22-contact-float__label {
		opacity: 1;
		visibility: visible;
		transform: translate(0, -50%);
	}

	.w22-contact-float__item:hover .w22-contact-float__icon {
		color: #fff;
		background: #101012;
	}
}

/* Пока открыта боковая корзина, кнопки не нужны. */
.xoo-wsc-cart-active .w22-contact-float {
	display: none;
}

@media (max-width: 767.98px) {
	.w22-contact-float {
		right: 12px;
		gap: 10px;
	}

	.w22-contact-float__icon {
		width: 44px;
		height: 44px;
	}

	.w22-contact-float__icon svg {
		width: 20px;
		height: 20px;
	}
}
