/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Shared compact header search (white and grey Bricks header templates). */
.amarcord-header-shell {
	overflow: visible;
	z-index: 1000 !important;
}

.amarcord-header-shell--standard {
	position: relative;
}

.amarcord-header-left {
	position: relative;
	overflow: visible;
	z-index: 1001;
}

.amarcord-header-search {
	--amarcord-search-gold: var(--bricks-color-qsocky, #c39e58);
	position: static;
	z-index: 1002;
}

.amarcord-header-search > .toggle {
	position: relative;
	z-index: 2;
}

.amarcord-header-search > .toggle:focus-visible {
	outline: 2px solid var(--amarcord-search-gold);
	outline-offset: 3px;
}

.amarcord-header-search .bricks-search-overlay {
	inset: calc(100% + 14px) auto auto 0;
	width: min(470px, 95vw);
	max-width: none;
	height: 54px;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	position: absolute;
	background: #fff;
	border: 0;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	color: #5d5b5b;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	text-align: left;
	transform: translateY(-4px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	z-index: -1;
}

.amarcord-header-search .bricks-search-overlay::after {
	content: none;
}

.amarcord-header-search .bricks-search-overlay.show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	z-index: 1100;
}

.amarcord-header-search .bricks-search-overlay .bricks-search-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: relative;
}

.amarcord-header-search .bricks-search-overlay .title,
.amarcord-header-search .bricks-search-overlay .close {
	display: none !important;
}

.amarcord-header-search .bricks-search-overlay .bricks-search-form {
	display: flex !important;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0 10px 0 15px;
}

.amarcord-header-search .bricks-search-overlay .bricks-search-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #5d5b5b;
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	text-align: left;
}

.amarcord-header-search .bricks-search-overlay .bricks-search-form input[type="search"]:focus {
	outline: 0;
	box-shadow: none;
}

.amarcord-header-search .bricks-search-overlay:focus-within {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(195, 158, 88, 0.3);
}

.amarcord-header-search .bricks-search-overlay .bricks-search-form button[type="submit"] {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 83px;
	height: 30px !important;
	margin: 0;
	padding: 0 18px;
	background: var(--amarcord-search-gold);
	border: 0;
	border-radius: 1px;
	box-shadow: none;
	color: #fff !important;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.amarcord-header-search .bricks-search-overlay .bricks-search-form button[type="submit"]:hover {
	filter: brightness(0.94);
}

.amarcord-header-search .bricks-search-overlay .bricks-search-form button[type="submit"]:focus-visible {
	outline: 2px solid #5d5b5b;
	outline-offset: 2px;
}

@media (max-width: 478px) {
	.amarcord-header-search .bricks-search-overlay {
		inset-block-start: calc(100% + 10px);
		height: 52px;
	}

	.amarcord-header-search .bricks-search-overlay .bricks-search-form {
		gap: 8px;
		padding-inline: 14px 8px;
	}

	.amarcord-header-search .bricks-search-overlay .bricks-search-form button[type="submit"] {
		min-width: 76px;
		padding-inline: 14px;
		font-size: 10.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.amarcord-header-search .bricks-search-overlay {
		transition: none;
	}
}
/* Wishlist page only (TI WooCommerce Wishlist, page ID 738). */
body.page-id-738 #brx-content {
	--amarcord-wishlist-gold: var(--bricks-color-qsocky, #c39e58);
	--amarcord-wishlist-ink: var(--bricks-color-safuwh, #5d5b5b);
	--amarcord-wishlist-muted: var(--bricks-color-ruyzgj, #9a9898);
	--amarcord-wishlist-line: rgba(195, 158, 88, 0.28);
	--amarcord-wishlist-panel: rgba(195, 158, 88, 0.06);
	width: 85%;
	max-width: 1440px;
	margin-inline: auto;
	padding-block: clamp(72px, 8vw, 128px);
	color: var(--amarcord-wishlist-ink);
	font-family: "Poppins", sans-serif;
}

body.page-id-738 #brx-content > h1 {
	margin: 0 0 clamp(36px, 4vw, 58px);
	color: var(--amarcord-wishlist-gold);
	font-family: inherit;
	font-size: clamp(32px, 3.5vw, 48px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.025em;
	text-align: center;
	text-transform: uppercase;
}

body.page-id-738 #brx-content > .tinv-wishlist {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	color: var(--amarcord-wishlist-ink);
}

body.page-id-738 .tinv-wishlist .tinv-header {
	margin: 0 0 32px;
	text-align: center;
}

body.page-id-738 .tinv-wishlist .tinv-header h2 {
	margin: 0;
	color: var(--amarcord-wishlist-gold);
	font-family: inherit;
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list {
	width: 100%;
	margin: 0 0 32px;
	border: 0;
	border-collapse: collapse;
	background: #fff;
}

body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list thead tr {
	background: var(--amarcord-wishlist-panel);
}

body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list th {
	padding: 15px 12px;
	border: 0;
	border-bottom: 1px solid var(--amarcord-wishlist-line);
	color: var(--amarcord-wishlist-gold);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.035em;
	text-align: left;
	text-transform: uppercase;
}

body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tbody tr {
	border-bottom: 1px solid var(--amarcord-wishlist-line);
}

body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tbody td {
	padding: 20px 12px;
	border: 0;
	color: var(--amarcord-wishlist-ink);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	vertical-align: middle;
}

body.page-id-738 .tinv-wishlist .product-thumbnail {
	width: 118px;
	min-width: 118px;
}

body.page-id-738 .tinv-wishlist .product-thumbnail a {
	display: block;
}

body.page-id-738 .tinv-wishlist .product-thumbnail img {
	display: block;
	width: 96px;
	height: 96px;
	margin: 0;
	object-fit: cover;
	background: #f8f7f5;
}

body.page-id-738 .tinv-wishlist td.product-name a {
	color: var(--amarcord-wishlist-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
	transition: color 160ms ease;
}

body.page-id-738 .tinv-wishlist td.product-name a:hover {
	color: var(--amarcord-wishlist-gold);
}

body.page-id-738 .tinv-wishlist td.product-name .variation {
	margin-top: 4px;
	color: var(--amarcord-wishlist-muted);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;
}

body.page-id-738 .tinv-wishlist .product-price {
	color: var(--amarcord-wishlist-gold);
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
}

body.page-id-738 .tinv-wishlist .product-price del {
	color: var(--amarcord-wishlist-muted);
	opacity: 0.75;
}

body.page-id-738 .tinv-wishlist .product-price ins {
	color: var(--amarcord-wishlist-gold);
	font-weight: 500;
	text-decoration: none;
}

body.page-id-738 .tinv-wishlist .product-stock {
	color: var(--amarcord-wishlist-muted);
}

body.page-id-738 .tinv-wishlist input[type="checkbox"] {
	accent-color: var(--amarcord-wishlist-gold);
}

body.page-id-738 .tinv-wishlist .product-action .button,
body.page-id-738 .tinv-wishlist tfoot .button,
body.page-id-738 .tinv-wishlist tfoot button,
body.page-id-738 .tinv-wishlist .navigation-button .button,
body.page-id-738 .tinv-wishlist .return-to-shop .button,
body.page-id-738 .tinv-wishlist .tinvwl-input-group-btn button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 112px;
	min-height: 40px;
	margin: 0;
	padding: 11px 18px;
	border: 1px solid var(--amarcord-wishlist-gold);
	border-radius: 0;
	background: var(--amarcord-wishlist-gold);
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.025em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 160ms ease;
	cursor: pointer;
}

body.page-id-738 .tinv-wishlist .product-action .button:hover,
body.page-id-738 .tinv-wishlist .product-action .button:focus-visible,
body.page-id-738 .tinv-wishlist tfoot .button:hover,
body.page-id-738 .tinv-wishlist tfoot .button:focus-visible,
body.page-id-738 .tinv-wishlist tfoot button:hover,
body.page-id-738 .tinv-wishlist tfoot button:focus-visible,
body.page-id-738 .tinv-wishlist .navigation-button .button:hover,
body.page-id-738 .tinv-wishlist .navigation-button .button:focus-visible,
body.page-id-738 .tinv-wishlist .return-to-shop .button:hover,
body.page-id-738 .tinv-wishlist .return-to-shop .button:focus-visible,
body.page-id-738 .tinv-wishlist .tinvwl-input-group-btn button:hover,
body.page-id-738 .tinv-wishlist .tinvwl-input-group-btn button:focus-visible {
	border-color: var(--amarcord-wishlist-gold);
	background: var(--amarcord-wishlist-gold);
	color: #fff;
	opacity: 0.84;
}

body.page-id-738 .tinv-wishlist .product-remove button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	min-width: 32px;
	height: 32px;
	min-height: 32px;
	margin: 0 auto;
	padding: 0;
	border: 1px solid var(--amarcord-wishlist-line);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--amarcord-wishlist-gold);
	font-size: 17px;
	line-height: 1;
	transition: background-color 160ms ease, color 160ms ease;
	cursor: pointer;
}

body.page-id-738 .tinv-wishlist .product-remove button:hover,
body.page-id-738 .tinv-wishlist .product-remove button:focus-visible {
	border-color: var(--amarcord-wishlist-gold);
	background: var(--amarcord-wishlist-gold);
	color: #fff;
}

body.page-id-738 .tinv-wishlist .cart-empty.woocommerce-info {
	margin: 0;
	font-size: 13px;
	text-align: center;
}

body.page-id-738 .tinv-wishlist .return-to-shop {
	margin: 26px 0 0;
	text-align: center;
}

body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tfoot td {
	padding: 22px 0 0;
	border: 0;
}

body.page-id-738 .tinv-wishlist .social-buttons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 28px;
	color: var(--amarcord-wishlist-muted);
	font-size: 12px;
}

body.page-id-738 .tinv-wishlist .social-buttons > span {
	margin: 0;
	font-weight: 400;
}

body.page-id-738 .tinv-wishlist .social-buttons > ul {
	display: flex;
	align-items: center;
	gap: 7px;
}

body.page-id-738 .tinv-wishlist .social-buttons li {
	margin: 0;
}

body.page-id-738 .tinv-wishlist .social-buttons li a.social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--amarcord-wishlist-line);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--amarcord-wishlist-gold);
	transition: background-color 160ms ease, color 160ms ease;
}

body.page-id-738 .tinv-wishlist .social-buttons li a.social:hover,
body.page-id-738 .tinv-wishlist .social-buttons li a.social:focus-visible {
	border-color: var(--amarcord-wishlist-gold);
	background: var(--amarcord-wishlist-gold);
	color: #fff;
}

body.page-id-738 .tinv-wishlist :where(a, button, input, select):focus-visible {
	outline: 2px solid var(--amarcord-wishlist-gold);
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	body.page-id-738 #brx-content {
		width: 90%;
		padding-block: clamp(60px, 8vw, 96px);
	}

	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list th,
	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tbody td {
		padding-inline: 10px;
	}

	body.page-id-738 .tinv-wishlist .product-thumbnail {
		width: 100px;
		min-width: 100px;
	}

	body.page-id-738 .tinv-wishlist .product-thumbnail img {
		width: 84px;
		height: 84px;
	}

	body.page-id-738 .tinv-wishlist .product-action {
		width: 128px;
	}
}

@media (max-width: 768px) {
	body.page-id-738 #brx-content {
		width: calc(100% - 32px);
		padding-block: 52px 68px;
	}

	body.page-id-738 #brx-content > h1 {
		margin-bottom: 32px;
		font-size: clamp(28px, 9vw, 36px);
	}

	body.page-id-738 .tinv-wishlist .tinv-header {
		margin-bottom: 24px;
	}

	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list,
	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tbody,
	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tfoot,
	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tfoot tr,
	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tfoot td {
		display: block;
		width: 100%;
	}

	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list thead {
		display: none;
	}

	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tbody tr {
		display: block;
		width: 100%;
		padding: 20px 16px;
		border: 1px solid var(--amarcord-wishlist-line);
		background: #fff;
	}

	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tbody tr + tr {
		margin-top: 16px;
	}

	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tbody td {
		display: block;
		width: 100% !important;
		padding: 6px 0;
		border: 0;
		text-align: center;
	}

	body.page-id-738 .tinv-wishlist .product-thumbnail {
		width: 100%;
		min-width: 0;
	}

	body.page-id-738 .tinv-wishlist .product-thumbnail img {
		width: min(180px, 64vw);
		height: auto;
		aspect-ratio: 1;
		margin: 0 auto 10px;
	}

	body.page-id-738 .tinv-wishlist .product-remove {
		display: block !important;
	}

	body.page-id-738 .tinv-wishlist .product-remove button {
		margin-top: 8px;
	}

	body.page-id-738 .tinv-wishlist .product-action {
		width: 100%;
	}

	body.page-id-738 .tinv-wishlist .product-action .button {
		width: min(100%, 320px);
		margin-top: 10px;
	}

	body.page-id-738 .tinv-wishlist table.tinvwl-table-manage-list tfoot td {
		padding-top: 20px;
	}

	body.page-id-738 .tinv-wishlist .social-buttons {
		justify-content: center;
		margin-top: 24px;
		text-align: center;
	}

	body.page-id-738 .tinv-wishlist .social-buttons > span {
		display: block;
	}
}

@media (max-width: 480px) {
	body.page-id-738 #brx-content {
		width: calc(100% - 24px);
		padding-block: 42px 56px;
	}

	body.page-id-738 .tinv-wishlist .cart-empty.woocommerce-info {
		padding: 18px 16px;
	}

	body.page-id-738 .tinv-wishlist .return-to-shop .button,
	body.page-id-738 .tinv-wishlist tfoot .button,
	body.page-id-738 .tinv-wishlist tfoot button {
		width: 100%;
	}

	body.page-id-738 .tinv-wishlist .social-buttons {
		flex-direction: column;
		gap: 10px;
	}
}

/* Shared WooCommerce notices and account navigation.
 * Reuse the Amarcord Bricks palette; keep these tokens local to this UI.
 */
body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error),
body.woocommerce-account .woocommerce-MyAccount-navigation {
	--amarcord-woo-gold: var(--bricks-color-qsocky, #c39e58);
	--amarcord-woo-ink: var(--bricks-color-safuwh, #5d5b5b);
	--amarcord-woo-white: var(--bricks-color-omkzoe, #fff);
	--amarcord-woo-panel: #f8f5ef;
	--amarcord-woo-error: #8b2e2e;
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	--amarcord-woo-accent: var(--amarcord-woo-gold);
	display: flow-root;
	box-sizing: border-box;
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 24px;
	padding: 18px 22px;
	/* The legacy Additional CSS sets an important border shorthand. */
	border: 0 solid var(--amarcord-woo-accent) !important;
	border-inline-start-width: 3px !important;
	border-radius: 0;
	background: var(--amarcord-woo-panel);
	color: var(--amarcord-woo-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.65;
	list-style: none;
	text-align: start;
	overflow: visible;
	overflow-wrap: anywhere;
}

body.brx-body .woocommerce-error {
	--amarcord-woo-accent: var(--amarcord-woo-error);
	background: #fbf4f3;
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before,
body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::after {
	/* Bricks uses no notice icons; also suppress WooCommerce's floated icon/clearfix. */
	content: none;
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) > li {
	display: block;
	margin-block: 0;
	list-style: none;
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) > li + li {
	margin-top: 8px;
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) a {
	display: inline;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--amarcord-woo-accent);
	text-underline-offset: 3px;
	float: none;
	margin: 0;
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) :is(a.button, button, input[type="submit"]) {
	display: flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	float: none;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
	min-height: 44px;
	margin: 10px 0;
	padding: 10px 18px;
	border: 1px solid var(--amarcord-woo-gold);
	border-radius: 0;
	background: var(--amarcord-woo-gold);
	box-shadow: none;
	color: var(--amarcord-woo-white);
	font: inherit;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) a:hover {
	text-decoration-thickness: 2px;
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) :is(a.button, button, input[type="submit"]):is(:hover, :focus, :active) {
	background: #8a692e;
	color: var(--amarcord-woo-white);
}

body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):focus,
body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) :is(a, button, input):focus-visible {
	outline: 2px solid var(--amarcord-woo-ink);
	outline-offset: 3px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--amarcord-woo-panel);
	color: var(--amarcord-woo-ink);
	font-family: inherit;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	background: transparent;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	padding: 17px 24px;
	border-inline-start: 3px solid transparent;
	color: inherit;
	font-family: inherit;
	font-weight: 400;
	line-height: 1.6;
	text-decoration: none;
	overflow-wrap: anywhere;
}

body.woocommerce-account .woocommerce-MyAccount-navigation :is(.is-active a, a[aria-current="page"]) {
	border-inline-start-color: var(--amarcord-woo-gold);
	background: var(--amarcord-woo-white);
	color: var(--amarcord-woo-ink);
	font-weight: 500;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	border-inline-start-color: var(--amarcord-woo-gold);
	background: var(--amarcord-woo-white);
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
	outline: 2px solid var(--amarcord-woo-ink);
	outline-offset: -3px;
}

@media (max-width: 767px) {
	body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
		padding: 16px;
	}

	body.brx-body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) :is(a.button, button, input[type="submit"]) {
		width: 100%;
	}
}


/* Category archive tablet overflow guard. */
@media (min-width: 768px) and (max-width: 991px) {
  body.archive.tax-product_cat .brxe-ghginx {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.archive.tax-product_cat .brxe-ghginx > .brxe-cumwzk.brxe-block {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.archive.tax-product_cat .brxe-cumwzk .brxe-phgmxz.brxe-block {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}



/* White required-field stars on the footer newsletter form only (Fluent Forms #2). */
#brx-footer #fluentform_2 .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
	color: #ffffff;
}

/* M1 shared header icon color and temporarily hidden navigation entries. */
.amarcord-header-shell :is(.amarcord-header-search, .amarcord-mini-cart, .amarcord-account-trigger, .brxe-icon) :is(path, line, circle, rect, polyline, polygon, ellipse) {
	stroke: #C39E58;
}

.amarcord-header-shell :is(.amarcord-header-search, .amarcord-mini-cart, .amarcord-account-trigger, .brxe-icon):is(:hover, :focus, :focus-visible, :active) :is(path, line, circle, rect, polyline, polygon, ellipse),
.amarcord-header-shell :is(a:hover, a:focus, a:focus-visible, a:active) :is(.amarcord-header-search, .amarcord-mini-cart, .amarcord-account-trigger, .brxe-icon) :is(path, line, circle, rect, polyline, polygon, ellipse) {
	stroke: #C39E58;
}

.amarcord-header-shell .brxe-toggle {
	color: #C39E58;
}

.amarcord-header-shell .brxe-toggle .brxa-inner,
.amarcord-header-shell .brxe-toggle .brxa-inner::before,
.amarcord-header-shell .brxe-toggle .brxa-inner::after {
	border-color: #C39E58;
	background-color: #C39E58;
}

/* The Hungarian grey header uses a monochrome PNG for the profile icon. */
.amarcord-header-shell .brxe-image.amarcord-account-trigger:has(img[data-src*="Icon-ionic-md-people.png"], img[src*="Icon-ionic-md-people.png"]) {
	position: relative;
	-webkit-mask: url("/wp-content/uploads/2026/09/Icon-ionic-md-people.png") center / contain no-repeat;
	mask: url("/wp-content/uploads/2026/09/Icon-ionic-md-people.png") center / contain no-repeat;
	background-color: #C39E58;
}

.amarcord-header-shell .brxe-image.amarcord-account-trigger:has(img[data-src*="Icon-ionic-md-people.png"], img[src*="Icon-ionic-md-people.png"]) img {
	visibility: hidden;
}

/* M1 temporary hide: Bricks header menu item class, shared by desktop and mobile. */
.amarcord-header-shell .brxe-nav-nested .brx-nav-nested-items > li:has(> .m1-nav-hidden) {
	display: none !important;
}
/* M3: Bring the WooCommerce Cart block in line with the Amarcord site palette. */
body.woocommerce-cart #brx-content {
	color: #5d5b5b;
	font-family: inherit;
}

body.woocommerce-cart #brx-content > h1,
body.woocommerce-cart .wp-block-woocommerce-cart :is(h2, h3, .wp-block-heading) {
	color: #5d5b5b;
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 400;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wp-block-woocommerce-product-new {
	color: #5d5b5b;
	font-family: inherit;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-button:not(.is-link),
body.woocommerce-cart .wc-block-components-product-button__button,
body.woocommerce-cart .wp-block-woocommerce-product-new .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-product-new .wp-block-button__link:visited {
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid #c39e58;
	border-radius: 0;
	background: #c39e58;
	box-shadow: none;
	color: #fff;
	font: inherit;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-button:not(.is-link):is(:hover, :focus, :active),
body.woocommerce-cart .wc-block-components-product-button__button:is(:hover, :focus, :active),
body.woocommerce-cart .wp-block-woocommerce-product-new .wp-block-button__link:is(:hover, :focus, :active) {
	border-color: #8a692e;
	background: #8a692e;
	color: #fff;
}

body.woocommerce-cart .wp-block-woocommerce-cart :is(a, button, input, select):focus-visible,
body.woocommerce-cart .wp-block-woocommerce-product-new a:focus-visible {
	outline: 2px solid #5d5b5b;
	outline-offset: 3px;
}

body.woocommerce-cart .wc-block-components-notice-banner {
	border: 0;
	border-inline-start: 3px solid #c39e58;
	border-radius: 0;
	background: #f8f5ef;
	color: #5d5b5b;
	font-family: inherit;
}

body.woocommerce-cart .wp-block-woocommerce-product-new ul.wc-block-grid__products {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}
body.woocommerce-cart .wp-block-woocommerce-product-new {
	overflow-x: clip;
}

/* M3.1: Let the three empty Bricks hero containers shrink below 1100px.
   Their Bricks base width is fixed at 1100px; these containers have no content. */
@media (max-width: 1100px) {
	body.woocommerce-shop #brxe-bgztwy,
	body.page-id-1867 #brxe-nlvkry,
	body.page-id-2806 #brxe-uhmquu {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}
}


/* M3.1: Hide only the retired entries in the English footer menu. */
#brx-footer #menu-angol-menu > li.menu-item-3711,
#brx-footer #menu-angol-menu > li.menu-item-24 {
	display: none;
}


/* M4: Branded presentation for the prepared English support-form pages. */
.amarcord-m4-page {
	box-sizing: border-box;
	width: min(100%, 860px);
	margin-inline: auto;
	padding: clamp(24px, 4vw, 56px) 20px 64px;
	color: #5D5B5B;
	font-family: Poppins, sans-serif;
}
.amarcord-m4-page *,
.amarcord-m4-page *::before,
.amarcord-m4-page *::after { box-sizing: border-box; }
.amarcord-m4-page .amarcord-m4-intro { margin: 0 0 18px; color: #5D5B5B; }
.amarcord-m4-page .amarcord-m4-status {
	margin: 0 0 28px;
	padding: 16px 18px;
	border-inline-start: 3px solid #C39E58;
	background: #F8F5EF;
	color: #5D5B5B;
	line-height: 1.6;
}
.amarcord-m4-page .ff-el-input--label label {
	color: #5D5B5B;
	font-family: Poppins, sans-serif;
	font-weight: 500;
}
.amarcord-m4-page .ff-el-form-control {
	width: 100%;
	max-width: 100%;
	min-height: 46px;
	border: 1px solid #D4D0C8;
	border-radius: 0;
	background: #fff;
	color: #5D5B5B;
	font-family: Poppins, sans-serif;
}
.amarcord-m4-page textarea.ff-el-form-control { min-height: 140px; }
.amarcord-m4-page .ff-el-form-control:focus-visible {
	border-color: #C39E58;
	outline: 2px solid #C39E58;
	outline-offset: 2px;
}
.amarcord-m4-page .ff-btn-submit,
.amarcord-m4-page .ff-btn-submit:hover,
.amarcord-m4-page .ff-btn-submit:focus,
.amarcord-m4-page .ff-btn-submit:focus-visible,
.amarcord-m4-page .ff-btn-submit:active {
	border-color: #C39E58;
	border-radius: 0;
	background: #C39E58;
	color: #fff !important;
	font-family: Poppins, sans-serif;
}
.amarcord-m4-page .ff-btn-submit:hover,
.amarcord-m4-page .ff-btn-submit:focus,
.amarcord-m4-page .ff-btn-submit:focus-visible,
.amarcord-m4-page .ff-btn-submit:active { border-color: #8A692E; background: #8A692E; }
.amarcord-m4-page .ff-el-is-error .ff-el-form-control { border-color: #8B2E2E; background: #FBF4F3; }
.amarcord-m4-page .ff-el-is-error .error,
.amarcord-m4-page .ff-el-is-error .text-danger,
.amarcord-m4-page .error.text-danger { color: #8B2E2E; }
@media (max-width: 480px) {
	.amarcord-m4-page { padding: 24px 12px 44px; }
	.amarcord-m4-page .ff-btn-submit { width: 100%; white-space: normal; }
}
.amarcord-m4-page .ff-el-required { color: #8B2E2E; font-weight: 600; }

/* Signup 1627: non-modal right-side card; replaces M6 centering rules. */
body.brx-body .brxe-popup-1627.brx-popup:not(.hide) {
 --signup-top: clamp(12px, 12svh, 140px);
 position: fixed; top: var(--signup-top); right: max(0px, calc((100vw - 1920px) / 2)); bottom: auto; left: auto;
 width: clamp(320px, 35vw, 640px); height: auto;
 max-width: calc(100vw - 16px); max-height: calc(100dvh - var(--signup-top) - 16px);
 padding: 0; transform: none; overflow: hidden;
 align-items: flex-end; justify-content: flex-start; background: transparent;
}
body.brx-body .brxe-popup-1627 .brx-popup-content {
 width: 100%; max-width: 100%; padding: 0; background: transparent;
 box-shadow: 0 8px 30px #0002; overflow: visible;
}
body.brx-body .brxe-popup-1627:not(.hide) .brx-popup-content {
 animation: amarcord-signup-slide .28s ease-out both;
}
@keyframes amarcord-signup-slide {
 from { transform: translateX(100%); opacity: 0; }
 to { transform: translateX(0); opacity: 1; }
}
body.brx-body .brxe-popup-1627 .amarcord-signup-card {
 width: 100%; max-width: 100%; margin: 0; gap: 0;
 grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
 border-radius: 16px 0 0 16px; overflow: hidden;
}
body.brx-body .brxe-popup-1627 .amarcord-signup-copy {
 width: 100%; min-width: 0; min-height: 0;
 max-height: calc(100dvh - var(--signup-top) - 16px); overflow-y: auto; isolation: isolate;
 padding: clamp(20px, 1.5vw, 28px); gap: clamp(8px, 1vw, 16px);
}
body.brx-body .brxe-popup-1627 .amarcord-signup-copy > :not(#brxe-rqnkpo) { position: relative; z-index: 1; }
body.brx-body .brxe-popup-1627 .amarcord-signup-photo { width: 100%; min-width: 0; align-self: stretch; }
body.brx-body .brxe-popup-1627 .amarcord-signup-image {
 position: absolute; inset: 0; width: 100%; height: 100%;
 object-fit: cover; object-position: center;
}
body.brx-body .brxe-popup-1627 .ff-el-group { width: 100%; max-width: 100%; }
body.brx-body .brxe-popup-1627 .ion-md-close {
 position: absolute; top: 8px; right: 8px; left: auto; bottom: auto;
 z-index: 5; display: inline-flex; align-items: center; justify-content: center;
 width: 44px; min-width: 44px; height: 44px; min-height: 44px;
 padding: 0; color: #674b22; background: #fffffff2; border-radius: 50%; cursor: pointer;
}
body.brx-body .brxe-popup-1627 #brxe-aqpwqi { font-size: clamp(32px, 3vw, 56px); line-height: 1; }
body.brx-body .brxe-popup-1627 :is(#brxe-dzejws,#brxe-ezvdxu) { padding: 0; font-size: clamp(13px, .95vw, 17px); line-height: 1.4; }
body.brx-body .brxe-popup-1627 #brxe-nhtifl { font-size: clamp(11px, .75vw, 13px); }
body.brx-body .brxe-popup-1627 .ff-el-group { margin-bottom: clamp(10px, 1vw, 16px); }
body.brx-body .brxe-popup-1627 input[type=email] { min-height: 42px; font-size: 16px; }
body.brx-body .brxe-popup-1627 .ff-btn-submit { min-height: 44px; font-size: clamp(13px, .9vw, 16px); }
@media (max-width: 1100px), (max-height: 650px) {
 body.brx-body .brxe-popup-1627 .amarcord-signup-card { grid-template-columns: minmax(0, 1fr) !important; }
 body.brx-body .brxe-popup-1627 .amarcord-signup-photo { display: none; }
 body.brx-body .brxe-popup-1627 .amarcord-signup-copy { padding-top: 56px; }
}
@media (max-width: 767px) {
 body.brx-body .brxe-popup-1627.brx-popup:not(.hide) {
  --signup-top: 12px; width: min(420px, calc(100vw - 16px));
 }
 body.brx-body .brxe-popup-1627 .amarcord-signup-copy { padding: 56px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
 body.brx-body .brxe-popup-1627:not(.hide) .brx-popup-content { animation: none; }
}

/* M6 K1: keep the homepage quotation in the image's clear left-side area. */
@media (max-width: 1366px) {
	body.home #brxe-jxljvk {
		box-sizing: border-box;
		width: clamp(136px, 23vw, 300px) !important;
		max-width: min(100%, 300px);
		font-size: clamp(13px, 1.3vw, 17px);
		line-height: 1.55;
	}
}

@media (max-width: 480px) {
	body.home #brxe-jxljvk {
		width: clamp(140px, 44vw, 190px) !important;
		font-size: clamp(14px, 4vw, 16px);
		line-height: 1.5;
	}
}

/* M6 F7: Hide Latest Creations only on the Story page. */
body.page-id-681 #brxe-bsppdo {
	display: none !important;
}

/* M6 responsive: constrain the Story intro container at tablet widths. */
@media (max-width: 1099px) {
	body.page-id-681 #brxe-mhqqwr {
		box-sizing: border-box;
		width: 100% !important;
		min-width: 0;
		max-width: 100%;
	}
}

/* M6 K2/K3: consistent touch targets and stronger mobile navigation labels. */
@media (max-width: 767px) {
	.amarcord-header-shell .brxe-toggle:not(.brx-toggle-div) {
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px !important;
		min-width: 44px;
		min-height: 44px;
		padding: 9px;
	}

	.amarcord-header-shell .amarcord-header-search > .toggle {
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		min-width: 44px;
		height: 44px;
		padding: 8px;
	}

	.amarcord-header-shell .brx-nav-nested-items a {
		font-weight: 500;
	}
}

@media (max-width: 767px), (max-height: 500px) and (orientation: landscape) {
	.amarcord-header-left #brxe-xufsdf {
		box-sizing: border-box;
		width: 44px !important;
		min-width: 44px !important;
		flex: 0 0 44px !important;
	}

	.amarcord-header-left #brxe-tqkbzx {
		box-sizing: border-box;
		width: 44px !important;
		min-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		flex: 0 0 44px !important;
		transform: none !important;
	}

	.amarcord-header-left #brxe-afkcxo {
		box-sizing: border-box;
		width: 44px !important;
		min-width: 44px !important;
		flex: 0 0 44px !important;
	}

	.amarcord-header-left #brxe-afkcxo > .toggle {
		box-sizing: border-box;
		left: auto;
		width: 44px !important;
		min-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		padding: 8px;
		transform: none !important;
	}
}

body.brx-body .brxe-popup-1627 .ion-md-close:focus-visible {
	outline: 2px solid #5d5b5b;
	outline-offset: 2px;
}
