/*
 * Паркети България - базов слой (PLAN 5.3).
 * Reset, типография, утилити, бутони, полета, .entry-content, хиро на вътрешна страница,
 * Woo / Fluent Forms база, продуктова карта (5 варианта), драуър „Добавено в количката".
 * Стойностите: инвентар 1-3. Цветове/радиуси/сенки/шрифтове - само var(--pb-*) от tokens.css.
 * Мобилна граница: ≤1024px (хедърът и .pb-m/.pb-d); мрежите по PLAN допускане 9.
 */

/* ================================================================ 1. Reset */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--pb-bg);
	color: var(--pb-text);
	font-family: var(--pb-font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	line-height: 1.2;
	overflow-wrap: break-word;
}

h1 {
	font-weight: 900;
	letter-spacing: -0.03em;
}

h2,
h3 {
	font-weight: 800;
}

h4,
h5,
h6 {
	font-weight: 700;
}

img,
svg,
video,
canvas,
iframe {
	display: block;
	max-width: 100%;
}

img,
video {
	height: auto;
}

input,
button,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

button:disabled {
	cursor: not-allowed;
}

a {
	color: var(--pb-green);
	text-decoration: none;
}

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

:focus-visible {
	outline: 2px solid var(--pb-green);
	outline-offset: 2px;
}

:focus:not(:focus-visible) {
	outline: none;
}

::selection {
	background: var(--pb-green);
	color: var(--pb-bg);
}

table {
	border-collapse: collapse;
}

hr {
	border: 0;
	border-top: 1px solid var(--pb-line);
	margin: 0;
}

.pb-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* ================================================================ 2. Утилити */

.pb-container {
	padding-inline: var(--pb-gutter);
}

.pb-main {
	display: block;
}

.pb-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pb-red,
a.pb-red,
.pb-red > a {
	color: var(--pb-red);
}

/* :root увеличава специфичността, за да бие display на компонентните класове без !important. */
@media (min-width: 1025px) {
	:root .pb-m {
		display: none;
	}
}

@media (max-width: 1024px) {
	:root .pb-d {
		display: none;
	}
}

/* Мрежи (допускане 9): продукти 4 → 3 (≤1200) → 2 (≤760); категории 3 → 2 (≤900) → 1 (≤600). */
.pb-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.pb-products--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.pb-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

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

@media (max-width: 600px) {
	.pb-cats {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
}

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

.pb-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.fluentform .ff-btn-submit,
.post-password-form input[type="submit"],
.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11.5px 22px;
	border: 1.5px solid var(--pb-green);
	border-radius: var(--pb-radius-s);
	background: var(--pb-green);
	color: var(--pb-bg);
	font-family: var(--pb-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pb-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.fluentform .ff-btn-submit:hover,
.post-password-form input[type="submit"]:hover,
.entry-content .wp-block-button__link:hover {
	background: var(--pb-green-dark);
	border-color: var(--pb-green-dark);
	color: var(--pb-bg);
}

.pb-btn:disabled,
.pb-btn[aria-disabled="true"],
.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce a.button.disabled {
	background: var(--pb-green-disabled);
	border-color: var(--pb-green-disabled);
	color: var(--pb-bg);
	cursor: not-allowed;
}

.pb-btn--filled {
	background: var(--pb-green);
	border-color: var(--pb-green);
	color: var(--pb-bg);
}

.pb-btn--outline,
.entry-content .is-style-outline .wp-block-button__link {
	background: var(--pb-bg);
	border-color: var(--pb-green);
	color: var(--pb-green);
}

.pb-btn--outline:hover,
.entry-content .is-style-outline .wp-block-button__link:hover {
	background: var(--pb-green-light);
	border-color: var(--pb-green);
	color: var(--pb-green);
}

.pb-btn--ghost {
	background: transparent;
	border-color: transparent;
	color: var(--pb-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pb-btn--ghost:hover {
	background: var(--pb-green-light);
	border-color: transparent;
	color: var(--pb-green-dark);
}

.pb-btn--outline-white {
	background: transparent;
	border-color: var(--pb-bg);
	color: var(--pb-bg);
}

.pb-btn--outline-white:hover {
	background: var(--pb-bg);
	border-color: var(--pb-bg);
	color: var(--pb-ink);
}

.pb-btn--outline:disabled,
.pb-btn--ghost:disabled,
.pb-btn--outline-white:disabled {
	background: var(--pb-bg);
	border-color: var(--pb-line);
	color: var(--pb-muted-3);
}

/* Размери: 20px ред + padding + 3px рамка = точната височина от инвентара; дълъг текст се пренася. */
.pb-btn--44 {
	padding-block: 10.5px;
	font-size: 14px;
}

.pb-btn--48 {
	padding-block: 12.5px;
}

.pb-btn--54 {
	padding-block: 15.5px;
	font-size: 16px;
}

.pb-btn--58 {
	padding-block: 17.5px;
	font-size: 17px;
}

.pb-btn--block {
	display: flex;
	width: 100%;
}

/* ================================================================ 4. Полета */

.pb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pb-field > label,
.pb-field__label,
.woocommerce form .form-row > label,
.fluentform .ff-el-input--label label,
.post-password-form label {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.pb-field input:not([type="checkbox"]):not([type="radio"]),
.pb-field select,
.pb-field textarea,
.pb-input,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce .coupon .input-text,
.fluentform .ff-el-form-control,
.post-password-form input[type="password"],
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="number"],
.entry-content input[type="search"],
.entry-content input[type="password"],
.entry-content input[type="url"],
.entry-content select,
.entry-content textarea {
	display: block;
	width: 100%;
	padding: 11.5px 14px;
	border: 1.5px solid var(--pb-line);
	border-radius: var(--pb-radius-s);
	background: var(--pb-bg);
	color: var(--pb-ink);
	font-family: var(--pb-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	box-shadow: none;
	transition: border-color 0.15s ease;
}

.pb-field textarea,
.woocommerce form .form-row textarea,
.fluentform textarea.ff-el-form-control,
.entry-content textarea {
	resize: vertical;
	line-height: 1.5;
}

.pb-field select,
.woocommerce form .form-row select,
.fluentform select.ff-el-form-control,
.entry-content select {
	padding-inline-end: 12px;
}

.pb-field input:focus,
.pb-field select:focus,
.pb-field textarea:focus,
.pb-input:focus,
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus,
.fluentform .ff-el-form-control:focus,
.post-password-form input[type="password"]:focus,
.entry-content input:focus,
.entry-content select:focus,
.entry-content textarea:focus {
	border-color: var(--pb-green);
	outline: none;
	box-shadow: none;
}

.pb-field input:focus-visible,
.pb-field select:focus-visible,
.pb-field textarea:focus-visible,
.pb-input:focus-visible,
.woocommerce form .form-row .input-text:focus-visible,
.woocommerce form .form-row select:focus-visible,
.woocommerce form .form-row textarea:focus-visible,
.fluentform .ff-el-form-control:focus-visible,
.post-password-form input[type="password"]:focus-visible {
	outline: 2px solid var(--pb-green);
	outline-offset: 2px;
}

::placeholder {
	color: var(--pb-muted-3);
	opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--pb-green);
	inline-size: 18px;
	block-size: 18px;
	margin: 0;
	flex: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pb-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-block: 7px;
	color: var(--pb-text-2);
	font-size: 14px;
	cursor: pointer;
}

/* Грешка на поле (правило PLAN 4: рамка #8E2B2B, текст 13px под полето). */
.pb-field.is-error input,
.pb-field.is-error select,
.pb-field.is-error textarea,
.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid textarea,
.fluentform .ff-el-is-error .ff-el-form-control {
	border-color: var(--pb-red);
}

.pb-field__error,
.woocommerce .checkout-inline-error-message,
.woocommerce form .form-row .woocommerce-input-wrapper .woocommerce-error,
.fluentform .ff-el-is-error .text-danger,
.fluentform .error.text-danger {
	display: block;
	margin: 6px 0 0;
	color: var(--pb-red);
	font-size: 13px;
	line-height: 1.4;
}

.pb-form-msg {
	margin: 0;
	color: var(--pb-red);
	font-size: 13px;
	line-height: 1.4;
}

.pb-form-msg:empty {
	display: none;
}

/* ================================================================ 5. Хиро на вътрешна страница (инвентар 2, ОБЩО) */

.pb-page-hero {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px var(--pb-gutter) 44px;
	background: var(--pb-bg-2);
}

.pb-page-hero__title {
	max-width: 900px;
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 48px;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.pb-page-hero__lead {
	max-width: 720px;
	color: var(--pb-text-2);
	font-size: 18px;
	line-height: 1.55;
}

.pb-page-body {
	padding-block: 48px 72px;
}

@media (max-width: 1024px) {
	.pb-page-hero {
		gap: 10px;
		padding: 18px var(--pb-gutter) 24px;
	}

	.pb-page-hero__title {
		font-size: 30px;
		line-height: 1.08;
		letter-spacing: -0.02em;
	}

	.pb-page-hero__lead {
		font-size: 15px;
		line-height: 1.5;
	}

	.pb-page-body {
		padding-block: 24px 40px;
	}
}

/* Количка / чекаут / профил (временно, до B2.4 / B3.x): H1 без хиро. */
.pb-woo-page {
	padding-block: 28px 64px;
}

.pb-woo-page__title {
	margin-bottom: 24px;
	font-size: 44px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

@media (max-width: 1024px) {
	.pb-woo-page {
		padding-block: 18px 40px;
	}

	.pb-woo-page__title {
		margin-bottom: 16px;
		font-size: 30px;
	}
}

/* ================================================================ 6. .entry-content типография */

.entry-content {
	color: var(--pb-text);
	font-size: 17px;
	line-height: 1.75;
}

.entry-content > * + * {
	margin-top: 20px;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	text-wrap: balance;
}

.entry-content h1 {
	font-size: 40px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.entry-content h2 {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.entry-content h3 {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}

.entry-content h4 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.entry-content > h1:not(:first-child),
.entry-content > h2:not(:first-child),
.entry-content > h3:not(:first-child) {
	margin-top: 36px;
}

.entry-content > h4:not(:first-child) {
	margin-top: 28px;
}

.entry-content a:not(.pb-btn):not(.wp-block-button__link):not(.button) {
	color: var(--pb-green);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:not(.pb-btn):not(.wp-block-button__link):not(.button):hover {
	color: var(--pb-green-dark);
}

.entry-content strong,
.entry-content b {
	color: var(--pb-ink);
	font-weight: 700;
}

.entry-content ul,
.entry-content ol {
	margin-block: 0;
	padding-left: 1.4em;
}

.entry-content li + li {
	margin-top: 8px;
}

.entry-content li::marker {
	color: var(--pb-green);
	font-weight: 700;
}

.entry-content li > ul,
.entry-content li > ol {
	margin-top: 8px;
}

/* Таблица - стилът от blog-statia: рамка line, радиус 6px, зелена глава, редуващи се редове. */
.entry-content table {
	width: 100%;
	border: 1px solid var(--pb-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--pb-radius);
	font-size: 15px;
	line-height: 1.5;
}

.entry-content th,
.entry-content td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}

.entry-content thead th,
.entry-content thead td {
	background: var(--pb-green);
	color: var(--pb-bg);
	font-family: var(--pb-font-head);
	font-size: 15px;
	font-weight: 700;
}

.entry-content tbody tr:nth-child(even) > * {
	background: var(--pb-bg-2);
}

.entry-content tbody th,
.entry-content tbody td:first-child {
	color: var(--pb-muted);
	font-weight: 400;
}

.entry-content table tr:first-child > :first-child {
	border-top-left-radius: var(--pb-radius);
}

.entry-content table tr:first-child > :last-child {
	border-top-right-radius: var(--pb-radius);
}

.entry-content table tr:last-child > :first-child {
	border-bottom-left-radius: var(--pb-radius);
}

.entry-content table tr:last-child > :last-child {
	border-bottom-right-radius: var(--pb-radius);
}

.entry-content thead + tbody tr:first-child > * {
	border-radius: 0;
}

.entry-content table caption {
	caption-side: bottom;
	padding-top: 8px;
	color: var(--pb-muted);
	font-size: 13px;
	text-align: left;
}

.entry-content .wp-block-table,
.entry-content .pb-table-wrap {
	overflow-x: auto;
}

.entry-content blockquote {
	padding: 20px 24px;
	border-left: 4px solid var(--pb-green);
	border-radius: 0 var(--pb-radius) var(--pb-radius) 0;
	background: var(--pb-green-light);
	color: var(--pb-ink);
	font-size: 18px;
	line-height: 1.6;
}

.entry-content blockquote p + p {
	margin-top: 10px;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 10px;
	color: var(--pb-muted);
	font-size: 14px;
	font-style: normal;
}

.entry-content img {
	border-radius: var(--pb-radius);
}

.entry-content figure img {
	width: 100%;
	object-fit: cover;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	margin-top: 8px;
	color: var(--pb-muted);
	font-size: 14px;
	line-height: 1.5;
}

.entry-content .alignleft {
	float: left;
	margin: 6px 24px 16px 0;
}

.entry-content .alignright {
	float: right;
	margin: 6px 0 16px 24px;
}

.entry-content .aligncenter {
	margin-inline: auto;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry-content hr {
	margin-block: 36px;
	border-top-color: var(--pb-line);
}

.entry-content code,
.entry-content kbd,
.entry-content samp {
	padding: 2px 6px;
	border-radius: var(--pb-radius-s);
	background: var(--pb-bg-2);
	color: var(--pb-ink);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.88em;
}

.entry-content pre {
	padding: 16px 20px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-bg-2);
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
	white-space: pre;
}

.entry-content pre code {
	padding: 0;
	background: none;
	font-size: inherit;
}

.entry-content iframe,
.entry-content video,
.entry-content embed {
	max-width: 100%;
	border: 0;
}

.entry-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.entry-content p:has(> .pb-btn:only-child) {
	line-height: 1.2;
}

@media (max-width: 1024px) {
	.entry-content {
		font-size: 16px;
	}

	.entry-content > * + * {
		margin-top: 16px;
	}

	.entry-content h1 {
		font-size: 28px;
	}

	.entry-content h2 {
		font-size: 22px;
	}

	.entry-content h3 {
		font-size: 18px;
	}

	.entry-content h4 {
		font-size: 16px;
	}

	.entry-content > h1:not(:first-child),
	.entry-content > h2:not(:first-child),
	.entry-content > h3:not(:first-child) {
		margin-top: 28px;
	}

	.entry-content table {
		font-size: 13px;
	}

	.entry-content th,
	.entry-content td,
	.entry-content thead th {
		padding: 10px;
		font-size: 13px;
	}

	.entry-content blockquote {
		padding: 16px 18px;
		font-size: 16px;
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin: 0;
	}
}

/* ================================================================ 7. Списък постове (index.php, временно) */

.pb-post-list {
	display: flex;
	flex-direction: column;
}

.pb-post-list__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-block: 24px;
	border-bottom: 1px solid var(--pb-line-2);
}

.pb-post-list__item:first-child {
	padding-top: 0;
}

.pb-post-list__date {
	color: var(--pb-muted-2);
	font-size: 13px;
}

.pb-post-list__title {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}

.pb-post-list__title a {
	color: var(--pb-ink);
}

.pb-post-list__title a:hover {
	color: var(--pb-green-dark);
}

.pb-post-list__excerpt {
	max-width: 760px;
	color: var(--pb-text-2);
	font-size: 15px;
	line-height: 1.6;
}

@media (max-width: 1024px) {
	.pb-post-list__item {
		padding-block: 18px;
	}

	.pb-post-list__title {
		font-size: 18px;
	}

	.pb-post-list__excerpt {
		font-size: 14px;
	}
}

.pb-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 44px 24px;
	border: 1px dashed var(--pb-green-border);
	border-radius: var(--pb-radius);
	text-align: center;
}

.pb-empty__title {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

@media (max-width: 1024px) {
	.pb-empty {
		padding: 24px 16px;
	}

	.pb-empty__title {
		font-size: 17px;
	}
}

/* ================================================================ 8. Пагинация (квадрати 44x44, kategoria) */

.pb-pagination,
.woocommerce-pagination,
.pb-page-links {
	margin-top: 40px;
}

.pb-pagination .nav-links,
.woocommerce-pagination ul.page-numbers,
.pb-page-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination ul.page-numbers li {
	margin: 0;
}

.pb-pagination .page-numbers,
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span,
.pb-page-links > a,
.pb-page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	padding: 11px 8px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius-s);
	background: var(--pb-bg);
	color: var(--pb-green);
	font-family: var(--pb-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	text-decoration: none;
}

.pb-pagination a.page-numbers:hover,
.woocommerce-pagination .page-numbers a:hover,
.pb-page-links > a:hover {
	background: var(--pb-green-light);
	border-color: var(--pb-green-border);
	color: var(--pb-green-dark);
}

.pb-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers span.current,
.pb-page-links > .current {
	background: var(--pb-green);
	border-color: var(--pb-green);
	color: var(--pb-bg);
}

.pb-pagination .page-numbers.dots,
.woocommerce-pagination .page-numbers span.dots {
	border-color: transparent;
	color: var(--pb-muted);
}

/* ================================================================ 9. WooCommerce база */

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 16px;
	padding: 16px 20px;
	border: 1px solid var(--pb-line);
	border-left: 4px solid var(--pb-green);
	border-radius: var(--pb-radius);
	background: var(--pb-bg);
	color: var(--pb-ink);
	font-size: 15px;
	line-height: 1.5;
	list-style: none;
}

.woocommerce-notices-wrapper > :last-child,
.woocommerce-NoticeGroup > :last-child {
	margin-bottom: 0;
}

.woocommerce-message {
	background: var(--pb-green-light);
	border-color: var(--pb-green-border);
	border-left-color: var(--pb-green);
}

.woocommerce-info {
	background: var(--pb-bg-2);
}

.woocommerce-error {
	flex-direction: column;
	align-items: flex-start;
	border: 1.5px solid var(--pb-red);
	color: var(--pb-red);
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-error li + li {
	margin-top: 4px;
}

.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
	order: 2;
	padding: 8px 14px;
	background: var(--pb-bg);
	color: var(--pb-green);
	font-size: 14px;
}

.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button:hover {
	background: var(--pb-green-light);
	color: var(--pb-green-dark);
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Таблици на количка / акаунт / поръчка. */
.woocommerce table.shop_table {
	width: 100%;
	border: 1px solid var(--pb-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--pb-radius-l);
	font-size: 15px;
	line-height: 1.5;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--pb-line-2);
	text-align: left;
	vertical-align: middle;
}

.woocommerce table.shop_table thead th {
	border-bottom: 1.5px solid var(--pb-ink);
	color: var(--pb-muted);
	font-family: var(--pb-font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.woocommerce table.shop_table tbody tr:last-child > *,
.woocommerce table.shop_table tfoot tr:last-child > * {
	border-bottom: 0;
}

.woocommerce table.shop_table tfoot th {
	color: var(--pb-text-2);
	font-weight: 400;
}

.woocommerce table.shop_table tfoot .order-total td,
.woocommerce table.shop_table tfoot .order-total th {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-weight: 900;
}

.woocommerce table.shop_table img {
	inline-size: 64px;
	block-size: 64px;
	border-radius: var(--pb-radius-s);
	object-fit: cover;
}

.woocommerce table.shop_table a.remove {
	color: var(--pb-muted);
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
}

.woocommerce table.shop_table a.remove:hover {
	color: var(--pb-red);
}

@media (max-width: 760px) {
	.woocommerce table.shop_table_responsive thead {
		display: none;
	}

	.woocommerce table.shop_table_responsive tr {
		display: block;
		padding-block: 8px;
		border-bottom: 1px solid var(--pb-line-2);
	}

	.woocommerce table.shop_table_responsive tr > * {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 6px 14px;
		border-bottom: 0;
		text-align: right;
	}

	.woocommerce table.shop_table_responsive tr > [data-title]::before {
		content: attr(data-title);
		color: var(--pb-muted);
		font-weight: 500;
		text-align: left;
	}
}

/* Формите на Woo (чекаут, акаунт, адреси). */
.woocommerce form .form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
}

.woocommerce form .form-row .required {
	color: var(--pb-red);
	text-decoration: none;
	border: 0;
}

.woocommerce form .form-row .optional {
	color: var(--pb-muted);
	font-weight: 400;
}

.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--pb-text-2);
	font-family: var(--pb-font-body);
	font-weight: 400;
}

.woocommerce form .form-row .description {
	color: var(--pb-muted);
	font-size: 13px;
}

.woocommerce .col2-set {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

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

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

.woocommerce .coupon .input-text {
	flex: 1 1 180px;
	inline-size: auto;
}

.woocommerce-password-strength {
	margin-top: 6px;
	font-size: 13px;
}

.woocommerce-password-strength.bad,
.woocommerce-password-strength.short {
	color: var(--pb-red);
}

.woocommerce-password-strength.good,
.woocommerce-password-strength.strong {
	color: var(--pb-green);
}

.woocommerce .price del,
.woocommerce del .amount {
	color: var(--pb-muted-3);
	font-weight: 400;
}

.woocommerce .price ins {
	color: var(--pb-red);
	text-decoration: none;
}

.woocommerce .blockUI.blockOverlay {
	background: var(--pb-bg);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ================================================================ 10. Fluent Forms (= .pb-field / .pb-btn) */

.fluentform .ff-el-group {
	margin-bottom: 16px;
}

.fluentform .ff-el-input--label {
	display: block;
	margin-bottom: 6px;
}

.fluentform .ff-el-input--label.asterisk-right label::after,
.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
	margin-left: 3px;
	color: var(--pb-red);
}

.fluentform .ff-el-form-check {
	margin-bottom: 4px;
}

.fluentform .ff-el-form-check-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-block: 7px;
	color: var(--pb-text-2);
	font-size: 14px;
	cursor: pointer;
}

.fluentform .ff-t-container {
	display: flex;
	gap: 14px;
}

.fluentform .ff-t-cell {
	flex: 1 1 0;
	min-width: 0;
}

@media (max-width: 760px) {
	.fluentform .ff-t-container {
		flex-direction: column;
		gap: 0;
	}
}

.fluentform .ff-btn-submit {
	padding-block: 15.5px;
	font-size: 16px;
	width: 100%;
}

.fluentform .ff-message-success,
.ff-message-success {
	padding: 20px 24px;
	border: 1px solid var(--pb-green);
	border-radius: var(--pb-radius);
	background: var(--pb-green-light);
	color: var(--pb-ink);
	font-size: 16px;
	line-height: 1.5;
	box-shadow: none;
}

.fluentform .ff-errors-in-stack,
.ff-errors-in-stack {
	margin-top: 12px;
	padding: 14px 18px;
	border: 1.5px solid var(--pb-red);
	border-radius: var(--pb-radius);
	color: var(--pb-red);
	font-size: 14px;
}

/* Формата в съдържанието като карта (контактната форма). */
.entry-content .fluentform,
.post-password-form {
	padding: 36px;
	border: 1px solid var(--pb-line);
	border-top: 5px solid var(--pb-green);
	border-radius: var(--pb-radius-l);
	background: var(--pb-bg);
}

/* ================================================================ 11. Защитена с парола страница */

.post-password-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 560px;
	font-size: 15px;
	line-height: 1.6;
}

.post-password-form p {
	margin: 0;
}

.post-password-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.post-password-form p:last-child {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

.post-password-form p:last-child label {
	flex: 1 1 220px;
}

.post-password-form input[type="submit"] {
	flex: none;
}

@media (max-width: 1024px) {
	.entry-content .fluentform,
	.post-password-form {
		padding: 20px 18px;
	}
}

/* ================================================================ 12. Продуктова карта (template-parts/product-card.php) */

.pb-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
	background: var(--pb-bg);
	color: var(--pb-ink);
}

.pb-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: calc(var(--pb-radius) - 1px) calc(var(--pb-radius) - 1px) 0 0;
	background: var(--pb-bg-2);
}

.pb-card__img-link {
	display: block;
}

.pb-card__img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.pb-card--related .pb-card__img {
	height: 200px;
}

.pb-card--search .pb-card__img {
	height: 190px;
}

.pb-card--404 .pb-card__img {
	height: 180px;
}

.pb-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 9px;
	border: 1px solid var(--pb-red);
	border-radius: var(--pb-radius-xs);
	background: var(--pb-red);
	color: var(--pb-bg);
	font-family: var(--pb-font-head);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.pb-card__badge--new {
	border-color: var(--pb-green);
	background: var(--pb-green);
	color: var(--pb-bg);
}

.pb-card__badge--stock {
	border-color: var(--pb-green-border);
	background: var(--pb-bg);
	color: var(--pb-green);
}

.pb-card__badge--out {
	border-color: var(--pb-line);
	background: var(--pb-bg);
	color: var(--pb-muted);
}

/* % - правоъгълник по подразбиране (related, search, mobile); кръг на home/catalog desktop. */
.pb-card__pct {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 4px 8px;
	border-radius: var(--pb-radius-xs);
	background: var(--pb-red);
	color: var(--pb-bg);
	font-family: var(--pb-font-head);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
}

.pb-card--related .pb-card__pct {
	font-size: 13px;
}

.pb-card--catalog .pb-card__badge {
	top: 8px;
	left: 8px;
}

@media (min-width: 1025px) {
	.pb-card--home .pb-card__pct,
	.pb-card--catalog .pb-card__pct {
		display: flex;
		align-items: center;
		justify-content: center;
		min-inline-size: 54px;
		aspect-ratio: 1 / 1;
		padding: 4px;
		border-radius: 50%;
		font-size: 16px;
	}

	.pb-card--home .pb-card__pct {
		top: 10px;
		right: 10px;
	}

	.pb-card--catalog .pb-card__pct {
		min-inline-size: 50px;
		font-size: 15px;
	}
}

.pb-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px 16px;
}

.pb-card--home .pb-card__body {
	gap: 5px;
}

.pb-card--search .pb-card__body,
.pb-card--404 .pb-card__body {
	padding: 14px;
}

.pb-card__cat {
	color: var(--pb-muted-2);
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pb-card__title {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.pb-card__title a {
	color: var(--pb-ink);
}

.pb-card__title a:hover {
	color: var(--pb-green-dark);
}

.pb-card--search .pb-card__title,
.pb-card--404 .pb-card__title {
	font-size: 15px;
}

.pb-card__spec {
	color: var(--pb-muted-2);
	font-size: 13px;
	line-height: 1.4;
}

.pb-card__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin-top: 4px;
}

.pb-card--home .pb-card__prices {
	gap: 8px;
	margin-top: 6px;
}

.pb-card--search .pb-card__prices,
.pb-card--404 .pb-card__prices {
	gap: 4px;
	margin-top: 2px;
}

.pb-card__price {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 24px;
	font-weight: 900;
	line-height: 1.15;
	white-space: nowrap;
}

.pb-card__price--sale {
	color: var(--pb-red);
}

.pb-card--home .pb-card__price {
	font-size: 26px;
}

.pb-card--related .pb-card__price {
	font-size: 22px;
}

.pb-card--search .pb-card__price {
	font-size: 21px;
}

.pb-card--404 .pb-card__price {
	font-size: 20px;
}

.pb-card__unit {
	color: var(--pb-muted-2);
	font-family: var(--pb-font-body);
	font-size: 12px;
	font-weight: 400;
}

.pb-card--home .pb-card__unit {
	font-size: 13px;
}

.pb-card__was {
	color: var(--pb-muted-3);
	font-size: 13px;
	text-decoration: line-through;
	white-space: nowrap;
}

.pb-card--related .pb-card__was {
	font-size: 12px;
}

.pb-card__was-row {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	font-size: 13px;
	line-height: 1.4;
}

.pb-card__save {
	color: var(--pb-red);
	font-weight: 700;
}

.pb-card__stock {
	color: var(--pb-green);
	font-size: 13px;
	line-height: 1.4;
}

.pb-card__form {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: auto;
	padding-top: 4px;
}

.pb-card__mont {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-block: 0 4px;
	padding: 7px 10px;
	border-radius: var(--pb-radius-s);
	background: var(--pb-bg-2);
	color: var(--pb-ink);
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.pb-card__mont input {
	inline-size: 17px;
	block-size: 17px;
}

.pb-card--home .pb-card__mont {
	margin-block: 2px 2px;
	padding: 8px 10px;
}

.pb-card--home .pb-card__mont input {
	inline-size: 16px;
	block-size: 16px;
}

.pb-card__mont strong {
	font-weight: 700;
}

.pb-card__btn {
	width: 100%;
	padding: 11.5px 12px;
	font-size: 14px;
}

.pb-card--home .pb-card__btn {
	font-size: 15px;
}

.pb-card--search .pb-card__btn {
	padding-block: 10.5px;
}

.pb-card--out .pb-card__img {
	opacity: 0.6;
}

/* 404: цялата карта е линк. */
a.pb-card {
	text-decoration: none;
	transition: border-color 0.15s ease;
}

a.pb-card:hover {
	border-color: var(--pb-green-border);
	color: var(--pb-ink);
}

a.pb-card:hover .pb-card__title {
	color: var(--pb-green-dark);
}

@media (max-width: 1024px) {
	.pb-card__img,
	.pb-card--related .pb-card__img {
		height: 130px;
	}

	.pb-card--search .pb-card__img {
		height: 120px;
	}

	.pb-card--404 .pb-card__img {
		height: 110px;
	}

	.pb-card__badge,
	.pb-card--catalog .pb-card__badge {
		top: 6px;
		left: 6px;
		padding: 3px 6px;
		font-size: 10px;
	}

	.pb-card--catalog .pb-card__badge {
		top: 8px;
		left: 8px;
	}

	.pb-card--home .pb-card__pct {
		top: 6px;
		right: 6px;
		padding: 4px 7px;
	}

	.pb-card--catalog .pb-card__pct {
		padding: 4px 7px;
	}

	.pb-card--related .pb-card__pct {
		font-size: 12px;
	}

	.pb-card__body,
	.pb-card--search .pb-card__body,
	.pb-card--404 .pb-card__body {
		padding: 10px;
	}

	.pb-card--home .pb-card__body {
		gap: 3px;
	}

	.pb-card__title,
	.pb-card--search .pb-card__title,
	.pb-card--404 .pb-card__title {
		font-size: 13px;
	}

	/* Mobile: без спец и без „● В наличност" / „Спестявате". */
	.pb-card__spec,
	.pb-card__stock,
	.pb-card__save {
		display: none;
	}

	.pb-card__price,
	.pb-card--home .pb-card__price,
	.pb-card--related .pb-card__price {
		font-size: 19px;
	}

	.pb-card--search .pb-card__price {
		font-size: 18px;
	}

	.pb-card--404 .pb-card__price {
		font-size: 17px;
	}

	.pb-card--home .pb-card__prices {
		margin-top: 0;
	}

	.pb-card--home .pb-card__unit {
		font-size: 11px;
	}

	.pb-card--home .pb-card__was-row {
		font-size: 12px;
	}

	.pb-card--home .pb-card__was {
		font-size: 12px;
	}

	.pb-card__mont,
	.pb-card--home .pb-card__mont {
		margin-block: 0;
		padding: 7px 0;
		background: transparent;
		font-size: 12px;
	}

	.pb-card__mont input,
	.pb-card--home .pb-card__mont input {
		inline-size: 18px;
		block-size: 18px;
	}

	.pb-card__btn,
	.pb-card--home .pb-card__btn,
	.pb-card--search .pb-card__btn {
		padding-block: 10.5px;
		font-size: 14px;
	}
}

/* ================================================================ 13. Драуър „Добавено в количката" */

.pb-drawer[hidden] {
	display: none;
}

.pb-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
	grid-template-rows: minmax(0, 1fr);
}

.pb-drawer__overlay {
	grid-area: 1 / 1 / 2 / 3;
	background: var(--pb-overlay);
	cursor: pointer;
	animation: pb-fade 0.2s ease;
}

.pb-drawer__panel {
	grid-area: 1 / 2 / 2 / 3;
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: var(--pb-bg);
	box-shadow: var(--pb-shadow-drawer, -20px 0 50px rgba(0, 0, 0, 0.2));
	animation: pb-slide-left 0.25s ease;
}

.pb-drawer__panel:focus {
	outline: none;
}

.pb-drawer__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

html.is-open,
html.is-open body {
	overflow: hidden;
}

.pb-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
	border-bottom: 1px solid var(--pb-line-2);
}

.pb-drawer__title {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--pb-green);
	font-family: var(--pb-font-head);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0;
}

.pb-drawer__ok {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	inline-size: 28px;
	block-size: 28px;
	border-radius: 50%;
	background: var(--pb-green);
	color: var(--pb-bg);
}

.pb-drawer__close {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--pb-bg-2);
	color: var(--pb-ink);
}

.pb-drawer__close:hover {
	background: var(--pb-line-2);
}

.pb-drawer__main {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 16px;
	min-height: 0;
	padding: 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.pb-drawer__product {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.pb-drawer__img {
	inline-size: 88px;
	block-size: 88px;
	border-radius: var(--pb-radius-s);
	object-fit: cover;
}

.pb-drawer__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.pb-drawer__name {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.pb-drawer__name:hover {
	color: var(--pb-green-dark);
}

.pb-drawer__qty {
	color: var(--pb-muted);
	font-size: 13px;
}

.pb-drawer__price {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.3;
}

.pb-drawer__price--sale {
	color: var(--pb-red);
}

.pb-drawer__unit {
	color: var(--pb-muted-2);
	font-family: var(--pb-font-body);
	font-size: 12px;
	font-weight: 400;
}

.pb-drawer__mont {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 14px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius-s);
	background: var(--pb-bg-2);
	color: var(--pb-ink);
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pb-drawer__mont.is-on,
.pb-drawer__mont:has(input:checked) {
	border-color: var(--pb-green);
	background: var(--pb-green-light);
}

.pb-drawer__note {
	color: var(--pb-muted);
	font-size: 13px;
	line-height: 1.4;
}

.pb-drawer__cross {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 16px;
	border-top: 1px solid var(--pb-line-2);
}

.pb-drawer__cross-title {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.pb-drawer__up {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 8px 12px;
	align-items: center;
	padding: 10px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius);
}

.pb-drawer__up-img {
	inline-size: 56px;
	block-size: 56px;
	border-radius: var(--pb-radius-s);
	object-fit: cover;
}

.pb-drawer__up-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pb-drawer__up-name {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.pb-drawer__up-name:hover {
	color: var(--pb-green-dark);
}

.pb-drawer__up-price {
	color: var(--pb-text-2);
	font-size: 13px;
}

.pb-drawer__up-btn {
	padding: 8.5px 14px;
	font-size: 14px;
	white-space: nowrap;
}

.pb-drawer__up .pb-form-msg {
	grid-column: 1 / -1;
}

.pb-drawer__foot {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 24px 24px;
	border-top: 1px solid var(--pb-line-2);
}

.pb-drawer__total {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
}

.pb-drawer__total span {
	color: var(--pb-text-2);
}

.pb-drawer__total strong {
	color: var(--pb-ink);
}

.pb-drawer__foot .pb-btn--outline {
	font-size: 15px;
}

/* Mobile: пада отгоре на цяла ширина, радиус долу 16px, без „Често купувани заедно" (.pb-d). */
@media (max-width: 1024px) {
	.pb-drawer {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-drawer__overlay {
		grid-area: 1 / 1 / 2 / 2;
	}

	.pb-drawer__panel {
		grid-area: 1 / 1 / 2 / 2;
		align-self: start;
		max-height: 100%;
		border-radius: 0 0 var(--pb-radius-drawer, 16px) var(--pb-radius-drawer, 16px);
		box-shadow: var(--pb-shadow-drawer-m, 0 20px 50px rgba(0, 0, 0, 0.2));
		animation-name: pb-slide-down;
	}

	.pb-drawer__head {
		padding: 18px 16px;
	}

	.pb-drawer__main {
		padding: 18px 16px;
	}

	.pb-drawer__foot {
		padding: 16px;
	}
}

@keyframes pb-fade {
	from {
		opacity: 0;
	}
}

@keyframes pb-slide-left {
	from {
		transform: translateX(40px);
		opacity: 0;
	}
}

@keyframes pb-slide-down {
	from {
		transform: translateY(-40px);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pb-drawer__overlay,
	.pb-drawer__panel {
		animation: none;
	}
}
