/*
Theme Name: Berries
Theme URI:  https://example.com/berries
Description: Catalog theme from the SUUUPER Figma design (node 113-11) — Inter UI, Platypi wordmark, Lato page titles, zero-gutter 4-up square grid, swatch dots, pill utilities.
Author:      Berries
Version:     0.4.2
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: berries
Tags:        e-commerce, minimal, woocommerce
*/

/* ══════════════════════════════════════════════════════════════════
   Tokens — straight from the Figma file
   ══════════════════════════════════════════════════════════════════ */

:root {
	/* SUUUPER design system palette */
	--br-ink:      #151126;  /* Ink — nav, titles, prices */
	--br-sec:      #656275;  /* Secondary text (subcategories, "+14") */
	--br-grey:     #9694A3;  /* Inactive language, wishlist icon */
	--br-badge:    #3A3A3A;  /* "New" badge on light tiles */
	--br-badge-2:  #E0E0E0;  /* "New" badge on dark tiles */
	--br-line:     #EAE9E6;  /* Swatch borders, pill outline */
	--br-bg:       #ffffff;
	--br-tile-1:   #C8C4BE;  /* Card tile palette, cycled by grid position */
	--br-tile-2:   #D4C9B8;
	--br-tile-3:   #B8B4B0;
	--br-tile-4:   #8C8C8C;

	/* Type */
	--br-ui:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--br-brand: 'Platypi', Georgia, serif;
	--br-title: 'Lato', 'Inter', sans-serif;

	/* Chrome */
	--br-pad-x: 40px;
	--br-gutter: 0px; /* the Figma grid is flush — tiles touch */
}

/* ══════════════════════════════════════════════════════════════════
   Reset-ish
   ══════════════════════════════════════════════════════════════════ */

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

body {
	margin: 0;
	background: var(--br-bg);
	color: var(--br-ink);
	font-family: var(--br-ui);
	font-size: 13px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	/* EDIT: футер прижат к низу — белая полоса после футера убрана */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* EDIT: футер прижат к низу страницы */
.br-ftr {
	margin-top: auto;
}

/* EDIT: диалог полноэкранного просмотра (без CSS PhotoSwipe рендерится блоком
   и даёт белую полосу после футера); в прототипе не используется */
.pswp {
	display: none;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.br-container {
	padding-inline: var(--br-pad-x);
	max-width: 1520px;
	margin-inline: auto;
}

/* Icon exports carry a hard stroke colour — repaint with CSS. */
.br-icon svg,
.br-icons__item svg,
.br-card__wish svg,
.br-card__cart svg {
	stroke: currentColor;
}

.screen-reader-text {
	border:     0;
	clip:       rect(1px, 1px, 1px, 1px);
	clip-path:  inset(50%);
	height:     1px;
	width:      1px;
	margin:     -1px;
	overflow:   hidden;
	padding:    0;
	position:   absolute;
}

/* ══════════════════════════════════════════════════════════════════
   Header — nav left · B́ERRIES wordmark centre · utilities right
   ══════════════════════════════════════════════════════════════════ */

.br-header {
	/* EDIT: горизонтальная полоса после шапки убрана */
	border-bottom: 0;
	/* EDIT: шапка прилипает к верху при скролле */
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--br-bg);
}

.br-header__bar {
	/* Figma: 67px bar, 24px vertical padding, content vertically centred */
	min-height: 67px;
	padding-block: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.br-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	flex: 1;
}

.br-nav a {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.br-logo {
	flex: 0 0 auto;
	font-family: var(--br-brand);
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 1;
	white-space: nowrap;
}

.br-header__right {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	/* EDIT: расстояние Account → иконки = как слева до Help (16px), а не gap шапки (24px) */
	gap: 16px;
}

.br-header__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	white-space: nowrap;
}

.br-header__meta > * {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.br-header__meta .br-icon svg {
	width: 16px;
	height: 16px;
}

.br-lang {
	/* EDIT: переключатель языка RU/EN скрыт */
	display: none;
	font-weight: 500;
	text-transform: none;
}

.br-lang a {
	color: var(--br-grey);
	font-weight: 500;
}

.br-lang a.is-active {
	color: var(--br-ink);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.br-header__icons {
	display: flex;
	align-items: center;
	gap: 16px;
}

.br-icons__item {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--br-ink);
}

/* EDIT: скрытые иконки шапки (hidden) не должны показываться — display перекрывает атрибут */
.br-header__icons .br-icons__item[hidden] {
	display: none;
}

.br-icons__item svg {
	width: 18px;
	height: 18px;
}

.br-icons__count {
	font-size: 12px;
	font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════
   Catalog chrome
   ══════════════════════════════════════════════════════════════════ */

.br-catalog {
	padding-bottom: 48px;
}

/* Page title — "Rings", Lato 500 */
.br-catalog__title {
	margin: 0;
	padding-block: 13px;
	text-align: center;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 40px;
	/* EDIT: вес 300 — как было */
	font-weight: 300;
	line-height: 1;
	color: var(--br-pd-ink, #16002D);
}

/* EDIT: строка-счётчик под заголовком каталога (из макета Catalog Head) */
.br-catalog__count {
	margin-top: 14px;
	text-align: center;
	font-family: var(--br-ui);
	font-size: 15px;
	font-weight: 400;
	color: #727272;
}

/* Subcategory bar — bold current term + count, grey siblings, FILTER right */
.br-subcats {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 18px 18px;
	border-bottom: 0;
}

.br-subcats__list {
	display: flex;
	align-items: center;
	gap: 24px;
	overflow-x: auto;
	scrollbar-width: none;
}

.br-subcats__list::-webkit-scrollbar {
	display: none;
}

.br-subcats__list a,
.br-subcats__list span {
	white-space: nowrap;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 15px;
	font-weight: 400;
}

.br-subcats__list > .is-current {
	color: #727272;
}

.br-subcats__list > * {
	color: #16002D;
}

.br-subcats__list > .is-current:hover {
	color: #727272;
}

.br-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

/* EDIT: новая linear-иконка Filter 20×20 — как иконки шапки */
.br-filter-toggle svg {
	width: 20px;
	height: 20px;
}

/* EDIT: при открытии фильтра иконка не переворачивается */
.br-filter-toggle[aria-expanded="true"] svg {
	transform: none;
}

/* Filter drawer (Figma filter-panel 143-116) */
.br-fp-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(22, 0, 45, 0.35);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.br-fp-overlay.is-open {
	opacity: 1;
}

.br-fp {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	width: min(400px, 100vw);
	background: var(--br-bg);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
}

.br-fp.is-open {
	transform: translateX(0);
}

.br-fp__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	border-bottom: 1px solid #EFEFEF;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
}

.br-fp__close {
	padding: 0;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

.br-fp__body {
	flex: 1;
	padding: 0 24px 8px;
}

.br-fp__section {
	border-bottom: 1px solid #EFEFEF;
}

.br-fp__acc-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 12px 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	color: #111;
	text-align: left;
	cursor: pointer;
}

.br-fp__acc-btn svg {
	width: 12.6px;
	height: 6.8px;
	flex: none;
	transition: transform 0.25s ease;
}

.br-fp__section.is-open .br-fp__acc-btn svg {
	transform: rotate(180deg);
}

.br-fp__acc-panel {
	display: grid;
	grid-template-rows: 0fr;
	/* EDIT: свёрнутая секция — контент гарантированно скрыт, остаётся только заголовок */
	visibility: hidden;
	transition: grid-template-rows 0.3s ease, visibility 0.3s ease;
}

.br-fp__section.is-open .br-fp__acc-panel {
	grid-template-rows: 1fr;
	visibility: visible;
}

.br-fp__acc-panel > * {
	overflow: hidden;
	min-height: 0; /* EDIT: чтобы 0fr действительно схлопывал контент */
}

.br-fp__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-bottom: 12px;
}

.br-fp__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border: 0;
	border-radius: 2px;
	background: #F3F4F6;
	font: inherit;
	font-size: 13px;
	color: #111;
	cursor: pointer;
	transition: box-shadow 0.12s ease;
}

.br-fp__chip-dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 100px;
}

.br-fp__chip.is-active {
	box-shadow: inset 0 0 0 1px #111;
}

.br-fp__price {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 14px;
}

.br-fp__price input {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 10px;
	font: inherit;
	font-size: 13px;
	color: #111;
	background: #F3F4F6;
	border: 0;
	border-radius: 2px;
	outline: none;
}

.br-fp__price input:focus {
	box-shadow: inset 0 0 0 1px #111;
}

.br-fp__price-dash {
	color: #111;
}

.br-fp__sort {
	padding: 16px 0;
}

.br-fp__sort-label {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 500;
	color: #111;
}

.br-fp__sort-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.br-fp__radio {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 0;
	font-size: 15px;
	color: #111;
	cursor: pointer;
}

.br-fp__radio input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.br-fp__radio-dot {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid #111;
	background: var(--br-bg);
	transition: box-shadow 0.12s ease;
}

.br-fp__radio input:checked + .br-fp__radio-dot {
	background: radial-gradient(circle, #111 0 6px, transparent 7px);
}

.br-fp__actions {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 8px 20px 16px;
}

.br-fp__apply,
.br-fp__clear {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	border: 0;
	border-radius: 2px;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.br-fp__apply {
	background: #1C1B1B;
	color: #fff;
}

.br-fp__clear {
	background: #F3F4F6;
	color: #111;
}

.br-fp__apply:hover,
.br-fp__clear:hover {
	opacity: 0.85;
}

/* ══════════════════════════════════════════════════════════════════
   Product grid — flush 4-up, square tiles
   ══════════════════════════════════════════════════════════════════ */

ul.products.br-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 5px;
}

.br-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 24px;
}

/* Tile — source 357:379 (~0.94), white photo background */
.br-card__media {
	position: relative;
	aspect-ratio: 357 / 379;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.br-card--tile-0 .br-card__media { background: var(--br-tile-1); }
.br-card--tile-1 .br-card__media { background: var(--br-tile-2); }
.br-card--tile-2 .br-card__media { background: var(--br-tile-3); }
.br-card--tile-3 .br-card__media { background: var(--br-tile-4); }

/* EDIT: фото заполняет плитку целиком, обрезка снизу (верх не режем).
   absolute — чтобы WP-стили (height:auto от атрибута height) не оставляли
   полосу фона внизу на квадратных превью. */
.br-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
	/* EDIT: лёгкий zoom фото при hover на карточку */
	transition: transform 0.3s ease;
}

.br-card:hover .br-card__media img {
	transform: scale(1.04);
}

.br-card__top {
	position: absolute;
	inset: 0 0 auto 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
}

/* EDIT: бейдж — белая плашка со скруглёнными углами, без обводки */
.br-card__badge {
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--br-badge);
	background: #ffffff;
	border-radius: 8px;
	padding: 4px 8px;
}

.br-card--tile-3 .br-card__badge {
	color: var(--br-badge);
}

.br-card__wish {
	width: 20px;
	height: 20px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--br-grey);
	transition: color 0.15s ease, transform 0.15s ease;
}

.br-card__wish svg {
	width: 12px;
	height: 12px;
}

.br-card__wish:hover {
	transform: scale(1.1);
}

.br-card__wish.is-active {
	color: var(--br-ink);
}

.br-card__wish.is-active svg {
	fill: var(--br-ink);
}

/* 40px round add-to-cart, bottom-left of the tile */
.br-card__cart {
	position: absolute;
	left: 12px;
	bottom: 12px;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background: var(--br-bg);
	outline: 1px solid var(--br-line);
	outline-offset: -1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--br-ink);
	/* EDIT: иконка корзины всегда видна, не по hover */
	opacity: 1;
	transition: transform 0.15s ease;
}

.br-card__cart svg {
	width: 18px;
	height: 18px;
}

.br-card__cart:hover {
	transform: scale(1.06);
}

.br-card__cart.is-loading svg {
	animation: br-spin 0.8s linear infinite;
}

@keyframes br-spin {
	to { transform: rotate(360deg); }
}

/* Info block — left-aligned under the photo, source typography */
.br-card__info {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 12px 16px 0 0;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
}

.br-card__title {
	margin: 0 0 7px;
	font-size: 15px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.65;
	color: #16002D;
}

.br-card__title a {
	color: inherit;
}

.br-card__price {
	font-size: 16px;
	font-weight: 500;
	color: #16002D;
}

.br-card__price del {
	color: var(--br-sec);
	margin-inline-end: 6px;
}

/* EDIT: размеры по макету Figma 154:18 ×2 — кружки 22px, шаг 36px */
.br-card__swatches {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 0 0;
}

.br-card__swatch {
	width: 22px;
	height: 22px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid var(--br-line);
	cursor: pointer;
}

/* EDIT: у выбранного — цветной кружок, зазор 3px и тёмное кольцо */
.br-card__swatch[aria-selected="true"] {
	border-color: transparent;
	outline: 1px solid #16002D;
	outline-offset: 3px;
}

.br-card__swatches__more {
	font-size: 11px;
	color: var(--br-sec);
}

/* Pagination */
.br-pagination {
	padding-block: 24px 0;
}

.br-pagination .page-numbers {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.br-pagination .page-numbers li {
	font-size: 13px;
}

.br-pagination .page-numbers .current {
	font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════
   Single product
   ══════════════════════════════════════════════════════════════════ */

.br-product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding-block: 32px;
}

.br-product__media {
	background: var(--br-tile-1);
	aspect-ratio: 1 / 1;
}

.br-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.br-product__summary {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 8px;
}

.br-product__title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
}

.br-product__price {
	font-size: 14px;
}

.br-product__price del {
	color: var(--br-sec);
	margin-inline-end: 6px;
}

.br-product__excerpt {
	color: var(--br-sec);
}

.br-product form.cart {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.br-product .quantity input {
	font: inherit;
	padding: 10px 12px;
	border: 1px solid var(--br-line);
	border-radius: 999px;
	width: 80px;
}

.br-cta {
	align-self: flex-start;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 12px 32px;
	border: 1px solid var(--br-ink);
	border-radius: 999px;
	background: var(--br-ink);
	color: var(--br-bg);
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.br-cta:hover {
	opacity: 0.85;
}

.br-cta.disabled,
.br-cta:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.br-product__back {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--br-sec);
}

/* ══════════════════════════════════════════════════════════════════
   Single product page (br-pd) — SUUUPER Figma design, node 131-160
   Inter · ink #151126 · secondary #656275 · hairline #EAE9E6 · r4/8
   ══════════════════════════════════════════════════════════════════ */

.br-pd {
	--br-pd-ink: #16002D;   /* berriesandco.pl ink */
	--br-pd-grey: #727272;  /* inactive breadcrumb, separators */
	--br-pd-line: #E5E2DE;
	display: block;
	padding-bottom: 80px;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 16px;
	color: var(--br-pd-ink);
}

/* Breadcrumbs — 11px Inter, secondary links, hairline separators */
.br-pd .woocommerce-breadcrumb {
	margin: 0;
	padding: 12px 0 16px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--br-pd-grey);
}

.br-pd .woocommerce-breadcrumb a {
	color: var(--br-pd-ink);
	text-decoration: none;
}

.br-pd .woocommerce-breadcrumb a:hover {
	text-decoration: underline;
}

/* Workspace: editorial gallery 800 / gap 60 / pane 500 (at 1440) */
.br-pd__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
	gap: 60px;
	align-items: start;
}

/* ── Gallery ── */

.br-pd__gallery {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.br-pd__media {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--br-bg);
	/* EDIT: кастомный курсор из макета — плюс в круге (48×48, точка наведения в центре) */
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='24' cy='24' r='23.75' fill='%23ffffff' stroke='%23878787' stroke-width='0.5'/%3E%3Crect x='23.32' y='14.94' width='1.36' height='18.11' rx='0.68' fill='%23000000'/%3E%3Crect x='14.94' y='23.32' width='18.11' height='1.36' rx='0.68' fill='%23000000'/%3E%3C/svg%3E") 24 24, zoom-in;
	overflow: hidden;
}

.br-pd__media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* EDIT: миниатюры галереи — сетка 2 в ряд, пропорции 1:1, отступы 5px;
   gap галереи 8px перекрывается на 5px (расстояние основное фото ↔ миниатюры) */
.br-pd__gallery {
	gap: 5px;
}

.br-pd__thumbs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 5px;
	width: 100%;
}

.br-pd__media--thumb {
	aspect-ratio: 1 / 1;
}

.br-pd__media--thumb img {
	height: 100%;
}

.br-pd__media--empty {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--br-grey);
	font-size: 12px;
	cursor: default;
}

/* Editorial context grid: two columns, 12px gutters */
/* EDIT: миниатюры — все фото галереи, 2 в ряду, 1:1, зазор 5px
   (и между собой, и до главного фото: gap галереи тоже 5px) */
.br-pd__context {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
}

.br-pd__context-item {
	aspect-ratio: 1 / 1;
}

.br-pd__context-item {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--br-bg);
	/* EDIT: тот же кастомный курсор */
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='24' cy='24' r='23.75' fill='%23ffffff' stroke='%23878787' stroke-width='0.5'/%3E%3Crect x='23.32' y='14.94' width='1.36' height='18.11' rx='0.68' fill='%23000000'/%3E%3Crect x='14.94' y='23.32' width='18.11' height='1.36' rx='0.68' fill='%23000000'/%3E%3C/svg%3E") 24 24, zoom-in;
	overflow: hidden;
}

.br-pd__context-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* EDIT: правило --wide убрано — все миниатюры 1:1 */

/* EDIT: бейдж-крестик увеличения убран — сигнал зума теперь несёт кастомный курсор */

/* ── Purchase pane: 24px vertical rhythm ── */

.br-pd__summary {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.br-pd__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.br-pd__title {
	margin: 0;
	font-family: inherit;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2;
	color: var(--br-pd-ink);
}

.br-pd__share {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.br-pd__share svg {
	width: 20px;
	height: 20px;
}

/* EDIT: hover — сердечко заливается */
.br-pd__share:hover svg path,
.br-pd__share:focus-visible svg path {
	fill: #111111;
}

.br-pd__subtitle {
	margin: -18px 0 0;
	font-size: 13px;
	font-weight: 400;
	color: var(--br-pd-ink);
}

.br-pd__price {
	margin: 0;
	font-weight: 400;
	font-size: 16px;
	color: var(--br-pd-ink);
}

.br-pd__price del {
	color: var(--br-pd-grey);
	font-weight: 400;
	margin-inline-end: 6px;
}

.br-pd__price ins {
	text-decoration: none;
}

/* Description with a COLLAPSE toggle */
.br-pd__desc {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.br-pd__desc-text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
}

.br-pd__desc-text p {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--br-pd-ink);
}

.br-pd__desc.is-collapsed .br-pd__desc-text {
	/* EDIT: свёрнуто до 2 строк (2 × 15px × 1.65) */
	max-height: 49.5px;
}

.br-pd__desc-toggle {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-decoration: underline;
	text-transform: uppercase;
	color: var(--br-pd-ink);
	cursor: pointer;
}

/* Size header row — Figma Dropdown component (141-47): "Size:" 16 bold + chart link */
.br-pd__size-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	/* EDIT: нижний отступ убран */
	margin-bottom: 0;
}

.br-pd__size-label {
	font-weight: 400;
	font-size: 15px;
	color: var(--br-pd-ink);
}

.br-pd__size-chart {
	font-size: 13px;
	font-weight: 500;
	text-decoration: underline;
	color: var(--br-pd-ink);
}

/* Stock line with the 6px dot */
.br-pd__stock {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 11px;
	color: var(--br-pd-ink);
}

.br-pd__stock-dot {
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	/* EDIT: точка наличия — зелёная */
	background: #2e9e44;
}

/* WooCommerce add-to-cart form: boxed select + ink CTA */
.br-pd form.cart {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.br-pd form.cart .variations {
	margin: 0;
	border: 0;
}

.br-pd form.cart .variations td,
.br-pd form.cart .variations th {
	display: block;
	border: 0;
	padding: 0;
	text-align: left;
	background: none;
}

/* The standalone "Size:" header above replaces Woo's own label */
.br-pd .br-pd__size-head + form.cart .variations th,
.br-pd form.cart .variations th {
	display: none;
}

/* Native select stays in the DOM (WooCommerce variation logic) but is visually
   replaced by the custom .br-dd dropdown below. */
.br-pd form.cart select.br-dd-native {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
/* EDIT: селект размеров у простого товара (без Woo-вариаций) —
   скрываем нативный select так же, как в форме вариаций;
   z-index — чтобы раскрытая панель перекрывала кнопку Add to cart,
   как в proto */
.br-pd__size-picker {
	position: relative;
	z-index: 20;
	width: 100%;
	margin: 8px 0 0;
}

.br-pd__size-picker select.br-dd-native {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}


/* ── Custom dropdown — Figma Dropdown component (node 141-47) ── */

.br-dd {
	position: relative;
	width: 100%;
}

.br-dd__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 0 0 12px;
	border: 0;
	border-bottom: 0.5px solid #707070;
	background: none;
	font-family: var(--br-ui);
	font-size: 13px;
	font-weight: 500;
	color: var(--br-pd-ink);
	text-align: left;
	cursor: pointer;
}

.br-dd__btn:hover {
	border-bottom-color: var(--br-pd-ink);
}

.br-dd__chevron {
	flex: none;
	width: 12.6px;
	height: 6.8px;
	transition: transform 0.2s ease;
}

.br-dd.is-open .br-dd__chevron {
	transform: rotate(180deg);
}

.br-dd__opts {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 10;
	display: none;
	flex-direction: column;
	gap: 24px;
	padding: 12px 16px;
	background: #FCFAF8;
}

.br-dd.is-open .br-dd__opts {
	display: flex;
}

.br-dd__opt {
	padding: 12px 16px;
	margin: -12px -16px; /* keep the panel's rhythm, let the row fill its width */
	border: 0;
	background: none;
	font-family: var(--br-ui);
	font-size: 13px;
	font-weight: 500;
	color: var(--br-pd-ink);
	text-align: left;
	cursor: pointer;
	transition: background 0.12s ease;
}

/* Mouse-over state (Figma 142-54): hovered row gets a full-width #F3EEE7 fill */
.br-dd__opt:hover,
.br-dd__opt.is-selected {
	background: #F3EEE7;
}

.br-dd__opt.is-selected {
	text-decoration: underline;
}

.br-pd form.cart .single_variation_wrap {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

/* EDIT: отступ между выпадающим списком размера и кнопкой */
.br-pd form.cart .variations {
	margin-bottom: 20px;
}

/* Quantity stepper: − N + , thin glyphs, plain digits */
.br-pd form.cart .quantity {
	/* EDIT: блок скрыт, но оставлен в разметке */
	display: none;
	margin: 0 0 24px;
}

.br-pd form.cart .quantity input {
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	width: 32px;
	background: none;
	color: var(--br-pd-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}

.br-pd form.cart .quantity input::-webkit-outer-spin-button,
.br-pd form.cart .quantity input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.br-pd__qty-btn {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: var(--br-pd-grey);
	cursor: pointer;
	transition: color 0.15s ease;
}

.br-pd__qty-btn:hover {
	color: var(--br-pd-ink);
}

.br-pd__qty-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.br-pd form.cart .single_add_to_cart_button {
	width: 100%;
	margin: 0;
	font-family: inherit;
	font-weight: 400;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1;
	padding: 16px 36px;
	border: 0;
	border-radius: 0;
	background: var(--br-pd-ink);
	color: #fff;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.br-pd form.cart .single_add_to_cart_button:hover {
	opacity: 0.85;
}

.br-pd form.cart .single_add_to_cart_button.disabled,
.br-pd form.cart .single_add_to_cart_button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ── Perks: soft card, icon chips ── */

.br-pd__perks {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	border-radius: 0;
	background: #FAF9F6;
}

.br-pd__perk {
	display: flex;
	align-items: center;
	gap: 16px;
}

.br-pd__perk-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: none;
}

.br-pd__perk-icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--br-pd-ink);
}

.br-pd__perk p {
	margin: 0;
	flex: 1;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--br-pd-ink);
}

/* ── Accordion ── */

.br-pd__acc {
	display: flex;
	flex-direction: column;
}

.br-pd__acc-item {
	border-bottom: 1px solid var(--br-pd-line);
}

.br-pd__acc-item:first-child {
	border-top: 1px solid var(--br-pd-line);
}

.br-pd__acc-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 17px 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 400;
	font-size: 15px;
	text-transform: none;
	letter-spacing: normal;
	color: var(--br-pd-ink);
	cursor: pointer;
	text-align: left;
}

.br-pd__acc-btn svg {
	width: 12.6px;
	height: 6.8px;
	flex: none;
	transition: transform 0.25s ease;
}

.br-pd__acc-item.is-open .br-pd__acc-btn svg {
	transform: rotate(180deg);
}

.br-pd__acc-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.br-pd__acc-item.is-open .br-pd__acc-panel {
	grid-template-rows: 1fr;
}

.br-pd__acc-inner {
	overflow: hidden;
}

.br-pd__acc-inner p {
	margin: 0 0 24px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--br-pd-ink);
}

.br-pd__acc-inner > :last-child {
	margin-bottom: 0;
}

.br-pd__acc-inner p.br-pd__acc-h {
	margin: 16px 0 12px;
	font-weight: 400;
	font-size: 15px;
	color: var(--br-pd-ink);
}

.br-pd__acc-inner p.br-pd__acc-h:first-child {
	margin-top: 0;
}

.br-pd__acc-list {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.br-pd__acc-list li {
	position: relative;
	padding-left: 20px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--br-pd-ink);
}

.br-pd__acc-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 12px;
	line-height: 1.8;
}

/* ── Secure payments card ── */

/* EDIT: скрытый блок "Secure payments" не должен показываться — display перекрывает hidden */
.br-pd__pay[hidden] {
	display: none;
}

.br-pd__pay {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	border: 1px solid var(--br-pd-line);
	border-radius: 0;
	background: #FDFDFD;
}

.br-pd__pay-label {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.3px;
	color: var(--br-pd-ink);
}

.br-pd__pay-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.br-pd__pay-chip {
	padding: 5px 10px;
	border: 0;
	border-radius: 2px;
	background: #F2F1EF;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--br-pd-ink);
	white-space: nowrap;
}

/* ── Lightbox ── */

.br-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	/* EDIT: фото растягивается на весь экран (без полей) */
	padding: 0;
	/* EDIT: белый фон полноэкранного просмотра */
	background: #ffffff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.br-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.br-lightbox__img {
	/* EDIT: занимает весь экран, пропорции сохраняет object-fit: contain */
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	border-radius: 0;
	transform: scale(0.96);
	transition: transform 0.25s ease;
}

.br-lightbox.is-open .br-lightbox__img {
	transform: scale(1);
}

.br-lightbox__close {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 0;
	background: var(--br-bg);
	color: var(--br-pd-ink);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.br-lightbox__close:hover {
	opacity: 0.85;
}

/* ══════════════════════════════════════════════════════════════════
   My account — berriesandco.pl login page style:
   narrow 428px centred column · FuturaPT light · boxed inputs on
   #FCFAF7 · full-width black uppercase CTA
   ══════════════════════════════════════════════════════════════════ */

.woocommerce-account .woocommerce {
	--br-ma-ink: #16002D;
	--br-ma-grey: #6A6A6A;
	--br-ma-line: #EBE8E2;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	color: var(--br-ma-ink);
}

/* One narrow centred column: login and register stack vertically */
.woocommerce-account .u-columns.col2-set {
	display: block;
	max-width: 428px;
	margin: 0 auto;
	padding: 40px 0 96px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
	width: 100%;
	float: none;
	margin: 0 0 48px;
}

.woocommerce-account .u-column2 {
	margin-bottom: 0;
}

/* Titles — "My account": 20px light, centred */
.woocommerce-account .woocommerce h2 {
	margin: 0 0 11px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.65;
	text-align: center;
	color: var(--br-ma-ink);
}

/* Form fields — 54px boxed on warm paper */
.woocommerce-account .woocommerce .form-row {
	margin: 0 0 15px;
	padding: 0;
	border: 0;
}

.woocommerce-account .woocommerce .form-row label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 400;
	color: var(--br-ma-grey);
}

.woocommerce-account .woocommerce .form-row input.input-text,
.woocommerce-account .woocommerce .form-row input[type="email"],
.woocommerce-account .woocommerce .form-row input[type="password"],
.woocommerce-account .woocommerce .form-row input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	height: 54px;
	padding: 18px 12.5px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	color: var(--br-ma-ink);
	background: #FCFAF7;
	border: 1px solid var(--br-ma-line);
	border-radius: 0;
	outline: none;
}

.woocommerce-account .woocommerce .form-row input:focus {
	border-color: var(--br-ma-ink);
}

/* Buttons — full-width 46px black uppercase bars */
.woocommerce-account .woocommerce .woocommerce-button.button,
.woocommerce-account .woocommerce button.button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	margin: 20px 0 0;
	padding: 16px 36px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #fff;
	background: var(--br-ma-ink);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.woocommerce-account .woocommerce .woocommerce-button.button:hover,
.woocommerce-account .woocommerce button.button:hover {
	opacity: 0.85;
	color: #fff;
}

/* "Remember me" + lost password hint */
.woocommerce-account .woocommerce .form-row--wide .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	color: var(--br-ma-ink);
}

.woocommerce-account .woocommerce .woocommerce-LostPassword {
	margin: 8px 0 0;
	text-align: left;
}

.woocommerce-account .woocommerce .woocommerce-LostPassword a {
	font-size: 13px;
	font-weight: 400;
	color: var(--br-ma-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce-account .woocommerce .woocommerce-privacy-policy-text p {
	margin: 0 0 15px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--br-ma-grey);
}

.woocommerce-account .woocommerce .woocommerce-privacy-policy-text a {
	text-decoration: underline;
}

/* ── Logged-in dashboard ── */

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
	margin: 0 0 40px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--br-ma-line);
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--br-ma-line);
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 17px 0;
	font-size: 15px;
	font-weight: 400;
	color: var(--br-ma-ink);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content td,
.woocommerce-account .woocommerce-MyAccount-content th {
	font-size: 15px;
	font-weight: 400;
}

.woocommerce-account .woocommerce-MyAccount-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce-account .woocommerce-MyAccount-content h3 {
	margin: 0 0 16px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
}

.woocommerce-account .woocommerce-MyAccount-content table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-account .woocommerce-MyAccount-content th,
.woocommerce-account .woocommerce-MyAccount-content td {
	padding: 12px 0;
	text-align: left;
	border-bottom: 1px solid var(--br-ma-line);
}

/* Clear the Woo float grid */
.woocommerce-account .woocommerce::after,
.woocommerce-account .u-columns::after {
	content: "";
	display: table;
	clear: both;
}

/* ══════════════════════════════════════════════════════════════════
   Generic pages / footer
   ══════════════════════════════════════════════════════════════════ */

.br-page {
	padding-block: 40px;
}

.br-page__title {
	margin: 0 0 24px;
	font-family: var(--br-title);
	font-size: 32px;
	font-weight: 500;
}

.br-footer {
	border-top: 1px solid var(--br-line);
}

.br-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 24px;
}

.br-footer__copy {
	margin: 0;
	font-size: 11px;
	color: var(--br-sec);
}

.br-footer__menu {
	display: flex;
	gap: 24px;
}

.br-footer__menu a {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════ */

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

@media (max-width: 900px) {
	.br-header__bar {
		flex-wrap: wrap;
		padding-block: 16px;
	}

	.br-nav {
		order: 3;
		flex-basis: 100%;
		overflow-x: auto;
	}

	.br-product {
		grid-template-columns: 1fr;
	}

	.br-pd__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.br-pd__gallery,
	.br-pd__summary {
		position: static;
		max-width: none;
		width: 100%;
	}

	.br-pd__context {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
}

@media (max-width: 720px) {
	:root {
		--br-pad-x: 20px;
	}

	ul.products.br-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.br-header__meta span.br-header__label {
		display: none;
	}

	.br-subcats {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	ul.products.br-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   About block — под пагинатором на главной
   (EDIT: layout only — текст использует стили темы)
   ============================================ */
.br-about {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 56px;
	width: 100%;
	max-width: 1468px;
	margin: 0 auto;
	padding: 72px var(--br-pad-x) 0;
	box-sizing: border-box;
}

.br-about__photo {
	flex-shrink: 0;
	width: 520px;
	height: 560px;
	background-color: var(--br-tile-2);
	/* EDIT: фото ателье (путь относительно style.css) */
	background-image: url('assets/img/about.jpg'); /* EDIT: путь от корня темы (style.css не в assets/) */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.br-about__text {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

/* Eyebrow — как в теме: мелкий UI-шрифт, трекинг */
.br-about__eyebrow {
	font-family: var(--br-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--br-grey);
}

/* Заголовок — тот же, что .br-catalog__title */
.br-about__title {
	margin: 0;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 40px;
	font-weight: 300;
	line-height: 1.1;
	color: var(--br-pd-ink, #16002D);
}

.br-about__para {
	margin: 0;
	font-family: var(--br-ui);
	font-size: 15px;
	font-weight: 400;
	line-height: 26px;
	color: var(--br-pd-ink, #16002D);
}

.br-about__feat {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
}

.br-about__feat svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.br-about__feat-text {
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	color: var(--br-pd-ink, #16002D);
}

.br-about__link {
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	color: var(--br-pd-ink, #16002D);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

.br-about__link:hover {
	color: var(--br-sec);
}

@media (max-width: 900px) {
	.br-about {
		flex-direction: column;
		gap: 32px;
		padding: 48px 20px 0;
	}
	.br-about__photo {
		width: 100%;
		max-width: 520px;
		height: auto;
		aspect-ratio: 520 / 560;
	}
}

/* ============================================
   Custom order form — под About-блоком
   (EDIT: layout only — текст использует стили темы)
   ============================================ */
.br-order {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 64px;
	width: 100%;
	max-width: 1468px;
	/* EDIT: расстояние между «Сошью для вас…» и формой заказа уменьшено на 100px */
	margin: 0 auto;
	padding: 64px var(--br-pad-x);
	box-sizing: border-box;
	/* EDIT: фон из макета — белый */
	background-color: #FFFFFF;
}

.br-order__left {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	width: 517px;
	box-sizing: border-box;
}

/* Заголовок — тот же стиль, что .br-about__title / .br-catalog__title */
.br-order__title {
	margin: 0;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 40px;
	font-weight: 300;
	line-height: 1.1;
	color: var(--br-pd-ink, #16002D);
}

/* Абзац — тот же стиль, что .br-about__para */
.br-order__para {
	margin: 0;
	font-family: var(--br-ui);
	font-size: 15px;
	font-weight: 400;
	line-height: 26px;
	color: var(--br-pd-ink, #16002D);
}

.br-order__check {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.br-order__check svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.br-order__check-text {
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	color: var(--br-pd-ink, #16002D);
	white-space: nowrap;
}

.br-order__form {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	width: 440px;
	box-sizing: border-box;
}

.br-order__input,
.br-order__textarea {
	width: 100%;
	height: 52px;
	padding: 0 18px;
	/* EDIT: фон из макета — светло-сиреневый, обводка сиреневая */
	background-color: #f3edf5;
	border: none;
	border-radius: 0;
	outline: 1px solid #e0cfe3;
	outline-offset: -1px;
	box-sizing: border-box;
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	color: var(--br-pd-ink, #16002D);
}

.br-order__textarea {
	height: 110px;
	padding: 16px 18px;
	resize: vertical;
}

.br-order__input::placeholder,
.br-order__textarea::placeholder {
	/* EDIT: цвет плейсхолдера из макета */
	color: #746a80;
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
}

.br-order__input:focus,
.br-order__textarea:focus {
	outline-color: var(--br-pd-ink, #16002D);
}

/* Кнопка — как в теме (тёмная плашка, трекинг uppercase) */
.br-order__submit {
	width: 100%;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--br-pd-ink, #16002D);
	border: none;
	border-radius: 0;
	cursor: pointer;
	font-family: var(--br-ui);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #FFFFFF;
}

.br-order__submit:hover {
	background-color: var(--br-sec);
}

@media (max-width: 1100px) {
	.br-order {
		gap: 40px;
	}
	.br-order__left,
	.br-order__form {
		width: 100%;
		max-width: 517px;
	}
	.br-order__check-text {
		white-space: normal;
	}
}

@media (max-width: 720px) {
	.br-order {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		padding: 48px 20px;
	}
}

/* ============================================
   Footer (new design) — под формой заказа
   (EDIT: layout only — текст использует стили темы)
   ============================================ */
.br-ftr {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 72px;
	width: 100%;
	box-sizing: border-box;
	/* EDIT: фон из макета */
	background-color: #e0cfe4;
	/* EDIT: боковые отступы как у остальных секций сайта */
	padding: 65px var(--br-pad-x) 18px;
}

.br-ftr__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 56px;
	width: 100%;
	box-sizing: border-box;
}

/* Абзац — тот же стиль, что .br-about__para */
.br-ftr__para {
	margin: 0;
	width: 539px;
	max-width: 100%;
	font-family: var(--br-ui);
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	color: var(--br-pd-ink, #16002d);
}

.br-ftr__cols {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	box-sizing: border-box;
}

.br-ftr__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	box-sizing: border-box;
}

.br-ftr__col--contacts {
	gap: 22px;
}

.br-ftr__col--mark {
	align-items: flex-end;
	gap: 10px;
}

/* Ссылка колонки — как в теме (FuturaPT/Jost 15px) */
.br-ftr__item {
	font-family: var(--br-ui);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.5px;
	color: var(--br-pd-ink, #16002d);
	text-decoration: none;
	white-space: nowrap;
}

.br-ftr__item:hover {
	text-decoration: underline;
}

.br-ftr__social {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding-top: 6px;
}

.br-ftr__social a {
	display: inline-flex;
	color: var(--br-pd-ink, #16002d);
}

.br-ftr__social svg {
	width: 16px;
	height: 16px;
}

/* Кнопка «Сшить на заказ» — контурная */
.br-ftr__order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	outline: 1px solid var(--br-pd-ink, #16002d);
	outline-offset: -1px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: var(--br-ui);
	font-size: 15px;
	font-weight: 400;
	color: var(--br-pd-ink, #16002d);
	text-decoration: none;
	white-space: nowrap;
}

.br-ftr__order:hover {
	background-color: var(--br-pd-ink, #16002d);
	color: #FFFFFF;
}

/* Знак «АТЕЛЬЕ SHULTZ» */
.br-ftr__mark {
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 58px;
	font-weight: 300;
	letter-spacing: 10px;
	line-height: normal;
	color: var(--br-pd-ink, #16002d);
	white-space: nowrap;
}

.br-ftr__mark-sub {
	font-family: var(--br-ui);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1.5px;
	color: var(--br-pd-ink, #16002d);
	white-space: nowrap;
}

.br-ftr__legal {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	box-sizing: border-box;
}

.br-ftr__legal-links {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 25px;
	flex-wrap: wrap;
}

.br-ftr__legal-item {
	font-family: var(--br-ui);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.3px;
	color: var(--br-pd-ink, #16002d);
	text-decoration: none;
	white-space: nowrap;
}

.br-ftr__legal-item:hover {
	text-decoration: underline;
}

.br-ftr__region {
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	color: var(--br-pd-ink, #16002d);
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.br-ftr__cols {
		flex-wrap: wrap;
		row-gap: 48px;
	}
	.br-ftr__col--mark {
		align-items: flex-start;
	}
	.br-ftr__mark {
		font-size: 44px;
		letter-spacing: 7px;
	}
}

@media (max-width: 720px) {
	.br-ftr {
		padding: 48px 20px 16px;
		gap: 48px;
	}
	.br-ftr__legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	/* EDIT: надписи АТЕЛЬЕ / SHULTZ растянуты на всю ширину экрана */
	.br-ftr__mark {
		font-size: 24.2vw;
		letter-spacing: 0.06em;
		white-space: nowrap;
	}
	.br-ftr__mark + .br-ftr__mark {
		letter-spacing: 0.10em; /* SHULTZ чуть уже — добираем трекингом */
	}
}

/* ============================================
   EDIT: Size chart drawer (product) — панель переиспользует .br-fp*,
   стилизован только контент
   ============================================ */
.br-sc__text {
	margin: 0 0 16px;
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--br-pd-ink);
}

.br-sc__text a {
	color: var(--br-pd-ink);
}

.br-sc__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px;
	font-family: var(--br-ui);
	font-size: 13px;
	color: var(--br-pd-ink);
}

.br-sc__table th,
.br-sc__table td {
	padding: 10px 8px;
	text-align: left;
	border-bottom: 1px solid #e0cfe3;
}

.br-sc__table th {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.br-sc__list {
	margin: 0 0 24px;
	padding-left: 18px;
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--br-pd-ink);
}

.br-sc__list strong {
	font-weight: 600;
}

/* ============================================
   EDIT: «Вам может понравится» на странице товара
   (заголовок — стиль .br-catalog__title, сетка карточек темы)
   ============================================ */
.br-related {
	width: 100%;
	box-sizing: border-box;
	padding: 48px var(--br-pad-x) 64px;
}

.br-related__title {
	margin: 0 0 32px;
	text-align: center;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 40px;
	font-weight: 300;
	line-height: 1;
	color: var(--br-pd-ink, #16002D);
}

/* ============================================
   EDIT: блок ценностей на странице товара
   (раскладка из Figma-макета; текст — стили темы:
   заголовок как .br-catalog__title, текст как .br-ftr__para)
   ============================================ */
.br-values {
	width: 100%;
	box-sizing: border-box;
	/* EDIT: 100px пустоты до футера */
	padding: 48px var(--br-pad-x) 100px;
}

.br-values__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	max-width: 1390px; /* 1470 - 2×20 из макета */
	margin-inline: auto;
	box-sizing: border-box;
}

.br-values__heading {
	margin: 0;
	width: 100%;
	text-align: center;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 36px;
	color: var(--br-pd-ink, #16002D);
}

.br-values__grid {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
}

.br-values__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	min-width: 0;
	box-sizing: border-box;
}

.br-values__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.br-values__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.br-values__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	padding-top: 12px;
	box-sizing: border-box;
}

.br-values__eyebrow {
	margin: 0;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.52px;
	line-height: 21px;
	color: var(--br-pd-ink, #16002D);
	white-space: nowrap;
}

.br-values__para {
	margin: 0;
	font-family: var(--br-ui);
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	color: var(--br-pd-ink, #16002D);
}

@media (max-width: 1100px) {
	.br-values__grid {
		flex-wrap: wrap;
		row-gap: 32px;
	}
	.br-values__item {
		flex: 1 1 calc(50% - 8px);
	}
}

/* ============================================================
   EDIT: home.html — hero, товары New/Bestsellers, разделы.
   Раскладка — новый scoped CSS; текстовые стили — из темы
   (FuturaPT/'Jost', --br-pd-ink, .br-catalog__title 40px/300).
   ============================================================ */

/* EDIT: hero — фулл-блид фото с текстом по центру */
.br-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 576px;
	overflow: hidden;
}

.br-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* EDIT: затемняющий слой — белый текст должен читаться на любом фото */
.br-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(22, 0, 45, 0.35);
	z-index: 1;
}

.br-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding-inline: 15px;
	text-align: center;
}

.br-hero__title {
	margin: 0;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 65px;
	/* EDIT: вес 500 — по правке клиента */
	font-weight: 500;
	line-height: 1.28;
	color: #ffffff;
}

/* EDIT: typing — призрак резервирует место, печатаемый текст лежит поверх без сдвига */
.br-hero__title {
	position: relative;
}

.br-hero__title-ghost {
	visibility: hidden;
}

.br-hero__title-typed {
	position: absolute;
	left: 0;
	top: 0;
	white-space: nowrap;
}

.br-hero__para {
	margin: 0;
	max-width: 700px;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 16px;
	/* EDIT: вес 500 — по правке клиента */
	font-weight: 500;
	line-height: 26px;
	color: #ffffff;
}

/* EDIT: ссылка-подчёркивание внизу hero (как в макете «Discover the collection») */
.br-hero__cta {
	position: absolute;
	left: 50%;
	bottom: 60px;
	transform: translateX(-50%);
	z-index: 2;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 16px;
	/* EDIT: вес 500 — по правке клиента */
	font-weight: 500;
	line-height: 26px;
	color: #ffffff;
	text-decoration: none;
	border-bottom: 1px solid #ffffff;
	padding-bottom: 1px;
}

/* EDIT: товары на главной — переключатель New / Bestsellers
   (стиль из макета клиента: FuturaPT 20px/300, line-height 33px, цвет --br-pd-ink,
   между вкладками 45px, блок высотой 64px, активная — линия 1px снизу) */
.br-home-products {
	padding-inline: var(--br-pad-x);
	max-width: 1520px;
	margin-inline: auto;
}

/* EDIT: отступ от hero до вкладок 55px, от вкладок до карточек 25px */
.br-home-products__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-top: 55px;
	margin-bottom: 25px;
}

.br-home-tabs {
	display: flex;
	gap: 45px;
}

.br-home-tabs__btn {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 33px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--br-pd-ink, #16002D);
	border-bottom: 1px solid transparent;
}

.br-home-tabs__btn.is-active {
	border-bottom-color: var(--br-pd-ink, #16002D);
}

/* EDIT: отступ от вкладок до карточек — 25px (margin у __head); зазор между рядами — как в index
   (там grid gap 5px + padding-bottom карточки 24px), поэтому у списков лишних отступов нет */
.br-home-products__grid {
	padding-top: 0;
	padding-bottom: 0;
}

.br-home-products__grid[data-pane="best"] {
	padding-top: 5px;
}

/* EDIT: разделы — 5 фото в строку с подписями
   (раскладка из макета клиента: квадрат 200×200 на плашке #f2f2f2, скругление 4px,
   подпись FuturaPT 14/600 по центру, зазор фото-подпись 10px, между плитками 15px) */
/* EDIT: размеры и отступы как в присланном html — контейнер 1200px (внутр. паддинг 18px),
   плитки фиксированно 200x200, между ними 15px, ряд центрируется (в макете слева/справа по 52px) */
.br-home-cats {
	display: grid;
	grid-template-columns: repeat(5, 200px);
	justify-content: center;
	gap: 28px 15px;
	padding-inline: 18px;
	max-width: 1200px;
	margin-inline: auto;
	padding-block: 56px 72px;
}

.br-home-cats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.br-home-cats__item img {
	display: block;
	width: 200px;
	height: 200px;
	object-fit: cover;
	background: #f2f2f2;
	border-radius: 4px;
}

.br-home-cats__label {
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 18px;
	color: var(--br-pd-ink, #16002D);
	text-align: center;
}

@media (max-width: 900px) {
	.br-hero__title { font-size: 44px; }
	.br-home-cats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.br-home-cats { grid-template-columns: 1fr; }
}

/* EDIT: при переходе по «Сшить на заказ» блок не должен уезжать под прилипающую шапку */
.br-order {
	scroll-margin-top: 80px;
}

/* ============================================================
   EDIT: мега-меню Shop — выпадающая панель на всю ширину экрана.
   Раскладка — новый scoped CSS; заголовки колонок — стили eyebrow
   темы (uppercase, letter-spacing), ссылки — текстовые стили темы.
   ============================================================ */

/* li — статичный, чтобы панель позиционировалась от шапки (растянуться на всю ширину) */
.br-nav > li {
	position: static;
}

.br-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 99;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	background: #ffffff;
	border-top: 1px solid var(--br-line, #e5e5e5);
	box-shadow: 0 24px 48px rgba(22, 0, 45, 0.08);
}

/* показываем при наведении на пункт Shop и при фокусе с клавиатуры */
.br-nav > li:hover > .br-mega,
.br-nav > li:focus-within > .br-mega {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.br-mega__inner {
	/* EDIT: панель по ширине содержимого, колонки заданы явно.
	Правка: расстояние FEATURED–CATEGORIES на 20px меньше остальных —
	первая колонка уже на 20px (169 -> 149px) при том же зазоре 48px */
	display: grid;
	grid-template-columns: 149px 169px 169px 169px;
	gap: 48px;
	width: max-content;
	margin-inline: 0;
	padding: 40px var(--br-pad-x) 48px;
}

/* заголовки колонок — как eyebrow в теме */
.br-mega__head {
	margin-bottom: 16px;
	font-family: var(--br-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--br-grey, #8a8a8a);
}

/* EDIT: вертикальный зазор между пунктами — в 2 раза меньше и одинаковый (6px -> 3px) */
.br-mega__link {
	display: block;
	padding-block: 3px;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	color: var(--br-pd-ink, #16002D);
	text-decoration: none;
}

.br-mega__link:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	/* на узких экранах мега-меню выключено (шапка перестраивается) */
	.br-mega {
		display: none;
	}
}

/* ══════════════════════════════════════════════════════════════════
   EDIT: Scroll reveal — плавное появление блоков при прокрутке.
   Работает только при html.br-js (JS включён); .is-in ставит
   IntersectionObserver в theme.js. Без JS всё видно сразу.
   ══════════════════════════════════════════════════════════════════ */
html.br-js .br-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}

html.br-js .br-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html.br-js .br-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* EDIT: избранное — активное сердечко (заливка) и пустой список [favorites] */
.br-card__wish.is-active svg path,
.br-pd__share.is-active svg path {
	fill: #1A1A1A;
	stroke: #1A1A1A;
}

.br-icons__count--fav {
	font-size: 12px;
	font-weight: 600;
}

.br-fav-empty {
	padding: 48px 0;
	font-family: var(--br-ui);
	font-size: 14px;
	color: #707070;
}

/* ══════════════════════════════════════════════════════════════════
   EDIT: Cart page (/cart/, classic [woocommerce_cart]) — лейаут по макету:
   слева список (превью 75×93, название 18, Qty-степпер, цена строки),
   снизу кнопки «Continue shopping» / «Update cart»; справа колонка 380px —
   «Cart totals» + купон + Checkout. Шрифты — проектные (FuturaPT/Inter).
   ══════════════════════════════════════════════════════════════════ */

/* main — flex-item внутри body: корзине нужна ширина макета */
body:has(.br-cart) main.br-container {
	flex: 1 1 auto;
	width: 100%;
}

.br-cart {
	--br-cart-ink: #2B2450;
	--br-cart-text: #1F1840;
	--br-cart-muted: #8E8AA0;
	--br-cart-line: #E5E5E5;
	--br-cart-cell: #FAFAFA;
	--br-cart-cta: #241A3E;
}

.br-cart__title {
	margin: 0;
	padding: 0 0 36px;
	text-align: left;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 34px;
	color: var(--br-cart-ink);
}

.br-cart .woocommerce-notices-wrapper .woocommerce-message,
.br-cart .woocommerce-info,
.br-cart .woocommerce-error {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--br-cart-line);
	background: none;
	font-family: var(--br-ui);
	font-size: 14px;
	color: var(--br-cart-ink);
	list-style: none;
	margin-bottom: 16px;
}

.br-cart .woocommerce-message::before,
.br-cart .woocommerce-info::before {
	display: none;
}

/* — Две колонки: слева форма, справа итоги (380px).
   EDIT: «Cart» и «Cart totals» на одной линии — грид на .br-cart,
   правая колонка стартует с ряда заголовка. — */

.br-cart {
	display: grid;
	/* EDIT: отступ от шапки до заголовков — 55px */
	padding-top: 55px;
	grid-template-columns: minmax(0, 1fr) 380px;
	grid-template-rows: auto auto auto 1fr;
	column-gap: 73px;
	align-items: start;
}

.br-cart__title {
	grid-column: 1;
	grid-row: 2;
}

/* .woocommerce распускаем — его дети сами становятся ячейками грида */
.br-cart .woocommerce {
	display: contents;
}

/* notice («добавлено в корзину») — во всю ширину над заголовком */
.br-cart .woocommerce > .woocommerce-notices-wrapper,
.br-cart .woocommerce > .woocommerce-message {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: 16px;
}

/* пустой wrapper не должен давать лишний отступ */
.br-cart .woocommerce > .woocommerce-notices-wrapper:empty {
	display: none;
}

.br-cart form.woocommerce-cart-form {
	grid-column: 1;
	grid-row: 3;
	min-width: 0;
}

.br-cart .cart-collaterals {
	grid-column: 2;
	grid-row: 2 / span 3;
	width: 380px;
	max-width: 100%;
	margin: 0;
	float: none;
}

/* Пустая корзина: текст и кнопка — в левой колонке */
.br-cart .woocommerce > .cart-empty {
	grid-column: 1;
	grid-row: 3;
}

.br-cart .woocommerce > .return-to-shop {
	grid-column: 1;
	grid-row: 4;
}

@media (max-width: 1023px) {
	.br-cart {
		display: block;
	}

	.br-cart .woocommerce {
		display: block;
	}

	.br-cart .cart-collaterals {
		width: 100%;
		margin-top: 40px;
	}
}

/* — Список товаров — */

.br-cart table.shop_table {
	border: 0;
	border-collapse: collapse;
	background: none;
	font-family: var(--br-ui);
	width: 100%;
}

.br-cart table.shop_table thead {
	display: none;
}

.br-cart table.shop_table td {
	border: 0;
	padding: 0;
	background: none;
	vertical-align: top;
}

.br-cart table.shop_table tbody tr.cart_item {
	display: grid;
	grid-template-columns: 75px minmax(0, 1fr) auto 16px;
	grid-template-areas:
		"thumb info . remove"
		"thumb meta . remove"
		"thumb foot price remove";
	align-items: start;
	gap: 0;
	padding: 20px 0 19px;
	border-top: 1px solid var(--br-cart-line);
}

.br-cart table.shop_table tbody tr.cart_item:first-child {
	border-top: 0;
	padding-top: 0;
}

.br-cart .cart_item .product-thumbnail {
	grid-area: thumb;
	width: auto;
	padding: 0 19px 0 0;
}

.br-cart .cart_item .product-thumbnail img {
	display: block;
	width: 75px;
	height: 93px;
	object-fit: cover;
	object-position: center top;
	border-radius: 5px;
}

.br-cart .cart_item .product-name {
	grid-area: info;
	padding: 8px 0 0;
}

.br-cart .cart_item .product-name a {
	color: var(--br-cart-ink);
	font-family: var(--br-ui);
	font-size: 18px;
	font-weight: 400;
	line-height: 25px;
	letter-spacing: 0;
	text-decoration: none;
}

.br-cart .cart_item .product-name a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Цена за единицу / вариант — серая строка 12px под названием */
.br-cart .cart_item .product-name::after {
	content: attr(data-unit-price);
	display: block;
	margin-top: 3px;
	color: var(--br-cart-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 14px;
}

/* Вариации (атрибуты товара) — той же серой строкой */
.br-cart .cart_item dl.variation {
	margin: 3px 0 0;
	font-size: 12px;
	line-height: 14px;
	color: var(--br-cart-muted);
}

.br-cart .cart_item dl.variation dt,
.br-cart .cart_item dl.variation dd {
	display: inline;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.br-cart .cart_item dl.variation dd {
	margin-right: 8px;
}

.br-cart .cart_item dl.variation dt::after {
	content: ":";
}

.br-cart .cart_item .product-price {
	display: none;
}

/* Низ строки: Qty + степпер слева, сумма справа */
.br-cart .cart_item .product-quantity {
	grid-area: foot;
	margin-top: 16px;
}

.br-cart .cart_item .product-quantity::before {
	content: "Кол-во";
	margin-right: 12px;
	font-family: var(--br-ui);
	font-size: 16px;
	line-height: 22px;
	color: var(--br-cart-ink);
}

.br-cart .cart_item .quantity {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.br-cart .cart_item .quantity input {
	font-family: var(--br-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	text-align: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	width: 32px;
	height: 24px;
	background: none;
	color: #000000;
	-moz-appearance: textfield;
	appearance: textfield;
}

.br-cart .cart_item .quantity input::-webkit-outer-spin-button,
.br-cart .cart_item .quantity input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.br-cart .br-pd__qty-btn {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: var(--br-cart-ink);
	cursor: pointer;
	transition: color 0.15s ease;
}

.br-cart .br-pd__qty-btn:hover {
	color: var(--br-cart-muted);
}

.br-cart .br-pd__qty-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.br-cart .cart_item .product-subtotal {
	grid-area: price;
	justify-self: end;
	align-self: center;
	margin-top: 16px;
	padding-left: 24px;
	text-align: right;
	white-space: nowrap;
}

.br-cart .cart_item .product-subtotal .amount {
	font-family: var(--br-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: var(--br-cart-ink);
}

.br-cart .cart_item .product-subtotal del {
	color: var(--br-cart-muted);
}

/* Крестик удаления */
.br-cart .cart_item .product-remove {
	grid-area: remove;
	justify-self: end;
	padding: 8px 0 0;
}

.br-cart .cart_item a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 0;
	/* EDIT: крестик — иконка из макета (тонкий ×), вместо символьного Woo */
	font-size: 0;
	line-height: 16px;
	color: var(--br-cart-ink);
	background: none;
	transition: color 0.12s ease;
}

.br-cart .cart_item a.remove::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2l12 12M14 2L2 14' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2l12 12M14 2L2 14' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.br-cart .cart_item a.remove:hover {
	color: var(--br-cart-muted);
	background: none;
}

/* — Кнопки под списком: Continue shopping + Update cart — */

.br-cart td.actions {
	display: flex;
	gap: 27px;
	padding: 29px 0 0;
	border: 0;
}

.br-cart td.actions .coupon {
	display: none; /* купон переехал в панель итогов */
}

.br-cart td.actions .button,
.br-cart .checkout-button,
.br-cart a.button,
.br-cart button.button {
	box-sizing: border-box;
	border-radius: 4px;
	font-family: var(--br-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.br-cart td.actions .br-cart-continue,
.br-cart td.actions [name="update_cart"] {
	flex: 1 1 0;
	min-width: 0;
	height: 46px;
	padding: 14px 18px;
	border: 1px solid #AAAAAA;
	background: none;
	color: var(--br-cart-ink);
	text-align: center;
	cursor: pointer;
}

.br-cart td.actions .br-cart-continue:hover,
.br-cart td.actions [name="update_cart"]:hover:not(:disabled) {
	background: var(--br-cart-ink);
	border-color: var(--br-cart-ink);
	color: #FFFFFF;
}

.br-cart td.actions [name="update_cart"]:disabled {
	opacity: 0.45;
	cursor: default;
}

@media (max-width: 767px) {
	.br-cart td.actions {
		flex-direction: column;
		gap: 12px;
	}

	.br-cart table.shop_table tbody tr.cart_item {
		grid-template-columns: 75px minmax(0, 1fr);
		grid-template-areas:
			"thumb info"
			"thumb meta"
			"thumb foot"
			"thumb price";
	}

	.br-cart .cart_item .product-remove {
		display: none;
	}

	.br-cart .cart_item .product-subtotal {
		justify-self: start;
		padding-left: 0;
	}
}

/* — Правая колонка: Cart totals — */

.br-cart .cart_totals {
	box-sizing: border-box;
	background: none;
	outline: 0;
	padding: 0;
	width: 100%;
}

.br-cart .cart_totals > h2 {
	margin: 0 0 36px;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 34px;
	color: var(--br-cart-ink);
}

.br-cart .cart_totals table.shop_table,
.br-cart .cart_totals table.shop_table tbody {
	display: block;
	width: 100%;
	border: 0;
	border-collapse: collapse;
	background: none;
}

.br-cart .cart_totals table.shop_table {
	border: 1px solid #E1E1E1;
}

/* Купон — сворачиваемая строка «Add coupon» с шевроном (по макету) */
.br-cart .br-cart-coupon {
	border: 1px solid #E1E1E1;
	border-bottom: 0;
	padding: 15px 21px 14px;
}

.br-cart .br-cart-coupon__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;
	color: var(--br-cart-ink);
	text-align: left;
	cursor: pointer;
}

.br-cart .br-cart-coupon__toggle::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M1.5 8.5V3A1.5 1.5 0 0 1 3 1.5h5.5L14.5 7.5a1.4 1.4 0 0 1 0 2L9.5 14.5a1.4 1.4 0 0 1-2 0L1.5 8.5Z'/%3E%3Ccircle cx='5.5' cy='5.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M1.5 8.5V3A1.5 1.5 0 0 1 3 1.5h5.5L14.5 7.5a1.4 1.4 0 0 1 0 2L9.5 14.5a1.4 1.4 0 0 1-2 0L1.5 8.5Z'/%3E%3Ccircle cx='5.5' cy='5.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.br-cart .br-cart-coupon__toggle::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-left: auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.15s ease;
}

.br-cart .br-cart-coupon.is-open .br-cart-coupon__toggle::after {
	transform: rotate(180deg);
}

.br-cart .br-cart-coupon__toggle:hover {
	color: var(--br-cart-muted);
}

.br-cart .br-cart-coupon form.coupon {
	display: none;
	align-items: center;
	gap: 8px;
	margin: 15px 0 0;
}

.br-cart .br-cart-coupon.is-open form.coupon {
	display: flex;
}

/* EDIT: открытый стейт — инпут 44px с рамкой + тёмная кнопка Apply */
.br-cart .br-cart-coupon .coupon .input-text {
	flex: 1 1 auto;
	min-width: 0;
	box-sizing: border-box;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #E1E1E1;
	border-radius: 4px;
	background: #FFFFFF;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 22px;
	color: var(--br-cart-text);
}

.br-cart .br-cart-coupon .coupon .input-text::placeholder {
	color: var(--br-cart-muted);
}

.br-cart .br-cart-coupon .coupon .input-text:focus {
	outline: none;
	border-color: var(--br-cart-ink);
}

.br-cart .br-cart-coupon .coupon button,
.br-cart .br-cart-coupon .coupon [name="apply_coupon"] {
	flex: none;
	box-sizing: border-box;
	height: 44px;
	padding: 14px 18px;
	border: 0;
	border-radius: 4px;
	background: var(--br-cart-cta);
	font-family: var(--br-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	color: #FFFFFF;
	cursor: pointer;
	transition: opacity 0.12s ease;
}

.br-cart .br-cart-coupon .coupon button:hover,
.br-cart .br-cart-coupon .coupon [name="apply_coupon"]:hover {
	opacity: 0.92;
	color: #FFFFFF;
}

/* Строки итогов: label-ячейка #FAFAFA + значение справа */
.br-cart .cart_totals table.shop_table tr {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px 24px;
	padding: 15px 21px;
	border-top: 1px solid #E1E1E1;
	background: var(--br-cart-cell);
}

.br-cart .cart_totals table.shop_table tr:first-child {
	border-top: 0;
}

.br-cart .cart_totals table.shop_table th,
.br-cart .cart_totals table.shop_table td {
	display: block;
	border: 0;
	padding: 0;
	background: none;
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;
	color: var(--br-cart-ink);
	vertical-align: middle;
	text-align: left;
	white-space: nowrap;
}

.br-cart .cart_totals .cart-subtotal td .amount,
.br-cart .cart_totals .order-total td .amount {
	color: var(--br-cart-text);
}

.br-cart .cart_totals .order-total th,
.br-cart .cart_totals .order-total td .amount {
	font-size: 18px;
	line-height: 25px;
}

.br-cart .cart_totals td del {
	color: var(--br-cart-muted);
}

/* Блок доставки внутри панели — стекается на всю ширину:
   метка сверху, радио и всё остальное прижаты влево */
.br-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals {
	display: block;
	white-space: normal;
	text-align: left;
}

.br-cart .cart_totals .shipping th {
	float: none;
	display: block;
	width: auto;
	margin-bottom: 15px;
}

.br-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals td {
	display: block;
	overflow: visible;
	white-space: normal;
	/* EDIT: адрес доставки переносится, strong не вылезает за панель */
	overflow-wrap: anywhere;
	word-break: break-word;
}

.br-cart .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.br-cart .woocommerce-shipping-methods li {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.br-cart input.shipping_method {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 13px;
	height: 13px;
	margin: 0;
	border-radius: 50%;
	outline: 1px solid #AAAAAA;
	outline-offset: -1px;
	background: #FFFFFF;
	cursor: pointer;
}

.br-cart input.shipping_method:checked {
	outline: 1px solid var(--br-cart-ink);
	background: radial-gradient(circle, var(--br-cart-ink) 0 3px, transparent 3.5px);
}

.br-cart .woocommerce-shipping-methods label {
	font-size: 14px;
	line-height: 22px;
	color: var(--br-cart-ink);
}

.br-cart .woocommerce-shipping-methods .amount {
	color: var(--br-cart-text);
}

.br-cart .woocommerce-shipping-destination {
	margin: 11px 0 6px;
	max-width: 100%;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 22px;
	color: var(--br-cart-ink);
	/* EDIT: адрес доставки — переносить, не вылезать за блок 380px */
	overflow-wrap: anywhere;
	word-break: break-word;
}

.br-cart .woocommerce-shipping-destination strong {
	font-weight: 400;
}

/* EDIT: «Change address» — по макету с шевроном, поворот в открытом стейте */
.br-cart .shipping-calculator-button {
	display: flex;
	align-items: center;
	width: 100%;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 22px;
	color: var(--br-cart-ink);
	text-decoration: none;
}

.br-cart .shipping-calculator-button::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-left: auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.15s ease;
}

.br-cart .woocommerce-shipping-totals.is-open .shipping-calculator-button::after {
	transform: rotate(180deg);
}

.br-cart .shipping-calculator-button:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* EDIT: открытый стейт — строка Shipment стекается: метка сверху,
   поля во всю ширину панели */
.br-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals.is-open {
	display: block;
}

.br-cart .woocommerce-shipping-totals.is-open th {
	float: none;
	width: auto;
	margin-bottom: 15px;
}

.br-cart .woocommerce-shipping-totals.is-open td {
	overflow: visible;
}

.br-cart .shipping-calculator-form {
	margin: 5px 0 7px;
	display: grid;
	gap: 10px;
}

.br-cart .shipping-calculator-form p {
	margin: 0;
}

.br-cart .shipping-calculator-form label {
	display: block;
}

.br-cart .shipping-calculator-form .screen-reader-text {
	position: static;
	display: block;
	width: auto;
	height: auto;
	margin: 0 0 4px;
	padding: 0;
	clip: auto;
	clip-path: none;
	overflow: visible;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-cart-ink);
}

.br-cart .shipping-calculator-form .select2-container {
	width: 100% !important;
}

.br-cart .shipping-calculator-form .input-text,
.br-cart .shipping-calculator-form select,
.br-cart .select2-container .select2-selection--single {
	box-sizing: border-box;
	width: 100% !important;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #E1E1E1;
	border-radius: 4px;
	background: #FFFFFF;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 22px;
	color: var(--br-cart-text);
}

/* селекты — рамка светлее, значение серее (по макету) */
.br-cart .shipping-calculator-form select,
.br-cart .select2-container .select2-selection--single {
	padding: 0 17px;
	border-color: #EAEAEA;
	color: var(--br-cart-muted);
}

.br-cart .shipping-calculator-form .input-text:focus,
.br-cart .shipping-calculator-form select:focus {
	outline: none;
	border-color: var(--br-cart-ink);
}

.br-cart .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 46px;
	padding: 0;
	color: inherit;
}

.br-cart .select2-container--default .select2-selection--single,
.br-cart .select2-container--default .select2-selection--single .select2-selection__rendered {
	border-radius: 4px;
}

/* EDIT: кнопка Update — тёмная, во всю ширину панели (46px) */
.br-cart .shipping-calculator-form button[type="submit"] {
	width: 100%;
	height: 46px;
	margin-top: 10px;
	box-sizing: border-box;
	padding: 15px 18px;
	border: 0;
	border-radius: 4px;
	background: var(--br-cart-cta);
	font-family: var(--br-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	color: #FFFFFF;
	cursor: pointer;
	transition: opacity 0.12s ease;
}

.br-cart .shipping-calculator-form button[type="submit"]:hover {
	opacity: 0.92;
	color: #FFFFFF;
}

.br-cart .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
}

/* Checkout — чернильная кнопка во всю ширину панели */
.br-cart .wc-proceed-to-checkout {
	padding: 21px 0 0;
	margin: 0;
}

.br-cart .checkout-button {
	display: block;
	width: 100%;
	height: 48px;
	padding: 16px;
	border: 0;
	border-radius: 4px;
	background: var(--br-cart-cta);
	color: #FFFFFF;
	font-family: var(--br-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 0;
	text-transform: none;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.12s ease;
}

.br-cart .checkout-button:hover {
	opacity: 0.92;
	color: #FFFFFF;
}

/* — Пустая корзина — */

.br-cart .cart-empty {
	padding: 24px 0 0;
	font-family: var(--br-ui);
	font-size: 18px;
	line-height: 25px;
	color: var(--br-cart-ink);
}

.br-cart .return-to-shop {
	margin-top: 24px;
}

.br-cart .return-to-shop .button {
	display: inline-block;
	box-sizing: border-box;
	height: 46px;
	padding: 14px 18px;
	border: 1px solid #AAAAAA;
	border-radius: 4px;
	background: none;
	font-family: var(--br-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	color: var(--br-cart-ink);
}

.br-cart .return-to-shop .button:hover {
	background: var(--br-cart-ink);
	border-color: var(--br-cart-ink);
	color: #FFFFFF;
}

/* ══════════════════════════════════════════════════════════════════
   Checkout (Woo Blocks) — порт Pencil-фрейма: слева секции формы,
   справа карточка «Order summary» 380px
   ══════════════════════════════════════════════════════════════════ */

.woocommerce-checkout {
	--br-co-ink: #2B2450;
	--br-co-text: #1F1840;
	--br-co-muted: #8E8AA0;
	--br-co-line: #E1E1E1;
	--br-co-soft: #77777733;
	--br-co-cell: #FAFAFA;
	--br-co-cta: #241A3E;
}

body.woocommerce-checkout main.br-container {
	flex: 1 1 auto;
	width: 100%;
}

/* EDIT: отступ от шапки до секций — ровно 46px (гасим каскад паддингов) */
body.woocommerce-checkout .br-page,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
	padding-top: 0;
}

/* EDIT: заголовок страницы скрыт — во фрейме чекаут начинается с секций */
body.woocommerce-checkout .br-page__title {
	display: none;
}

/* — Лейаут: main слева, sidebar (Order summary) справа 380px — */

.woocommerce-checkout .wp-block-woocommerce-checkout {
	max-width: none;
	width: 100%;
}

.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	grid-template-areas: "main sidebar";
	column-gap: 73px;
	align-items: start;
	padding-top: 46px;
}

.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
	grid-area: main;
	width: auto;
	min-width: 0;
	margin: 0;
	float: none;
}

.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	grid-area: sidebar;
	width: auto;
	margin: 0;
	float: none;
}

/* — Секции формы: заголовок 22px, вертикальная линия слева — */

.woocommerce-checkout .wc-block-checkout__form {
	display: flex;
	flex-direction: column;
	gap: 42px;
}

/* пустые блоки-обёртки (shipping-method/pickup без контента) не дают лишних гэпов */
.woocommerce-checkout .wc-block-checkout__form > :empty {
	display: none;
}

.woocommerce-checkout .wc-block-components-checkout-step {
	margin: 0;
	padding: 0 0 0 36px;
	border-left: 1px solid var(--br-co-soft);
	background: none;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading {
	margin: 0 0 16px;
	padding: 0;
}

.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--br-ui);
	font-size: 22px;
	font-weight: 500;
	line-height: 31px;
	color: var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-checkout-step__heading-content a {
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-muted);
	text-decoration: none;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading-content a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-checkout .wc-block-components-checkout-step__description {
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-muted);
	margin-top: 4px;
}

/* — Поля: подпись сверху, контрол 48px с рамкой — */

.woocommerce-checkout .wc-block-components-address-form-wrapper,
.woocommerce-checkout .wc-block-components-address-form {
	display: block;
}

.woocommerce-checkout .wc-block-components-address-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 12px;
	margin-top: 16px;
}

.woocommerce-checkout .wc-block-components-address-form > .wc-block-components-country-input,
.woocommerce-checkout .wc-block-components-address-form > .wc-block-components-address-form__address_1,
.woocommerce-checkout .wc-block-components-address-form > .wc-block-components-address-form__address_2,
.woocommerce-checkout .wc-block-components-address-form > .wc-block-components-address-form__address_2-toggle {
	grid-column: 1 / -1;
}

.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-address-form {
	grid-template-columns: 1fr;
}

.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-text-input {
	margin-bottom: 16px;
}

.woocommerce-checkout .wc-block-components-text-input {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.woocommerce-checkout .wc-block-components-text-input label {
	order: -1;
	position: static;
	left: auto;
	top: auto;
	transform: none;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-ink);
	opacity: 1;
	white-space: normal;
}

.woocommerce-checkout .wc-block-components-text-input input {
	box-sizing: border-box;
	height: 48px;
	min-height: 48px;
	max-height: 48px;
	/* EDIT: blocks навязывает padding 16/12 — текст прижат к низу */
	padding: 0 16px !important;
	border: 1px solid var(--br-co-line);
	border-radius: 4px;
	background: #FFFFFF;
	font-family: var(--br-ui);
	font-size: 14px;
	color: var(--br-co-text);
}

/* EDIT: отключаем floating-label анимацию blocks (уменьшение тайтла) */
.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-text-input.is-active label,
.woocommerce-checkout .wc-block-components-text-input.is-focused label {
	transform: none !important;
	font-size: 14px !important;
	transition: none !important;
}

.woocommerce-checkout .wc-blocks-components-select__container label,
.woocommerce-checkout .wc-blocks-components-select__container.is-active label {
	transform: none !important;
	font-size: 14px !important;
	transition: none !important;
}

.woocommerce-checkout .wc-block-components-text-input input:focus {
	outline: none;
	border-color: var(--br-co-ink);
	box-shadow: none;
}

/* Селекты (Country / State) — та же коробка 48px */
.woocommerce-checkout .wc-blocks-components-select {
	margin: 0;
}

.woocommerce-checkout .wc-blocks-components-select__container {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.woocommerce-checkout .wc-blocks-components-select__container label {
	order: -1;
	position: static;
	transform: none;
	white-space: normal;
}

.woocommerce-checkout .wc-blocks-components-select__select {
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	height: 48px;
	margin: 0;
	padding: 0 36px 0 16px;
	border: 1px solid var(--br-co-line);
	border-radius: 4px;
	background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%232B2450' stroke-width='1.2'/%3E%3C/svg%3E") right 14px center / 10px no-repeat;
	font-family: var(--br-ui);
	font-size: 14px;
	color: var(--br-co-text);
}

.woocommerce-checkout .wc-blocks-components-select__expand {
	display: none;
}

.woocommerce-checkout .wc-blocks-components-select__select:focus {
	outline: none;
	border-color: var(--br-co-ink);
}

.woocommerce-checkout .wc-blocks-components-select__container label {
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-ink);
}

/* «+ Add apartment, suite, etc.» — серая ссылка */
.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
	display: inline-block;
	margin: 0;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-muted);
	cursor: pointer;
}

/* Чекбокс (Use same address for billing / note) */
.woocommerce-checkout .wc-block-components-checkbox {
	align-items: flex-start;
	margin: 16px 0 0;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-muted);
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid #B9B5C6;
	border-radius: 4px;
	background: #FFFFFF;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	background: var(--br-co-ink);
	border-color: var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label {
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-muted);
}

/* — Радио-карточки: Shipping options / Payment options — */

.woocommerce-checkout .wc-block-components-radio-control__option {
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	margin: 0;
	padding: 16px 16px 16px 42px;
	border: 1px solid var(--br-co-soft);
	border-radius: 4px;
	background: none;
	font-family: var(--br-ui);
	font-size: 14px;
	color: var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-radio-control__option {
	border-radius: 0;
}

.woocommerce-checkout .wc-block-components-radio-control__option:first-child {
	border-radius: 4px 4px 0 0;
}

.woocommerce-checkout .wc-block-components-radio-control__option:last-child {
	border-radius: 0 0 4px 4px;
}

.woocommerce-checkout .wc-block-components-radio-control__option:only-child {
	border-radius: 4px;
}

.woocommerce-checkout .wc-block-components-radio-control__option:not(:last-child) {
	border-bottom: 0;
}

.woocommerce-checkout .wc-block-components-radio-control__option-checked {
	border: 1px solid var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-radio-control__input {
	width: 16px;
	height: 16px;
	margin: 0;
	border: 1px solid #B9B5C6;
	border-radius: 50%;
}

.woocommerce-checkout .wc-block-components-radio-control__input:checked {
	border-color: var(--br-co-ink);
	background: radial-gradient(circle, var(--br-co-ink) 0 4px, transparent 4.5px);
}

.woocommerce-checkout .wc-block-components-radio-control__option {
	position: relative;
}

.woocommerce-checkout .wc-block-components-radio-control__input {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

.woocommerce-checkout .wc-block-components-radio-control__option-layout {
	flex: 1 1 auto;
	min-width: 0;
}

.woocommerce-checkout .wc-block-components-radio-control__label-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__label,
.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__secondary-label {
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__secondary-description {
	font-family: var(--br-ui);
	font-size: 14px;
	color: var(--br-co-ink);
}

/* Описание выбранного способа оплаты внутри карточки */
.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
	margin: 0;
	padding: 0 16px 14px 42px;
	border: 0;
	font-family: var(--br-ui);
	font-size: 14px;
	color: var(--br-co-muted);
}

/* — Правовая строка и Place Order — */

.woocommerce-checkout .wc-block-checkout__terms {
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-muted);
}

.woocommerce-checkout .wc-block-checkout__terms a {
	color: var(--br-co-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
	width: 326px;
	max-width: 100%;
	height: 48px;
	margin-left: auto;
	border: 0;
	border-radius: 4px;
	background: var(--br-co-cta);
	font-family: var(--br-ui);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #FFFFFF;
	cursor: pointer;
	transition: opacity 0.12s ease;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.92;
	color: #FFFFFF;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled {
	opacity: 0.5;
}

/* — Карточка «Order summary» — */

.woocommerce-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
	box-sizing: border-box;
	background: var(--br-co-cell);
	border: 1px solid var(--br-co-line);
	border-radius: 5px;
	overflow: hidden;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper {
	background: #FFFFFF;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-title {
	margin: 0;
	padding: 12px 16px;
	font-family: var(--br-ui);
	font-size: 22px;
	font-weight: 400;
	line-height: 31px;
	color: var(--br-co-ink);
	background: #FFFFFF;
}

/* Состав заказа */
.woocommerce-checkout .wc-block-components-order-summary {
	margin: 0;
	padding: 0 0 16px;
	background: #FFFFFF;
}

.woocommerce-checkout .wc-block-components-order-summary-item {
	padding: 8px 16px;
	font-family: var(--br-ui);
}

.woocommerce-checkout .wc-block-components-order-summary-item__image {
	width: 66px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image img {
	border-radius: 5px;
}

.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata,
.woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
	font-family: var(--br-ui);
	font-size: 12px;
	line-height: 17px;
	color: var(--br-co-muted);
}

.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	font-family: var(--br-ui);
	font-size: 14px;
	color: var(--br-co-text);
}

/* Раскрытый купон: как во фрейме — без подписи, инпут 40 + Apply растянута */
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon .wc-block-components-panel__content {
	padding: 14px 16px 16px;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon .wc-block-components-text-input {
	margin: 0;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon .wc-block-components-text-input label {
	display: none;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon input[type="text"] {
	height: 40px !important;
	min-height: 40px;
	max-height: 40px;
	padding: 0 16px;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon__form,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon .wc-block-components-panel__content > form,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon .wc-block-components-panel__content > div {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon .wc-block-components-text-input {
	flex: 1 1 auto;
	min-width: 0;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon .wc-block-components-button {
	flex: 1 1 auto;
	box-sizing: border-box;
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	padding: 0 16px;
	border-radius: 4px;
	background: var(--br-co-cta);
	line-height: 1;
	transition: opacity 0.12s ease;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon .wc-block-components-button:hover {
	opacity: 0.92;
	color: #FFFFFF;
}

/* Кнопка Apply в купоне и другие кнопки карточки */
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-button {
	font-family: var(--br-ui);
	font-size: 16px;
	color: #FFFFFF;
}

/* Купон — строка «Add coupons» */
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel__button {
	font-family: var(--br-ui);
	font-size: 14px;
	color: var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel__button,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-text-input input {
	border-radius: 4px;
}

/* Пустые обёртки итогов (discount/fee без значений) не рисуем */
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper:empty,
.woocommerce-checkout .wc-block-components-sidebar [class*="order-summary-"][class*="-block"]:not(:has(*)) {
	display: none;
}

/* Гостевое примечание — под инпутом, на всю ширину грида */
.woocommerce-checkout .wc-block-checkout__guest-checkout-notice {
	grid-column: 1 / -1;
	margin: 0;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-muted);
}

/* Итоги: Subtotal / Delivery / Total */
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper {
	box-sizing: border-box;
	border-top: 1px solid var(--br-co-line);
	margin: 0;
	padding: 14px 16px;
	font-family: var(--br-ui);
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-item {
	padding: 0;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-item__value {
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-footer {
	font-family: var(--br-ui);
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-footer .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-footer .wc-block-components-totals-item__value {
	font-size: 16px;
	font-weight: 400;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-item__description {
	font-family: var(--br-ui);
	font-size: 10.5px;
	line-height: 15px;
	color: var(--br-co-ink);
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-shipping .wc-block-components-totals-item__description fieldset {
	margin: 0;
}

/* Мобильная вёрстка */
@media (max-width: 1023px) {
	.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		grid-template-columns: 1fr;
		grid-template-areas: "main" "sidebar";
		row-gap: 40px;
	}

	.woocommerce-checkout .wc-block-components-address-form {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout .wc-block-components-checkout-step {
		border-left: 0;
		padding-left: 0;
	}

	.woocommerce-checkout .wc-block-components-checkout-place-order-button {
		width: 100%;
	}
}

/* ══════════════════════════════════════════════════════════════════
   Order received (Thank you) — центрированный экран благодарности
   ══════════════════════════════════════════════════════════════════ */

.woocommerce-order-received {
	--br-ty-ink: #2B2450;
	--br-ty-muted: #8E8AA0;
	--br-ty-line: #E1E1E1;
	--br-ty-cell: #FAFAFA;
}

body.woocommerce-order-received main.br-container {
	flex: 1 1 auto;
	width: 100%;
}

body.woocommerce-order-received .br-page__title {
	display: none;
}

body.woocommerce-order-received .br-page,
body.woocommerce-order-received .entry-content {
	padding-top: 0;
}

.woocommerce-order-received .woocommerce-order {
	/* EDIT: отступ от шапки 46 + центрированный контент */
	max-width: 1440px;
	margin: 0 auto;
	padding-top: 46px;
}

/* — Thank you: иконка + крупный центрированный заголовок — */

.woocommerce-order-received .woocommerce-order > p:not([class*="notice"]):first-child,
.woocommerce-order-received .woocommerce-message,
.woocommerce-order-received .woocommerce-error,
.woocommerce-order-received .woocommerce-info {
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
}

/* персонифицированное приветствие / sandbox-заметка шлюза */
.woocommerce-order-received .woocommerce-order > p:first-child {
	grid-column: 1 / -1;
	grid-row: 2;
	font-family: var(--br-ui);
	font-size: 16px;
	line-height: 24px;
	color: var(--br-ty-ink);
	text-align: center;
	margin: 0 auto;
	max-width: 640px;
}

.woocommerce-order-received .woocommerce-order::before {
	grid-column: 1 / -1;
	grid-row: 1;
	/* галочка-медальон над заголовком */
	content: "";
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18.5 8' fill='none' stroke='%232B2450' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px no-repeat,
		radial-gradient(circle, #F1EEF9 0 31px, transparent 32px);
}

/* «Thank you. Your order has been received.» */
.woocommerce-order-received .woocommerce-notice--success,
.woocommerce-order-received .woocommerce-order > p.woocommerce-thankyou-order-received {
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 0 auto;
	max-width: 720px;
	text-align: center;
	font-family: 'FuturaPT', 'Jost', var(--br-ui), sans-serif;
	font-size: 40px;
	font-weight: 300;
	line-height: 1.15;
	color: var(--br-ty-ink);
}

/* — Мета заказа: Order number · Date · Total · Payment — */

.woocommerce-order-received ul.order_details {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-ty-muted);
}

.woocommerce-order-received ul.order_details {
	grid-column: 1 / -1;
	grid-row: 3;
}

.woocommerce-order-received ul.order_details li {
	margin: 0;
	padding: 0;
	border: 0;
	white-space: nowrap;
}

.woocommerce-order-received ul.order_details strong {
	font-weight: 400;
	color: var(--br-ty-ink);
}

/* — Карточки: Order details + Billing address в две колонки — */

.woocommerce-order-received .woocommerce-order,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
	float: none;
	width: auto;
	max-width: none;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
	box-sizing: border-box;
	background: var(--br-ty-cell);
	border: 1px solid var(--br-ty-line);
	border-radius: 5px;
	overflow: hidden;
}

.woocommerce-order-received .woocommerce-order {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 28px 73px;
	align-items: start;
	padding-bottom: 64px;
}

.woocommerce-order-received .woocommerce-order-details {
	grid-column: 1;
	grid-row: 5;
}

.woocommerce-order-received .woocommerce-customer-details {
	grid-column: 2;
	grid-row: 5;
}

/* sandbox-заметка шлюза — под мета, по центру */
.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-notice--success):not(.woocommerce-thankyou-order-received):not(:first-child) {
	grid-column: 1 / -1;
	grid-row: 4;
	margin: 0;
	text-align: center;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 20px;
	color: var(--br-ty-muted);
}

.woocommerce-order-received .woocommerce-order-details > h2,
.woocommerce-order-received .woocommerce-customer-details > h2 {
	margin: 0;
	padding: 18px 32px;
	background: #FFFFFF;
	border-bottom: 1px solid var(--br-ty-line);
	font-family: var(--br-ui);
	font-size: 22px;
	font-weight: 400;
	line-height: 31px;
	color: var(--br-ty-ink);
}

/* Таблица состава заказа */
.woocommerce-order-received .woocommerce-order-details table.shop_table {
	border: 0;
	margin: 0;
	padding: 8px 32px 20px;
	background: none;
	border-radius: 0;
	font-family: var(--br-ui);
}

.woocommerce-order-received .woocommerce-order-details table.shop_table th {
	border: 0;
	padding: 10px 0 4px;
	background: none;
	font-family: var(--br-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--br-ty-muted);
	text-align: left;
}

.woocommerce-order-received .woocommerce-order-details table.shop_table td {
	border: 0;
	padding: 4px 0;
	background: none;
	font-family: var(--br-ui);
	font-size: 14px;
	line-height: 22px;
	color: var(--br-ty-ink);
	vertical-align: top;
}

.woocommerce-order-received .woocommerce-order-details table.shop_table thead th:first-child,
.woocommerce-order-received .woocommerce-order-details table.shop_table tbody td:first-child {
	width: 70%;
	padding-right: 24px;
}

.woocommerce-order-received .woocommerce-order-details table.shop_table thead th:last-child,
.woocommerce-order-received .woocommerce-order-details table.shop_table tbody td:last-child {
	text-align: right;
	white-space: nowrap;
}

.woocommerce-order-received .woocommerce-order-details table.shop_table td .product-quantity {
	font-weight: 400;
	color: var(--br-ty-muted);
}

.woocommerce-order-received .woocommerce-order-details tfoot th {
	text-align: left;
	white-space: nowrap;
	padding-right: 24px;
}

.woocommerce-order-received .woocommerce-order-details tfoot td {
	text-align: right;
}

/* Итоговая строка Total — крупнее */
.woocommerce-order-received .woocommerce-order-details tfoot tr:last-child th,
.woocommerce-order-received .woocommerce-order-details tfoot tr:last-child td {
	padding-top: 12px;
	font-size: 16px;
	color: var(--br-ty-ink);
}

/* Адрес клиента */
.woocommerce-order-received .woocommerce-customer-details address {
	margin: 0;
	padding: 20px 32px 22px;
	font-family: var(--br-ui);
	font-size: 14px;
	font-style: normal;
	line-height: 22px;
	color: var(--br-ty-ink);
}

.woocommerce-order-received .woocommerce-customer-details address p {
	margin: 0 0 6px;
}

.woocommerce-order-received .woocommerce-customer-details address p:last-child {
	margin-bottom: 0;
	color: var(--br-ty-muted);
}

@media (max-width: 1023px) {
	.woocommerce-order-received .woocommerce-order {
		grid-template-columns: 1fr;
	}

	.woocommerce-order-received .woocommerce-order-details,
	.woocommerce-order-received .woocommerce-customer-details {
		grid-column: 1;
		grid-row: auto;
	}

	.woocommerce-order-received .woocommerce-notice--success,
	.woocommerce-order-received .woocommerce-order > p.woocommerce-thankyou-order-received {
		font-size: 28px;
	}
}
