/*
 * WittySprout — основен стилов лист.
 *
 * A5: палитрата идва от логото. Зеленото #369244 е потвърдено от Илияна с
 *     color picker; за бутони и линкове се ползва един тон по-тъмно, защото
 *     #369244 дава 3.92:1 спрямо бяло и пада под прага 4.5:1 за нормален текст.
 * A6: Nunito за заглавия, Nunito Sans за текст.
 * A9: тъмнозелено вместо черно във футъра.
 */

/* =========================================================================
   1. Токени
   ====================================================================== */

:root {
	/* Бранд — стойностите от мини бранд бука. Зеленото #446C7A там е
	   грешка (тъмносиньо); Илияна потвърди #369244. */
	/* 0.8.2: фонът на страницата и пясъчният тон на продуктовите снимки.
	   И двата (и --ws-surface) се сменят от Customizer → „WittySprout — цветове“. */
	--ws-cream: #FEFBF4;
	--ws-sand: #F7F2EA;
	--ws-cream-deep: #F8E6D2;
	--ws-mist: #EAF2E6;
	--ws-green-dark: #1F4922;
	--ws-green: #369244;
	--ws-green-action: #2A7538;
	--ws-green-hover: #1F5C2A;
	--ws-yellow: #F5C242;
	--ws-brown: #AA6F29;
	--ws-brown-dark: #6B3F26;
	--ws-gold: #B98A22;
	--ws-clay: #A8492F;

	/* Пастелни петна под иконите — от визуализациите на Илияна */
	--ws-blob-green: #DCEBD6;
	--ws-blob-yellow: #FBEBBF;
	--ws-blob-peach: #F9DCCB;
	--ws-blob-pink: #F7D2D6;
	--ws-blob-blue: #D6E4F5;
	--ws-blob-violet: #E5DDF2;

	/* Сезони */
	--ws-winter: #2F6FD1;  --ws-winter-soft: #DCE9F7;
	--ws-spring: #5FA644;  --ws-spring-soft: #E3F0DA;
	--ws-summer: #E0A522;  --ws-summer-soft: #FBF0CC;
	--ws-autumn: #D9573A;  --ws-autumn-soft: #FBE1D6;

	/* Повърхности */
	--ws-bg: var(--ws-cream);
	--ws-surface: #FFFFFF;
	--ws-surface-alt: var(--ws-cream-deep);
	/* Резервни стойности; при поддръжка на color-mix() линиите следват фона (виж по-долу). */
	--ws-line: #EDDFCB;
	--ws-line-strong: #D8BC99;

	/* Отстъп около снимките в „What’s inside“ — от Customizer, 0–15 %. */
	--ws-inside-pad: 0%;

	/* Текст */
	--ws-ink: var(--ws-green-dark);
	--ws-ink-soft: #3F5C42;
	--ws-ink-faint: #6E8370;
	--ws-on-dark: #F4EEDC;

	/* Форма */
	--ws-radius: 14px;
	--ws-radius-sm: 8px;
	--ws-shell: 1180px;
	--ws-shell-narrow: 760px;
	--ws-shadow: 0 1px 2px rgba(28, 72, 31, .05), 0 12px 28px -20px rgba(28, 72, 31, .35);
	--ws-shadow-lift: 0 2px 6px rgba(28, 72, 31, .07), 0 18px 36px -22px rgba(28, 72, 31, .45);

	/* Шрифтове */
	--ws-font-display: "Nunito", "Segoe UI", system-ui, sans-serif;
	--ws-font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
	--ws-font-script: "ylee MHIM", "Segoe Script", "Bradley Hand", cursive;

	/* Ритъм */
	--ws-space: clamp(2.5rem, 6vw, 4.5rem);
}

/*
 * 0.8.2: линиите се смятат от фона, за да не остане розов или кафяв шев, ако
 * фонът се смени от Customizer. Без color-mix() важат резервните стойности горе.
 */
@supports (color: color-mix(in srgb, red, blue)) {
	:root {
		--ws-line: color-mix(in srgb, var(--ws-cream) 80%, var(--ws-brown));
		--ws-line-strong: color-mix(in srgb, var(--ws-cream) 55%, var(--ws-brown));
	}
}

/* =========================================================================
   2. Основа
   ====================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--ws-bg);
	color: var(--ws-ink);
	font-family: var(--ws-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ws-green-action);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--ws-green-hover);
}

h1, h2, h3, h4 {
	font-family: var(--ws-font-display);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.18;
	text-wrap: balance;
	margin: 0;
}

p {
	margin: 0;
}

:focus-visible {
	outline: 3px solid var(--ws-green);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.ws-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ws-green-dark);
	color: var(--ws-on-dark);
	padding: 12px 18px;
	border-radius: 0 0 var(--ws-radius-sm) 0;
}

.ws-skip-link:focus {
	left: 0;
}

.ws-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.ws-main {
	flex: 1;
}

.ws-shell {
	width: 100%;
	max-width: var(--ws-shell);
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 32px);
}

.ws-shell--narrow {
	max-width: var(--ws-shell-narrow);
}

.ws-section {
	padding-block: var(--ws-space);
}

/* =========================================================================
   3. Header — A2, A3, A4
   ====================================================================== */

/* A8 — лентата с държавите. Един ред, дискретна. */
.ws-shipbar {
	background: var(--ws-green-dark);
	color: var(--ws-on-dark);
	font-size: .82rem;
	letter-spacing: .01em;
}

.ws-shipbar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
	text-align: center;
}

.ws-shipbar svg {
	flex: none;
	opacity: .85;
}

/*
 * A2: всичко останало се събира в ЕДИН ред — лого, меню, икони.
 * Старият header имаше четири ленти една под друга.
 */
.ws-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ws-cream);
	border-bottom: 1px solid var(--ws-line);
	transition: box-shadow .2s ease;
}

.ws-header.is-stuck {
	box-shadow: var(--ws-shadow);
}

.ws-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	min-height: 72px;
}

.ws-header__brand {
	flex: none;
	display: flex;
	align-items: center;
}

.ws-brand {
	display: flex;
	align-items: center;
}

/*
 * Бялото лого изчезва върху кремавия header. Плочката му връща контраста и
 * работи като знак на марката, без да се пипа самият файл.
 */
.ws-brand--tile {
	padding: 8px 12px;
	border-radius: 12px;
	background: var(--ws-green-dark);
}

.ws-header__brand img,
.ws-header__brand .custom-logo {
	max-height: 44px;
	width: auto;
}

.ws-brand--tile img {
	max-height: 38px;
}

.ws-footer .ws-brand--tile {
	background: rgba(244, 238, 220, .08);
}

.ws-logo-text {
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--ws-green-dark);
	text-decoration: none;
}

.ws-nav {
	flex: 1;
}

.ws-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.2vw, 30px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ws-nav__list a {
	display: inline-block;
	padding: 6px 0;
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .96rem;
	color: var(--ws-ink);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.ws-nav__list a:hover,
.ws-nav__list .current-menu-item > a {
	color: var(--ws-green-action);
	border-bottom-color: var(--ws-green);
}

/* Подменю */
.ws-nav__list li {
	position: relative;
}

.ws-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: var(--ws-surface);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius-sm);
	box-shadow: var(--ws-shadow);
	list-style: none;
	margin: 6px 0 0;
	padding: 6px;
	display: none;
	z-index: 20;
}

.ws-nav__list li:hover > .sub-menu,
.ws-nav__list li:focus-within > .sub-menu {
	display: block;
}

.ws-nav__list .sub-menu a {
	display: block;
	padding: 7px 10px;
	border-bottom: none;
	border-radius: 6px;
}

.ws-nav__list .sub-menu a:hover {
	background: var(--ws-surface-alt);
}

.ws-header__tools {
	flex: none;
	display: flex;
	align-items: center;
	gap: 4px;
}

.ws-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ws-ink);
	cursor: pointer;
	text-decoration: none;
	position: relative;
}

.ws-iconbtn:hover {
	background: var(--ws-surface-alt);
	color: var(--ws-green-action);
}

.ws-cart__count {
	position: absolute;
	top: 4px;
	right: 3px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--ws-green-action);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.ws-cart__count[data-count="0"] {
	display: none;
}

.ws-burger {
	display: none;
}

[hidden] {
	display: none !important;
}

/* A3 — търсенето живее зад иконата, а не заема половин ред */
.ws-search {
	border-top: 1px solid var(--ws-line);
	background: var(--ws-surface);
	padding-block: 18px;
}

.ws-searchform {
	display: flex;
	gap: 8px;
	max-width: 520px;
	margin-inline: auto;
}

.ws-searchform__field {
	flex: 1;
	min-width: 0;
	padding: 11px 15px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: .95rem;
	color: var(--ws-ink);
}

.ws-searchform__submit {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--ws-green-action);
	color: #fff;
	cursor: pointer;
}

.ws-searchform__submit:hover {
	background: var(--ws-green-hover);
}

@media (max-width: 880px) {
	.ws-burger {
		display: inline-flex;
	}

	.ws-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--ws-surface);
		border-bottom: 1px solid var(--ws-line);
		box-shadow: var(--ws-shadow);
		display: none;
	}

	.ws-nav.is-open {
		display: block;
	}

	.ws-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px clamp(16px, 4vw, 32px) 16px;
	}

	.ws-nav__list a {
		padding: 12px 0;
		border-bottom: 1px solid var(--ws-line);
	}

	.ws-nav__list .sub-menu {
		position: static;
		display: block;
		border: 0;
		box-shadow: none;
		padding-left: 14px;
		background: transparent;
	}
}

/* =========================================================================
   4. Бутони
   ====================================================================== */

.ws-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--ws-green-action);
	color: #fff;
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .95rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .16s ease, transform .16s ease;
}

.ws-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--ws-green-hover);
	color: #fff;
	transform: translateY(-1px);
}

.ws-btn--ghost {
	background: transparent;
	color: var(--ws-green-action);
	box-shadow: inset 0 0 0 2px var(--ws-line-strong);
}

.ws-btn--ghost:hover {
	background: var(--ws-surface-alt);
	color: var(--ws-green-hover);
}

/* =========================================================================
   5. Общи блокове
   ====================================================================== */

.ws-secthead {
	margin-bottom: clamp(20px, 3vw, 32px);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ws-secthead--center {
	align-items: center;
	text-align: center;
}

.ws-secthead__title {
	font-size: clamp(1.45rem, 3vw, 2rem);
}

.ws-secthead__sub {
	color: var(--ws-ink-soft);
	max-width: 58ch;
	font-size: 1rem;
}

.ws-secthead--center .ws-secthead__sub {
	margin-inline: auto;
}

.ws-pagehead {
	margin-bottom: clamp(24px, 4vw, 40px);
}

.ws-pagehead__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.ws-badge {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--ws-surface-alt);
	color: var(--ws-ink-faint);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ws-prose > * + * {
	margin-top: 1.1em;
}

.ws-prose h2 {
	font-size: 1.5rem;
	margin-top: 1.8em;
}

.ws-prose h3 {
	font-size: 1.2rem;
	margin-top: 1.5em;
}

.ws-prose ul,
.ws-prose ol {
	padding-left: 1.3em;
	display: flex;
	flex-direction: column;
	gap: .4em;
}

.ws-prose img {
	border-radius: var(--ws-radius);
}

.ws-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 60px 20px;
	color: var(--ws-ink-faint);
	text-align: center;
}

/* A1 — облаците.
   Четири слоя в тонове от брандовата палитра, всеки удвоен по ширина и
   плъзгащ се с различна скорост. Слой 1 е най-отпред и е в цвета на
   следващата секция, за да няма шев; 4 е най-отзад и най-блед. */
.ws-clouds {
	--ws-cloud-1: var(--ws-cream);
	--ws-cloud-2: #F6EDDB;
	--ws-cloud-3: #EAEAD8;
	--ws-cloud-4: #DCE6D4;

	position: relative;
	line-height: 0;
	/*
	 * Полето расте с ширината на екрана, за да останат облачетата кръгли —
	 * SVG-то се разтяга (preserveAspectRatio="none"), така че съотношението на
	 * лентата трябва да е близко до това на полето (1440 × 200).
	 */
	height: clamp(96px, 13vw, 210px);
	overflow: hidden;
	pointer-events: none;
	/*
	 * Плътната страна на лентата винаги е долният ръб на собствената ѝ
	 * координатна система (при „--top“ тя се завърта и става горен ръб). Тези
	 * три пиксела запълват тънкия косъм, който се появява при дробна височина.
	 */
	background: linear-gradient(to top, var(--ws-cloud-1) 0 3px, transparent 3px);
}

/* 0.8.2: средните слоеве следват фона на страницата (футърът си има свои). */
@supports (color: color-mix(in srgb, red, blue)) {
	.ws-clouds {
		--ws-cloud-2: color-mix(in srgb, var(--ws-cream) 88%, var(--ws-gold));
		--ws-cloud-3: color-mix(in srgb, var(--ws-cloud-2) 55%, var(--ws-cloud-4));
	}
}

.ws-clouds--top {
	transform: rotate(180deg);
	/* Лентата захапва един пиксел от секцията отгоре, за да не остава косъм
	   между кремавия ѝ ръб и тъмния фон на футъра. */
	margin-top: -1px;
}

.ws-clouds:not(.ws-clouds--top) {
	margin-bottom: -1px;
}

.ws-clouds__layer {
	position: absolute;
	/* по един пиксел извън полето горе и долу — иначе при закръгляне на
	   височината се появява косъм от фона отдолу */
	inset: -1px 0;
	display: flex;
	width: 200%;
	/* На тесен екран двете копия не бива да се сбият — иначе облачетата
	   се изтеглят на тънки шипове. */
	min-width: 1500px;
	will-change: transform;
}

.ws-clouds__layer svg {
	display: block;
	width: 50%;
	height: 100%;
	flex: none;
}

.ws-clouds__layer--1 { color: var(--ws-cloud-1); animation: ws-drift 42s linear infinite; }
.ws-clouds__layer--2 { color: var(--ws-cloud-2); animation: ws-drift 62s linear infinite; }
.ws-clouds__layer--3 { color: var(--ws-cloud-3); animation: ws-drift 88s linear infinite; }
.ws-clouds__layer--4 { color: var(--ws-cloud-4); animation: ws-drift 120s linear infinite; }

@keyframes ws-drift {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.ws-clouds__layer {
		animation: none;
	}
}

/* =========================================================================
   6. Мрежи и карти
   ====================================================================== */

.ws-grid {
	display: grid;
	gap: clamp(18px, 2.5vw, 28px);
}

.ws-grid--posts {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.ws-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ws-surface);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius);
	overflow: hidden;
	box-shadow: var(--ws-shadow);
	transition: box-shadow .18s ease, transform .18s ease;
}

.ws-card:hover {
	box-shadow: var(--ws-shadow-lift);
	transform: translateY(-2px);
}

/* Разтегнатият линк — цялата карта е кликаема */
.ws-card__link::after,
.ws-pcard__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.ws-card__media,
.ws-pcard__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--ws-surface-alt);
	overflow: hidden;
}

.ws-card__media img,
.ws-pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.ws-card:hover .ws-card__media img,
.ws-pcard:hover .ws-pcard__media img {
	transform: scale(1.03);
}

.ws-card__placeholder,
.ws-inside__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--ws-line-strong);
}

.ws-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 22px;
}

.ws-card__title {
	font-size: 1.1rem;
}

.ws-card__excerpt {
	color: var(--ws-ink-soft);
	font-size: .94rem;
}

.ws-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--ws-ink-faint);
	font-size: .82rem;
}

.ws-dot {
	opacity: .5;
}

/* =========================================================================
   7. WooCommerce — каталог и карта на продукт (B8)
   ====================================================================== */

ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: clamp(18px, 2.5vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

.woocommerce ul.products li.product {
	width: 100%;
	margin: 0;
	float: none;
	clear: none;
}

.ws-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ws-surface);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius);
	overflow: hidden;
	box-shadow: var(--ws-shadow);
	transition: box-shadow .18s ease, transform .18s ease;
}

.ws-pcard:hover,
.ws-pcard:focus-within {
	box-shadow: var(--ws-shadow-lift);
	transform: translateY(-2px);
}

.ws-pcard__media {
	aspect-ratio: 1 / 1;
}

.ws-pcard__flag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ws-gold);
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.ws-pcard__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px 8px;
	flex: 1;
}

.ws-pcard__cat {
	color: var(--ws-green-action);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.ws-pcard__title {
	font-size: 1.02rem;
	line-height: 1.35;
}

.ws-pcard__link {
	color: var(--ws-ink);
	text-decoration: none;
}

.ws-pcard:hover .ws-pcard__link {
	color: var(--ws-green-action);
}

.ws-pcard__age {
	color: var(--ws-ink-faint);
	font-size: .84rem;
}

.ws-pcard__foot {
	margin-top: auto;
	padding-top: 8px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.ws-pcard__price {
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: 1.1rem;
	color: var(--ws-ink);
	font-variant-numeric: tabular-nums;
}

.ws-pcard__price del {
	opacity: .5;
	font-weight: 400;
	font-size: .85em;
	margin-right: 5px;
}

.ws-pcard__stock {
	font-size: .78rem;
	font-weight: 600;
}

.ws-pcard__stock.is-in {
	color: var(--ws-green-action);
}

.ws-pcard__stock.is-out {
	color: var(--ws-clay);
}

/* Бутонът стои НАД разтегнатия линк и запазва собственото си действие */
.ws-pcard__actions {
	position: relative;
	z-index: 2;
	padding: 0 18px 18px;
}

.ws-pcard__actions .button {
	width: 100%;
}

.ws-pcard__actions:empty {
	padding-bottom: 18px;
}

/* =========================================================================
   8. Единичен продукт
   ====================================================================== */

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
}

@media (min-width: 900px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: start;
	}

	/*
	 * Галерията НЕ е sticky. Секциите под сгъвката са в същия грид и заемат
	 * цялата ширина; при sticky галерията остава закачена и се движи върху тях
	 * чак до отзивите.
	 */
	.woocommerce div.product .woocommerce-product-gallery,
	.woocommerce div.product .ws-gallery {
		grid-column: 1;
	}

	.woocommerce div.product .summary {
		grid-column: 2;
	}

	.woocommerce div.product > .ws-section,
	.woocommerce div.product > .ws-band,
	.woocommerce div.product .related,
	.woocommerce div.product .upsells {
		grid-column: 1 / -1;
	}
}

.woocommerce div.product .woocommerce-product-gallery {
	margin: 0;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper img {
	border-radius: var(--ws-radius);
}

.woocommerce div.product .product_title {
	font-size: clamp(1.6rem, 3.4vw, 2.3rem);
	margin-bottom: .4em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ws-ink);
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: 1.6rem;
	font-variant-numeric: tabular-nums;
	margin: 0 0 .5em;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--ws-ink-soft);
	max-width: 52ch;
}

.woocommerce div.product form.cart {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.woocommerce .quantity .qty {
	width: 72px;
	padding: 11px 8px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 999px;
	background: #fff;
	text-align: center;
	font: inherit;
}

.woocommerce div.product .product_meta {
	margin-top: 18px;
	color: var(--ws-ink-faint);
	font-size: .85rem;
}

/* Woo съобщения */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--ws-green);
	background: var(--ws-surface);
	border-radius: var(--ws-radius-sm);
}

.woocommerce-error {
	border-top-color: var(--ws-clay);
}

/* =========================================================================
   9. Футър — A9
   ====================================================================== */

.ws-footer {
	margin-top: 0;
	background: var(--ws-green-dark);
	color: var(--ws-on-dark);
}

/* Преходът тук е от кремаво към тъмнозелено, затова задните слоеве
   постепенно потъмняват към цвета на футъра. */
.ws-footer .ws-clouds {
	--ws-cloud-1: var(--ws-cream);
	--ws-cloud-2: #CFDCC4;
	--ws-cloud-3: #7FA37E;
	--ws-cloud-4: #3E6742;
}

.ws-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	padding-block: clamp(30px, 4vw, 52px);
}

@media (min-width: 820px) {
	.ws-footer__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	}
}

.ws-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
}

.ws-footer__brand img {
	max-height: 52px;
	width: auto;
}

.ws-footer .ws-logo-text {
	color: var(--ws-on-dark);
}

.ws-footer__note,
.ws-footer__ship {
	color: rgba(244, 238, 220, .72);
	font-size: .9rem;
	max-width: 40ch;
}

.ws-footer__ship {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.ws-footer__ship svg {
	flex: none;
	margin-top: 3px;
}

.ws-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: clamp(20px, 3vw, 36px);
}

.ws-widget__title {
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: rgba(244, 238, 220, .55);
	margin-bottom: 12px;
}

.ws-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ws-footer a {
	color: var(--ws-on-dark);
	text-decoration: none;
	font-size: .93rem;
}

.ws-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.ws-footer__bar {
	border-top: 1px solid rgba(244, 238, 220, .14);
}

.ws-footer__barinner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 18px;
	font-size: .84rem;
	color: rgba(244, 238, 220, .6);
}

.ws-footer__menu {
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 18px !important;
}

/* =========================================================================
   10. Дребно
   ====================================================================== */

.ws-404 {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.ws-404__title {
	font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.ws-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.ws-404__search {
	width: 100%;
	max-width: 420px;
}

.ws-single__head {
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ws-single__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.ws-single__media {
	margin: 0 0 28px;
}

.ws-single__media img {
	width: 100%;
	border-radius: var(--ws-radius);
}

.woocommerce-pagination ul,
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 36px;
	list-style: none;
	padding: 0;
	border: 0;
}

.woocommerce-pagination ul li,
.navigation.pagination .nav-links > * {
	border: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span,
.navigation.pagination a,
.navigation.pagination .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--ws-surface);
	border: 1px solid var(--ws-line);
	color: var(--ws-ink);
	text-decoration: none;
	font-weight: 700;
}

.woocommerce-pagination .current,
.navigation.pagination .current {
	background: var(--ws-green-action);
	border-color: var(--ws-green-action);
	color: #fff;
}

.woocommerce-breadcrumb {
	color: var(--ws-ink-faint);
	font-size: .85rem;
	margin-bottom: 20px;
}

.woocommerce-breadcrumb a {
	color: var(--ws-ink-soft);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* =========================================================================
   11. Начална страница
   ====================================================================== */

/*
 * Героят стои на различен фон от страницата — иначе облаците, които са в цвета
 * на страницата, се сливат с него и просто не се виждат.
 */
.ws-hero {
	position: relative;
	background: linear-gradient(180deg, var(--ws-mist) 0%, #EFF4EA 100%);
}

.ws-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 5vw, 56px);
	align-items: center;
	padding-block: clamp(40px, 7vw, 84px) clamp(20px, 3vw, 40px);
}

@media (min-width: 860px) {
	.ws-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	}
}

.ws-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.ws-hero__eyebrow {
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ws-green-action);
}

.ws-hero__title {
	font-size: clamp(2.1rem, 5.4vw, 3.4rem);
	line-height: 1.08;
	max-width: 15ch;
}

.ws-hero__text {
	color: var(--ws-ink-soft);
	font-size: clamp(1rem, 1.6vw, 1.12rem);
	max-width: 46ch;
}

.ws-hero__actions {
	margin-top: 6px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ws-hero__media {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ws-hero__media img {
	width: 100%;
	max-width: 520px;
	border-radius: calc(var(--ws-radius) * 1.6);
	box-shadow: var(--ws-shadow-lift);
}

.ws-hero__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(140px, 22vw, 220px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--ws-surface);
	color: var(--ws-green);
	box-shadow: var(--ws-shadow);
}

.ws-hero .ws-clouds {
	color: var(--ws-cream);
	margin-bottom: -1px;
}

.ws-home-products__more {
	margin-top: clamp(24px, 3vw, 36px);
	text-align: center;
}

/* Лента с ценности */
.ws-values {
	background: var(--ws-cream-deep);
	border-top: 1px solid var(--ws-line);
}

.ws-values__inner {
	padding-block: clamp(34px, 5vw, 60px);
}

.ws-values__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: clamp(20px, 3vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ws-value {
	display: flex;
	flex-direction: column;
	gap: 9px;
	align-items: flex-start;
}

.ws-value__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--ws-cream);
	color: var(--ws-green-action);
}

.ws-value__title {
	font-size: 1.02rem;
	color: var(--ws-ink);
}

.ws-value__text {
	color: var(--ws-ink-soft);
	font-size: .92rem;
}

/* Началната страница подава директно към футъра — без двойни облаци */
.ws-values + .ws-footer .ws-clouds,
.ws-home-posts + .ws-footer .ws-clouds {
	color: var(--ws-cream);
}

/* =========================================================================
   12. Неутрализиране на woocommerce-layout.css
   -------------------------------------------------------------------------
   WooCommerce налага float оформление с фиксирани проценти:
       .woocommerce ul.products li.product { width: 30.75%; float: left }
       .woocommerce div.product div.images { width: 48%;   float: left }
   Специфичността е същата като нашата, затова темата се зарежда след неговите
   стилове (приоритет 30 в inc/enqueue.php). Тук процентите се неутрализират
   изрично — вътре в грид контейнер те се смятат спрямо клетката и свиват
   картите до около 80 пиксела, което беше причината за сбитите колони.
   ====================================================================== */

/*
 * Началната страница НЕ получава класа woocommerce в <body> — тя не е
 * WooCommerce изглед. Затова правилата важат и без този префикс, иначе
 * картите там остават неоформени и падат една под друга.
 */
ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .ws-gallery,
.woocommerce #content div.product div.images,
.woocommerce #content div.product div.summary {
	width: auto !important;
	min-width: 0;
	float: none !important;
	margin: 0 !important;
}

.woocommerce ul.products::after,
.woocommerce div.product::after {
	content: none !important;
}

/* =========================================================================
   13. Отзивчиви мрежи
   ====================================================================== */

/*
 * Броят колони следва класа columns-N, който WooCommerce слага сам, и слиза
 * стъпаловидно на тесни екрани. Явните стойности са по-предвидими от auto-fit:
 * при четири продукта auto-fit даваше 3 + 1 на лаптоп, което изглежда счупено.
 */
ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: clamp(16px, 2.2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.products.columns-1 { grid-template-columns: minmax(0, 1fr); }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1200px) {
	ul.products.columns-5,
	ul.products.columns-6 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	ul.products.columns-4,
	ul.products.columns-5,
	ul.products.columns-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	ul.products.columns-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	ul.products[class*="columns-"] {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ws-grid--posts {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.ws-values__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

/* Дългите имена на продукти не бива да разпъват колоната */
.ws-pcard,
.ws-card,
.ws-value {
	min-width: 0;
}

.ws-pcard__title,
.ws-card__title,
.ws-inside__name {
	overflow-wrap: anywhere;
	hyphens: auto;
}

.ws-pcard__title {
	font-size: clamp(.98rem, 1.15vw, 1.08rem);
}

/* =========================================================================
   14. Единичен продукт — повече въздух
   ====================================================================== */

.ws-woo {
	max-width: 1240px;
}

.woocommerce div.product {
	gap: clamp(24px, 4vw, 56px);
}

@media (min-width: 900px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: clamp(36px, 5vw, 72px);
	}
}

.woocommerce div.product .summary {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	margin-top: 6px;
	font-size: 1.02rem;
	line-height: 1.7;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
	border-radius: var(--ws-radius);
	width: 100%;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: var(--ws-radius-sm);
	border: 1px solid var(--ws-line);
}

/* Секциите под сгъвката заемат цялата ширина */
.woocommerce div.product > .ws-section,
.woocommerce div.product > .ws-band,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells {
	grid-column: 1 / -1;
}

/* =========================================================================
   15. Търсене — модерен панел
   ====================================================================== */

.ws-search {
	border-top: 1px solid var(--ws-line);
	background: var(--ws-surface);
	padding-block: clamp(16px, 2.6vw, 26px);
}

.ws-search__inner {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 720px;
	margin-inline: auto;
}

.ws-search__form {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ws-search__icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ws-ink-faint);
	pointer-events: none;
	display: inline-flex;
}

.ws-search__field {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 18px 0 50px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: var(--ws-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.ws-search__field::placeholder {
	color: var(--ws-ink-faint);
}

.ws-search__field:focus {
	border-color: var(--ws-green);
	box-shadow: 0 0 0 4px rgba(54, 146, 68, .14);
	outline: none;
}

.ws-search__submit {
	flex: none;
	height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--ws-green-action);
	color: #fff;
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
	transition: background .15s ease;
}

.ws-search__submit:hover {
	background: var(--ws-green-hover);
}

.ws-search__close {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ws-ink-faint);
	cursor: pointer;
}

.ws-search__close:hover {
	background: var(--ws-surface-alt);
	color: var(--ws-ink);
}

@media (max-width: 560px) {
	.ws-search__submit {
		padding: 0 16px;
		font-size: .88rem;
	}

	/* Иконата в header-а също затваря панела — хиксчето само краде ширина. */
	.ws-search__close {
		display: none;
	}

	.ws-search__field {
		height: 48px;
		padding-left: 44px;
	}

	.ws-search__icon {
		left: 15px;
	}
}

/* Резервен стил, ако някъде излезе стандартната форма на WooCommerce */
.woocommerce-product-search {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.woocommerce-product-search .search-field {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 999px;
	font: inherit;
}

.woocommerce-product-search button[type="submit"] {
	height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--ws-green-action);
	color: #fff;
	font-family: var(--ws-font-display);
	font-weight: 700;
	cursor: pointer;
}

/* =========================================================================
   17. Дребни отзивчиви поправки
   ====================================================================== */

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.woocommerce div.product form.cart {
		width: 100%;
	}

	.woocommerce div.product form.cart .button {
		flex: 1;
	}

	.ws-footer__barinner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Нищо не бива да разпъва страницата настрани */
.ws-page {
	overflow-x: clip;
}

table {
	max-width: 100%;
}

.ws-prose table {
	display: block;
	overflow-x: auto;
	max-width: 100%;
}

/* Таблицата на количката остава таблица; скролът е на обвивката,
   иначе се чупи разпределението на колоните. */
.woocommerce-cart-form,
.woocommerce .cart-collaterals,
.woocommerce-checkout-review-order {
	overflow-x: auto;
}

/* =========================================================================
   18. Мобилно меню и футър
   ====================================================================== */

@media (max-width: 880px) {
	/* Съдържанието на менюто се чете по-добре центрирано на телефон. */
	.ws-nav__list {
		align-items: center;
		padding: 10px clamp(16px, 4vw, 32px) 18px;
		text-align: center;
	}

	.ws-nav__list > li {
		width: 100%;
	}

	.ws-nav__list a {
		display: block;
		width: 100%;
		padding: 14px 0;
		font-size: 1.02rem;
		text-align: center;
	}

	.ws-nav__list > li:last-child > a {
		border-bottom: none;
	}

	/*
	 * На телефон долната черта е разделител между позициите, затова активният
	 * елемент се маркира с фон и цвят — иначе зеленото подчертаване се слива с
	 * разделителя и изглежда като грешка.
	 */
	.ws-nav__list .current-menu-item > a {
		border-bottom-color: var(--ws-line);
		background: var(--ws-surface-alt);
		border-radius: var(--ws-radius-sm);
	}

	.ws-nav__list .sub-menu {
		padding-left: 0;
		text-align: center;
	}

	.ws-nav__list .sub-menu a {
		font-size: .94rem;
		font-weight: 400;
	}
}

@media (max-width: 620px) {
	/* Футърът в една колона, подравнен централно — иначе трите групи
	   се редят на неравни половинки и изглеждат разместени. */
	.ws-footer__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
		text-align: center;
	}

	.ws-footer__brand {
		align-items: center;
	}

	.ws-footer__note {
		margin-inline: auto;
		text-align: center;
	}

	/*
	 * Като flex редът се разпада: иконата остава вляво, а текстът се центрира
	 * в остатъка. На телефон иконата върви в самия текстов поток.
	 */
	.ws-footer__ship {
		display: block;
		margin-inline: auto;
		text-align: center;
	}

	.ws-footer__ship svg {
		display: inline-block;
		vertical-align: -3px;
		margin-right: 6px;
	}

	.ws-footer__cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.ws-footer__col + .ws-footer__col {
		padding-top: 24px;
		border-top: 1px solid rgba(244, 238, 220, .12);
	}

	.ws-widget__title {
		margin-bottom: 10px;
	}

	.ws-footer ul {
		gap: 12px;
		align-items: center;
	}

	.ws-footer a {
		font-size: .97rem;
	}

	.ws-footer__barinner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 8px;
	}

	.ws-footer__menu {
		justify-content: center;
	}
}

/* Кредит на PowerIT — видимост и за академията */
.ws-footer__credit {
	color: rgba(244, 238, 220, .6);
}

.ws-footer__credit a {
	color: rgba(244, 238, 220, .9);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(244, 238, 220, .35);
}

.ws-footer__credit a:hover {
	color: #fff;
	border-bottom-color: #fff;
}

/* Логото на телефон да не се смачква */
@media (max-width: 480px) {
	.ws-brand--tile {
		padding: 6px 10px;
	}

	.ws-brand--tile img {
		max-height: 32px;
	}

	.ws-header__inner {
		gap: 8px;
		min-height: 64px;
	}

	.ws-iconbtn {
		width: 38px;
		height: 38px;
	}
}

/* =========================================================================
   19. Количка, каса и празна количка
   -------------------------------------------------------------------------
   WooCommerce извежда тези страници по три различни начина в зависимост от
   версията и от това дали страницата ползва блокове или шорткод. Правилата
   покриват и трите, за да не зависи резултатът от това кой вариант е активен.
   ====================================================================== */

/* --- Празна количка: „New in store“ --------------------------------- */

.wp-block-woocommerce-empty-cart-block,
.wc-block-cart__empty-cart__title + *,
.cart-empty ~ * {
	max-width: 100%;
}

.wc-block-cart__empty-cart__title,
p.cart-empty {
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: clamp(1.3rem, 2.6vw, 1.7rem);
	color: var(--ws-ink);
	text-align: center;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	background: none;
}

p.cart-empty::before {
	content: none;
}

.wp-block-woocommerce-empty-cart-block p,
.return-to-shop {
	text-align: center;
	color: var(--ws-ink-soft);
}

.return-to-shop {
	margin-top: 18px;
}

/* Заглавието „New in store“ и подобните над продуктова решетка */
.wp-block-woocommerce-empty-cart-block h2,
.wc-block-grid__title,
.cross-sells > h2,
.wc-block-product-collection h2 {
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	color: var(--ws-ink);
	text-align: center;
	margin: clamp(28px, 4vw, 48px) 0 clamp(18px, 2.5vw, 26px);
}

/*
 * Решетките на блоковете. Всеки от тези класове идва от различна версия на
 * WooCommerce; всички се подреждат по един и същ начин.
 */
.wc-block-grid__products,
.wc-block-product-template,
.wp-block-woocommerce-product-collection .wp-block-post-template,
.wp-block-woocommerce-empty-cart-block ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 26px);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Явни стъпки, за да не се получи 3 + 1 при четири продукта. */
@media (max-width: 980px) {
	.wc-block-grid__products,
	.wc-block-product-template,
	.wp-block-woocommerce-product-collection .wp-block-post-template,
	.wp-block-woocommerce-empty-cart-block ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.wc-block-grid__products,
	.wc-block-product-template,
	.wp-block-woocommerce-product-collection .wp-block-post-template,
	.wp-block-woocommerce-empty-cart-block ul {
		grid-template-columns: minmax(0, 1fr);
	}
}

.wc-block-grid__products > li,
.wc-block-product-template > li,
.wp-block-woocommerce-product-collection .wp-block-post-template > li,
.wp-block-woocommerce-empty-cart-block ul > li {
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--ws-surface);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius);
	overflow: hidden;
	box-shadow: var(--ws-shadow);
	transition: box-shadow .18s ease, transform .18s ease;
}

.wc-block-grid__products > li:hover,
.wc-block-product-template > li:hover,
.wp-block-woocommerce-empty-cart-block ul > li:hover {
	box-shadow: var(--ws-shadow-lift);
	transform: translateY(-2px);
}

.wc-block-grid__product-image,
.wc-block-grid__products > li img,
.wc-block-product-template > li img,
.wp-block-woocommerce-empty-cart-block ul > li img {
	width: 100%;
	margin: 0;
	background: var(--ws-surface-alt);
}

.wc-block-grid__product-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.wc-block-grid__product-title,
.wc-block-grid__products > li h3,
.wc-block-product-template > li h3 {
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.35;
	color: var(--ws-ink);
	margin: 0;
	padding: 0 16px;
	overflow-wrap: anywhere;
}

.wc-block-grid__product-price,
.wc-block-grid__products > li .price {
	display: block;
	padding: 0 16px;
	font-family: var(--ws-font-display);
	font-weight: 800;
	color: var(--ws-ink);
	font-variant-numeric: tabular-nums;
}

.wc-block-grid__product-onsale {
	display: inline-block;
	margin: 0 16px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--ws-gold);
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	border: 0;
}

.wc-block-grid__product-add-to-cart,
.wc-block-grid__products > li .wp-block-button {
	margin: auto 16px 16px;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__products > li .wp-block-button__link {
	width: 100%;
	border-radius: 999px;
	background: var(--ws-green-action);
	color: #fff;
	font-family: var(--ws-font-display);
	font-weight: 700;
	padding: 11px 18px;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
	background: var(--ws-green-hover);
}

/* --- Количката с артикули: блоков вариант ---------------------------- */

.wc-block-cart {
	gap: clamp(24px, 4vw, 48px);
}

.wc-block-cart__main,
.wc-block-cart__sidebar {
	min-width: 0;
	padding: 0;
}

.wc-block-cart-items {
	border-collapse: collapse;
}

.wc-block-cart-items__header {
	font-family: var(--ws-font-display);
	font-size: .74rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ws-ink-faint);
	border-bottom: 1px solid var(--ws-line-strong);
}

.wc-block-cart-items__row {
	border-bottom: 1px solid var(--ws-line);
}

.wc-block-cart-item__image img {
	border-radius: var(--ws-radius-sm);
	background: var(--ws-surface-alt);
}

.wc-block-components-product-name {
	font-family: var(--ws-font-display);
	font-weight: 700;
	color: var(--ws-ink);
	text-decoration: none;
}

.wc-block-components-totals-wrapper,
.wc-block-cart__sidebar .wc-block-components-sidebar {
	background: var(--ws-surface);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius);
}

.wc-block-components-totals-item__label {
	color: var(--ws-ink-soft);
}

.wc-block-components-totals-footer-item {
	font-family: var(--ws-font-display);
	font-weight: 800;
	color: var(--ws-ink);
}

.wc-block-components-button:not(.is-link) {
	border-radius: 999px;
	background: var(--ws-green-action);
	color: #fff;
	font-family: var(--ws-font-display);
	font-weight: 700;
	padding: 13px 24px;
}

.wc-block-components-button:not(.is-link):hover {
	background: var(--ws-green-hover);
}

.wc-block-components-text-input input,
.wc-block-components-textarea {
	border-radius: var(--ws-radius-sm);
	border-color: var(--ws-line-strong);
}

.wc-block-components-quantity-selector {
	border-radius: 999px;
	border-color: var(--ws-line-strong);
}

/* --- Количката с артикули: класически вариант ------------------------ */

.woocommerce table.shop_table {
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--ws-surface);
}

.woocommerce table.shop_table th {
	font-family: var(--ws-font-display);
	font-size: .74rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ws-ink-faint);
	background: var(--ws-surface-alt);
	padding: 14px 16px;
}

.woocommerce table.shop_table td {
	padding: 16px;
	border-top: 1px solid var(--ws-line);
	vertical-align: middle;
}

.woocommerce table.cart img {
	width: 64px;
	border-radius: var(--ws-radius-sm);
	background: var(--ws-surface-alt);
}

.woocommerce table.cart td.product-name a {
	font-family: var(--ws-font-display);
	font-weight: 700;
	color: var(--ws-ink);
	text-decoration: none;
}

.woocommerce a.remove {
	color: var(--ws-clay) !important;
	font-weight: 700;
}

.woocommerce a.remove:hover {
	background: var(--ws-clay) !important;
	color: #fff !important;
}

.woocommerce .cart-collaterals .cart_totals {
	width: 100%;
	float: none;
}

.woocommerce .cart-collaterals h2 {
	font-family: var(--ws-font-display);
	font-size: 1.2rem;
	margin-bottom: 14px;
}

.woocommerce .coupon {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.woocommerce .coupon input.input-text {
	flex: 1;
	min-width: 160px;
	height: 46px;
	padding: 0 16px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 999px;
	font: inherit;
}

@media (min-width: 900px) {
	.woocommerce-cart-form + .cart-collaterals {
		max-width: 420px;
		margin-left: auto;
	}
}

/* --- Каса ------------------------------------------------------------- */

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order {
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius);
	background: var(--ws-surface);
	padding: clamp(18px, 3vw, 28px);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	width: 100%;
	min-height: 46px;
	padding: 11px 15px;
	border: 1px solid var(--ws-line-strong);
	border-radius: var(--ws-radius-sm);
	background: #fff;
	font: inherit;
	color: var(--ws-ink);
}

.woocommerce form .form-row label {
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .86rem;
	color: var(--ws-ink);
	margin-bottom: 5px;
}

@media (max-width: 700px) {
	/* Таблицата на количката се чете по-добре като карти, отколкото
	   като таблица, свита на 360 пиксела. */
	.woocommerce table.shop_table.cart thead {
		display: none;
	}

	.woocommerce table.shop_table.cart,
	.woocommerce table.shop_table.cart tbody,
	.woocommerce table.shop_table.cart tr,
	.woocommerce table.shop_table.cart td {
		display: block;
		width: 100%;
	}

	.woocommerce table.shop_table.cart tr {
		border-bottom: 1px solid var(--ws-line);
		padding: 8px 0;
	}

	.woocommerce table.shop_table.cart td {
		border: 0;
		padding: 6px 16px;
		text-align: left !important;
	}

	.woocommerce table.shop_table.cart td::before {
		content: attr(data-title) ": ";
		font-weight: 700;
		color: var(--ws-ink-faint);
		font-size: .8rem;
	}

	.woocommerce table.shop_table.cart td.product-remove::before,
	.woocommerce table.shop_table.cart td.product-thumbnail::before {
		content: none;
	}
}

/* Линковете в блоковите продуктови карти идват подчертани от ядрото. */
.wc-block-grid__product-link,
.wc-block-grid__product-title,
.wc-block-grid__products a,
.wc-block-product-template a,
.wp-block-woocommerce-empty-cart-block a {
	text-decoration: none;
}

.wc-block-grid__products > li,
.wc-block-product-template > li,
.wp-block-woocommerce-empty-cart-block ul > li {
	padding-bottom: 4px !important;
}

/*
 * Падащото меню за сортиране е махнато в inc/woocommerce.php. Стиловете стоят
 * тук, за да не изглежда като чужд елемент, ако някога бъде върнато или ако
 * плъгин го изведе на друг архив.
 */
.woocommerce-ordering select,
.woocommerce .woocommerce-ordering select {
	height: 44px;
	padding: 0 38px 0 16px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 999px;
	background-color: var(--ws-surface);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232A7538' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	font: inherit;
	font-size: .92rem;
	color: var(--ws-ink);
	appearance: none;
	cursor: pointer;
}

.woocommerce-ordering select:focus {
	border-color: var(--ws-green);
	outline: none;
	box-shadow: 0 0 0 4px rgba(54, 146, 68, .14);
}

/* =========================================================================
   20. Продуктова страница по визуализациите на Илияна (09.2026)
   ====================================================================== */

/* --- Ленти на цяла ширина вътре в ограничена обвивка ------------------ */

.ws-band {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding-block: clamp(2.2rem, 5vw, 3.8rem);
}

/* Последната лента на продуктовата страница се долепя до футъра —
   облаците са достатъчен преход. */
.woocommerce div.product > .ws-band:last-child {
	margin-bottom: calc(-1 * var(--ws-space));
}

.ws-band--mist {
	background: var(--ws-mist);
}

/* Меки органични ръбове — вместо прави линии между лентите. */
.ws-band--mist::before,
.ws-band--mist::after {
	content: "";
	position: absolute;
	left: -6%;
	width: 112%;
	height: clamp(40px, 6vw, 90px);
	background: inherit;
	border-radius: 50%;
	z-index: 0;
}

.ws-band--mist::before { top: calc(-1 * clamp(20px, 3vw, 45px)); }
.ws-band--mist::after  { bottom: calc(-1 * clamp(20px, 3vw, 45px)); }

.ws-band > .ws-shell {
	position: relative;
	z-index: 1;
}

/* --- Заглавие на секция с маркер, четка и таглайн --------------------- */

.ws-secthead--marked {
	position: relative;
	align-items: center;
	text-align: center;
	padding-top: 6px;
}

.ws-sprout-mark {
	display: block;
	width: 34px;
	height: auto;
	margin: 0 auto 6px;
}

.ws-sprout-mark--rays {
	filter: drop-shadow(0 0 0 transparent);
}

.ws-heart-mark {
	display: block;
	width: 68px;
	height: auto;
	margin: 0 auto 8px;
}

.ws-secthead--center .ws-secthead__title {
	font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

.ws-badge-note {
	position: absolute;
	right: 0;
	top: -10px;
	max-width: 210px;
	padding: 16px 24px;
	font-family: var(--ws-font-script);
	font-size: 1.35rem;
	line-height: 1.15;
	color: var(--ws-green-dark);
	text-align: center;
	background: var(--ws-blob-green);
	border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
	transform: rotate(-6deg);
}

.ws-badge-note__heart {
	display: inline-block;
	margin-left: 2px;
}

@media (max-width: 900px) {
	.ws-badge-note {
		position: static;
		display: inline-block;
		margin-top: 10px;
		transform: rotate(-3deg);
	}
}

.ws-tagline {
	margin-top: clamp(22px, 3vw, 34px);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.ws-tagline__text,
.ws-script {
	font-family: var(--ws-font-script);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	color: var(--ws-green-dark);
	line-height: 1.2;
}

.ws-tagline__heart {
	color: var(--ws-green);
}

.ws-tagline__line {
	width: min(220px, 60%);
	height: auto;
	margin-top: -4px;
	opacity: .6;
}

/* --- Заглавие на продукта с лого и сезон ------------------------------ */

.ws-ptitle {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin-bottom: 14px !important;
	line-height: 1.05;
}

.ws-ptitle__logo {
	width: min(80%, 360px);
	max-width: 100%;
	height: auto;
	margin-bottom: 2px;
}

.ws-ptitle__prefix {
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: clamp(1.2rem, 2.1vw, 1.6rem);
	color: var(--ws-green-dark);
}

.ws-ptitle__season {
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: clamp(2.6rem, 5.2vw, 4rem);
	letter-spacing: -.02em;
	color: var(--ws-green);
}

.ws-ptitle--winter .ws-ptitle__season { color: var(--ws-winter); }
.ws-ptitle--spring .ws-ptitle__season { color: var(--ws-spring); }
.ws-ptitle--summer .ws-ptitle__season { color: var(--ws-summer); }
.ws-ptitle--autumn .ws-ptitle__season { color: var(--ws-autumn); }

/* --- Четирите точки в краткото описание ------------------------------- */

.woocommerce div.product .woocommerce-product-details__short-description ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
	max-width: none;
}

.woocommerce div.product .woocommerce-product-details__short-description li {
	position: relative;
	padding-left: 34px;
	color: var(--ws-ink);
	font-size: 1rem;
	line-height: 1.5;
}

.woocommerce div.product .woocommerce-product-details__short-description li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ws-green-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* --- Age · Language ---------------------------------------------------- */

.ws-features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 0;
	margin: 22px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--ws-line);
	list-style: none;
}

.ws-features__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-right: 18px;
	margin-right: 18px;
	border-right: 1px solid var(--ws-line-strong);
	font-size: .98rem;
}

.ws-features__item:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

.ws-features__icon {
	display: inline-flex;
	color: var(--ws-green-action);
}

.ws-features__label {
	font-family: var(--ws-font-display);
	font-weight: 700;
	color: var(--ws-ink);
}

.ws-features__value {
	color: var(--ws-ink-soft);
}

/* --- Read more на място ------------------------------------------------ */

.ws-readmore {
	margin: 14px 0 0;
}

/*
 * Под двете колони блокът е на цялата ширина на грида, но текстът се държи
 * четим — иначе редовете стават по 130 знака.
 */
.woocommerce div.product > .ws-readmore {
	grid-column: 1 / -1;
	max-width: 62ch;
	margin: 30px auto 0;
}

/*
 * Като бутон блокът застава в средата, с тънка линия от двете страни — така
 * не виси в единия край, а разделя горната част от секциите отдолу.
 */
.woocommerce div.product > .ws-readmore--modal {
	max-width: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 3vw, 28px);
	/* без „auto“ отстрани — иначе редът се свива до бутона и линиите изчезват */
	margin: clamp(28px, 4vw, 40px) 0 4px;
}

.ws-readmore--modal::before,
.ws-readmore--modal::after {
	content: "";
	flex: 0 1 180px;
	height: 1px;
	background: var(--ws-line);
}

/* Бутон, а не подчертан линк — разгъването е действие, не препратка. */
.ws-readmore__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	cursor: pointer;
	padding: 11px 20px;
	border: 0;
	white-space: nowrap;
	border-radius: 999px;
	background: var(--ws-mist);
	color: var(--ws-green-dark);
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .98rem;
	transition: background .16s ease, color .16s ease;
}

.ws-readmore__toggle:hover {
	background: var(--ws-blob-green);
	color: var(--ws-green-hover);
}

.ws-readmore__toggle:focus-visible {
	outline: 3px solid var(--ws-green-action);
	outline-offset: 2px;
}

.ws-readmore__toggle::-webkit-details-marker {
	display: none;
}

.ws-readmore__close { display: none; }
.ws-readmore__wrap[open] .ws-readmore__open { display: none; }
.ws-readmore__wrap[open] .ws-readmore__close { display: inline; }

.ws-readmore__chevron {
	transform: rotate(90deg);
	transition: transform .2s ease;
}

.ws-readmore__wrap[open] .ws-readmore__chevron {
	transform: rotate(-90deg);
}

.ws-readmore__body {
	margin-top: 16px;
	padding: clamp(20px, 3vw, 28px);
	background: var(--ws-surface);
	border: 1px solid var(--ws-line);
	border-radius: 18px;
	color: var(--ws-ink-soft);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* Първият ред не увисва от горния ръб на кутията. */
.ws-readmore__body .ws-prose > *:first-child {
	margin-top: 0;
}

.ws-readmore__body .ws-prose h2,
.ws-readmore__body .ws-prose h3 {
	color: var(--ws-green-dark);
}

/* --- Спецификации ------------------------------------------------------
 * Таблицата идва от wc_display_product_attributes() с готови класове на
 * WooCommerce: пунктирани линии, курсив на стойностите и сиви редове през
 * един. Тук се превръща в спокойни редове в стила на сайта. `!important` е
 * нужен, защото WooCommerce цели същите селектори със същата тежест.
 * -------------------------------------------------------------------- */

.ws-specs {
	border-top: 1px solid var(--ws-line);
	padding-top: 18px;
}

.ws-specs__title {
	margin: 0 0 6px;
	font-family: var(--ws-font-display);
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ws-ink-faint);
}

.ws-specs table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	font-size: .98rem;
}

.ws-specs table th,
.ws-specs table td {
	border: 0 !important;
	border-bottom: 1px solid var(--ws-line) !important;
	background: transparent !important;
	padding: 11px 0 !important;
	vertical-align: top;
	line-height: 1.5;
}

.ws-specs table tr:last-child th,
.ws-specs table tr:last-child td {
	border-bottom: 0 !important;
}

.ws-specs table th {
	width: 34% !important;
	text-align: left;
	font-family: var(--ws-font-display);
	font-weight: 700;
	color: var(--ws-ink);
}

.ws-specs table td {
	font-style: normal !important;
	color: var(--ws-ink-soft);
}

.ws-specs table td p {
	margin: 0;
	padding: 0 !important;
}

/* На телефон двете колони стават етикет над стойност. */
@media (max-width: 480px) {
	.ws-specs table,
	.ws-specs table tbody,
	.ws-specs table tr,
	.ws-specs table th,
	.ws-specs table td {
		display: block;
		width: auto !important;
	}

	.ws-specs table tr {
		padding: 10px 0;
		border-bottom: 1px solid var(--ws-line);
	}

	.ws-specs table tr:last-child {
		border-bottom: 0;
	}

	.ws-specs table th,
	.ws-specs table td {
		padding: 0 !important;
		border-bottom: 0 !important;
	}

	.ws-specs table th {
		font-size: .8rem;
		letter-spacing: .06em;
		text-transform: uppercase;
		color: var(--ws-ink-faint);
	}

	.ws-specs table td {
		padding-top: 2px !important;
	}
}

/* --- Цена · количество · количка --------------------------------------- */

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	margin: 22px 0 8px;
	font-size: clamp(2rem, 3.4vw, 2.6rem);
}

.woocommerce div.product form.cart {
	margin-top: 10px;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
}

.woocommerce div.product form.cart .quantity {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.woocommerce div.product form.cart .quantity::before {
	content: attr(data-label);
}

.woocommerce .quantity .qty {
	width: 96px;
	height: 48px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--ws-surface-alt);
	border: 0;
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: 1.05rem;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	width: 100%;
	height: 58px;
	font-size: 1.05rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 16px;
	background: var(--ws-green-dark);
	display: inline-flex;
	gap: 12px;
}

.woocommerce div.product form.cart .single_add_to_cart_button::before {
	content: "";
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16l-1.5 9a2 2 0 0 1-2 1.7H7.5a2 2 0 0 1-2-1.7z'/%3E%3Cpath d='M8 10l3-6M16 10l-3-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background: var(--ws-green-hover);
}

.woocommerce div.product p.stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 0;
	font-size: .95rem;
	color: var(--ws-ink);
}

.woocommerce div.product p.stock::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #6BBE45;
}

.woocommerce div.product p.stock.out-of-stock::before {
	background: var(--ws-clay);
}

.ws-shipnote {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--ws-line);
	color: var(--ws-ink-soft);
	font-size: .95rem;
}

.ws-shipnote svg {
	color: var(--ws-green-action);
	flex: none;
}

/* --- Coming soon ------------------------------------------------------- */

.ws-notify {
	margin-top: 22px;
	padding: clamp(20px, 3vw, 28px);
	background: var(--ws-mist);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ws-notify__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ws-notify__head .ws-sprout-mark {
	margin: 0;
	width: 30px;
}

.ws-notify__title {
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	color: var(--ws-green-dark);
}

.ws-notify__text {
	color: var(--ws-ink-soft);
}

.ws-notify__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ws-notify__field {
	height: 52px;
	padding: 0 18px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: var(--ws-ink);
}

.ws-notify__field:focus {
	border-color: var(--ws-green);
	box-shadow: 0 0 0 4px rgba(54, 146, 68, .14);
	outline: none;
}

.ws-notify__btn {
	height: 56px;
	border-radius: 14px;
	background: var(--ws-green-dark);
	font-size: 1.02rem;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ws-notify__fine {
	font-size: .84rem;
	color: var(--ws-ink-faint);
	text-align: center;
}

.ws-notify__done {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background: var(--ws-surface);
	border-radius: 12px;
	color: var(--ws-green-dark);
	font-weight: 600;
}

.ws-notify__error {
	color: var(--ws-clay);
	font-size: .92rem;
}

.ws-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Умения — карусел -------------------------------------------------- */

.ws-carousel {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 12px;
}

.ws-carousel__track {
	display: flex;
	gap: clamp(14px, 2vw, 24px);
	margin: 0;
	padding: 6px 2px 10px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.ws-carousel__track::-webkit-scrollbar {
	display: none;
}

.ws-skill {
	flex: 0 0 calc((100% - 2 * clamp(14px, 2vw, 24px)) / 3);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: clamp(20px, 2.6vw, 30px) clamp(16px, 2vw, 24px);
	background: var(--ws-surface);
	border-radius: 22px;
	text-align: center;
	min-width: 0;
}

@media (max-width: 960px) {
	.ws-skill { flex-basis: calc((100% - clamp(14px, 2vw, 24px)) / 2); }
}

@media (max-width: 600px) {
	.ws-skill { flex-basis: 100%; }
	.ws-carousel { grid-template-columns: minmax(0, 1fr); }
	.ws-carousel__btn { display: none; }
}

.ws-skill__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
}

.ws-skill__icon img,
.ws-skill__icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ws-skill__title {
	font-size: 1.12rem;
	color: var(--ws-green-dark);
}

.ws-skill__text {
	color: var(--ws-ink-soft);
	font-size: .94rem;
}

.ws-skill__more summary {
	cursor: pointer;
	list-style: none;
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .88rem;
	color: var(--ws-green-action);
}

.ws-skill__more p {
	margin-top: 6px;
	font-size: .9rem;
	color: var(--ws-ink-soft);
}

.ws-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--ws-surface);
	color: var(--ws-green-dark);
	box-shadow: var(--ws-shadow);
	cursor: pointer;
}

.ws-carousel__btn--prev svg {
	transform: rotate(180deg);
}

.ws-carousel__btn:disabled {
	opacity: .35;
	cursor: default;
}

.ws-carousel__dots {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
}

.ws-carousel.is-single .ws-carousel__dots {
	display: none;
}

.ws-carousel__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ws-line-strong);
	cursor: pointer;
}

.ws-carousel__dot.is-active {
	background: var(--ws-green-dark);
}

/* --- Какво има в кутията — 2×2 ---------------------------------------- */

.ws-inside__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 760px) {
	.ws-inside__grid { grid-template-columns: minmax(0, 1fr); }
}

.ws-inside__item {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	gap: clamp(14px, 2vw, 24px);
	align-items: center;
	padding: clamp(16px, 2vw, 24px);
	background: var(--ws-sand);
	border-radius: 22px;
	min-width: 0;
}

@media (max-width: 480px) {
	.ws-inside__item { grid-template-columns: minmax(0, 1fr); }
}

/*
 * 0.8.2: снимките на Илияна са с фон в цвета на картата, затова стоят направо
 * върху нея — без плочка, без изрязване до квадрат.
 */
.ws-inside__media {
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* Докато снимката я няма, иконата пази квадратно място — картите не се свиват. */
.ws-inside__media:has(> .ws-inside__placeholder) {
	aspect-ratio: 1 / 1;
}

.ws-inside__media > img {
	width: 100%;
	height: auto;
	object-fit: contain;
	padding: var(--ws-inside-pad);
	box-sizing: border-box;
}

.ws-inside__placeholder {
	color: var(--ws-green-action);
	display: inline-flex;
}

.ws-inside__placeholder img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.ws-inside__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}

.ws-inside__name {
	font-size: 1.2rem;
	color: var(--ws-green-dark);
}

.ws-inside__desc {
	color: var(--ws-ink-soft);
	font-size: .94rem;
}

/* --- Made for little hands --------------------------------------------- */

.ws-care__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

@media (max-width: 900px) { .ws-care__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ws-care__grid { grid-template-columns: minmax(0, 1fr); } }

.ws-care__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.ws-care__icon {
	display: inline-flex;
	width: 112px;
	height: 112px;
	align-items: center;
	justify-content: center;
}

.ws-care__icon img,
.ws-care__icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ws-care__title {
	font-size: 1.08rem;
	color: var(--ws-green-dark);
}

.ws-care__text {
	color: var(--ws-ink-soft);
	font-size: .93rem;
	max-width: 30ch;
}

/* --- Discover all four seasons ----------------------------------------- */

.ws-seasons__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 30px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 960px) { .ws-seasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ws-seasons__grid { grid-template-columns: minmax(0, 1fr); } }

.ws-season {
	min-width: 0;
}

.ws-season__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	text-decoration: none;
	color: var(--ws-ink);
	height: 100%;
}

.ws-season__media {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12%;
}

.ws-season__blob {
	position: absolute;
	inset: 6%;
	border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
	background: var(--ws-blob-green);
	transition: transform .25s ease;
}

.ws-season__link:hover .ws-season__blob {
	transform: scale(1.04) rotate(-3deg);
}

.ws-season__deco {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
}

.ws-season__deco img,
.ws-season__deco svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ws-season__media img:not(.ws-icon) {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: rotate(-4deg);
	filter: drop-shadow(0 12px 18px rgba(31, 73, 34, .18));
	transition: transform .25s ease;
}

.ws-season__link:hover .ws-season__media img:not(.ws-icon) {
	transform: rotate(-2deg) translateY(-4px);
}

.ws-season__pill {
	display: inline-block;
	padding: 5px 16px;
	border-radius: 999px;
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: 1.05rem;
	background: var(--ws-blob-green);
	color: var(--ws-green-action);
}

.ws-season__blurb {
	color: var(--ws-ink-soft);
	font-size: .93rem;
	min-height: 2.8em;
	max-width: 26ch;
}

.ws-season__cta {
	margin-top: auto;
	white-space: nowrap;
}

.ws-season.is-current .ws-season__pill {
	box-shadow: 0 0 0 2px currentColor;
}

.ws-season--winter .ws-season__blob { background: var(--ws-winter-soft); }
.ws-season--winter .ws-season__pill { background: var(--ws-winter-soft); color: var(--ws-winter); }
.ws-season--spring .ws-season__blob { background: var(--ws-spring-soft); }
.ws-season--spring .ws-season__pill { background: var(--ws-spring-soft); color: var(--ws-spring); }
.ws-season--summer .ws-season__blob { background: var(--ws-summer-soft); }
.ws-season--summer .ws-season__pill { background: var(--ws-summer-soft); color: var(--ws-summer); }
.ws-season--autumn .ws-season__blob { background: var(--ws-autumn-soft); }
.ws-season--autumn .ws-season__pill { background: var(--ws-autumn-soft); color: var(--ws-autumn); }

/* --- Little Sprouts, Big Reviews --------------------------------------- */

.ws-reviews__head {
	position: relative;
	margin-bottom: clamp(20px, 3vw, 30px);
}

.ws-reviews__write {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: var(--ws-green-dark);
}

@media (max-width: 760px) {
	.ws-reviews__write {
		position: static;
		transform: none;
		display: inline-flex;
		margin: 14px auto 0;
	}

	.ws-reviews__head {
		text-align: center;
	}
}

.ws-reviews__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(18px, 2.6vw, 30px);
	align-items: start;
}

.ws-reviews__layout.has-summary {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
	.ws-reviews__layout.has-summary {
		grid-template-columns: 300px minmax(0, 1fr);
	}
}

.ws-rating {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(20px, 2.6vw, 30px);
	background: var(--ws-blob-peach);
	border-radius: 22px;
}

.ws-rating__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.ws-rating__number {
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: 3.4rem;
	line-height: 1;
	color: var(--ws-green-dark);
	font-variant-numeric: tabular-nums;
}

.ws-rating__stars {
	display: inline-flex;
	gap: 2px;
	color: var(--ws-line-strong);
}

.ws-star.is-on {
	color: var(--ws-yellow);
}

.ws-star.is-on svg {
	fill: currentColor;
	stroke: currentColor;
}

.ws-rating__count {
	color: var(--ws-ink-soft);
	font-size: .92rem;
}

.ws-rating__bars {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ws-rating__row {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 10px;
	font-size: .88rem;
	color: var(--ws-ink);
	font-variant-numeric: tabular-nums;
}

.ws-rating__label {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.ws-rating__track {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .7);
	overflow: hidden;
}

.ws-rating__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #8FB287;
}

.ws-rating__pct {
	text-align: right;
	color: var(--ws-ink-soft);
}

.ws-rating__foot {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid rgba(31, 73, 34, .12);
}

.ws-rating__foot .ws-sprout-mark {
	margin: 0;
	width: 26px;
}

.ws-rating__foot .ws-script {
	font-size: 1.15rem;
}

.ws-reviews__empty {
	color: var(--ws-ink-soft);
	max-width: 60ch;
	margin: 0 auto 18px;
	text-align: center;
}

.ws-reviews__list #reviews > h2,
.ws-reviews__list .woocommerce-Reviews-title,
.ws-reviews__list #review_form_wrapper {
	display: none;
}

.woocommerce #reviews #comments ol.commentlist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.woocommerce #reviews #comments ol.commentlist li.ws-review {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.ws-review__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"head  head"
		"title meta"
		"text  meta";
	gap: 6px 24px;
	padding: 20px 22px;
	background: var(--ws-surface);
	border: 1px solid var(--ws-line);
	border-radius: 18px;
}

@media (max-width: 640px) {
	.ws-review__card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"head"
			"title"
			"text"
			"meta";
	}
}

.ws-review__head { grid-area: head; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ws-review__date { font-size: .84rem; color: var(--ws-ink-faint); white-space: nowrap; }
.ws-review__title { grid-area: title; font-size: 1.1rem; color: var(--ws-green-dark); }
.ws-review__text { grid-area: text; color: var(--ws-ink-soft); }
.ws-review__text p { margin: 0 0 .5em; }
.ws-review__meta { grid-area: meta; display: flex; align-items: center; gap: 10px; align-self: start; }

.ws-review__stars {
	display: inline-flex;
	gap: 2px;
	color: var(--ws-line-strong);
}

.ws-review__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-family: var(--ws-font-display);
	font-weight: 800;
	font-size: .92rem;
	color: var(--ws-green-dark);
	flex: none;
}

.ws-review__who {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ws-review__name {
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .95rem;
	color: var(--ws-ink);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ws-review__verified {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: var(--ws-font-body);
	font-weight: 600;
	font-size: .8rem;
	color: #2E8B4A;
}

.ws-review__ctx {
	font-size: .84rem;
	color: var(--ws-ink-faint);
}

.ws-review__pending {
	font-size: .85rem;
	color: var(--ws-gold);
	font-style: italic;
}

/* --- Модален прозорец за отзив ---------------------------------------- */

.ws-modal-open {
	overflow: hidden;
}

.ws-modal[hidden] {
	display: none;
}

.ws-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

/*
 * „Матово стъкло“ в цветовете на бранда: лек тъмнозелен воал върху страницата
 * и топло кремав, полупрозрачен панел. Размазването е украса — там, където
 * браузърът не го поддържа, панелът става плътен, за да остане четим.
 */
.ws-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 73, 34, .24);
	backdrop-filter: blur(9px) saturate(115%);
	-webkit-backdrop-filter: blur(8px) saturate(115%);
}

.ws-modal__panel {
	position: relative;
	width: min(680px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: clamp(22px, 3vw, 36px) clamp(18px, 3vw, 40px) clamp(22px, 3vw, 32px);
	background: rgba(255, 249, 241, .86);
	backdrop-filter: blur(22px) saturate(140%);
	-webkit-backdrop-filter: blur(22px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 24px;
	box-shadow: 0 30px 80px -28px rgba(31, 73, 34, .45);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.ws-modal__backdrop { background: rgba(31, 73, 34, .52); }
	.ws-modal__panel { background: var(--ws-surface); }
}

.ws-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ws-ink-faint);
	cursor: pointer;
}

.ws-modal__close:hover {
	background: var(--ws-surface-alt);
	color: var(--ws-ink);
}

.ws-modal__close:focus-visible {
	outline: 3px solid var(--ws-green-action);
	outline-offset: 2px;
}

/* Вариант с думата „Close“ до хиксчето — за прозорци без заглавие. */
.ws-modal__close--labelled {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: auto;
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	color: var(--ws-ink-soft);
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .88rem;
}

.ws-modal__close--labelled:hover {
	background: var(--ws-mist);
	color: var(--ws-green-dark);
}

/* Бележка вместо бутона, когато отзиви пишат само купувачите. */
.ws-reviews__gate {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 42ch;
	padding: 12px 18px;
	border-radius: 16px;
	background: var(--ws-mist);
	color: var(--ws-ink-soft);
	font-size: .95rem;
	line-height: 1.5;
	text-align: left;
}

.ws-reviews__gate svg {
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--ws-green-dark);
}

.ws-reviews__gate a {
	color: var(--ws-green-action);
	font-weight: 700;
	white-space: nowrap;
}

/* Съобщението на WooCommerce, ако все пак се появи. */
.woocommerce-verification-required {
	margin: 0;
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--ws-mist);
	color: var(--ws-ink-soft);
	text-align: center;
}

/* --- Прозорецът с описанието ------------------------------------------- */

.ws-modal--desc .ws-modal__panel {
	width: min(680px, 100%);
	/* Нарочно не е на цял екран — прозорец в средата, не втора страница. */
	max-height: min(76vh, 760px);
	align-items: stretch;
	padding: 56px clamp(20px, 3vw, 36px) clamp(22px, 3vw, 32px);
}

.ws-modal__scroll {
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* Меко избледняване долу — показва, че текстът продължава. JS маха класа,
   когато сме стигнали дъното. */
.ws-modal--desc .ws-modal__panel::after {
	content: "";
	position: absolute;
	left: 1px;
	right: 1px;
	bottom: 1px;
	height: 46px;
	border-radius: 0 0 23px 23px;
	background: linear-gradient(to top, rgba(255, 249, 241, .95), rgba(255, 249, 241, 0));
	opacity: 1;
	transition: opacity .18s ease;
	pointer-events: none;
}

.ws-modal--desc .ws-modal__panel.is-end::after {
	opacity: 0;
}

/* Вътре в прозореца описанието вече не е карта — панелът е картата. */
.ws-modal .ws-readmore__body {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.ws-modal--desc .ws-specs table th {
	color: var(--ws-green-dark);
}

.ws-modal__form {
	width: 100%;
}

.ws-modal__title {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	text-align: center;
	color: var(--ws-green-dark);
	margin: 0 0 4px !important;
}

.ws-modal__sub {
	text-align: center;
	color: var(--ws-ink-soft);
	margin: 0 0 18px;
}

.ws-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0;
	border: 0;
	padding: 0;
	min-width: 0;
}

.ws-field > label,
.ws-field > legend {
	font-family: var(--ws-font-display);
	font-weight: 700;
	font-size: .95rem;
	color: var(--ws-ink);
	padding: 0;
}

.ws-field .required {
	color: var(--ws-clay);
}

.ws-field__opt {
	font-weight: 400;
	color: var(--ws-ink-faint);
}

.ws-field__hint {
	margin: -8px 0 0;
	font-size: .82rem;
	color: var(--ws-ink-faint);
}

.ws-modal input[type="text"],
.ws-modal input[type="email"],
.ws-modal textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: .98rem;
	color: var(--ws-ink);
}

.ws-modal textarea {
	min-height: 130px;
	resize: vertical;
}

.ws-modal input:focus,
.ws-modal textarea:focus {
	border-color: var(--ws-green);
	box-shadow: 0 0 0 4px rgba(54, 146, 68, .14);
	outline: none;
}

.ws-rating-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* Звездите на WooCommerce — по-едри и без подчертаване */
.ws-modal p.stars {
	margin: 0;
	display: flex;
	gap: 6px;
}

.ws-modal p.stars a {
	width: 40px;
	height: 40px;
	line-height: 40px;
	font-size: 1.7rem;
	text-decoration: none;
	color: var(--ws-line-strong);
	transition: color .12s ease, transform .12s ease;
}

.ws-modal p.stars a:hover,
.ws-modal p.stars:hover a,
.ws-modal p.stars.selected a.active,
.ws-modal p.stars.selected a:not(.active) {
	color: var(--ws-yellow);
}

.ws-modal p.stars.selected a.active ~ a {
	color: var(--ws-line-strong);
}

.ws-modal p.stars a:hover {
	transform: translateY(-2px);
}

.ws-rating-hint {
	font-family: var(--ws-font-script);
	font-size: 1.15rem;
	color: var(--ws-green-dark);
	padding: 8px 16px;
	background: var(--ws-blob-green);
	border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
	transform: rotate(-4deg);
	white-space: nowrap;
}

.ws-chips__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ws-chips__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ws-chips__chip {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border: 1px solid var(--ws-line-strong);
	border-radius: 999px;
	background: #fff;
	font-family: var(--ws-font-display);
	font-weight: 600;
	font-size: .92rem;
	color: var(--ws-ink);
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}

.ws-chips__chip:hover {
	border-color: var(--ws-green);
}

.ws-chips__input:checked + .ws-chips__chip {
	background: var(--ws-green-dark);
	border-color: var(--ws-green-dark);
	color: #fff;
}

.ws-chips__input:focus-visible + .ws-chips__chip {
	outline: 3px solid var(--ws-green);
	outline-offset: 2px;
}

.ws-modal__thanks {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 16px 20px;
	background: var(--ws-mist);
	border-radius: 16px;
	font-size: .9rem;
	color: var(--ws-ink-soft);
}

.ws-modal__thanks-script {
	font-family: var(--ws-font-script);
	font-size: 1.15rem;
	line-height: 1.15;
	color: var(--ws-green-dark);
	padding-right: 16px;
	border-right: 1px solid rgba(31, 73, 34, .15);
	max-width: 150px;
}

@media (max-width: 480px) {
	.ws-modal__thanks { grid-template-columns: minmax(0, 1fr); }
	.ws-modal__thanks-script { border-right: 0; padding-right: 0; }
}

.ws-modal .form-submit {
	display: flex;
	justify-content: center;
	margin: 4px 0 0;
}

.ws-modal .form-submit .submit {
	min-width: 240px;
	height: 56px;
	border-radius: 999px;
	background: var(--ws-green-dark);
	font-size: 1.02rem;
}

.ws-modal__legal {
	text-align: center;
	font-size: .82rem;
	color: var(--ws-ink-faint);
	margin: 0;
}

.ws-modal .comment-form-cookies-consent {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 9px;
	font-size: .88rem;
	color: var(--ws-ink-soft);
	margin: 0;
}

.ws-modal .comment-notes {
	display: none;
}

/* Име и имейл един до друг — формата е грид, всичко останало е на цял ред. */
.ws-modal .comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ws-modal .comment-form > * {
	grid-column: 1 / -1;
}

@media (min-width: 560px) {
	.ws-modal .comment-form-author { grid-column: 1; }
	.ws-modal .comment-form-email  { grid-column: 2; }
}

/* =========================================================================
   21. Галерия на продукта — голяма снимка и лента с миниатюри
   ====================================================================== */

.ws-gallery {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.ws-gallery__stage {
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	background: var(--ws-sand);
}

.ws-gallery__image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	/* „contain“, за да не се отрязва нищо от снимката, независимо от формата ѝ. */
	object-fit: contain;
	background: var(--ws-sand);
}

.ws-gallery__image--empty {
	/* Заместващата картинка сама носи фона си — без вътрешен отстъп, за да не
	   се получи рамка в рамка, докато снимките ги няма. */
	object-fit: cover;
}

/* --- лентата с миниатюри ---------------------------------------------- */

.ws-gallery__strip {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.ws-gallery__thumbs {
	position: relative; /* база за offsetLeft при превъртане */
	flex: 0 1 auto; /* не расте — стрелките остават до миниатюрите, както е в макета */
	min-width: 0;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 2px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ws-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.ws-gallery__thumb-item {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.ws-gallery__thumb {
	display: block;
	width: clamp(66px, 8.5vw, 92px);
	border-radius: 14px;
	overflow: hidden;
	border: 2px solid transparent;
	background: var(--ws-sand);
	box-shadow: 0 0 0 1px var(--ws-line);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.ws-gallery__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ws-gallery__thumb:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 0 1px var(--ws-line-strong);
}

.ws-gallery__thumb.is-active {
	border-color: var(--ws-green);
	box-shadow: 0 0 0 1px var(--ws-green);
}

.ws-gallery__thumb:focus-visible {
	outline: 3px solid var(--ws-green-action);
	outline-offset: 2px;
}

/* --- стрелките --------------------------------------------------------- */

.ws-gallery__nav {
	flex: 0 0 auto;
	display: none; /* без JavaScript миниатюрите са обикновени линкове */
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ws-green-dark);
	cursor: pointer;
	transition: background .16s ease;
}

.ws-gallery--live .ws-gallery__nav {
	display: inline-flex;
}

.ws-gallery__nav:hover {
	background: var(--ws-mist);
}

.ws-gallery__nav:focus-visible {
	outline: 3px solid var(--ws-green-action);
	outline-offset: 2px;
}

.ws-gallery__nav--prev svg {
	transform: rotate(180deg);
}

/* --- „Add to wishlist“ ------------------------------------------------- */

.ws-wish-row {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}

.ws-wish {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ws-ink-soft);
	font-family: var(--ws-font-display);
	font-size: 1.02rem;
	font-weight: 600;
	cursor: pointer;
	transition: color .16s ease, background .16s ease;
}

.ws-wish:hover {
	background: var(--ws-mist);
	color: var(--ws-green-dark);
}

.ws-wish:focus-visible {
	outline: 3px solid var(--ws-green-action);
	outline-offset: 2px;
}

.ws-wish__icon {
	display: inline-flex;
	color: var(--ws-green-dark);
}

/* Пълно сърце, когато продуктът е запазен. */
.ws-wish[aria-pressed="true"] .ws-wish__icon svg {
	fill: currentColor;
}

.ws-wish[aria-pressed="true"] {
	color: var(--ws-green-dark);
}

.ws-wish__label--on,
.ws-wish[aria-pressed="true"] .ws-wish__label {
	display: none;
}

.ws-wish[aria-pressed="true"] .ws-wish__label--on {
	display: inline;
}

@media (max-width: 640px) {
	.ws-gallery__stage {
		border-radius: 18px;
	}
}

/* =========================================================================
   22. Горната част на продукта — лента в цвета на снимките (0.8.2)
   -------------------------------------------------------------------------
   Галерията и текстът до нея стоят в обща лента на цяла ширина. Цветът е
   --ws-sand — същият като фона на продуктовите снимки, затова около снимката
   не се вижда ръб. Обвивката идва от inc/woocommerce.php.
   ====================================================================== */

.woocommerce div.product > .ws-ptop {
	grid-column: 1 / -1;
}

.ws-ptop {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--ws-sand);
}

.ws-ptop__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	max-width: 1240px;
	margin-inline: auto;
	padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 32px);
}

@media (min-width: 900px) {
	.ws-ptop__inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: clamp(36px, 5vw, 72px);
		align-items: start;
	}
}
