/*
 * Паркети България - профил (B3.2). Макет: makets/final/profil.html → състояния А и Б + Mobile.
 * Инвентар 3 → profil. Mobile вариант при ≤1024 (допускане 9); поръчките - карти при ≤760.
 *
 * Профилът стои в .entry-content на page.php, чиито правила за a/h1/h2/ul/table са с висока
 * специфичност - затова правилата, които ги пресичат, започват с #pb-account.
 * Без !important, без height/min-height на текст, без overflow:hidden на текст (PLAN 5.2).
 */

/* ================================================================ 0. Обвивката на page.php */

/* H1 „Профил" на page.php се заменя от H1 в шаблоните; секциите са на цяла ширина. */
.pb-woo-page:has(#pb-account) {
	padding: 0;
}

.pb-woo-page:has(#pb-account) .pb-woo-page__title {
	display: none;
}

#pb-account {
	color: var(--pb-ink);
	font-family: var(--pb-font-body);
	font-size: 16px;
	line-height: 1.5;
}

#pb-account :is(h1, h2, h3) {
	margin: 0;
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	text-wrap: balance;
}

/* Само списъците на темата (известията на Woo пазят стила си от base.css). */
#pb-account :where(.pb-auth__benefits, .pb-acc-nav__list, .pb-acc-items, .pb-acc-notes__list, .pb-breadcrumb__list) {
	margin: 0;
	padding: 0;
	list-style: none;
}

#pb-account :where(.pb-auth__benefits, .pb-acc-nav__list, .pb-acc-items, .pb-acc-notes__list, .pb-breadcrumb__list) > li + li {
	margin-top: 0;
}

#pb-account p {
	margin: 0;
}

/* :where() - специфичност (1,0,0): бие .entry-content a:not()…, губи от #pb-account .клас. */
#pb-account :where(a:not(.pb-btn)) {
	color: var(--pb-green);
	text-decoration: none;
}

#pb-account :where(a:not(.pb-btn)):hover {
	color: var(--pb-green-dark);
}

#pb-account .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 20px;
}

/* Скритите полета на Woo (order attribution) не заемат място в колоната на формата. */
#pb-account wc-order-attribution-inputs {
	display: none;
}

/* ================================================================ 1. Поле с парола: бутонът „покажи" в полето */

#pb-account .password-input {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	align-items: center;
}

#pb-account .password-input > input {
	grid-column: 1 / -1;
	grid-row: 1;
	padding-inline-end: 48px;
}

#pb-account .show-password-input {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	inline-size: 40px;
	block-size: 40px;
	padding: 0;
	border: 0;
	border-radius: var(--pb-radius-s);
	background: var(--pb-muted);
	cursor: pointer;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

#pb-account .show-password-input:hover,
#pb-account .show-password-input.display-password {
	background: var(--pb-green);
}

/* Индикатор за сила на паролата (password-strength-meter на Woo). */
#pb-account .woocommerce-password-strength {
	margin-top: 6px;
	color: var(--pb-red);
	font-family: var(--pb-font-head);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

#pb-account .woocommerce-password-strength.good {
	color: var(--pb-warn-text);
}

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

#pb-account .woocommerce-password-hint {
	display: block;
	margin-top: 4px;
	color: var(--pb-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* ================================================================ 2. Нелогнат: ползи + карта с табове */

.pb-auth {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: 80px;
	align-items: start;
	padding: 72px var(--pb-gutter);
	background: var(--pb-bg-2);
}

.pb-auth__intro {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

#pb-account .pb-auth__title {
	font-size: 36px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.pb-auth__benefits {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pb-auth__benefit {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

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

.pb-auth__benefit-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pb-auth__benefit-title {
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}

.pb-auth__benefit-sub {
	color: var(--pb-text-2);
	font-size: 15px;
	line-height: 1.5;
}

.pb-auth__card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	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);
}

#pb-account .pb-auth__card-title {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
}

.pb-auth__card > .woocommerce-notices-wrapper:not(:empty),
#pb-account .pb-auth__card > .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 0;
}

.pb-auth__tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	padding: 4px;
	border-radius: var(--pb-radius);
	background: var(--pb-bg-2);
}

#pb-account .pb-auth__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 11px 12px;
	border-radius: var(--pb-radius-s);
	color: var(--pb-muted);
	font-family: var(--pb-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	transition: background-color 0.15s ease, color 0.15s ease;
}

#pb-account .pb-auth__tab:hover {
	color: var(--pb-green-dark);
}

#pb-account .pb-auth__tab[aria-selected="true"] {
	background: var(--pb-bg);
	color: var(--pb-green);
}

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

.pb-auth__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pb-auth__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 16px;
}

#pb-account .pb-auth__link {
	font-size: 14px;
	font-weight: 500;
}

.pb-auth__terms {
	align-items: flex-start;
}

.pb-auth__terms > span {
	line-height: 1.5;
}

#pb-account .pb-auth__terms a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pb-auth__form .pb-btn {
	margin-top: 4px;
}

.pb-auth__note {
	color: var(--pb-muted);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.pb-auth__back {
	font-size: 14px;
	text-align: center;
}

/* Потвърждението след „Изпрати линк" (lost-password-confirmation.php на Woo). */
.pb-auth__confirm {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--pb-line);
	border-top: 5px solid var(--pb-green);
	border-radius: var(--pb-radius-l);
	background: var(--pb-bg);
	font-size: 15px;
	line-height: 1.6;
}

.pb-auth__confirm .pb-auth__back {
	text-align: left;
}

/* ================================================================ 3. Логнат: заглавна лента + тяло */

.pb-acc__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 32px var(--pb-gutter) 24px;
	background: var(--pb-bg-2);
}

.pb-acc__head-main {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-inline-size: 0;
}

#pb-account .pb-acc__title {
	font-size: 40px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.pb-acc__email {
	color: var(--pb-text-2);
	font-size: 14px;
	overflow-wrap: anywhere;
}

#pb-account .pb-breadcrumb a {
	color: var(--pb-green);
}

.pb-acc__body {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	padding: 36px var(--pb-gutter) 72px;
}

/* Навигация (desktop: вертикално меню). */
#pb-account .pb-acc-nav__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

#pb-account .pb-acc-nav__link {
	display: flex;
	align-items: center;
	padding: 14px 16px;
	border-radius: var(--pb-radius-s);
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

#pb-account .pb-acc-nav__link:hover {
	background: var(--pb-bg-2);
	color: var(--pb-green-dark);
}

#pb-account .is-current > .pb-acc-nav__link {
	background: var(--pb-green-light);
	color: var(--pb-green);
}

#pb-account .pb-acc-nav__item--logout {
	margin-top: 8px;
}

#pb-account .pb-acc-nav__item--logout > .pb-acc-nav__link {
	color: var(--pb-red);
}

#pb-account .pb-acc__logout-m {
	align-items: center;
	padding: 12px 0 12px 12px;
	color: var(--pb-red);
	font-family: var(--pb-font-head);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

.pb-acc__content {
	min-inline-size: 0;
}

.pb-acc-view {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#pb-account .pb-acc-view__title {
	font-size: 28px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.pb-acc-back {
	font-size: 14px;
}

/* ================================================================ 4. Банер „ПРЕДСТОЯЩ МОНТАЖ" */

.pb-acc-banner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 20px 24px;
	border: 1.5px solid var(--pb-green);
	border-radius: var(--pb-radius-l);
	background: var(--pb-green-light);
}

.pb-acc-banner__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pb-acc-banner__kicker {
	color: var(--pb-green);
	font-family: var(--pb-font-head);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

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

.pb-acc-banner__meta {
	color: var(--pb-text-2);
	font-size: 14px;
	line-height: 1.5;
}

.pb-acc-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pb-acc-banner__actions .pb-btn {
	padding-inline: 16px;
}

/* ================================================================ 5. Таблица с поръчки (subgrid - колоните от макета) */

#pb-account .pb-acc-orders__table {
	display: grid;
	grid-template-columns:
		minmax(max-content, 120px) minmax(max-content, 110px) minmax(0, 1fr)
		minmax(max-content, 120px) minmax(max-content, 140px) minmax(max-content, 150px);
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius-l);
	font-size: 15px;
	line-height: 1.45;
}

#pb-account .pb-acc-orders__table :is(thead, tbody, tr) {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: subgrid;
}

#pb-account .pb-acc-orders__table tr {
	column-gap: 16px;
	align-items: center;
	padding: 16px 20px;
	border-top: 1px solid var(--pb-line-2);
}

#pb-account .pb-acc-orders__table thead tr {
	padding-block: 12px;
	border-top: 0;
	border-radius: var(--pb-radius-l) var(--pb-radius-l) 0 0;
	background: var(--pb-bg-2);
}

#pb-account .pb-acc-orders__table :is(th, td) {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--pb-ink);
	font-size: inherit;
	font-weight: 400;
	text-align: left;
	vertical-align: middle;
}

#pb-account .pb-acc-orders__table thead th {
	color: var(--pb-muted);
	font-family: var(--pb-font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

#pb-account .pb-acc-orders__table .pb-acc-orders__h--sum,
#pb-account .pb-acc-orders__table .pb-acc-order__sum {
	text-align: right;
}

#pb-account .pb-acc-orders__table .pb-acc-order__num {
	font-family: var(--pb-font-head);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

#pb-account .pb-acc-orders__table .pb-acc-order__date {
	color: var(--pb-text-2);
	white-space: nowrap;
}

#pb-account .pb-acc-orders__table .pb-acc-order__sum {
	font-weight: 700;
	white-space: nowrap;
}

#pb-account .pb-acc-orders__table .pb-acc-order__products {
	overflow-wrap: anywhere;
}

#pb-account .pb-acc-order__again {
	padding: 8.5px 14px;
	font-size: 13px;
	white-space: nowrap;
}

/* Баджове на статуса (инвентар 3: радиус 12px, 700 12px). */
.pb-acc-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 12px;
	background: var(--pb-bg-2);
	color: var(--pb-muted);
	font-family: var(--pb-font-head);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.pb-acc-badge--montazh {
	background: var(--pb-warn-bg);
	color: var(--pb-warn-text);
}

.pb-acc-badge--done {
	background: var(--pb-green-light);
	color: var(--pb-green);
}

.pb-acc-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

.pb-acc-empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 28px 24px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius-l);
}

.pb-acc-empty__text {
	color: var(--pb-text-2);
	font-size: 16px;
}

/* ================================================================ 6. Адреси */

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

.pb-acc-address {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 24px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius-l);
}

.pb-acc-address--main {
	border-color: var(--pb-green);
}

.pb-acc-address__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

#pb-account .pb-acc-address__title {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.pb-acc-address__line {
	font-size: 15px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.pb-acc-address__line--empty,
.pb-acc-address__contact {
	color: var(--pb-muted);
	font-size: 14px;
}

.pb-acc-address__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin-top: 4px;
}

#pb-account .pb-acc-address__link {
	color: var(--pb-muted);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#pb-account .pb-acc-address__link:hover {
	color: var(--pb-green-dark);
}

/* ================================================================ 7. Форми: Лични данни, адрес */

.pb-acc-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 640px;
}

.pb-acc-form .woocommerce-address-fields {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

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

.pb-acc-field--wide,
.pb-acc-form__grid .form-row-wide {
	grid-column: 1 / -1;
}

/* Полетата на Woo (woocommerce_form_field) в мрежата = .pb-field. */
#pb-account .pb-acc-form__grid .form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

#pb-account .pb-acc-form__grid .form-row .required {
	color: var(--pb-red);
	text-decoration: none;
}

#pb-account .pb-acc-form__grid .form-row .optional {
	color: var(--pb-muted);
	font-weight: 400;
}

.pb-acc-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

#pb-account .pb-acc-form__sep {
	margin: 4px 0;
	border-top-color: var(--pb-line-2);
}

.pb-acc-form__fieldset {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	border: 0;
}

.pb-acc-form__subtitle {
	padding: 0;
	margin-bottom: 16px;
	color: var(--pb-ink);
	font-family: var(--pb-font-head);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

/* ================================================================ 8. Една поръчка (ПО ПРАВИЛО) */

.pb-acc-order-view__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}

.pb-acc-order-view__date {
	margin-top: -8px;
	color: var(--pb-muted);
	font-size: 14px;
}

.pb-acc-order-view__card,
.pb-acc-box {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 24px;
	border: 1px solid var(--pb-line);
	border-radius: var(--pb-radius-l);
}

.pb-acc-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-block: 12px;
	border-bottom: 1px solid var(--pb-line-2);
}

#pb-account .pb-acc-items > .pb-acc-item:first-child {
	padding-top: 0;
}

.pb-acc-item__main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-inline-size: 0;
}

.pb-acc-item__name {
	font-family: var(--pb-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.pb-acc-item__qty,
.pb-acc-item__meta {
	color: var(--pb-muted);
	font-size: 14px;
	line-height: 1.5;
}

.pb-acc-item__sum {
	font-weight: 700;
	white-space: nowrap;
}

.pb-acc-totals {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.pb-acc-totals__row,
.pb-acc-box__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	font-size: 15px;
	line-height: 1.5;
}

.pb-acc-totals dt,
.pb-acc-box dt {
	color: var(--pb-text-2);
}

.pb-acc-totals dd,
.pb-acc-box dd {
	margin: 0;
	text-align: right;
}

.pb-acc-totals__row--total {
	padding-top: 10px;
	border-top: 1px solid var(--pb-line);
	font-family: var(--pb-font-head);
	font-size: 18px;
	font-weight: 800;
}

.pb-acc-totals__row--total dt {
	color: var(--pb-ink);
}

/* Монтажът се плаща на място (B6.1) - информационен ред под „Общо", не е в сумата. */
.pb-acc-totals__row--info,
.pb-acc-totals__row--info dd {
	color: var(--pb-text-2);
	font-size: 14px;
	font-weight: 400;
}

.pb-acc-order-view__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 16px;
}

#pb-account .pb-acc-box__title {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
}

.pb-acc-box__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.pb-acc-box__lines {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pb-acc-box__line {
	font-size: 15px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.pb-acc-box__line--note {
	color: var(--pb-muted);
	font-style: italic;
}

.pb-acc-notes__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pb-acc-notes__date {
	display: block;
	color: var(--pb-muted);
	font-size: 13px;
}

/* ================================================================ 9. ≤1024: мобилен вариант */

@media (max-width: 1024px) {
	/* Нелогнат: само H1 + картата. */
	.pb-auth {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding: 24px var(--pb-gutter) 32px;
	}

	#pb-account .pb-auth__title {
		font-size: 28px;
	}

	.pb-auth__card {
		padding: 20px;
	}

	/* Логнат: ред „Здравейте" + „Изход", под него табовете на сив фон. */
	.pb-acc__logout-m {
		display: inline-flex;
	}

	.pb-acc__head {
		flex-wrap: nowrap;
		align-items: center;
		padding: 18px var(--pb-gutter) 0;
	}

	#pb-account .pb-acc__title {
		font-size: 26px;
		letter-spacing: -0.01em;
	}

	.pb-acc__body {
		display: block;
		padding: 0;
	}

	.pb-acc-nav {
		padding: 10px var(--pb-gutter) 0;
		background: var(--pb-bg-2);
	}

	#pb-account .pb-acc-nav__list {
		flex-direction: row;
		gap: 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	#pb-account .pb-acc-nav__list::-webkit-scrollbar {
		display: none;
	}

	#pb-account .pb-acc-nav__item {
		flex: 0 0 auto;
	}

	#pb-account .pb-acc-nav__item--logout {
		display: none;
	}

	#pb-account .pb-acc-nav__link {
		padding: 12px 12px 9px;
		border-bottom: 3px solid transparent;
		border-radius: 0;
		color: var(--pb-text-2);
		font-size: 14px;
		white-space: nowrap;
	}

	#pb-account .pb-acc-nav__link:hover {
		background: none;
	}

	#pb-account .is-current > .pb-acc-nav__link {
		border-bottom-color: var(--pb-green);
		background: none;
		color: var(--pb-green);
	}

	.pb-acc__content {
		padding: 18px var(--pb-gutter) 32px;
	}

	.pb-acc-view {
		gap: 12px;
	}

	#pb-account .pb-acc-view__title {
		font-size: 22px;
	}

	.pb-acc-banner {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 16px;
	}

	.pb-acc-banner__text {
		gap: 6px;
	}

	.pb-acc-banner__kicker {
		font-size: 12px;
	}

	.pb-acc-banner__date {
		font-size: 17px;
	}

	.pb-acc-banner__meta {
		font-size: 13px;
	}

	.pb-acc-banner__actions .pb-btn {
		flex: 1 1 100%;
	}
}

/* ================================================================ 10. ≤760: поръчките са карти, формите в 1 колона */

@media (max-width: 760px) {
	#pb-account .pb-acc-orders__table {
		display: flex;
		flex-direction: column;
		gap: 12px;
		border: 0;
		border-radius: 0;
	}

	#pb-account .pb-acc-orders__table thead {
		display: none;
	}

	#pb-account .pb-acc-orders__table tbody {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	#pb-account .pb-acc-orders__table tr {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"num status"
			"products products"
			"date sum"
			"actions actions";
		gap: 8px 12px;
		padding: 14px 16px;
		border: 1px solid var(--pb-line);
		border-radius: var(--pb-radius-l);
	}

	#pb-account .pb-acc-orders__table .pb-acc-order__num {
		grid-area: num;
	}

	#pb-account .pb-acc-orders__table .pb-acc-order__num a {
		color: var(--pb-green);
	}

	#pb-account .pb-acc-orders__table .pb-acc-order__status {
		grid-area: status;
		justify-self: end;
	}

	#pb-account .pb-acc-orders__table .pb-acc-order__products {
		grid-area: products;
		font-size: 14px;
	}

	#pb-account .pb-acc-orders__table .pb-acc-order__date {
		grid-area: date;
		color: var(--pb-muted);
		font-size: 13px;
	}

	#pb-account .pb-acc-orders__table .pb-acc-order__sum {
		grid-area: sum;
		font-family: var(--pb-font-head);
		font-size: 16px;
		font-weight: 800;
	}

	#pb-account .pb-acc-orders__table .pb-acc-order__actions {
		grid-area: actions;
	}

	#pb-account .pb-acc-orders__table .pb-acc-order__actions:empty {
		display: none;
	}

	#pb-account .pb-acc-order__again {
		display: flex;
		inline-size: 100%;
		padding-block: 10.5px;
		font-size: 14px;
	}

	.pb-acc-addresses__grid,
	.pb-acc-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pb-acc-address {
		padding: 16px;
	}

	.pb-acc-order-view__card,
	.pb-acc-box {
		padding: 16px;
	}
}
