.thebravo-page-hero {
	margin-bottom: 24px;
	padding: 32px 0 4px;
	border-radius: 0;
	background:
		none;
	border: 0;
	box-shadow: none;
}

.thebravo-page-kicker {
	display: none;
}

.thebravo-page-title {
	margin: 0;
	color: var(--secondary);
	font-size: 40px;
	font-weight: 500;
}

.thebravo-page-description {
	max-width: 760px;
	margin-top: 12px;
	color: #4f6175;
	font-size: 1rem;
	line-height: 1.7;
}

.thebravo-page-description > *:first-child {
	margin-top: 0;
}

.thebravo-page-description > *:last-child {
	margin-bottom: 0;
}

.thebravo-header-logo .custom-logo-link,
.thebravo-header-logo .custom-logo-link:focus,
.thebravo-header-logo .custom-logo-link:focus-visible,
.thebravo-header-logo .custom-logo-link:hover,
.thebravo-header-logo .custom-logo-link:active,
.thebravo-header-logo img {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.thebravo-content-grid {
	display: grid;
	gap: 24px;
	align-items: start;
}

.thebravo-content-grid--sidebar-left {
	grid-template-columns: 280px minmax(0, 1fr);
}

.thebravo-content-grid--full {
	grid-template-columns: minmax(0, 1fr);
}

.thebravo-main-column {
	min-width: 0;
}

.thebravo-page-card,
.thebravo-news-article {
	background: #ffffff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.thebravo-page-card {
	padding: 26px;
}

.thebravo-main-column--account .thebravo-page-card {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.thebravo-page-footer {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(20, 47, 77, 0.08);
}

.thebravo-editor-content,
.thebravo-editor-content p,
.thebravo-editor-content li {
	color: var(--secondary);
	line-height: 1.8;
}

.thebravo-editor-content > *:first-child {
	margin-top: 0;
}

.thebravo-editor-content > *:last-child {
	margin-bottom: 0;
}

.thebravo-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.thebravo-news-card {
	overflow: hidden;
	background: #ffffff;
	border: 0;
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(18, 42, 68, 0.05);
}

.thebravo-news-card-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #edf4fb;
}

.thebravo-news-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thebravo-news-card-body {
	padding: 22px 22px 24px;
}

.thebravo-news-meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #6d7b8a;
	font-size: 0.87rem;
}

.thebravo-news-meta-separator {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #9aa8b7;
}

.thebravo-news-card-title,
.thebravo-news-article-title {
	margin: 14px 0 0;
	color: #142f4d;
}

.thebravo-news-card-title {
	font-size: 1.35rem;
	line-height: 1.3;
}

.thebravo-news-card-title a {
	color: inherit;
	text-decoration: none;
}

.thebravo-news-card-title a:hover {
	color: #2d5b8f;
}

.thebravo-news-card-excerpt {
	margin-top: 14px;
	color: #526478;
	line-height: 1.75;
}

.thebravo-news-card-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 11px 16px;
	border-radius: 999px;
	background: #edf4fb;
	color: #1f4d78;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.thebravo-news-card-link:hover {
	background: #dceaf8;
	color: #163956;
}

.thebravo-news-article {
	padding: 28px;
}

.thebravo-news-article-header {
	margin-bottom: 24px;
}

.thebravo-news-article-title {
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.08;
}

.thebravo-news-article-media {
	margin-bottom: 28px;
	overflow: hidden;
	border-radius: 24px;
}

.thebravo-news-article-media img {
	width: 100%;
	display: block;
}

.thebravo-news-article-footer {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(20, 47, 77, 0.08);
}

.posts-navigation,
.post-navigation {
	margin-top: 28px;
	padding: 18px 24px;
	background: #ffffff;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 8px 22px rgba(18, 42, 68, 0.05);
}

.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
}

.posts-navigation a,
.post-navigation a {
	color: #1f4d78;
	text-decoration: none;
	font-weight: 700;
}

.thebravo-shop-sidebar {
	position: sticky;
	top: 28px;
}

.thebravo-shop-sidebar .widget,
.thebravo-shop-sidebar .shop-widget {
	display: block;
}

.thebravo-shop-sidebar .widget-title,
.thebravo-shop-sidebar .shop-widget-title {
	display: block;
}

.thebravo-shop-sidebar__panel {
	padding: 20px 18px;
	background: #ffffff;
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(18, 42, 68, 0.05);
}

.thebravo-shop-sidebar__title {
	margin: 0 0 16px;
	color: #142f4d;
	font-size: 1.1rem;
}

.thebravo-shop-sidebar-categories__all,
.thebravo-shop-category-tree__link {
	display: block;
	padding: 11px 14px;
	border-radius: 14px;
	color: #27496e;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.thebravo-shop-sidebar-categories__all {
	margin-bottom: 10px;
	background: #edf4fb;
}

.thebravo-shop-sidebar-categories__all:hover,
.thebravo-shop-category-tree__link:hover {
	background: #edf4fb;
	color: #1f4d78;
}

.thebravo-shop-sidebar-categories__all.is-current,
.thebravo-shop-category-tree__link.is-current {
	background: var(--background);
	color: #ffffff;
}

.thebravo-shop-category-tree {
	margin: 0;
	padding: 0;
	list-style: none;
}

.thebravo-shop-category-tree .thebravo-shop-category-tree {
	margin-top: 6px;
	padding-left: 14px;
	border-left: 1px solid rgba(20, 47, 77, 0.08);
}

.thebravo-shop-category-tree__item + .thebravo-shop-category-tree__item {
	margin-top: 6px;
}

.thebravo-main-column--woocommerce .woocommerce-breadcrumb {
	margin-bottom: 18px;
	color: #6b7b8e;
	font-size: 0.92rem;
}

.thebravo-main-column--woocommerce .woocommerce-breadcrumb a {
	color: #1f4d78;
	text-decoration: none;
}

.thebravo-main-column--woocommerce .page-title,
.thebravo-main-column--woocommerce .woocommerce-products-header {
	display: none;
}

.thebravo-shop-toolbar-wrap {
	margin-bottom: 26px;
}

.thebravo-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.thebravo-shop-toolbar__meta {
	color: #6b7b8e;
	font-size: 0.95rem;
}

.thebravo-shop-toolbar__meta .woocommerce-result-count {
	margin: 0;
}

.thebravo-shop-toolbar__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.thebravo-shop-toolbar__ordering .woocommerce-ordering {
	margin: 0;
}

.thebravo-shop-toolbar__ordering select,
.thebravo-shop-filters-toggle {
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid #d5deea;
	border-radius: 18px;
	background: #ffffff;
	color: #27496e;
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 0 12px 26px rgba(18, 42, 68, 0.05);
}

.thebravo-shop-toolbar__ordering select {
	min-width: 280px;
	padding-right: 46px;
}

.thebravo-shop-filters-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.thebravo-shop-filters-toggle:hover {
	border-color: #9cb4cd;
	transform: translateY(-1px);
	box-shadow: 0 16px 30px rgba(18, 42, 68, 0.08);
}

.thebravo-shop-categories {
	display: grid;
	gap: 12px;
}

.thebravo-shop-categories__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.thebravo-shop-category-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #f5f8fc;
	color: #27496e;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.thebravo-shop-category-pill:hover {
	background: #e4eef8;
	color: #1f4d78;
	transform: translateY(-1px);
}

.thebravo-shop-category-pill.is-active {
	background: var(--background);
	color: #ffffff;
}

.thebravo-shop-category-pill--child {
	background: #edf3f9;
}

.thebravo-shop-filters-drawer[hidden] {
	display: none;
}

.thebravo-shop-filters-drawer {
	position: fixed;
	inset: 0;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.thebravo-shop-filters-drawer.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.thebravo-shop-filters-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 47, 77, 0.42);
	backdrop-filter: blur(3px);
}

.thebravo-shop-filters-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	height: 100%;
	padding: 24px;
	background: #f9fbfe;
	border-radius: 24px 0 0 24px;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	box-shadow: -24px 0 48px rgba(10, 32, 54, 0.18);
}

.thebravo-shop-filters-drawer.is-active .thebravo-shop-filters-drawer__panel {
	transform: translateX(0);
}

.thebravo-shop-filters-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(20, 47, 77, 0.08);
}

.thebravo-shop-filters-drawer__title {
	margin: 0;
	color: #142f4d;
	font-size: 1.35rem;
}

.thebravo-shop-filters-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: #ffffff;
	color: #27496e;
	cursor: pointer;
	padding: 0;
}

.thebravo-shop-filters-drawer__close svg {
	width: 20px;
	height: auto;
}

.thebravo-shop-filters-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding-top: 18px;
}

.thebravo-shop-filters-drawer .t64wfp-theme-filters {
	display: grid;
	gap: 10px;
}

/* Filter accordion — all overrides are applied via wp_add_inline_style in functions.php
   to guarantee they appear after the plugin's own inline CSS. */

.thebravo-shop-filters-open {
	overflow: hidden;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 0;
}

.woocommerce .woocommerce-ordering select,
.woocommerce .quantity .qty,
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="password"] {
	width: 100%;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid #d5deea;
	border-radius: 12px;
	background: #ffffff;
	color: #2a3f55;
}

.woocommerce form textarea {
	min-height: 160px;
	padding: 16px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 20px;
	border: 0;
	border-radius: 14px;
	background: var(--background);
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(39, 73, 110, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.added_to_cart:hover {
	background: var(--background);
	color: #ffffff;
	transform: translateY(-1px);
	filter: brightness(1.04);
	box-shadow: 0 12px 28px rgba(39, 73, 110, 0.22);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.added_to_cart.alt {
	background: var(--background);
	color: #ffffff;
}

.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce input.button.disabled,
.woocommerce input.button:disabled {
	opacity: 0.7;
	box-shadow: none;
	transform: none;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	background: #ffffff;
	border: 0;
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(18, 42, 68, 0.07);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 38px rgba(18, 42, 68, 0.12);
}

.thebravo-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px;
}

.woocommerce ul.products li.product a,
.woocommerce ul.products li.product a:visited {
	display: block;
	color: var(--white);
	text-decoration: none;
}

/* ── Subcategory tiles — overlay card ── */

/* Link wraps image + title; needs position context for overlay */
.woocommerce ul.products li.product-category > a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 20px;
	text-decoration: none;
}

/* Dark gradient at card bottom for text readability */
.woocommerce ul.products li.product-category > a::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(15, 35, 60, 0.82) 0%,
		rgba(15, 35, 60, 0.28) 45%,
		transparent 72%
	);
	border-radius: 20px;
	pointer-events: none;
}

/* Image fills the whole card */
.woocommerce ul.products li.product-category img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	margin: 0;
}

/* Title overlaid on gradient */
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 14px 16px 16px;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	text-align: left;
	line-height: 1.3;
	z-index: 1;
}

/* Product count "(1)" */
.woocommerce ul.products li.product-category mark {
	display: block;
	background: transparent;
	color: rgba(255, 255, 255, 0.65);
	font-weight: 400;
	font-size: 0.8em;
	margin-top: 2px;
}

.thebravo-product-card__media {
	position: relative;
}

.woocommerce ul.products li.product a img {
	margin-bottom: 0;
	border-radius: 14px;
}

.thebravo-product-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding-top: 12px;
	gap: 4px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	color: var(--primary);
	font-size: 16px;
	line-height: normal;
	display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .price {
	margin: 0;
	color: var(--secondary);
	font-size: 15px;
	font-weight: 700;
}

.woocommerce ul.products li.product .price del {
	color: #e45252;
}

.thebravo-product-favorite {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

.thebravo-product-favorite .t64-favorites-wrap {
	margin: 0;
}

.thebravo-product-favorite .t64-favorite-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.26);
	color: #ffffff;
	background: var(--background);
	margin: 0;
}

.thebravo-product-favorite .t64-favorite-button:hover {
	transform: translateY(-1px);
}

.thebravo-product-favorite .t64-favorite-text {
	display: none;
}

.thebravo-product-favorite .t64-favorite-icon svg,
.t64-favorite-button .t64-favorite-icon svg {
    width: 20px;
	height: auto;
}

form.cart .t64-favorite-button .t64-favorite-icon svg path {
	fill: var(--primary);
}

.thebravo-product-favorite .t64-favorite-button.is-favorited .t64-favorite-icon svg path {
	fill: #e6567f;
}

.thebravo-product-actions {
	display: grid;
	align-items: stretch;
	margin-top: auto;
	padding-top: 10px;
	gap: 6px;
}

.thebravo-product-actions .button,
.thebravo-product-actions .t64-favorites-wrap {
	width: auto;
	min-width: 0;
	margin: 0;
}

.thebravo-product-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 42px;
	padding: 8px 12px;
	font-size: 14px;
	line-height: 1.2;
	white-space: normal;
	border-radius: 12px;
}

/* "Оформить заказ" — light secondary */
.thebravo-product-actions .thebravo-product-checkout-button {
	background: #edf4fb;
	color: #1f4d78;
	box-shadow: none;
}

.thebravo-product-actions .thebravo-product-checkout-button:hover {
	background: #d8eaf7;
	color: #163a5e;
	box-shadow: none;
	transform: none;
	filter: none;
}

.thebravo-product-actions .t64-favorites-wrap {
	display: none;
}

.woocommerce div.product {
	padding: 22px;
	background: #ffffff;
	border: 0;
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(18, 42, 68, 0.05);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	margin-bottom: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
	border-radius: 22px;
}

.woocommerce div.product .product_title {
	margin-bottom: 18px;
	color: var(--secondary);
	font-size: 32px;
	font-weight: 500;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--secondary);
	font-size: 20px;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 0;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: #516174;
	font-size: 14px;
}

.woocommerce div.product .woocommerce-product-details__short-description > *:nth-of-type(1) {
	margin-top: 10px;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
	margin-bottom: 0;
}

.woocommerce div.product form.cart .quantity {
	flex: 0 0 92px;
	margin: 0;
}

.woocommerce div.product form.cart .quantity .qty {
	min-height: 42px;
	padding: 0 10px;
	text-align: center;
}

.woocommerce div.product form.cart .button {
	flex: 1 1 calc(50% - 51px);
	min-width: 0;
	min-height: 42px;
	font-size: 16px;
	font-weight: 500;
}

.woocommerce div.product form.cart .thebravo-single-product-checkout-button {
	background: var(--background);
	color: var(--white);
	box-shadow: none;
	transition: all 200ms ease;
}

.woocommerce div.product form.cart .thebravo-single-product-checkout-button:hover {
	opacity: 0.85;
	box-shadow: none;
}

.woocommerce div.product form.cart .t64-favorites-wrap {
	display: flex;
	flex: 1 1 calc(50% - 51px);
	min-width: 0;
	margin: 0;
}

.woocommerce div.product form.cart .t64-favorite-button {
	width: 100%;
	min-height: 42px;
	padding: 10px 14px;
	border-radius: 12px;
	margin-top: 0;
	line-height: 1.2;
	white-space: normal;
}

.woocommerce div.product .product_meta {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(20, 47, 77, 0.08);
	color: #68788b;
	display: flex;
    flex-direction: column;
}

.woocommerce div.product .product_meta a,
.woocommerce div.product .product_meta a:visited {
	color: var(--primary);
	text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs {
	padding-top: 30px;
	clear: both;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	margin: 28px 0 28px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
	content: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	float: none;
	border: 0;
	background: #edf4fb;
	margin: 0 !important;
	padding: 0;
	border-radius: 99px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: #27496e;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: #1f4d78;
	padding: 12px 18px;
	border-radius: 99px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:hover {
	color: #ffffff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--primary);
}

.woocommerce div.product .woocommerce-tabs .panel {
	padding: 28px;
	margin-top: 0 !important;
	background: #f9fbfe;
	border-radius: 22px;
}

.woocommerce div.product .woocommerce-tabs .panel > *:nth-of-type(1) {
	margin-top: 0;
}

.woocommerce div.product .woocommerce-tabs .panel > p:nth-last-of-type(1) {
	margin-bottom: 0;
}

.woocommerce ul.products li.product .added_to_cart,
.woocommerce .products .added_to_cart.wc-forward {
	width: 100%;
	text-align: center;
	/* margin-top: 12px; */
}

.woocommerce .related.products,
.woocommerce .up-sells.upsells {
	margin-top: 48px;
	padding: 28px 26px 26px;
	background: #ffffff;
	border: 0;
	border-top: 3px solid var(--primary);
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(18, 42, 68, 0.07);
}

/* Заголовок секции "Похожие товары" / "Вам также могут понравиться" */
.woocommerce .related.products > h2,
.woocommerce .up-sells.upsells > h2 {
	margin: 0 0 22px;
	color: var(--secondary);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.woocommerce-cart .woocommerce {
	padding: 22px;
	background: #ffffff;
	border: 0;
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(18, 42, 68, 0.05);
}

.auth__form,
.thebravo-auth-form {
	display: grid;
	gap: 16px;
}

.auth__field,
.thebravo-auth-form__field {
	display: grid;
	gap: 8px;
}

.auth__field label,
.thebravo-auth-form__field label {
	color: #142f4d;
	font-weight: 700;
}

.thebravo-auth-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper,
.wc-block-checkout__terms,
.wp-block-woocommerce-checkout-terms-block {
	padding: 16px 18px;
	border-radius: 14px;
	background: #edf4fb;
	color: #27496e;
}

.woocommerce-privacy-policy-text p:last-child,
.wc-block-checkout__terms p:last-child {
	margin: 0;
}

.woocommerce .auth a,
.woocommerce .auth a:visited {
	color: var(--primary);
	transition: all 200ms linear;
}

.woocommerce .auth a:hover {
	color: var(--secondary)
}

.woocommerce-terms-and-conditions-wrapper .form-row,
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox,
.wc-block-checkout__terms .wc-block-checkout__terms-checkbox,
.wc-block-checkout__terms .wc-block-checkout__terms-checkbox-wrapper {
	margin: 0;
}

.wc-block-checkout__terms .wc-block-components-checkbox,
.wc-block-checkout__terms .wc-block-components-checkbox__mark,
.wc-block-checkout__terms .wc-block-components-checkbox__input {
	color: #27496e;
	border-color: #27496e;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox,
.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox__mark,
.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox__input,
.wc-block-components-address-form__thebravo-privacy-consent label {
	color: #27496e;
	border-color: #27496e;
}

.wc-block-components-address-form__thebravo-privacy-consent label {
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: start;
	column-gap: 12px;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox__input[type='checkbox'] {
	display: block;
	width: 20px;
	height: 20px;
	min-width: 20px;
	margin: 0;
	opacity: 1;
	visibility: visible;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox__mark {
	margin-left: 3px;
	margin-top: 1px;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox__label {
	line-height: 1.55;
}

.wc-block-components-address-form__thebravo-privacy-consent label {
	display: inline-flex !important;
	grid-template-columns: none !important;
	column-gap: 0 !important;
	gap: 12px !important;
}

.thebravo-privacy-consent {
	display: block;
}

.thebravo-privacy-consent .woocommerce-input-wrapper {
	display: grid;
	gap: 10px;
}

.thebravo-privacy-consent .woocommerce-form__label-for-checkbox {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	column-gap: 12px;
	row-gap: 0;
}

.thebravo-privacy-consent .input-checkbox {
	margin: 2px 0 0;
}

.thebravo-privacy-consent__linkline {
	display: block;
	margin-left: 30px;
	color: #27496e;
	line-height: 1.5;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox.wc-block-components-validated-checkbox-control label {
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr) !important;
	align-items: start;
	column-gap: 12px !important;
	row-gap: 8px;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-validation-error {
	grid-column: 1 / -1;
	margin-left: 32px;
}

.wc-block-components-address-form__thebravo-privacy-consent .thebravo-privacy-consent__linkline {
	margin: 8px 0 0 32px;
}

.thebravo-privacy-consent .thebravo-privacy-consent__linkline {
	display: none !important;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox__label a,
.thebravo-privacy-consent .woocommerce-form__label-for-checkbox a {
	color: #1f4d78;
	font-weight: 700;
	text-decoration: underline;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox.wc-block-components-validated-checkbox-control label {
	display: grid !important;
	grid-template-columns: 20px minmax(0, 1fr) !important;
	grid-template-areas:
		"box text"
		"error error" !important;
	align-items: start !important;
	column-gap: 12px !important;
	row-gap: 8px !important;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox__input[type='checkbox'] {
	grid-area: box;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox__label {
	grid-area: text;
	display: block;
}

.wc-block-components-address-form__thebravo-privacy-consent .wc-block-components-checkbox.wc-block-components-validated-checkbox-control label .wc-block-components-validation-error {
	grid-area: error !important;
	grid-column: 1 / -1 !important;
	margin: 0 !important;
	padding-top: 2px;
}

.wc-block-checkout__terms.wc-block-checkout__terms--with-separator.wp-block-woocommerce-checkout-terms-block {
	display: block !important;
}

.wc-block-checkout__use-address-for-billing,
.wp-block-woocommerce-checkout-billing-address-block,
.wc-block-checkout__billing-fields {
	display: none !important;
}

.wc-block-checkout__terms.wc-block-checkout__terms--with-separator.wp-block-woocommerce-checkout-terms-block {
	display: none !important;
}

.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce form.checkout_coupon,
.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce-checkout-review-order {
	padding: 20px;
	border: 0;
	border-radius: 18px;
	background: #f9fbfe;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
	margin: 0 0 20px;
	padding: 12px 18px;
	border: 0;
	border-radius: 18px;
	background: #f9fbfe;
	color: #27496e;
}

.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before {
	display: none;
	content: none;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .return-to-cart .button,
.woocommerce-cart button[name="apply_coupon"],
.woocommerce-cart button[name="update_cart"],
.woocommerce-checkout .checkout_coupon button[name="apply_coupon"],
.wc-block-components-button:not(.is-link),
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-totals-coupon__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 14px;
	background: var(--background);
	box-shadow: 0 10px 24px rgba(39, 73, 110, 0.18);
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .return-to-cart .button:hover,
.woocommerce-cart button[name="apply_coupon"]:hover,
.woocommerce-cart button[name="update_cart"]:hover,
.woocommerce-checkout .checkout_coupon button[name="apply_coupon"]:hover,
.wc-block-components-button:not(.is-link):hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-return-to-cart-button:hover,
.wc-block-components-totals-coupon__button:hover {
	background: var(--background);
	box-shadow: 0 12px 28px rgba(39, 73, 110, 0.22);
	color: #ffffff;
	filter: brightness(1.04);
	transform: translateY(-1px);
}

.woocommerce-cart .coupon,
.woocommerce-checkout form.checkout_coupon,
.wc-block-components-totals-coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding: 18px;
	border: 0;
	border-radius: 18px;
	background: #f9fbfe;
}

.wc-block-components-totals-coupon__form {
	padding-left: 18px;
	padding-right: 18px;
}

.woocommerce-cart .coupon label,
.woocommerce-checkout .checkout_coupon p.form-row-first,
.woocommerce-checkout .checkout_coupon p.form-row-last {
	margin: 0;
}

.woocommerce-cart .coupon .input-text,
.woocommerce-checkout .checkout_coupon .input-text,
.wc-block-components-totals-coupon__input input,
.wc-block-components-text-input input {
	min-height: 46px;
	border: 1px solid #d5deea;
	border-radius: 12px;
	background: #ffffff;
	color: #2a3f55;
}

.wc-block-checkout__main .wc-block-components-checkout-step {
	margin: 0 0 28px;
	padding: 0;
	border: 0;
	background: transparent;
}

.wc-block-checkout__main .wc-block-components-checkout-step__heading,
.wc-block-checkout__main .wc-block-components-title {
	margin: 0 0 18px;
	color: #142f4d;
}

.wp-block-woocommerce-checkout-contact-information-block,
.wp-block-woocommerce-checkout-shipping-address-block,
.wp-block-woocommerce-checkout-additional-information-block {
	padding: 26px 28px;
	border: 1px solid rgba(20, 47, 77, 0.08);
	border-radius: 24px;
	background: #f9fbfe;
}

.wc-block-checkout__main .wc-block-components-address-form,
.wc-block-checkout__main .wc-block-checkout__contact-fields {
	row-gap: 16px;
}

.wc-block-checkout__main .wc-block-components-address-form > *,
.wc-block-checkout__main .wc-block-checkout__contact-fields > * {
	margin: 0 0 16px;
}

.wc-block-checkout__main .wc-block-components-address-form > *:last-child,
.wc-block-checkout__main .wc-block-checkout__contact-fields > *:last-child {
	margin-bottom: 0;
}

.wc-block-checkout__main .wc-block-components-text-input input,
.wc-block-checkout__main .wc-block-components-text-input input[type='email'],
.wc-block-checkout__main .wc-block-components-text-input input[type='tel'],
.wc-block-checkout__main .wc-block-components-text-input input[type='text'],
.wc-block-checkout__main .wc-block-components-combobox .components-combobox-control__input,
.wc-block-checkout__main .wc-block-components-select select {
	min-height: 62px;
	padding: 20px 16px 10px;
	border: 1px solid #d5deea;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: none;
	color: #2a3f55;
}

.wc-block-checkout__main .wc-block-components-text-input label,
.wc-block-checkout__main .wc-block-components-select label,
.wc-block-checkout__main .wc-block-components-combobox label {
	left: 16px;
	top: 14px;
	font-size: 13px;
	font-weight: 500;
	color: #5b7086;
}

.wc-block-checkout__main .wc-block-components-text-input.is-active label,
.wc-block-checkout__main .wc-block-components-text-input.has-value label,
.wc-block-checkout__main .wc-block-components-select.is-active label,
.wc-block-checkout__main .wc-block-components-select.has-value label,
.wc-block-checkout__main .wc-block-components-combobox.is-active label,
.wc-block-checkout__main .wc-block-components-combobox.has-value label {
	transform: none;
}

.wc-block-checkout__main .wc-block-components-text-input input:focus,
.wc-block-checkout__main .wc-block-components-combobox .components-combobox-control__input:focus,
.wc-block-checkout__main .wc-block-components-select select:focus {
	border-color: #6d95bd;
	box-shadow: 0 0 0 4px rgba(109, 149, 189, 0.16);
	outline: none;
}

.wp-block-woocommerce-checkout-contact-information-block .thebravo-checkout-contact-identity {
	gap: 16px;
	margin-top: 16px;
}

.wp-block-woocommerce-checkout-contact-information-block .thebravo-checkout-contact-identity > * {
	margin: 0;
}

.wp-block-woocommerce-checkout-contact-information-block .thebravo-checkout-contact-identity .wc-block-components-address-form__phone {
	grid-column: 1 / -1;
}

.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-card__address-section--primary {
	display: none;
}

.wc-block-checkout__main .wc-block-components-validation-error {
	margin-top: 8px;
	font-size: 13px;
}

.t64-favorites-page {
	width: 100%;
}

.t64-favorites-page ul.products,
.t64-favorites-page .products {
	display: grid;
    grid-template-columns: repeat(4, 1fr)!important;
    justify-content: start;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Карточки избранного наследуют стили каталога — переопределяем только сброс специфики WooCommerce */
.t64-favorites-page ul.products li.product,
.t64-favorites-page .products .product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.t64-favorites-page .t64-favorites-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	padding: 24px;
	border: 1px solid rgba(20, 47, 77, 0.08);
	border-radius: 24px;
	background: #f9fbfe;
	text-align: center;
}

.t64-favorites-page .t64-favorites-empty p {
	margin: 0;
	color: #27496e;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.6;
}

.woocommerce-cart .coupon .input-text,
.woocommerce-checkout .checkout_coupon .input-text,
.wc-block-components-totals-coupon__input {
	flex: 1 1 220px;
}

.wc-block-components-totals-coupon-link {
	display: inline-flex;
	align-items: center;
	color: #1f4d78;
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-form-coupon-toggle .showcoupon {
	color: #1f4d78;
	font-weight: 700;
	text-decoration: none;
}

.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-totals-coupon__button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
	width: auto;
}

.woocommerce table.shop_table {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid rgba(20, 47, 77, 0.08);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 16px;
}

.woocommerce table.shop_table th a,
.woocommerce table.shop_table td a,
.woocommerce table.shop_table th a:visited,
.woocommerce table.shop_table td a:visited {
	color: var(--primary);
}

.woocommerce-account .woocommerce table.my_account_orders a.button,
.woocommerce-account .woocommerce table.my_account_orders a.button:visited {
	color: var(--white);
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 28px 0 0;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	background: var(--primary);
	color: var(--white);
	/* background: #edf4fb; */
	/* color: #1f4d78; */
	text-decoration: none;
	transition: all 200ms ease;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--background);
	color: var(--white);
	transition: all 200ms ease;
}

.woocommerce nav.woocommerce-pagination ul li span.current:hover {
	opacity: 0.85;
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--primary);
	color: var(--white);
	opacity: 0.85;
}

.woocommerce nav.woocommerce-pagination ul li .current {
	background: #27496e;
	color: #ffffff;
}

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

@media (max-width: 820px) {
	.t64-favorites-page ul.products,
	.t64-favorites-page .products {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.t64-favorites-page ul.products li.product,
	.t64-favorites-page .products .product {
		max-width: none;
	}

	.wp-block-woocommerce-checkout-contact-information-block,
	.wp-block-woocommerce-checkout-shipping-address-block,
	.wp-block-woocommerce-checkout-additional-information-block {
		padding: 20px 18px;
		border-radius: 20px;
	}

	.wp-block-woocommerce-checkout-contact-information-block .thebravo-checkout-contact-identity {
		grid-template-columns: minmax(0, 1fr);
	}

	.wc-block-checkout__main .wc-block-components-checkout-step {
		margin-bottom: 22px;
	}

	.thebravo-content-grid--sidebar-left {
		grid-template-columns: minmax(0, 1fr);
	}

	.thebravo-shop-sidebar {
		position: static;
	}

	.thebravo-shop-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.thebravo-shop-toolbar__actions {
		width: 100%;
	}

	.thebravo-shop-toolbar__ordering,
	.thebravo-shop-toolbar__ordering .woocommerce-ordering,
	.thebravo-shop-toolbar__ordering select,
	.thebravo-shop-filters-toggle {
		width: 100%;
	}

	.woocommerce div.product {
		padding: 22px;
	}

	.thebravo-page-hero {
		padding-top: 10px;
		margin-bottom: 15px;
	}
}

@media (max-width: 640px) {
	.thebravo-page-card,
	.thebravo-news-article,
	.woocommerce div.product,
	.woocommerce-cart .woocommerce,
	.woocommerce-checkout .woocommerce,
	.woocommerce .related.products,
	.woocommerce .up-sells.upsells {
		padding: 18px;
		border-radius: 0;
	}

	.thebravo-post-grid,
	.woocommerce ul.products {
		grid-template-columns: minmax(0, 1fr);
	}

	.thebravo-news-card-body {
		padding: 20px;
	}

	.thebravo-shop-toolbar__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.thebravo-shop-category-pill {
		width: 100%;
	}

	.thebravo-shop-filters-drawer__panel {
		width: 100%;
		padding: 18px;
	}

	.woocommerce div.product form.cart {
		flex-direction: row;
		align-items: stretch;
	}

	.thebravo-product-actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.thebravo-product-actions .button,
	.woocommerce div.product form.cart .button,
	.woocommerce div.product form.cart .t64-favorites-wrap {
		flex: 1 1 100%;
		width: 100%;
	}

	.thebravo-product-actions .t64-favorites-wrap {
		width: 100%;
	}

	.woocommerce div.product form.cart .quantity {
		flex: 0 0 78px;
	}
}

/* =============================================================
   Shop Archive — Design Update
   ============================================================= */

/* --- Page background --- */

body.woocommerce-shop,
body.woocommerce-page.tax-product_cat,
body.woocommerce-page.tax-wcpf_brand,
body.woocommerce-page.tax-wcpf_skin_type,
body.woocommerce-page.tax-wcpf_skin_problem,
body.woocommerce-page.tax-wcpf_active_ingredients,
body.woocommerce-page.tax-wcpf_features,
body.woocommerce-page.tax-wcpf_usage {
	background-color: #E6F9FF;
}

/* --- Page title --- */

.thebravo-page-hero--store .thebravo-page-title {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --- Sidebar: category links --- */

.shop-sidebar {
	position: sticky;
	top: 28px;
}

.shop-sidebar__panel {
	padding: 20px 18px;
	background: #ffffff;
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(18, 42, 68, 0.06);
}

.shop-sidebar__title {
	display: none;
}

.shop-sidebar__cats-all,
.shop-sidebar__cats-all:visited {
	display: block;
	padding: 11px 14px;
	margin-bottom: 10px;
	border-radius: 14px;
	background: #edf4fb;
	color: #27496e;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.shop-sidebar__cats-all:hover {
	background: #d8eaf7;
	color: #1f4d78;
}

.shop-sidebar__cats-all.is-current,
.shop-sidebar__cats-all.is-current:visited {
	background: var(--background);
	color: #ffffff;
}

.shop-sidebar .thebravo-shop-category-tree {
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-sidebar .thebravo-shop-category-tree__item + .thebravo-shop-category-tree__item {
	margin-top: 4px;
}

.shop-sidebar .thebravo-shop-category-tree__link,
.shop-sidebar .thebravo-shop-category-tree__link:visited {
	display: block;
	padding: 9px 14px;
	border-radius: 12px;
	color: #27496e;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.shop-sidebar .thebravo-shop-category-tree__link:hover {
	background: #edf4fb;
	color: #1f4d78;
}

.shop-sidebar .thebravo-shop-category-tree__link.is-current,
.shop-sidebar .thebravo-shop-category-tree__link.is-current:visited {
	background: var(--background);
	color: #ffffff;
	font-weight: 700;
}

/* Nested subcategory indent */
.shop-sidebar .thebravo-shop-category-tree .thebravo-shop-category-tree {
	margin-top: 4px;
	padding-left: 12px;
	border-left: 2px solid rgba(72, 126, 180, 0.2);
}

/* --- Product card image --- */

.thebravo-product-card__media > a {
	display: block;
	aspect-ratio: 1;
	/* overflow: hidden; */
	border-radius: 14px;
	background: #f3f7fb;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 14px;
	/* box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25); */
	border: 1px solid #f1efef;
}

.woocommerce ul.products li.product .woocommerce-placeholder {
	padding: 14px;
	background: #f3f7fb;
	border-radius: 14px;
}

.swiper .woocommerce ul.products li.product .woocommerce-placeholder {
	padding: 0;
	margin: 0;
}

/* Category card image fills card fully — no inset, no extra border */
.woocommerce ul.products li.product.product-category a img {
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	border: none;
}

/* --- Toolbar: styled strip --- */

.thebravo-shop-toolbar-wrap,
.thebravo-main-column--woocommerce > .woocommerce-notices-wrapper:empty + * {
	background: #ffffff;
	border-radius: 18px;
	padding: 14px 20px;
	box-shadow: 0 4px 14px rgba(18, 42, 68, 0.06);
	margin-bottom: 26px;
}

.thebravo-shop-toolbar {
	align-items: center;
	margin-bottom: 0;
}

/* Remove the ::before label that was pushing alignment off */
.thebravo-shop-toolbar__ordering::before {
	display: none;
}

/* --- Filter drawer improvements --- */

/* Price range track — make full track blue-tinted */
.thebravo-shop-filters-drawer .t64wfp-double-range::before {
	background: #c2d8ef;
}

.thebravo-shop-filters-drawer .t64wfp-double-range input[type=range]::-webkit-slider-thumb {
	background: #3a6fa5;
	box-shadow: 0 2px 6px rgba(20, 47, 77, 0.3);
}

.thebravo-shop-filters-drawer .t64wfp-double-range input[type=range]::-moz-range-thumb {
	background: #3a6fa5;
	box-shadow: 0 2px 6px rgba(20, 47, 77, 0.3);
}

/* "Применить" — primary blue */
.thebravo-shop-filters-drawer .t64wfp-filter-actions .t64wfp-apply-button {
	background: linear-gradient(135deg, #3a6fa5 0%, #27496e 100%) !important;
	border: none !important;
	box-shadow: 0 4px 12px rgba(20, 47, 77, 0.2) !important;
}

/* "Сбросить" — ghost/outline style */
.thebravo-shop-filters-drawer .t64wfp-filter-actions .t64wfp-reset-button {
	background: transparent !important;
	border: 1px solid rgba(72, 126, 180, 0.4) !important;
	color: #27496e !important;
	box-shadow: none !important;
}

.thebravo-shop-filters-drawer .t64wfp-filter-actions .t64wfp-reset-button:hover {
	background: #edf4fb !important;
	border-color: rgba(72, 126, 180, 0.65) !important;
	color: #1f4d78 !important;
	box-shadow: none !important;
	transform: none !important;
	filter: none !important;
}

.woocommerce ul.products li.product .onsale {
	margin: 0;
	border-radius: var(--radius1);
	top: 12px;
	right: 12px;
	line-height: normal;
	min-height: fit-content;
	padding: 5px 8px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart, 
.woocommerce .products .added_to_cart.wc-forward {
	display: flex!important;
	margin: 0;
	min-height: 36px;
	box-sizing: border-box;
	font-size: 14px;
	padding: 5px 20px;
}

.woocommerce .star-rating span::before {
	color: #FFA600;
}

/* Product/Archive Product */

.woocommerce-product-gallery .flex-viewport {
	/* max-height: 500px;
	min-height: 500px; */
	border-radius: var(--radius2);
	box-shadow: var(--box-shadow)
}

/* .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image.flex-active-slide {
	max-height: 500px;
	min-height: 500px;
} */

.woocommerce div.product div.images .flex-control-thumbs li {
	width: 100%;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
	border: 1px solid #000000;
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px 10px;
	padding-top: 20px;
}

.woocommerce span.onsale {
	margin: 0;
	border-radius: var(--radius1);
	top: 25px;
	left: 30px;
	line-height: normal;
	min-height: fit-content;
	padding: 5px 8px;
	font-size: 16px;
}

.woocommerce div.product .woocommerce-product-rating .woocommerce-review-link {
	color: var(--primary);
	text-decoration: none;
}

.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
	background: rgb(228 227 227 / 50%);
}

.woocommerce table.shop_attributes td {
	padding: 8px;
}

.woocommerce .comment-reply-title {
	font-size: 20px;
	font-weight: 600;
}

.woocommerce .comment-respond .comment-form {
	padding-top: 15px;
}

.woocommerce #review_form #respond p.stars {
	margin-bottom: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder {
	border-radius: 22px;
}

.woocommerce .related.products ul.products li.product,
.woocommerce-page .related.products ul.products li.product {
	box-shadow: 0 8px 24px rgba(18, 42, 68, 0.3);
	width: 100%;
}


.woocommerce.single-product main.container {
	padding-top: 60px;
}

.woocommerce main.container.container--wishes {
	padding-top: 60px;
}

.t64-favorites-page__title {
	color: var(--secondary);
	font-size: 40px;
	font-weight: 500;
	margin: 0 0 50px;
}

.woocommerce div.product form.cart::after, .woocommerce div.product form.cart::before {
	display: none;
}

/* --- Responsive --- */

@media (max-width: 1536px) {
	/* .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image.flex-active-slide,
	.woocommerce-product-gallery .flex-viewport {
		max-height: 450px;
		min-height: 450px;
	} */
}

@media (max-width: 1280px) {
	.thebravo-page-hero--store .thebravo-page-title,
	.thebravo-page-title {
		font-size: 30px;
	}

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

	.shop-sidebar .thebravo-shop-category-tree__link, .shop-sidebar .thebravo-shop-category-tree__link:visited, .shop-sidebar__cats-all, .shop-sidebar__cats-all:visited {
		font-size: 14px;
	}

	.woocommerce .woocommerce-result-count {
		font-size: 14px;
	}

	.thebravo-shop-toolbar__ordering select, .thebravo-shop-filters-toggle {
		font-size: 14px;
		padding: 0 15px;
		min-height: 42px;
	}

	.t64wfp-accordion-title {
		font-size: 13px;
		padding: 12px 15px;
	}

	.thebravo-shop-filters-drawer__title {
		font-size: 18px;
	}

	.t64wfp-filter-item, .t64wfp-child-item {
		font-size: 12px;
	}

	.thebravo-shop-filters-drawer__close svg {
		width: 15px;
	}

	.thebravo-shop-filters-drawer .t64wfp-filter-actions .t64wfp-apply-button,
	.t64wfp-filter-actions a.button.t64wfp-reset-button, .t64wfp-filter-actions a.button.t64wfp-reset-button:link, .t64wfp-filter-actions a.button.t64wfp-reset-button:visited {
		font-size: 14px;
		min-height: 40px;
	}

	.t64wfp-accordion-panel .t64wfp-price-display input {
		min-height: 35px;
		padding: 5px 12px;
    	font-size: 13px;
	}

	/* .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image.flex-active-slide,
	.woocommerce-product-gallery .flex-viewport {
		max-height: 370px;
		min-height: 370px;
	} */

	.woocommerce div.product .product_title {
		font-size: 25px;
		margin-bottom: 10px;
	}

	.woocommerce div.product p.price, .woocommerce div.product span.price {
		font-size: 16px;
	}

	.woocommerce div.product .woocommerce-product-details__short-description {
		font-size: 12px;
	}

	.woocommerce div.product form.cart .quantity .qty {
		min-height: 32px;
		font-size: 14px;
	}

	.woocommerce div.product form.cart .button,
	.woocommerce div.product form.cart .t64-favorite-button {
		min-height: 32px;
		font-size: 14px;
		padding: 5px 15px;
	}

	.woocommerce div.product .product_meta {
		font-size: 14px;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		padding: 8px 12px;
    	font-size: 14px;
	}

	.woocommerce div.product .woocommerce-tabs .panel {
		font-size: 14px;
	}

	.woocommerce #reviews #comments h2 {
		margin-top: 0;
	}

	.t64-favorites-page ul.products,
	.t64-favorites-page .products {
		grid-template-columns: repeat(3, 1fr)!important;
	}

	.t64-favorites-page__title {
		font-size: 35px;
	}
}

@media (max-width: 1024px) {
	.thebravo-content-grid--sidebar-left {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.thebravo-page-hero--store .thebravo-page-title,
	.thebravo-page-title {
		font-size: 25px;
	}

	.shop-sidebar .thebravo-shop-category-tree__link, .shop-sidebar .thebravo-shop-category-tree__link:visited, .shop-sidebar__cats-all, .shop-sidebar__cats-all:visited {
		font-size: 12px;
	}

	.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
		font-size: 14px;
	}

	.woocommerce .woocommerce-result-count {
		font-size: 12px;
	}

	.thebravo-shop-toolbar__ordering select {
		min-width: 200px;
	}

	.thebravo-shop-toolbar__ordering select, .thebravo-shop-filters-toggle {
		font-size: 12px;
		padding: 0 10px;
		min-height: 32px!important;
	}

	.t64wfp-accordion-title {
		font-size: 11px;
		padding: 8px 15px;
	}

	.t64wfp-filter-item, .t64wfp-child-item {
		font-size: 11px;
	}

	.t64wfp-filter-section {
		margin-bottom: 8px;
	}

	.thebravo-shop-filters-drawer .t64wfp-filter-actions .t64wfp-apply-button, .t64wfp-filter-actions a.button.t64wfp-reset-button, .t64wfp-filter-actions a.button.t64wfp-reset-button:link, .t64wfp-filter-actions a.button.t64wfp-reset-button:visited {
		font-size: 12px;
        min-height: 30px;
	}

	.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
		font-size: 14px;
	}

	.woocommerce div.product div.images,
	.woocommerce div.product div.summary {
		width: 100%;
	}

	.woocommerce div.product div.images .flex-control-thumbs {
		grid-template-columns: repeat(10, 1fr);
	}

	.woocommerce div.product .woocommerce-tabs {
		padding-top: 10px;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs {
		margin: 10px 0 10px!important;
		gap: 5px 10px;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		font-size: 12px;
	}

	.woocommerce div.product .woocommerce-tabs .panel {
		font-size: 12px;
	}

	.woocommerce .comment-reply-title {
		font-size: 18px;
	}

	.woocommerce div.product .woocommerce-product-rating {
		margin-bottom: 15px;
	}

	.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image--placeholder img {
		max-height: 450px;
    	object-fit: cover;
		object-position: center;
	}

	.t64-favorites-page ul.products,
	.t64-favorites-page .products {
		grid-template-columns: repeat(2, 1fr)!important;
	}

	.t64-favorites-page__title {
		font-size: 25px;
		margin-bottom: 25px;
	}
}

@media (max-width: 900px) {
	.thebravo-content-grid--sidebar-left {
		grid-template-columns: 1fr;
	}

	.shop-sidebar {
		position: static;
	}

	.shop-sidebar__panel {
		padding: 16px 14px;
	}

	.shop-sidebar .thebravo-shop-category-tree,
	.shop-sidebar__cats-list {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		gap: 6px;
	}

	.shop-sidebar .thebravo-shop-category-tree__item {
		margin-top: 0 !important;
	}

	.shop-sidebar__cats-all,
	.shop-sidebar .thebravo-shop-category-tree__link {
		padding: 8px 14px;
		font-size: 0.82rem;
	}

	/* Nested subcategories stay stacked under their parent on mobile */
	.shop-sidebar .thebravo-shop-category-tree .thebravo-shop-category-tree {
		flex-direction: column;
		padding-left: 10px;
	}
}

@media (max-width: 768px) {
	.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
		width: 100%;
		margin-bottom: 0;
	}

	.woocommerce.single-product main.container {
		padding-top: 40px;
	}

	.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image--placeholder img {
		max-height: 350px;
	}

	.woocommerce main.container.container--wishes {
		padding-top: 40px;
	}
}

@media (max-width: 640px) {
	.woocommerce div.product form.cart .button.single_add_to_cart_button {
		flex: 1 1 calc(50% - 51px);
	}

	.woocommerce div.product div.images .flex-control-thumbs {
		padding-bottom: 10px;
	}

	.woocommerce span.onsale {
		font-size: 14px;
	}

	.woocommerce #reviews #comments h2,
	.woocommerce .comment-reply-title {
		font-size: 16px;
	}
}

@media (max-width: 540px) {
	.woocommerce ul.products li.product a img, .woocommerce ul.products li.product .woocommerce-placeholder {
		max-height: 350px;
	}

	.woocommerce ul.products li.product .thebravo-product-card__media a {
		width: 100%;
		max-height: 350px;
	}

	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.woocommerce ul.products li.product .onsale {
		font-size: 14px;
	}

	.thebravo-product-favorite .t64-favorite-icon svg {
		width: 15px;
	}

	.thebravo-product-favorite .t64-favorite-button {
		width: 38px;
    	height: 38px;
    	min-height: 38px;
	}

	.woocommerce div.product div.images .flex-control-thumbs {
		grid-template-columns: repeat(7, 1fr);
	}

	.woocommerce div.product .woocommerce-tabs .panel {
		padding: 15px;
	}

	.woocommerce div.product .product_title {
		font-size: 20px;
	}
}

@media (max-width: 440px) {
	/* .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image.flex-active-slide, .woocommerce-product-gallery .flex-viewport {
		max-height: 320px;
        min-height: 320px;
	} */

	.t64-favorites-page ul.products, .t64-favorites-page .products {
        grid-template-columns: 1fr !important;
    }
}