/* ============================================================
 * SMILE HUNTER — single product page
 * ============================================================ */

/* Гарантуємо повну ширину main + центрування container.
 * Без цього Woodmart parent css може лишити .sh-product вузьким
 * і весь контент липне до лівого краю. */
.sh-product {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}
.sh-product * { box-sizing: border-box; }

.sh-product .container {
	width: 100%;
	max-width: 1400px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 12px;
	box-sizing: border-box;
}
@media (min-width: 700px)  { .sh-product .container { padding: 0 20px; } }
@media (min-width: 1024px) { .sh-product .container { padding: 0 40px; } }

/* Related section теж усередині .container, але дамо явний центр про всяк випадок. */
.sh-product .related-section,
.sh-product .product-main,
.sh-product .details {
	width: 100%;
}

.sh-product .eyebrow {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--sh-ebony);
	margin-bottom: 14px;
}

/* ===== breadcrumb ===== */
.sh-product .crumbs { padding: 14px 0 4px; font-size: 12px; color: var(--sh-muted); }
.sh-product .crumbs a:hover { color: var(--sh-ink); }
.sh-product .crumbs .sep { padding: 0 6px; opacity: .6; }
.sh-product .crumbs .here { color: var(--sh-ink); font-weight: 600; }

/* ===== product main grid ===== */
.sh-product .product-main { padding: 16px 0 16px; }
@media (min-width: 1024px) { .sh-product .product-main { padding: 24px 0 24px; } }
.sh-product .product-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
	.sh-product .product-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: flex-start; }
}

/* ===== sticky ліва колонка (фото + lifestyle-іконки) =====
 * Права колонка довша → ліва прилипає і скролиться разом до кінця правої.
 * Працює завдяки overflow-x: clip на .website-wrapper (brand.css) — hidden
 * робив би wrapper кліп-контейнером і вбивав sticky. */
@media (min-width: 1024px) {
	.sh-product .gallery-column {
		position: sticky;
		top: 24px;
		align-self: flex-start;
		transform: translateZ(0); /* Safari: власний шар проти тремтіння sticky */
	}
	/* залогінений адмін: fixed-смуга WP (32px) перекривала б галерею */
	body.admin-bar .sh-product .gallery-column { top: 56px; }
}

/* ===== gallery ===== */
.sh-product .gallery { display: grid; gap: 10px; margin: 0; /* перекриває woodmart .gallery (WP-шорткод) з margin 0 -15px */ }
@media (min-width: 1024px) {
	.sh-product .gallery { grid-template-columns: 84px minmax(0, 1fr); align-items: start; }
}
.sh-product .gallery-main {
	min-width: 0;
	max-width: 100%;
	aspect-ratio: 4/5;
	background: linear-gradient(135deg, var(--sh-ash-soft) 0%, var(--sh-timber) 100%);
	border-radius: 18px;
	order: 1;
	position: relative;
	display: flex;
	scroll-snap-type: x mandatory;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	/* дозволяємо горизонтальний touch swipe (інакше деякі браузери блокують його через page scroll) */
	touch-action: pan-x pan-y; /* pan-y ОБОВ'ЯЗКОВО: без нього палець на фото не може скролити сторінку вертикально */
	/* desktop: візуальний натяк що можна тягнути */
	cursor: grab;
	user-select: none;
}
.sh-product .gallery-main.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.sh-product .gallery-main::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .sh-product .gallery-main { order: 2; } }
.sh-product .gallery-main .slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
.sh-product .gallery-main .slide img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	/* щоб mousedown на картинці не запускав native HTML drag image */
	-webkit-user-drag: none;
	user-select: none;
	pointer-events: none;
}
/* колаж-слайд набору (перше фото) — заповнює слайд тим самим .sh-collage гридом */
.sh-product .gallery-main .slide { position: relative; }
.sh-product .gallery-main .slide .sh-collage { border-radius: 18px; padding: 8px; gap: 8px; background: transparent; }
.sh-product .gallery-main .slide .sh-collage-cell { border-radius: 12px; }
/* колаж у мініатюрі (80px) — компактніші відступи */
.sh-product .thumb { position: relative; }
.sh-product .thumb .sh-collage { padding: 2px; gap: 2px; background: transparent; }
.sh-product .thumb .sh-collage-cell { border-radius: 4px; }

.sh-product .gallery-dots {
	display: flex; gap: 6px; justify-content: center;
	order: 3;
	margin-top: 4px;
}
/* ТІЛЬКИ крапки галереї (НЕ свотч-крапки .swatch .dot — інакше роздуває смаки!) */
.sh-product .gallery-dots .dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--sh-timber); border: 0;
	/* візуальна крапка 8px, але клікабельна площа 28px (padding + content-box) */
	box-sizing: content-box; padding: 10px;
	background-clip: content-box;
	transition: background .2s, width .2s;
	cursor: pointer;
}
.sh-product .gallery-dots .dot.active { background: var(--sh-ebony); background-clip: content-box; }
@media (min-width: 1024px) { .sh-product .gallery-dots { display: none; } }

/* стрілки гортання фото — поверх зображення, лише мобайл і лише коли фото >1 */
.sh-product .gallery-arrow { display: none; }
@media (max-width: 1023px) {
	.sh-product .gallery.has-multi .gallery-arrow {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 2;
		width: 38px;
		height: 38px;
		border: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.78);
		backdrop-filter: blur(4px);
		color: var(--sh-ink);
		font-size: 24px;
		line-height: 1;
		padding: 0 0 2px;
		cursor: pointer;
	}
	.sh-product .gallery-arrow-prev { left: 10px; }
	.sh-product .gallery-arrow-next { right: 10px; }
}

/* ── мобайл: компактніша галерея + крапки ПОВЕРХ фото ──
 * Раніше фото 4/5 займало весь перший екран (назва/ціна за фолдом),
 * а крапки ховались під липкою CTA-панеллю — користувач не знав,
 * що є ще фото і що на сторінці є контент нижче. */
@media (max-width: 1023px) {
	.sh-product .gallery { position: relative; }
	.sh-product .gallery-main { aspect-ratio: 1 / 1; }
	.sh-product .gallery-dots {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: 10px;
		margin: 0;
		z-index: 2;
		background: rgba(255, 255, 255, 0.72);
		backdrop-filter: blur(4px);
		border-radius: 999px;
		padding: 0 6px;
	}
}

.sh-product .gallery-thumbs { display: none; }
@media (min-width: 1024px) {
	.sh-product .gallery-thumbs {
		display: flex; flex-direction: column;
		gap: 8px; order: 1;
		max-height: 720px; overflow-y: auto;
	}
}
.sh-product .thumb {
	flex: 0 0 auto;
	aspect-ratio: 1;
	width: 80px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--sh-ash-soft);
	border: 2px solid transparent;
	cursor: pointer;
	padding: 0;
	transition: border-color .15s;
}
.sh-product .thumb.active { border-color: var(--sh-ebony); }
.sh-product .thumb:hover { border-color: var(--sh-ash); }
.sh-product .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== info column ===== */
.sh-product .info { display: flex; flex-direction: column; gap: 14px; }
.sh-product .info-cat {
	font-size: 11px; letter-spacing: 0.12em;
	text-transform: uppercase; font-weight: 700;
	color: var(--sh-ebony);
}
/* Link усередині info-cat — успадковує всі стилі (color, weight, transform),
 * жодних underline / bold-додатків. Просто робить текст клікабельним. */
.sh-product .info-cat a,
.sh-product .info-cat a:hover,
.sh-product .info-cat a:focus,
.sh-product .info-cat a:visited {
	color: inherit !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	text-transform: inherit !important;
	text-decoration: none !important;
	background: transparent !important;
}
.sh-product .info h1 {
	font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05;
	margin-bottom: 0;
}
@media (min-width: 1024px) { .sh-product .info h1 { font-size: 40px; } }

/* Subtitle under h1 — italic muted line */
.sh-product .product-subtitle {
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	color: var(--sh-muted);
	letter-spacing: 0.01em;
	margin-top: 2px;
}
@media (min-width: 1024px) {
	.sh-product .product-subtitle { font-size: 17px; }
}
.sh-product .selected-variant {
	font-size: 14px;
	color: var(--sh-muted);
	margin-top: 4px;
}
.sh-product .selected-variant strong { color: var(--sh-ink); font-weight: 700; }
.sh-product .selected-variant .variant-package {
	font-size: 13px;
	color: var(--sh-ebony);
}
.sh-product .selected-variant .variant-package em {
	font-style: italic;
	font-weight: 500;
}
.sh-product .selected-variant .variant-package[hidden] { display: none; }

.sh-product .rating-row {
	display: flex; gap: 10px; align-items: center; font-size: 12px;
}
.sh-product .rating-row .stars { color: #E8B547; letter-spacing: 2px; font-size: 14px; }
.sh-product .rating-row a { color: var(--sh-muted); border-bottom: 1px dashed var(--sh-muted); }

.sh-product .price-row {
	display: flex;
	align-items: center; /* центруємо stock badge відносно великої ціни */
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--sh-line);
	border-bottom: 1px solid var(--sh-line);
}
/* .price рендериться як flex-row, де del (old) і ins (new) — flex-children.
 * align-items: center дає вертикальне центрування різних font-size'ів,
 * gap — consistent spacing замість непрогнозованого whitespace + margin. */
.sh-product .price-row .price {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px;
	font-size: 32px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em !important;
	color: var(--sh-ink) !important;
	text-decoration: none !important;
}
.sh-product .price-row .price ins,
.sh-product .price-row .price ins .woocommerce-Price-amount,
.sh-product .price-row .price .woocommerce-Price-amount,
.sh-product .price-row .price bdi {
	font-size: 32px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em !important;
	color: var(--sh-ink) !important;
	text-decoration: none !important;
	background: transparent !important;       /* WC inлайн style на ins може давати yellow bg */
	padding: 0 !important;
	margin: 0 !important;
}
.sh-product .price-row .price del,
.sh-product .price-row .price del .woocommerce-Price-amount,
.sh-product .price-row .price del bdi {
	color: var(--sh-muted) !important;
	text-decoration: line-through !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	margin: 0 !important;       /* gap у .price робить spacing — без додатково margin */
	padding: 0 !important;
	background: transparent !important;
}
.sh-product .price-row .old { color: var(--sh-muted); text-decoration: line-through; font-size: 16px; }
.sh-product .price-row .stock {
	margin-left: auto;
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; color: var(--sh-ebony-dark); font-weight: 600;
}
.sh-product .price-row .stock::before {
	content: ''; width: 8px; height: 8px;
	background: var(--sh-ebony); border-radius: 50%;
}
.sh-product .price-row .stock.out::before { background: var(--sh-lion); }

.sh-product .short-desc {
	font-size: 14px; color: var(--sh-muted); line-height: 1.55;
}
.sh-product .short-desc > *:first-child { margin-top: 0 !important; }
.sh-product .short-desc > *:last-child { margin-bottom: 0 !important; }
.sh-product .short-desc p { margin: 0 0 6px !important; }
.sh-product .short-desc ul,
.sh-product .short-desc ol { padding-left: 18px !important; list-style: disc; margin: 4px 0 6px !important; }
.sh-product .short-desc li { padding: 1px 0 !important; margin: 0 !important; }
.sh-product .short-desc strong { color: var(--sh-ink); font-weight: 600; }

/* ===== swatches ===== */
.sh-product .swatch-group { display: flex; flex-direction: column; gap: 8px; }
.sh-product .swatch-label {
	font-size: 13px; font-weight: 500; color: var(--sh-muted);
}
.sh-product .swatch-label strong { color: var(--sh-ink); font-weight: 700; }
.sh-product .swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-product .swatch {
	background: white !important;
	border: 1.5px solid var(--sh-timber) !important;
	border-radius: 999px !important;
	padding: 10px 16px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--sh-ink) !important;
	cursor: pointer;
	transition: all .15s;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	font-family: 'Montserrat', sans-serif !important;
	text-transform: lowercase !important;
	letter-spacing: 0.01em !important;
	line-height: 1.2;
}
.sh-product .swatch:hover { border-color: var(--sh-ebony) !important; }
.sh-product .swatch.active {
	border-color: var(--sh-ebony) !important;
	background: var(--sh-ebony) !important;
	color: var(--sh-floral) !important;
}
.sh-product .swatch.disabled {
	color: var(--sh-muted) !important;
	background: transparent !important;
	border-color: var(--sh-line) !important;
	cursor: pointer; /* лишаємо клікабельним: вибір показує «немає в наявності» на кнопці */
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}
/* Кнопка коли обрана варіація не в наявності */
.sh-product .btn-add.is-disabled,
.sh-product .btn-add:disabled {
	background: var(--sh-ash) !important;
	color: #fff !important;
	cursor: default !important;
	pointer-events: none;
	box-shadow: none !important;
}
.sh-product .btn-buy.is-disabled { opacity: .45; pointer-events: none; }
.sh-product .swatch.disabled:hover { border-color: var(--sh-line) !important; }
.sh-product .swatch .dot {
	width: 14px; height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,.1);
	background: var(--dot, var(--sh-timber));
	flex-shrink: 0;
}
/* keep dot color when swatch is active */
.sh-product .swatch.active .dot {
	border-color: rgba(254,250,241,.3);
}

/* ===== qty + CTA ===== */
.sh-product .qty-cart-row {
	display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 4px;
}
.sh-product .qty {
	display: flex; align-items: center;
	background: white;
	border: 1.5px solid var(--sh-timber);
	border-radius: 999px;
	padding: 4px;
	height: 48px;
}
.sh-product .qty button {
	background: transparent; border: 0;
	width: 34px; height: 34px;
	border-radius: 50%;
	font-size: 18px; font-weight: 600;
	color: var(--sh-ink);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	font-family: 'Montserrat', sans-serif;
}
.sh-product .qty button:hover { background: var(--sh-ash-soft); }
.sh-product .qty input {
	width: 36px; text-align: center;
	border: 0 !important; background: transparent !important;
	font-size: 15px; font-weight: 700;
	color: var(--sh-ink);
	padding: 0 !important;
	-moz-appearance: textfield;
	font-family: 'Montserrat', sans-serif;
}
.sh-product .qty input::-webkit-outer-spin-button,
.sh-product .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sh-product .btn-add {
	background: var(--sh-ebony) !important;
	color: var(--sh-floral) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 13px 24px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	cursor: pointer;
	font-family: 'Montserrat', sans-serif !important;
	text-transform: lowercase !important;
	letter-spacing: 0.01em;
	line-height: 1.2;
	transition: background .15s ease, transform .18s ease, box-shadow .18s ease;
	box-shadow: 0 2px 6px rgba(101, 112, 96, .15);
}
.sh-product .btn-add:hover {
	background: var(--sh-ebony-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(101, 112, 96, .28);
}
.sh-product .btn-add:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(101, 112, 96, .15);
}
.sh-product .btn-buy {
	background: var(--sh-ink) !important;
	color: var(--sh-floral) !important;
	border: 0 !important;
	padding: 13px 24px !important;
	border-radius: 999px !important;
	width: 100%;
	margin-top: 8px;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	text-decoration: none !important;
	box-sizing: border-box;
	min-height: 48px;
	font-family: 'Montserrat', sans-serif !important;
	letter-spacing: 0.01em;
	text-transform: lowercase !important;
	line-height: 1.2;
	transition: background .15s ease, transform .18s ease, box-shadow .18s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.sh-product .btn-buy:hover {
	background: #000 !important;
	color: var(--sh-floral) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
}
.sh-product .btn-buy:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

/* ===== bonus chip + trust ===== */
.sh-product .bonus-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px;
	background: var(--sh-lion-soft);
	border-radius: 999px;
	font-size: 12px; color: #6B4F2A;
	font-weight: 600;
	align-self: flex-start;
}
.sh-product .bonus-chip a { text-decoration: underline; }

.sh-product .info-trust {
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--sh-line);
}
.sh-product .info-trust-item {
	display: flex; align-items: center; gap: 8px;
	font-size: 11px; font-weight: 600; color: var(--sh-ebony-dark);
}
.sh-product .info-trust-item svg { width: 18px; height: 18px; color: var(--sh-ebony); flex-shrink: 0; }

/* ===== lifestyle strip (ідеальний компаньйон у різних ситуаціях) ===== */
.sh-product .lifestyle-strip {
	padding: 0 0 24px;
	margin: 0;
}
@media (min-width: 1024px) {
	.sh-product .lifestyle-strip {
		padding: 0 0 32px;
	}
}
/* ===== Gallery column wrapper =====
 * .gallery-column — наша обгортка для лівої колонки .product-layout.
 * Містить .gallery (карусель) + .lifestyle-strip-inline (іконки під фото).
 *
 * MOBILE: розкриваємо wrapper через display: contents — щоб .gallery і
 * .lifestyle-strip стали direct children .product-layout. Тоді через grid order
 * можна вставити .info МІЖ ними: gallery → info → lifestyle. Користувач хоче
 * щоб lifestyle-strip йшов ПІСЛЯ кнопок (вони в .info).
 *
 * DESKTOP: лишаємо flex column wrapper — lifestyle сидить під галереєю у лівій
 * колонці, info — у правій.
 */
.sh-product .gallery-column {
	display: contents;
}
.sh-product .gallery-column > .gallery { order: 1; }
.sh-product .info { order: 2; }
.sh-product .gallery-column > .lifestyle-strip-inline { order: 3; }

@media (min-width: 1024px) {
	.sh-product .gallery-column {
		display: flex;
		flex-direction: column;
		gap: 32px;
	}
	.sh-product .gallery-column > .gallery,
	.sh-product .gallery-column > .lifestyle-strip-inline,
	.sh-product .info { order: 0; }
}

/* Inline-варіант lifestyle-strip — менший gap, повна ширина колонки,
 * тонкий divider зверху щоб відділити від галереї. */
.sh-product .gallery-column .lifestyle-strip-inline {
	padding: 24px 0 0 !important;
	margin: 0 !important;
	border-top: 1px solid var(--sh-line);
}
@media (min-width: 1024px) {
	.sh-product .gallery-column .lifestyle-strip-inline {
		padding-top: 28px !important;
	}
}
.sh-product .gallery-column .lifestyle-strip-inline .lifestyle-grid {
	max-width: none !important;
	gap: 8px !important;
}
@media (min-width: 768px) {
	.sh-product .gallery-column .lifestyle-strip-inline .lifestyle-grid {
		gap: 12px !important;
	}
}
/* Інлайн-варіант — менші іконки (бо колонка вужча) */
.sh-product .gallery-column .lifestyle-strip-inline .lifestyle-item .icon-wrap {
	width: 52px !important;
	height: 52px !important;
	border-radius: 14px !important;
}
@media (min-width: 1024px) {
	.sh-product .gallery-column .lifestyle-strip-inline .lifestyle-item .icon-wrap {
		width: 60px !important;
		height: 60px !important;
		border-radius: 16px !important;
	}
}
.sh-product .gallery-column .lifestyle-strip-inline .lifestyle-item .icon-wrap svg {
	width: 24px !important;
	height: 24px !important;
}
@media (min-width: 1024px) {
	.sh-product .gallery-column .lifestyle-strip-inline .lifestyle-item .icon-wrap svg {
		width: 28px !important;
		height: 28px !important;
	}
}
.sh-product .gallery-column .lifestyle-strip-inline .lifestyle-item .label {
	font-size: 11px !important;
}
@media (min-width: 1024px) {
	.sh-product .gallery-column .lifestyle-strip-inline .lifestyle-item .label {
		font-size: 12px !important;
	}
}
.sh-product .lifestyle-grid {
	display: grid;
	/* один рядок 4 іконки на всіх екранах (на мобайлі — компактні розміри
	 * нижче); minmax(0,1fr) — щоб лейбли не розпирали колонку за екран */
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	max-width: 720px;
	margin: 0 auto;
}
@media (max-width: 767px) {
	.sh-product .lifestyle-grid { gap: 6px; }
	.sh-product .lifestyle-item .icon-wrap { width: 42px !important; height: 42px !important; border-radius: 12px !important; }
	.sh-product .lifestyle-item .icon-wrap svg { width: 20px !important; height: 20px !important; }
	.sh-product .lifestyle-item .label { font-size: 10px !important; }
}
@media (min-width: 768px) {
	.sh-product .lifestyle-grid {
		gap: 24px;
	}
}
.sh-product .lifestyle-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}
.sh-product .lifestyle-item .icon-wrap {
	width: 60px;
	height: 60px;
	background: white;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		0 1px 2px rgba(26, 26, 26, .04),
		0 6px 16px rgba(26, 26, 26, .05);
	transition: transform .2s ease, box-shadow .2s ease;
}
@media (min-width: 768px) {
	.sh-product .lifestyle-item .icon-wrap {
		width: 72px;
		height: 72px;
		border-radius: 20px;
	}
}
.sh-product .lifestyle-item:hover .icon-wrap {
	transform: translateY(-2px);
	box-shadow:
		0 1px 2px rgba(26, 26, 26, .05),
		0 10px 24px rgba(26, 26, 26, .08);
}
.sh-product .lifestyle-item .icon-wrap svg {
	width: 28px;
	height: 28px;
	color: var(--sh-ebony);
}
@media (min-width: 768px) {
	.sh-product .lifestyle-item .icon-wrap svg {
		width: 34px;
		height: 34px;
	}
}
.sh-product .lifestyle-item .label {
	font-size: 12px;
	color: var(--sh-ink);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.3;
}
@media (min-width: 768px) {
	.sh-product .lifestyle-item .label {
		font-size: 14px;
	}
}

/* ===== tabs / accordion ===== */
.sh-product .details { padding: 20px 0 0; }
@media (min-width: 1024px) { .sh-product .details { padding: 20px 0 0; } }

.sh-product .acc-item { border-top: 1px solid var(--sh-line); }
.sh-product .acc-item:last-child { border-bottom: 1px solid var(--sh-line); }
.sh-product .acc-item summary {
	list-style: none;
	padding: 18px 0;
	display: flex; justify-content: space-between; align-items: center;
	font-size: 15px; font-weight: 700;
	cursor: pointer;
	text-transform: lowercase !important;
}
.sh-product .acc-item summary::-webkit-details-marker { display: none; }
.sh-product .acc-item summary::after {
	content: '+';
	font-size: 22px; font-weight: 300; color: var(--sh-muted);
	transition: transform .2s;
	text-transform: none;
}
.sh-product .acc-item[open] summary::after { transform: rotate(45deg); }
.sh-product .acc-content {
	padding: 4px 0 20px;
	font-size: 14px; line-height: 1.6; color: var(--sh-muted);
}
/* Description content: щільніші відступи, прибираємо браузерні дефолти */
.sh-product .acc-content > *:first-child,
.sh-product .tab-panel > *:first-child { margin-top: 0 !important; }
.sh-product .acc-content > *:last-child,
.sh-product .tab-panel > *:last-child { margin-bottom: 0 !important; }
.sh-product .acc-content p,
.sh-product .tab-panel p { margin: 0 0 6px !important; line-height: 1.5; }
/* Перший абзац опису діставав 16px (зовнішнє правило на first-child) проти
   14.5px у решти — «різні шрифти». Вирівнюємо всі абзаци вкладок до одного. */
.sh-product .tab-panel p,
.sh-product .acc-content p { font-size: 14.5px !important; }
.sh-product .acc-content ul,
.sh-product .acc-content ol,
.sh-product .tab-panel ul,
.sh-product .tab-panel ol {
	margin: 4px 0 6px !important;
	padding-left: 18px !important;
	list-style: disc;
}
.sh-product .acc-content li,
.sh-product .tab-panel li { padding: 1px 0 !important; margin: 0 !important; line-height: 1.45; }
/* WC автоматично обгортає опис у <p>. Прибираємо подвійні breaks які wpautop часто додає. */
.sh-product .acc-content br + br,
.sh-product .tab-panel br + br { display: none; }
.sh-product .acc-content p:empty,
.sh-product .tab-panel p:empty { display: none; }

/* ============================================================
 * Контент-блоки для вкладок (склад / як використовувати / доставка / термін)
 * Користувач вставляє цей HTML у WC tab editor, стилі підхоплюються тут.
 * ============================================================ */

/* INCI — текст з інгредієнтами */
.sh-product .tab-panel .inci,
.sh-product .acc-content .inci {
	font-size: 14px;
	color: var(--sh-ink);
	line-height: 1.7;
	margin: 0 0 18px !important;
}
.sh-product .tab-panel .inci strong,
.sh-product .acc-content .inci strong {
	font-style: italic;
	color: var(--sh-ebony);
	font-weight: 700;
}

/* Невелике вступне речення під табом */
.sh-product .tab-panel .lead,
.sh-product .acc-content .lead {
	font-size: 15px;
	color: var(--sh-ink);
	margin: 0 0 16px !important;
	line-height: 1.5;
}

/* Сітка карток (2 шт. зазвичай — "не містить" / "чим корисний", "доставка нп" / "міжнародна", тощо) */
.sh-product .tab-panel .sh-info-cards,
.sh-product .acc-content .sh-info-cards {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
	margin: 0 !important;
}
@media (min-width: 768px) {
	.sh-product .tab-panel .sh-info-cards,
	.sh-product .acc-content .sh-info-cards {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
}

/* Окрема картка */
.sh-product .tab-panel .sh-info-card,
.sh-product .acc-content .sh-info-card {
	background: white;
	border: 1px solid var(--sh-timber);
	border-radius: 18px;
	padding: 20px 22px;
}
.sh-product .tab-panel .sh-info-card .title,
.sh-product .acc-content .sh-info-card .title {
	font-size: 11px;
	font-weight: 700;
	color: var(--sh-ebony);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 12px !important;
}

/* Списки усередині карток — кастомні булети */
.sh-product .tab-panel .sh-info-card ul,
.sh-product .acc-content .sh-info-card ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.sh-product .tab-panel .sh-info-card li,
.sh-product .acc-content .sh-info-card li {
	position: relative;
	padding: 4px 0 4px 18px !important;
	font-size: 14px;
	color: var(--sh-ink);
	line-height: 1.45;
}
.sh-product .tab-panel .sh-info-card li::before,
.sh-product .acc-content .sh-info-card li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 12px;
	width: 5px;
	height: 5px;
	background: var(--sh-ebony);
	border-radius: 50%;
}
.sh-product .tab-panel .sh-info-card strong,
.sh-product .acc-content .sh-info-card strong {
	color: var(--sh-ink);
	font-weight: 700;
}

/* Кроки використання — 4 пронумеровані картки */
.sh-product .tab-panel .sh-steps,
.sh-product .acc-content .sh-steps {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
	margin: 16px 0 0 !important;
}
@media (min-width: 768px) {
	.sh-product .tab-panel .sh-steps,
	.sh-product .acc-content .sh-steps {
		grid-template-columns: repeat(4, 1fr);
		gap: 16px;
	}
}
.sh-product .tab-panel .sh-step,
.sh-product .acc-content .sh-step {
	background: white;
	border: 1px solid var(--sh-timber);
	border-radius: 18px;
	padding: 22px 16px;
	text-align: center;
}
.sh-product .tab-panel .sh-step .num,
.sh-product .acc-content .sh-step .num {
	width: 36px;
	height: 36px;
	margin: 0 auto 14px;
	background: var(--sh-ebony);
	color: var(--sh-floral);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
}
.sh-product .tab-panel .sh-step .text,
.sh-product .acc-content .sh-step .text {
	font-size: 13px;
	color: var(--sh-ink);
	line-height: 1.4;
}

/* Дрібний муted-коментар під картками */
.sh-product .tab-panel .muted-note,
.sh-product .acc-content .muted-note {
	margin: 14px 0 0 !important;
	font-size: 13px;
	color: var(--sh-muted);
	font-style: italic;
}
.sh-product .acc-content strong,
.sh-product .tab-panel strong { color: var(--sh-ink); font-weight: 600; }
/* WC сам інколи рендерить h2 "Опис"/"Відгуки" всередині — прибираємо, бо є tab-btn зверху */
.sh-product .tab-panel > h2,
.sh-product .acc-content > h2,
.sh-product .tab-panel .woocommerce-Reviews-title,
.sh-product .acc-content .woocommerce-Reviews-title { display: none !important; }

@media (min-width: 1024px) {
	.sh-product .tabs-nav {
		display: flex; gap: 4px;
		border-bottom: 1px solid var(--sh-line);
		margin-bottom: 28px;
	}
	.sh-product .tab-btn {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		outline: none !important;
		padding: 14px 22px;
		font-size: 14px; font-weight: 600;
		color: var(--sh-muted);
		position: relative;
		cursor: pointer;
		font-family: 'Montserrat', sans-serif;
		transition: color .15s;
		text-transform: lowercase !important;
		letter-spacing: 0.01em;
	}
	.sh-product .tab-btn:hover,
	.sh-product .tab-btn:focus,
	.sh-product .tab-btn:focus-visible,
	.sh-product .tab-btn:active {
		background: transparent !important;
		box-shadow: none !important;
		outline: none !important;
		color: var(--sh-ink);
	}
	.sh-product .tab-btn.active { color: var(--sh-ink); }
	.sh-product .tab-btn.active::after {
		content: '';
		position: absolute;
		bottom: -1px; left: 16px; right: 16px;
		height: 2px;
		background: var(--sh-ebony);
	}
	.sh-product .tab-panel { display: none; max-width: 760px; font-size: 15px; color: var(--sh-muted); line-height: 1.6; }
	.sh-product .tab-panel.active { display: block; }
	.sh-product .tab-panel p { margin-bottom: 12px; }
	.sh-product .tab-panel ul { padding-left: 18px; list-style: disc; margin-bottom: 12px; }
	.sh-product .tab-panel strong { color: var(--sh-ink); font-weight: 600; }
	.sh-product .acc-only { display: none; }
}
@media (max-width: 1023px) {
	.sh-product .tabs-nav, .sh-product .tab-panel { display: none !important; }
}

/* ===== reviews ===== */
.sh-product .reviews-block { padding: 40px 0; }
@media (min-width: 1024px) { .sh-product .reviews-block { padding: 40px 0; } }
.sh-product .reviews-block .head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.sh-product .reviews-block .head-left { flex: 1; min-width: 240px; }
.sh-product .reviews-block h2 {
	font-size: 24px; font-weight: 800; letter-spacing: -0.025em; margin: 0;
	text-transform: lowercase !important;
	color: var(--sh-ink);
}
.sh-product .reviews-block h2 .count {
	color: var(--sh-muted); font-weight: 500;
}
@media (min-width: 1024px) { .sh-product .reviews-block h2 { font-size: 36px; } }
.sh-product .reviews-summary {
	display: flex; gap: 14px; align-items: center; font-size: 13px;
}
.sh-product .reviews-summary .num { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.sh-product .reviews-summary .stars { color: #E8B547; letter-spacing: 2px; font-size: 14px; display: block; }
.sh-product .reviews-summary .muted { color: var(--sh-muted); font-size: 11px; display: block; }
.sh-product .reviews-block .btn-ghost {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 22px; font-size: 13px; font-weight: 600;
	background: transparent; color: var(--sh-ink);
	border: 1.5px solid var(--sh-ink); border-radius: 999px;
	cursor: pointer; text-decoration: none;
	text-transform: lowercase; transition: all .15s;
}
.sh-product .reviews-block .btn-ghost:hover {
	background: var(--sh-ink); color: var(--sh-floral);
}

.sh-product .reviews-list {
	display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 768px) { .sh-product .reviews-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .sh-product .reviews-list { grid-template-columns: repeat(3, 1fr); } }
.sh-product .review {
	background: white; border: 1px solid var(--sh-timber);
	padding: 20px; border-radius: 18px;
}
.sh-product .review .stars { color: #E8B547; font-size: 13px; letter-spacing: 1.5px; margin-bottom: 10px; }
.sh-product .review q { font-size: 13.5px; line-height: 1.55; quotes: none; display: block; margin-bottom: 16px; }
.sh-product .review .who { display: flex; align-items: center; gap: 10px; }
.sh-product .review .av {
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--sh-ebony); color: var(--sh-floral);
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	text-transform: uppercase !important; /* override global lowercase для ініціалів */
}
.sh-product .review .meta { font-size: 12px; }
/* Імена авторів — з великої літери (як написано в БД), не lowercase
 * за глобальним правилом text-transform: lowercase на body. */
.sh-product .review .meta .name {
	font-weight: 700;
	text-transform: none !important;
}
.sh-product .review .meta .city { color: var(--sh-muted); }

/* empty state: компактна картка-рядок із CTA (була на пів-екрана) */
.sh-product .reviews-empty {
	background: white;
	border: 1px solid var(--sh-timber);
	border-radius: 18px;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	text-align: left;
	margin-bottom: 16px;
}
.sh-product .reviews-empty .emoji {
	font-size: 24px; line-height: 1;
}
.sh-product .reviews-empty .reviews-empty-text { flex: 1 1 240px; }
.sh-product .reviews-empty h3 {
	font-size: 15px; font-weight: 800; letter-spacing: -0.02em;
	margin: 0 0 2px;
}
.sh-product .reviews-empty p {
	font-size: 13px; color: var(--sh-muted); line-height: 1.4;
	margin: 0;
}
.sh-product .reviews-empty .sh-review-toggle { flex: 0 0 auto; }

/* form: згорнута, відкривається кнопкою «залишити відгук» */
.sh-product .review-form-wrap { display: none; }
.sh-product .review-form-wrap.is-open { display: block; }
.sh-product .review-form-wrap {
	background: var(--sh-ash-soft);
	border-radius: 18px;
	padding: 24px 20px;
	margin-top: 20px;
}
@media (min-width: 1024px) {
	.sh-product .review-form-wrap { padding: 32px 36px; }
}
.sh-product .review-form-wrap h3 {
	font-size: 18px; font-weight: 800; letter-spacing: -0.02em;
	margin: 0 0 6px;
}
.sh-product .review-form-wrap .form-intro {
	font-size: 13px; color: var(--sh-muted); margin: 0 0 18px;
}
.sh-product #commentform,
.sh-product #review_form #commentform {
	display: grid; gap: 14px;
}
.sh-product #commentform .comment-form-rating {
	margin: 0;
}
.sh-product #commentform .comment-form-rating .rating-label {
	display: block;
	font-size: 12px;
	color: var(--sh-muted);
	font-weight: 600;
	margin-bottom: 8px;
	text-transform: lowercase;
}
.sh-product #commentform .comment-form-rating .rating-label .required {
	color: #d33;
	margin-left: 2px;
}
/* === Кастомний star picker (5 radios + labels, без JS) === */
.sh-product .sh-rating-picker {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 4px;
	align-items: center;
	background: white;
	border: 1.5px solid var(--sh-timber);
	border-radius: 999px;
	padding: 6px 14px;
}
.sh-product .sh-rating-picker input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.sh-product .sh-rating-picker label {
	font-size: 26px !important;
	line-height: 1;
	color: #DDD;
	cursor: pointer;
	transition: color .12s, transform .12s;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 400 !important;
	text-transform: none !important;
	user-select: none;
}
/* hover ефект — підсвічуємо обраний + всі лівіші (по DOM ~) */
.sh-product .sh-rating-picker label:hover,
.sh-product .sh-rating-picker label:hover ~ label,
.sh-product .sh-rating-picker input[type="radio"]:checked ~ label {
	color: #E8B547;
}
.sh-product .sh-rating-picker label:hover { transform: scale(1.12); }
/* WP помилка "будь ласка, оберіть зірочку" — стилізуємо */
.sh-product .sh-rating-picker:focus-within {
	border-color: var(--sh-ebony);
	box-shadow: 0 0 0 3px var(--sh-ash-soft);
}
.sh-product #commentform .comment-form-comment label,
.sh-product #commentform .comment-form-author label,
.sh-product #commentform .comment-form-email label {
	display: block; font-size: 12px; font-weight: 600;
	color: var(--sh-muted); margin-bottom: 6px;
	text-transform: lowercase;
}
.sh-product #commentform input[type="text"],
.sh-product #commentform input[type="email"],
.sh-product #commentform textarea {
	width: 100%; max-width: 100%;
	background: white !important;
	border: 1.5px solid var(--sh-timber) !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	font-size: 14px;
	font-family: 'Montserrat', sans-serif;
	color: var(--sh-ink);
	box-sizing: border-box;
}
.sh-product #commentform input[type="text"]:focus,
.sh-product #commentform input[type="email"]:focus,
.sh-product #commentform textarea:focus {
	border-color: var(--sh-ebony) !important;
	outline: 0;
}
.sh-product #commentform textarea { min-height: 110px; resize: vertical; }
.sh-product #commentform .form-row-two {
	display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.sh-product #commentform .form-row-two { grid-template-columns: 1fr 1fr; }
}
.sh-product #commentform .form-submit { margin: 4px 0 0; }
.sh-product #commentform input[type="submit"],
.sh-product #commentform .submit {
	background: var(--sh-ink) !important;
	color: var(--sh-floral) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 13px 28px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer;
	font-family: 'Montserrat', sans-serif !important;
	text-transform: lowercase !important;
	letter-spacing: 0.01em;
}
.sh-product #commentform input[type="submit"]:hover { background: #000 !important; }
.sh-product .comments-closed { color: var(--sh-muted); font-size: 14px; }

/* cookies-consent + img-message + must-log-in — узгоджуємо з формою відгуку
   (дефолтні WP/WC поля: інакше великий шрифт, чекбокс на 2 рядки, зайві відступи) */
.sh-product #commentform .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 14px 0 0;
}
.sh-product #commentform .comment-form-cookies-consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
}
.sh-product #commentform .comment-form-cookies-consent label {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--sh-muted);
	cursor: pointer;
}
.sh-product #commentform .comment-form-img-message,
.sh-product #commentform .must-log-in {
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--sh-muted);
}
.sh-product #commentform .comment-form-img-message a,
.sh-product #commentform .must-log-in a { color: var(--sh-ebony); text-decoration: underline; }

/* ===== related ===== */
.sh-product .related-section { padding: 0 0 48px; }
@media (min-width: 1024px) { .sh-product .related-section { padding: 0 0 72px; } }
.sh-product .related-section h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 20px; }
@media (min-width: 1024px) { .sh-product .related-section h2 { font-size: 30px; } }
.sh-product .related-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (min-width: 768px) { .sh-product .related-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.sh-product .pcard { display: flex; flex-direction: column; text-decoration: none; color: var(--sh-ink); }
.sh-product .pcard .img-wrap {
	aspect-ratio: 3/4; border-radius: 16px; overflow: hidden;
	background: var(--sh-ash-soft); margin-bottom: 12px;
}
.sh-product .pcard .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sh-product .pcard .name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.sh-product .pcard .price-row { padding: 0; border: 0; margin-bottom: 10px; }
.sh-product .pcard .price-row .price { font-size: 15px; font-weight: 700; }

/* ============================================================
 * P0 AOV — variation labels, CRC-explainer, bundle-savings banner
 * ============================================================ */

/* Бейджі на swatch'ах "кількості": найвигідніше / для знайомства */
.sh-product .swatch { position: relative; overflow: visible; }
.sh-product .swatch .swatch-badge {
	position: absolute; top: -8px; right: -6px;
	font-size: 9px; font-weight: 800; line-height: 1; letter-spacing: .01em;
	padding: 3px 6px; border-radius: 999px; white-space: nowrap; pointer-events: none;
}
.sh-product .swatch-badge.is-best  { background: var(--sh-ebony); color: #fff; }
.sh-product .swatch-badge.is-intro { background: var(--sh-ash-soft); color: var(--sh-ebony-dark); }

/* CRC explainer (cleanse → rinse → care) під add-to-cart */
.sh-crc { margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--sh-timber); border-radius: 16px; background: var(--sh-floral); }
.sh-crc-title { font-size: 12px; font-weight: 700; color: var(--sh-muted); margin-bottom: 10px; }
.sh-crc-steps { display: flex; align-items: stretch; gap: 4px; }
.sh-crc-step { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; padding: 8px 4px; border-radius: 12px; opacity: .5; text-decoration: none; color: inherit; transition: opacity .15s ease, background .15s ease, box-shadow .15s ease; }
.sh-crc-step:hover { opacity: 1; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.06); }
.sh-crc-step svg { width: 22px; height: 22px; stroke: var(--sh-ebony); fill: none; }
.sh-crc-step .sh-crc-name { font-size: 12px; font-weight: 800; }
.sh-crc-step .sh-crc-sub { font-size: 10px; color: var(--sh-muted); line-height: 1.2; }
.sh-crc-step.is-current { opacity: 1; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.07); }
.sh-crc-arrow { display: flex; align-items: center; color: var(--sh-ash); }

/* Bundle-savings banner */
.sh-bundle-banner { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 12px 16px; border-radius: 14px; background: linear-gradient(90deg, var(--sh-ash-soft), var(--sh-floral)); border: 1px solid var(--sh-ash); text-decoration: none; color: var(--sh-ink); transition: border-color .15s ease; }
.sh-bundle-banner:hover { border-color: var(--sh-ebony); }
.sh-bundle-banner .sh-bundle-emoji { font-size: 22px; line-height: 1; }
.sh-bundle-banner .sh-bundle-text { font-size: 13px; line-height: 1.35; }
.sh-bundle-banner .sh-bundle-text strong { color: var(--sh-ebony-dark); }
.sh-bundle-banner .sh-bundle-cta { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--sh-ebony); white-space: nowrap; }

/* gift-note — акцент про подарунок (напр. баночка для tiny sweets) */
.sh-gift-note { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #F3EDDA; border: 1px solid var(--sh-lion); color: var(--sh-ink); font-size: 13px; font-weight: 600; line-height: 1.4; }

/* бейдж економії біля ціни */
.sh-product .price-row .sh-save-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--sh-lion); color: var(--sh-ink); font-size: 12px; font-weight: 800; white-space: nowrap; letter-spacing: .01em; max-width: 100%; } /* #fff на lion = 3.09:1; ink = 5.5:1 */
/* мобайл: ціна + «є в наявності» в один рядок (наявність прикута праворуч),
 * плашка «економте» — окремим рядком ПІД ціною (раніше виштовхувала
 * наявність за край екрана) */
@media (max-width: 767px) {
	.sh-product .price-row { flex-wrap: wrap; row-gap: 8px; }
	.sh-product .price-row .stock { order: 2; margin-left: auto; }
	.sh-product .price-row .sh-save-badge {
		order: 3;
		flex: 1 1 100%;        /* переносить на власний рядок */
		max-width: fit-content; /* …але лишається компактною пігулкою */
		margin-bottom: 10px;   /* повітря до розділювача перед описом */
	}
}

/* "часто беруть разом" — картка з кнопкою додавання */
.sh-product .related-section .pcard-body { display: flex; flex-direction: column; text-decoration: none; color: inherit; flex: 1 1 auto; }
.sh-product .related-section .pcard-add { display: block; margin-top: 10px; text-align: center; padding: 10px 14px; border-radius: 999px; background: var(--sh-ebony); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.sh-product .related-section .pcard-add:hover { background: var(--sh-ebony-dark); }
.sh-product .related-section .pcard-add.added { background: var(--sh-ash); color: var(--sh-ink); } /* ebony-dark на ash = 3.96:1; ink = 9.7:1 */
.sh-product .related-section .pcard-add--ghost { background: transparent; border: 1px solid var(--sh-ink); color: var(--sh-ink); }
.sh-product .related-section .pcard-add--ghost:hover { background: var(--sh-ebony); color: #fff; border-color: var(--sh-ebony); }

/* sticky add-to-cart (мобільний) */
.sh-sticky-cart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--sh-timber); box-shadow: 0 -4px 20px rgba(0,0,0,.1); transform: translateY(110%); transition: transform .25s ease; }
.sh-sticky-cart.is-visible { transform: translateY(0); }
.sh-sticky-cart-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.sh-sticky-cart-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-sticky-cart-price { font-size: 13px; color: var(--sh-muted); }
.sh-sticky-cart-price del { opacity: .6; margin-right: 4px; }
.sh-sticky-cart-price ins { text-decoration: none; }
/* специфічність .sh-sticky-cart + кнопка: перебиває kit-шим (.elementor-kit-14 button),
 * який давав зелений фон і губив колір тексту */
.sh-sticky-cart .sh-sticky-cart-btn {
	flex: 0 0 auto;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--sh-ebony);
	color: var(--sh-floral);
	font-size: 14px;
	font-weight: 700;
	text-transform: lowercase;
	cursor: pointer;
}
@media (min-width: 768px) { .sh-sticky-cart { display: none !important; } }

/* ===== «як користуватися» (тільки cleanser) ===== */
.sh-product .sh-howto { padding: 8px 0 40px; }
@media (min-width: 1024px) { .sh-product .sh-howto { padding: 16px 0 56px; } }
.sh-product .sh-howto-head { margin-bottom: 22px; }
.sh-product .sh-howto-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
@media (min-width: 1024px) { .sh-product .sh-howto-head h2 { font-size: 32px; } }
.sh-product .sh-howto-steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: none;
}
@media (min-width: 560px)  { .sh-product .sh-howto-steps { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 980px)  { .sh-product .sh-howto-steps { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.sh-product .sh-howto-step {
	position: relative; background: var(--sh-floral);
	border: 1px solid var(--sh-timber); border-radius: 18px;
	padding: 22px 20px 20px;
}
.sh-product .sh-howto-num {
	position: absolute; top: 16px; right: 16px;
	font-size: 13px; font-weight: 800; color: var(--sh-ebony);
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--sh-ash-soft);
	display: flex; align-items: center; justify-content: center;
}
.sh-product .sh-howto-ic {
	width: 44px; height: 44px; border-radius: 12px; background: var(--sh-ash-soft);
	display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.sh-product .sh-howto-ic svg { width: 24px; height: 24px; color: var(--sh-ebony); }
.sh-product .sh-howto-step h3 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 6px; }
.sh-product .sh-howto-step p { font-size: 13px; color: var(--sh-muted); line-height: 1.5; margin: 0; }

/* ============================================================
 * Читабельність опису та вкладок (оформлення, без зміни контенту)
 * ============================================================ */
/* Комфортна довжина рядка для суцільного тексту. Картки (sh-info-cards /
 * sh-steps) НЕ чіпаємо — вони лишаються на всю ширину. */
.sh-product .tab-panel > p,
.sh-product .tab-panel > ul,
.sh-product .tab-panel > ol,
.sh-product .tab-panel .lead,
.sh-product .tab-panel .inci,
.sh-product .acc-content > p,
.sh-product .acc-content > ul,
.sh-product .acc-content > ol { max-width: 68ch; }

/* Трохи більше повітря у суцільному тексті. */
.sh-product .tab-panel { font-size: 14.5px; line-height: 1.65; color: var(--sh-ink); }
.sh-product .tab-panel > p { margin: 0 0 12px !important; }

/* Вкладка «опис»: перший абзац — вступний lead. */
.sh-product .tab-panel[data-panel="description"] > p:first-child {
	font-size: 16px;
	line-height: 1.6;
	color: var(--sh-ink);
	margin: 0 0 14px !important;
}
/* Брендові булети у списках опису (поза картками). */
.sh-product .tab-panel[data-panel="description"] > ul {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 0 0 14px !important;
}
.sh-product .tab-panel[data-panel="description"] > ul > li {
	position: relative;
	padding: 3px 0 3px 26px !important;
	line-height: 1.5;
}
.sh-product .tab-panel[data-panel="description"] > ul > li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sh-ebony);
}

/* ===== конструктор набору-смаків («N льодяників на вибір») ===== */
.sh-builder { border: 1px solid var(--sh-timber); border-radius: 16px; padding: 18px; background: #fff; }
.sh-builder-head { font-size: 14px; margin-bottom: 14px; color: var(--sh-muted); }
.sh-builder-head strong { color: var(--sh-ink); font-weight: 800; }
.sh-builder-opts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.sh-builder-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--sh-timber); border-radius: 12px; }
.sh-builder-opt.is-oos { opacity: .55; }
.sh-builder-flavor { font-weight: 600; font-size: 15px; }
.sh-builder-oos { font-size: 12px; color: var(--sh-muted); }
.sh-builder-stepper { display: inline-flex; align-items: center; gap: 8px; }
.sh-builder-stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--sh-timber); background: var(--sh-floral); font-size: 18px; line-height: 1; cursor: pointer; color: var(--sh-ink); }
.sh-builder-stepper button:disabled { opacity: .35; cursor: default; }
.sh-builder-q { min-width: 20px; text-align: center; font-weight: 700; }
.sh-builder-actions { display: flex; flex-direction: column; gap: 10px; }
.sh-builder .btn-add.is-disabled, .sh-builder .btn-buy.is-disabled { opacity: .5; pointer-events: none; }

/* ===== «що входить у набір» (фіксовані бандли) — клікабельні міні-картки ===== */
.sh-product .sh-bundle-contents { margin: 6px 0 18px; padding: 16px 18px; background: var(--sh-floral); border: 1px solid var(--sh-timber); border-radius: 14px; }
.sh-product .sh-bundle-contents-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sh-ebony); margin-bottom: 12px; }
.sh-product .sh-bundle-contents-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sh-product .sh-bundle-content-item { margin: 0; padding: 0; }
.sh-product .sh-bundle-content-link { display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; transition: background .15s, border-color .15s; }
.sh-product .sh-bundle-content-link:hover { background: #fff; border-color: var(--sh-timber); }
.sh-product .sh-bundle-content-thumb { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 9px; overflow: hidden; background: var(--sh-ash-soft); }
.sh-product .sh-bundle-content-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-product .sh-bundle-content-name { font-size: 13px; line-height: 1.3; color: var(--sh-ink); font-weight: 600; }
.sh-product .sh-bundle-content-link:hover .sh-bundle-content-name { color: var(--sh-ebony); }

/* ===== компактний допродаж «ідеально поєднуються з» (права колонка, високо) ===== */
.sh-product .sh-pair { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--sh-timber); border-radius: 16px; background: var(--sh-floral); }
.sh-product .sh-pair-title { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--sh-ebony); margin-bottom: 10px; }
.sh-product .sh-pair-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.sh-product .sh-pair-item + .sh-pair-item { border-top: 1px solid var(--sh-timber); }
.sh-product .sh-pair-media { position: relative; flex: 0 0 auto; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--sh-ash-soft); }
.sh-product .sh-pair-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-product .sh-pair-info { flex: 1 1 auto; min-width: 0; }
.sh-product .sh-pair-namerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sh-product .sh-pair-name { font-weight: 700; font-size: 14px; color: var(--sh-ink); text-decoration: none; line-height: 1.25; }
.sh-product .sh-pair-name:hover { color: var(--sh-ebony); }
.sh-product .sh-pair-price { font-size: 13px; font-weight: 700; color: var(--sh-ink); margin-top: 3px; }
.sh-product .sh-pair-add { flex: 0 0 auto; background: var(--sh-ebony); color: var(--sh-floral); border-radius: 999px; padding: 9px 14px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s ease; }
.sh-product .sh-pair-add:hover { background: var(--sh-ebony-dark); }
