/* WINE SPLASH — страница товара (single-product.php).
   Вёрстка 1:1 по Figma «WineSplash | Product Card» (узел 1:2), десктоп 1920.
   Порядок блоков: хлебные крошки → товар → «Ключевые элементы» → отзывы →
   «Вам также может понравиться» → мотивация → подвал. */

.wspl-product-page {
	--wspl-line: #cecece;
	line-height: normal;
}

/* ---------- Хлебные крошки: 14px, зазор 19px, без разделителей ---------- */
.wspl-product-page > .wspl-container:first-child { padding-top: 28px; padding-bottom: 0; }
.wspl-product-page .wspl-breadcrumbs { gap: 19px; font-size: 14px; line-height: normal; }
.wspl-product-page .wspl-breadcrumbs__sep { display: none; }

/* ---------- Ряд 1: фото 724×623 | инфо ---------- */
.wspl-product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 32px;
	align-items: stretch; /* колонка с описанием по высоте равна фото — кнопки прижаты к его низу */
	margin-top: 33px;
}
/* Разделитель под рядом — ровно на ширину контента (1480), через 35px после фото */
.wspl-product::after {
	content: '';
	grid-column: 1 / -1;
	height: 1px;
	margin-top: 35px;
	background: var(--wspl-line);
}
@media (max-width: 900px) {
	.wspl-product { grid-template-columns: 1fr; }
}

.wspl-product__main-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 724 / 623;
	background: #f2f2f2;
}
.wspl-product__main-image img,
.wspl-product__back-image { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.wspl-product__engrave-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.wspl-product__info { display: flex; flex-direction: column; gap: 6px; }

.wspl-product__heading { display: flex; flex-direction: column; width: 292px; max-width: 100%; }
.wspl-product__title {
	font-family: var(--wspl-font-display);
	font-weight: 600;
	font-size: 28px;
	line-height: normal;
	color: #000;
}
.wspl-product__price { font-size: 18px; line-height: normal; color: #555; }
.wspl-product__price ins { text-decoration: none; }
.wspl-product__price del { margin-right: 8px; opacity: .6; }

.wspl-product__description { margin-top: 14px; /* 6 (gap) + 14 = 20 до описания */ font-size: 13px; line-height: normal; color: #000; }
.wspl-product__description p + p { margin-top: 1.2em; }

/* ---------- Выбор цвета ---------- */
.wspl-variations-form, form.cart { display: flex; flex-direction: column; gap: 40px; }
.wspl-product-choice { display: flex; flex-direction: column; gap: 17px; margin: 0; }
.wspl-product-choice__group { display: flex; flex-direction: column; gap: 10px; position: relative; }
.wspl-product-choice__group .wspl-label {
	margin: 0;
	font-weight: var(--wspl-font-weight-medium);
	font-size: 15px;
	line-height: normal;
	text-transform: uppercase;
}
.wspl-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.wspl-swatch {
	width: 40px; height: 40px;
	border-radius: 5px;
	border: 1px solid #c7c7c7;
	padding: 0;
	cursor: pointer;
	position: relative;
	background-color: #ccc;
	background-size: cover;
}
.wspl-swatch.is-selected { border-color: #000; outline: none; }
.wspl-swatch:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
select.wspl-hidden-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Гравировка (без рамки, как в макете) ---------- */
.wspl-engraving { border: 0; padding: 0; display: flex; flex-direction: column; gap: 19px; }
.wspl-engraving__toggle { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: normal; cursor: pointer; }
.wspl-engraving__toggle input[type="checkbox"] {
	appearance: none; -webkit-appearance: none;
	flex: none;
	width: 21px; height: 21px; margin: 0;
	border: 1px solid #000; border-radius: 5px;
	background: #fff; cursor: pointer; position: relative;
}
.wspl-engraving__toggle input[type="checkbox"]:checked::after {
	content: '';
	position: absolute; left: 50%; top: 50%;
	width: 5px; height: 10px;
	border: solid #000; border-width: 0 1.5px 1.5px 0;
	transform: translate(-50%, -62%) rotate(45deg);
}
.wspl-engraving__hint {
	flex: none;
	width: 12px; height: 12px;
	border-radius: 50%; border: 1px solid currentColor;
	font-size: 8px; line-height: 1;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: help;
}
.wspl-engraving__fields { display: flex; flex-direction: column; gap: 19px; margin: 0; }
.wspl-engraving__row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 480px) { .wspl-engraving__row { grid-template-columns: 1fr; gap: 19px; } }

.wspl-engraving .wspl-field {
	height: 36px;
	padding: 10px 11px;
	border: 1px solid #cecece;
	border-radius: 5px;
	font-size: 11px;
	line-height: normal;
	color: #000;
	background-color: #fff;
}
.wspl-engraving .wspl-field::placeholder { color: #5b5b5b; opacity: 1; }
.wspl-engraving select.wspl-field {
	appearance: none; -webkit-appearance: none;
	color: #000;
	padding-right: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='5' viewBox='0 0 12 5' fill='none'%3E%3Cpath d='M.5.5 6 4.5 11.5.5' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	cursor: pointer;
}
.wspl-engraving select.wspl-field:has(option[value=""]:checked) { color: #5b5b5b; }

/* ---------- Количество + «Добавить в корзину» ---------- */
.woocommerce-variation-add-to-cart,
.wspl-qty-add { display: flex; align-items: center; gap: 35px; }
.wspl-product .quantity {
	width: 171px; height: 40px;
	border: 1px solid #000; border-radius: 5px;
	justify-content: space-between;
	padding: 0 10px;
}
.wspl-product .quantity .qty { width: 28px; font-size: 13px; color: #000; padding: 0; }
.wspl-product .wspl-qty-btn { width: 40px; height: 38px; font-size: 22px; font-weight: 300; line-height: 1; color: #000; }
.wspl-product .wspl-qty-btn:hover { background: none; opacity: .6; }
.wspl-product .single_add_to_cart_button {
	flex: 1;
	height: 40px;
	padding: 10px;
	font-size: 11px;
	line-height: normal;
	text-transform: none;
	letter-spacing: 0;
	border-radius: 5px;
}
.wspl-product .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }

.woocommerce-variation-price { display: none; } /* цена обновляется вверху, под заголовком */
.woocommerce-variation-availability { color: var(--wspl-color-text-muted); font-size: 12px; }
.woocommerce-variation-availability:not(:empty) { margin-bottom: 10px; }
.woocommerce-variation-description p { color: var(--wspl-color-text-muted); font-size: 12px; }
.single_variation_wrap { display: flex; flex-direction: column; }

/* ---------- Ряд 2: коллаж 724×605 | «Ключевые элементы» + аккордеон ---------- */
.wspl-product-more {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	padding-top: 25px;
	padding-bottom: 64px;
	align-items: start; /* коллаж не двигается, когда справа раскрывают спойлеры */
}
@media (max-width: 900px) {
	.wspl-product-more { grid-template-columns: 1fr; }
}
.wspl-product-more__content { display: flex; flex-direction: column; gap: 13px; }

.wspl-collage {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1.5fr;
	gap: 42px 38px;
	aspect-ratio: 724 / 605;
}
.wspl-collage--single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.wspl-collage__tall { grid-column: 1; grid-row: 1 / 3; }
.wspl-collage__top { grid-column: 2; grid-row: 1; }
.wspl-collage__bottom { grid-column: 2; grid-row: 2; }
.wspl-collage > div { overflow: hidden; min-height: 0; }
.wspl-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wspl-product-features { display: flex; flex-direction: column; gap: 20px; }
.wspl-product-features h2 { font-family: var(--wspl-font-display); font-size: 20px; font-weight: 400; line-height: normal; margin: 0; }
.wspl-product-features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.wspl-product-features__item { display: flex; flex-direction: column; gap: 24px; }
.wspl-product-features__photo { aspect-ratio: 346 / 254; overflow: hidden; }
.wspl-product-features__photo img { width: 100%; height: 100%; object-fit: cover; }
.wspl-product-features__body { display: flex; flex-direction: column; gap: 16px; font-size: 13px; line-height: normal; }
.wspl-product-features__item h3 { font-size: 13px; font-weight: 700; line-height: normal; margin: 0; }
.wspl-product-features__item p { color: #000; }
.wspl-product-features__item p + p { margin-top: 1.2em; }
@media (max-width: 500px) { .wspl-product-features__grid { grid-template-columns: 1fr; } }

/* Аккордеон: линии на всю ширину колонки, слева «+», 13px Stem Light */
.wspl-product__accordion { border: 0; margin: 0; }
.wspl-accordion-row { border-top: 1px solid var(--wspl-line); padding: 9px 0 10px; }
.wspl-accordion-row:last-child { padding-bottom: 0; }
.wspl-accordion-row > summary {
	cursor: pointer;
	list-style: none;
	display: flex; align-items: center; gap: 8px;
	font-weight: var(--wspl-font-weight-light);
	font-size: 13px; line-height: 17px;
}
.wspl-accordion-row > summary::-webkit-details-marker { display: none; }
.wspl-accordion-row > summary::before {
	content: '';
	flex: none;
	width: 9px; height: 9px;
	background:
		linear-gradient(#000, #000) center / 100% 1px no-repeat,
		linear-gradient(#000, #000) center / 1px 100% no-repeat;
}
.wspl-accordion-row[open] > summary::before { background: linear-gradient(#000, #000) center / 100% 1px no-repeat; }
.wspl-accordion-row__body { padding: 10px 0 4px 17px; color: #000; font-size: 13px; }
.wspl-accordion-row__body p + p { margin-top: .8em; }
.wspl-accordion-row__body iframe { max-width: 100%; }

/* ---------- Отзывы ---------- */
.wspl-product-reviews { padding: 47px 0 40px; }
.wspl-product-reviews__grid { display: grid; grid-template-columns: 220px 1fr; gap: 158px; align-items: start; }
.wspl-product-reviews__side { display: flex; flex-direction: column; gap: 21px; align-items: stretch; }
.wspl-product-reviews__side h2 {
	font-family: var(--wspl-font-sans);
	font-weight: var(--wspl-font-weight-medium);
	font-size: 40px;
	line-height: .7488;
	text-transform: uppercase;
	padding-top: 6px;
}
.wspl-product-page .wspl-btn { height: 40px; padding: 10px; font-size: 11px; text-transform: none; letter-spacing: 0; line-height: normal; border-radius: 5px; }

.wspl-reviews { display: flex; flex-direction: column; align-items: center; gap: 67px; }
.wspl-reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; width: 100%; }
.wspl-review { display: flex; flex-direction: column; gap: 47px; min-height: 211px; }
.wspl-review[hidden] { display: none; }
.wspl-review .wspl-stars { gap: 4px; }
.wspl-review .wspl-stars svg { width: 13px; height: 13px; }
.wspl-review__text { font-weight: var(--wspl-font-weight-light); font-size: 16px; line-height: normal; }
.wspl-review__author { font-size: 14px; line-height: normal; margin-top: auto; }
.wspl-reviews__empty { grid-column: 1 / -1; font-weight: var(--wspl-font-weight-light); font-size: 16px; }

.wspl-reviews__pager { display: flex; align-items: center; gap: 8px; }
.wspl-reviews__pager[hidden] { display: none; }
.wspl-reviews__dot, .wspl-reviews__arrow { width: 13px; height: 13px; padding: 0; background: none; border: 0; }
.wspl-reviews__dot { border: 1px solid #000; border-radius: 5px; }
.wspl-reviews__dot.is-active { background: #000; }
.wspl-reviews__arrow { position: relative; }
.wspl-reviews__arrow::before {
	content: ''; position: absolute; top: 3px; width: 7px; height: 7px;
	border: solid #000; border-width: 0 0 1px 1px;
}
.wspl-reviews__arrow--prev::before { left: 5px; transform: rotate(45deg); }
.wspl-reviews__arrow--next::before { left: 1px; transform: rotate(-135deg); }
.wspl-reviews__arrow:disabled { opacity: .3; cursor: default; }

/* ---------- Окно «Оставить отзыв» ---------- */
body.wspl-modal-open { overflow: hidden; }
.wspl-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.wspl-modal[hidden] { display: none; }
.wspl-modal__backdrop { position: absolute; inset: 0; background: var(--wspl-color-overlay); }
.wspl-modal__panel {
	position: relative;
	width: 100%; max-width: 560px; max-height: calc(100vh - 48px); overflow-y: auto;
	background: #fff;
	border-radius: 5px;
	padding: 40px;
	line-height: normal;
}
.wspl-modal__close {
	position: absolute; top: 14px; right: 14px;
	width: 32px; height: 32px; padding: 0;
	background: none; border: 0; cursor: pointer;
}
.wspl-modal__close::before, .wspl-modal__close::after {
	content: ''; position: absolute; left: 7px; top: 15px; width: 18px; height: 1px; background: #000;
}
.wspl-modal__close::before { transform: rotate(45deg); }
.wspl-modal__close::after { transform: rotate(-45deg); }
.wspl-modal__close:hover { opacity: .6; }

.wspl-review-form .comment-reply-title,
.wspl-review-form #reply-title {
	display: block;
	font-weight: var(--wspl-font-weight-medium);
	font-size: 24px; line-height: .7488; text-transform: uppercase;
	margin: 0 0 28px; padding-right: 32px;
}
.wspl-review-form #cancel-comment-reply-link { display: none; }
.wspl-review-form form { display: flex; flex-direction: column; gap: 18px; }
.wspl-review-form form > p { margin: 0; }
.wspl-review-form .comment-form-author, .wspl-review-form .comment-form-email { display: block; }
.wspl-review-form label, .wspl-review-form legend {
	display: block; padding: 0;
	font-weight: var(--wspl-font-weight-medium);
	font-size: 12px; text-transform: uppercase; letter-spacing: 0;
	margin-bottom: 8px;
}
.wspl-review-form .required { color: #000; }
.wspl-review-form input[type="text"],
.wspl-review-form input[type="email"],
.wspl-review-form textarea {
	width: 100%;
	border: 1px solid #cecece; border-radius: 5px; background: #fff;
	padding: 10px 11px;
	font-size: 13px; line-height: normal; color: #000;
	outline: none;
}
.wspl-review-form input[type="text"], .wspl-review-form input[type="email"] { height: 40px; }
.wspl-review-form textarea { min-height: 130px; resize: vertical; }
.wspl-review-form input::placeholder, .wspl-review-form textarea::placeholder { color: #5b5b5b; opacity: 1; }
.wspl-review-form input:focus, .wspl-review-form textarea:focus { border-color: #000; }
.wspl-review-form .form-submit { margin: 6px 0 0; }
.wspl-review-form .submit {
	width: 100%; height: 40px; padding: 10px;
	background: #000; color: #fff; border: 1px solid #000; border-radius: 5px;
	font-size: 11px; line-height: normal; text-transform: none; cursor: pointer;
}
.wspl-review-form .submit:hover { background: #1a1a1a; }
.wspl-review-form__note { font-size: 12px; color: #5b5b5b; margin: 0; }

/* Оценка звёздами: пять radio, визуально — иконки-звёзды */
.wspl-rating { border: 0; margin: 0; padding: 0; min-width: 0; }
.wspl-rating__stars { position: relative; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.wspl-rating__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wspl-rating__stars label {
	width: 26px; height: 26px; margin: 0; cursor: pointer;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13' fill='none' stroke='%23000' stroke-width='.8'%3E%3Cpath d='M6.5 0 8.4 4.2 13 4.8 9.7 7.9l.8 4.7-4-2.2-4 2.2.8-4.7L0 4.8l4.6-.6L6.5 0Z'/%3E%3C/svg%3E") center / 100% no-repeat;
	transition: transform var(--wspl-transition-fast);
}
.wspl-rating__stars label:hover { transform: scale(1.12); }
.wspl-rating__stars input:checked ~ label,
.wspl-rating__stars label:hover,
.wspl-rating__stars label:hover ~ label {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13' fill='%23000'%3E%3Cpath d='M6.5 0 8.4 4.2 13 4.8 9.7 7.9l.8 4.7-4-2.2-4 2.2.8-4.7L0 4.8l4.6-.6L6.5 0Z'/%3E%3C/svg%3E");
}
.wspl-rating__stars input:focus-visible + label { outline: 1px solid #000; outline-offset: 2px; }
.wspl-review-form p.stars, .wspl-review-form select#rating { display: none; } /* штатные звёзды WooCommerce не нужны */
@media (max-width: 560px) { .wspl-modal__panel { padding: 28px 20px; } }
@media (max-width: 1200px) {
	.wspl-product-reviews__grid { gap: 48px; }
}
@media (max-width: 900px) {
	.wspl-product-reviews__grid { grid-template-columns: 1fr; gap: 32px; }
	.wspl-reviews__list { grid-template-columns: 1fr; }
	.wspl-review { min-height: 0; gap: 20px; }
}

/* ---------- «Вам также может понравиться» ---------- */
.wspl-related { padding-top: 44px; padding-bottom: 55px; }
.wspl-related .wspl-section-header { align-items: baseline; margin-bottom: 31px; flex-wrap: nowrap; }
.wspl-related .wspl-section-header h2 { font-family: var(--wspl-font-sans); font-size: 40px; font-weight: 400; line-height: normal; }
.wspl-related .wspl-underline-link { font-size: 12px; letter-spacing: 0; line-height: normal; gap: 4px; flex: none; }
.wspl-related .wspl-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 31px 33px; align-items: start; }
.wspl-related .wspl-product-card__photo { aspect-ratio: 346 / 400; border-radius: 0; }
.wspl-related .wspl-product-card__badge:not(.wspl-product-card__badge--preorder) { display: none; }
.wspl-related .wspl-product-card__meta { margin-top: 13px; display: flex; flex-direction: column; gap: 13px; }
.wspl-related .wspl-product-card__name-price { font-weight: var(--wspl-font-weight-medium); font-size: 15px; line-height: normal; align-items: center; gap: 12px; }
.wspl-related .wspl-product-card__name { font-weight: var(--wspl-font-weight-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wspl-related .wspl-product-card__desc { margin: 0; display: block; -webkit-line-clamp: unset; font-size: 13px; line-height: 1.4; color: #666; }
@media (max-width: 1024px) {
	.wspl-related .wspl-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.wspl-related .wspl-section-header h2 { font-size: 28px; }
}
@media (max-width: 640px) {
	.wspl-related .wspl-grid-4 { grid-template-columns: 1fr; }
	.wspl-product-reviews__side h2 { font-size: 32px; }
}

/* ---------- Мотивация: 531 | 388 | 377, зазор 92 ---------- */
.wspl-product-motivation { background: #fff; padding: 40px 0 45px; }
.wspl-product-motivation__grid { display: grid; grid-template-columns: 531fr 388fr 377fr; gap: 92px; align-items: start; }
.wspl-product-motivation__item { display: flex; flex-direction: column; gap: 29px; }
.wspl-product-motivation__item h3 {
	font-weight: var(--wspl-font-weight-medium);
	font-size: 24px;
	line-height: .7488;
	text-transform: uppercase;
	max-width: 8.5em;
	margin: 0;
	white-space: pre-line;
	text-wrap: balance;
}
.wspl-product-motivation__item p { color: #000; font-size: 16px; line-height: normal; }
.wspl-product-motivation__item.is-lead { gap: 13px; }
.wspl-product-motivation__item.is-lead h3 { font-size: 40px; max-width: none; }
.wspl-product-motivation__eyebrow { letter-spacing: 0; min-height: 13px; display: flex; align-items: center; }
.wspl-product-motivation__eyebrow svg { width: 105px; height: 13px; }
@media (max-width: 1200px) {
	.wspl-product-motivation__grid { gap: 40px; }
	.wspl-product-motivation__item.is-lead h3 { font-size: 32px; }
}
@media (max-width: 900px) { .wspl-product-motivation__grid { grid-template-columns: 1fr; gap: 32px; } }

.wspl-review-form__consent { font-size: 12px; line-height: 1.4; color: #5b5b5b; margin: 0 0 16px; }
.wspl-review-form__consent a { color: inherit; text-decoration: underline; }
.wspl-review-form .comment-form-cookies-consent { display: none; }

/* Видео и список документов в аккордеоне */
.wspl-product__video { display: block; width: 100%; max-height: 420px; background: #000; }
.wspl-doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wspl-doc-list a { text-decoration: underline; text-underline-offset: 3px; }

/* Подсказки «?» у галочек гравировки: по наведению, фокусу и нажатию (на телефоне) */
.wspl-engraving__hint { position: relative; }
.wspl-engraving__hint:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.wspl-engraving__tip {
	display: none; position: absolute; right: -6px; bottom: calc(100% + 8px); z-index: 20;
	width: max-content; max-width: min(260px, 80vw); padding: 10px 12px;
	background: #000; color: #fff; border-radius: 5px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
	font-size: 12px; font-weight: 400; line-height: 1.4; text-align: left; text-transform: none; letter-spacing: 0; cursor: default;
}
.wspl-engraving__hint:hover .wspl-engraving__tip,
.wspl-engraving__hint:focus .wspl-engraving__tip,
.wspl-engraving__hint.is-open .wspl-engraving__tip { display: block; }

/* Галочка «Мне не подходит предложенный дизайн» — текст может переноситься на две строки */
.wspl-engraving__custom { align-items: flex-start; }
.wspl-engraving__custom input[type="checkbox"] { margin-top: -2px; }
.wspl-engraving__custom .wspl-engraving__hint { margin-top: 3px; }

/* Ползунок размера шрифта гравировки */
.wspl-engraving__size { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.wspl-engraving__size-label { font-size: 13px; line-height: normal; color: #000; }
.wspl-engraving__size input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; margin: 0; cursor: pointer; }
.wspl-engraving__size input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: #000; }
.wspl-engraving__size input[type="range"]::-moz-range-track { height: 1px; background: #000; }
.wspl-engraving__size input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #000; border: 0; margin-top: -8px; }
.wspl-engraving__size input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #000; border: 0; }
.wspl-engraving__size input[type="range"]:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.wspl-engraving__warn { margin: 0; font-size: 12px; color: #b32d2e; }

/* Вопросы в карточке товара: свёрнуты по умолчанию, раскрываются через «+» */
.wspl-faq-list { display: flex; flex-direction: column; }
.wspl-faq-item { border-top: 1px solid var(--wspl-line); padding: 8px 0; }
.wspl-faq-item:first-child { border-top: 0; padding-top: 0; }
.wspl-faq-item:last-child { padding-bottom: 0; }
.wspl-faq-item > summary {
	cursor: pointer; list-style: none;
	display: flex; align-items: center; gap: 8px;
	font-weight: 700; font-size: 13px; line-height: 17px;
}
.wspl-faq-item > summary::-webkit-details-marker { display: none; }
.wspl-faq-item > summary::before {
	content: ''; flex: none; width: 9px; height: 9px;
	background:
		linear-gradient(#000, #000) center / 100% 1px no-repeat,
		linear-gradient(#000, #000) center / 1px 100% no-repeat;
}
.wspl-faq-item[open] > summary::before { background: linear-gradient(#000, #000) center / 100% 1px no-repeat; }
.wspl-faq-item__answer { padding: 8px 0 2px 17px; font-weight: var(--wspl-font-weight-light); font-size: 13px; }
.wspl-faq-item__answer p + p { margin-top: .8em; }


/* ---------- Предзаказ, кнопки вровень с низом фото, текстовые свотчи ---------- */

/* Форма покупки занимает остаток колонки, а строка «количество + кнопка» прижата к низу — вровень с фото. */
.wspl-product__info > .wspl-variations-form,
.wspl-product__info > .wspl-simple-cart { flex: 1 1 auto; }
.wspl-product__info > .wspl-simple-cart { padding-top: 24px; }
.wspl-simple-cart { display: flex; flex-direction: column; gap: 40px; }
.wspl-simple-cart > .wspl-qty-add,
.wspl-variations-form .single_variation_wrap { margin-top: auto; }
.wspl-simple-cart .wspl-qty-add .single_add_to_cart_button { flex: 1; }
a.single_add_to_cart_button { text-decoration: none; }

/* Цена-заглушка и пустая цена */
.wspl-product__price:empty { display: none; }

/* Плашка «Доступно для предзаказа» не нужна: статус виден по цене / «Доступен предзаказ» и по кнопке */
.wspl-product .stock.available-on-backorder,
.woocommerce-variation-availability .available-on-backorder { display: none; }

/* Свотч без заданного цвета — кнопка с названием */
.wspl-swatch--text {
	width: auto; min-width: 40px; padding: 0 14px;
	background: #fff; color: #000;
	font-family: inherit; font-size: 13px; line-height: 38px; white-space: nowrap;
}

@media (max-width: 560px) {
	.wspl-qty-add, .woocommerce-variation-add-to-cart { gap: 12px; }
}

/* Счётчик: скрипт WooCommerce при выборе вариации ставит ему inline display:block — держим flex */
.wspl-product .quantity { display: flex !important; align-items: center; }

/* Отступ между описанием и выбором цвета / полями гравировки */
.wspl-product__description + .wspl-variations-form,
.wspl-product__description + .wspl-simple-cart { margin-top: 32px; }
