/* ASASA — site-wide filter panel that drops out of the header. */

/* ---- header: search field and Filters button share one pill ---- */
.asasa-header-left {
	display: flex !important;
	align-items: center;
	flex-wrap: nowrap !important;
	gap: 10px;
	min-width: 0;
}
.asasa-searchbar {
	display: flex;
	align-items: stretch;
	flex: 0 0 auto;
	height: 42px;
	border-radius: 999px;
	background: #f5f2f0;
	overflow: hidden;
	transition: box-shadow .2s ease, background-color .2s ease;
}
.asasa-searchbar .asasa-search {
	display: flex !important;
	align-items: center;
	height: 100%;
	padding: 0 !important;
}
.asasa-searchbar .asasa-search svg { left: 14px; }
.asasa-searchbar:focus-within {
	background: #fff;
	box-shadow: 0 0 0 1.5px rgba(214, 8, 144, .4), 0 0 0 5px rgba(214, 8, 144, .1);
}
.asasa-searchbar .asasa-search { margin: 0 !important; }
.asasa-searchbar .asasa-search input[type="search"] {
	width: 186px !important;
	min-width: 0;
	height: 100%;
	min-height: 0 !important;
	padding: 0 14px 0 38px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transition: width .3s cubic-bezier(.3, 1, .4, 1);
}
.asasa-searchbar .asasa-search input[type="search"]:focus { width: 232px !important; }
.header-main .col-v2-left { flex: 1 1 auto; min-width: 0; }

/* ---- trigger, welded to the right of the field ---- */
button.af-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	align-self: stretch;
	min-height: 40px;
	padding: 0 15px 0 13px !important;
	margin: 0 !important;
	border: 0 !important;
	border-left: 1px solid #e7e0da !important;
	border-radius: 0 999px 999px 0 !important;
	background: transparent !important;
	color: #45403b !important;
	font-size: 11.5px !important;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1 !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
button.af-btn:hover { background: #eee7e2 !important; color: #141414 !important; }
body.af-open button.af-btn {
	background: #141414 !important;
	color: #fff !important;
	border-left-color: #141414 !important;
}
@media (max-width: 1300px) {
	.asasa-searchbar .asasa-search input[type="search"] { width: 140px !important; }
	button.af-btn span:not(.af-btn-count) { display: none; }
	button.af-btn { padding: 0 13px !important; }
}
.af-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
.af-btn-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: #d60890;
	color: #fff;
	font-size: 10.5px;
}

/* ---- panel ---- */
.af-panel {
	position: absolute;
	left: 50%;
	top: 100%;
	z-index: 997;
	width: min(1180px, 96vw);
	margin-top: 12px;
	border-radius: 26px;
	background: rgba(255, 255, 255, .97);
	-webkit-backdrop-filter: saturate(170%) blur(24px);
	backdrop-filter: saturate(170%) blur(24px);
	box-shadow:
		0 2px 2px rgba(0, 0, 0, .03),
		0 48px 90px -28px rgba(20, 4, 14, .35),
		inset 0 0 0 1px rgba(255, 255, 255, .6);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(12px) scale(.985);
	pointer-events: none;
	transition:
		opacity .3s cubic-bezier(.3, 1, .4, 1),
		transform .3s cubic-bezier(.3, 1, .4, 1),
		visibility 0s linear .3s;
}
body.af-open .af-panel {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0) scale(1);
	pointer-events: auto;
	transition-delay: 0s;
}
/* anchor the panel to the whole header, so it drops below the nav row rather
   than covering it */
#masthead-inner { position: relative; }
.header-main,
.header-main-inner,
.header-main .customify-container,
.header-bottom .customify-container {
	position: static !important;
}

.af-inner {
	display: grid;
	grid-template-columns: 1.15fr 1.25fr .85fr .75fr;
	gap: 30px;
	padding: 28px 30px 22px;
	text-align: left;
}
.af-col { min-width: 0; }

.af-heading {
	display: block;
	margin-bottom: 11px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #a89d94;
}
.af-heading--spaced { margin-top: 22px; }

/* ---- search fields ---- */
.af-search-field {
	position: relative;
	display: flex;
	align-items: center;
}
.af-search-field svg {
	position: absolute;
	left: 14px;
	width: 15px;
	height: 15px;
	color: #a89d94;
	pointer-events: none;
}
.af-search-field input {
	width: 100%;
	min-height: 44px;
	padding: 10px 16px 10px 38px !important;
	border: 1.5px solid #e5ddd6 !important;
	border-radius: 999px !important;
	background: #fff !important;
	font-size: 14px;
	color: #141414;
	outline: none !important;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.af-search-field--sm input { min-height: 40px; font-size: 13px; }
.af-search-field input:focus {
	border-color: rgba(214, 8, 144, .5) !important;
	box-shadow: 0 0 0 4px rgba(214, 8, 144, .1);
}

/* ---- category chips ---- */
.af-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}
label.af-cat {
	position: relative;
	padding: 8px 14px;
	border-radius: 999px;
	background: #faf8f6;
	box-shadow: inset 0 0 0 1.5px #efe8e2;
	font-size: 12.5px;
	font-weight: 600;
	color: #33302d;
	cursor: pointer;
	transition: all .18s ease;
	margin: 0;
}
label.af-cat input { position: absolute; opacity: 0; pointer-events: none; }
label.af-cat:hover { box-shadow: inset 0 0 0 1.5px #d8cfc7; }
label.af-cat.is-on,
label.af-cat:has(input:checked) {
	background: #141414;
	color: #fff;
	box-shadow: none;
}

/* ---- option list ---- */
ul.af-list {
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none;
	max-height: 232px;
	overflow-y: auto;
	overscroll-behavior: contain;
}
ul.af-list::-webkit-scrollbar { width: 6px; }
ul.af-list::-webkit-scrollbar-thumb { background: #e5ddd6; border-radius: 999px; }
ul.af-list li { margin: 0 !important; padding: 0 !important; list-style: none; }
ul.af-list li.is-hidden { display: none; }

label.af-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 6px;
	margin: 0;
	border-radius: 9px;
	font-size: 13.5px;
	color: #33302d;
	cursor: pointer;
	transition: background-color .16s ease;
}
label.af-opt:hover { background: #faf8f6; }
label.af-opt input { position: absolute; opacity: 0; pointer-events: none; }
.af-box {
	flex: 0 0 17px;
	width: 17px;
	height: 17px;
	border: 1.5px solid #d8cfc7;
	border-radius: 5px;
	background: #fff;
	transition: background-color .16s ease, border-color .16s ease;
}
label.af-opt:has(input:checked) .af-box,
label.af-opt.is-on .af-box {
	background: #d60890 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center / 11px no-repeat;
	border-color: #d60890;
}
label.af-opt:has(input:checked),
label.af-opt.is-on { font-weight: 650; color: #141414; }
.af-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-cnt { font-size: 11.5px; color: #a89d94; }

/* ---- price ---- */
.af-price {
	display: flex;
	align-items: center;
	gap: 8px;
}
.af-price input {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 10px 12px !important;
	border: 1.5px solid #e5ddd6 !important;
	border-radius: 12px !important;
	background: #fff !important;
	font-size: 13.5px;
	text-align: center;
	outline: none !important;
	-moz-appearance: textfield;
}
.af-price input::-webkit-outer-spin-button,
.af-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.af-price input:focus {
	border-color: rgba(214, 8, 144, .5) !important;
	box-shadow: 0 0 0 4px rgba(214, 8, 144, .1);
}
.af-price span { color: #b3a8a1; }

/* ---- toggles ---- */
label.af-toggle {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 12px;
	font-size: 13.5px;
	font-weight: 550;
	color: #33302d;
	cursor: pointer;
}
label.af-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.af-switch {
	position: relative;
	flex: 0 0 38px;
	width: 38px;
	height: 22px;
	border-radius: 999px;
	background: #e5ddd6;
	transition: background-color .22s ease;
}
.af-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	transition: transform .22s cubic-bezier(.3, 1.3, .4, 1);
}
label.af-toggle:has(input:checked) .af-switch,
label.af-toggle.is-on .af-switch { background: #d60890; }
label.af-toggle:has(input:checked) .af-switch::after,
label.af-toggle.is-on .af-switch::after { transform: translateX(16px); }

/* ---- gender pills ---- */
.af-pills { display: flex; flex-wrap: wrap; gap: 7px; }
label.af-pill {
	position: relative;
	margin: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px #e5ddd6;
	font-size: 12.5px;
	font-weight: 600;
	color: #33302d;
	cursor: pointer;
	transition: all .18s ease;
}
label.af-pill input { position: absolute; opacity: 0; pointer-events: none; }
label.af-pill:hover { box-shadow: inset 0 0 0 1.5px #c9beb4; }
label.af-pill:has(input:checked),
label.af-pill.is-on { background: #141414; color: #fff; box-shadow: none; }

/* ---- footer actions ---- */
.af-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 4px;
	padding-top: 18px;
	border-top: 1px solid #f0eae6;
}
a.af-clear {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #8a817b !important;
	text-decoration: none !important;
}
a.af-clear:hover { color: #d60890 !important; }
button.af-apply {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 30px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #141414 !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .22s ease, transform .22s ease;
}
button.af-apply:hover { background: #d60890 !important; transform: translateY(-1px); }
.af-apply svg { width: 15px; height: 15px; }

/* ---- active chips above results ---- */
.af-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	width: 100%;
	margin: 0 0 16px;
}
a.af-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 13px;
	border-radius: 999px;
	background: #141414;
	color: #fff !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color .18s ease;
}
a.af-chip:hover { background: #d60890; }
a.af-chip span { opacity: .65; font-size: 14px; line-height: 1; }
a.af-chip .woocommerce-Price-amount { color: #fff !important; font-size: 12px; }
a.af-chip--clear {
	background: transparent;
	color: #8a817b !important;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: .06em;
}
a.af-chip--clear:hover { background: transparent; color: #d60890 !important; }

/* ---- search results page ---- */
.asasa-search { padding-bottom: 60px; }
.sr-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	padding: 26px 0 18px;
	border-bottom: 1px solid #f0eae6;
	margin-bottom: 20px;
}
.sr-kicker {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #d60890;
}
.sr-title {
	margin: 0;
	font-size: 29px;
	font-weight: 700;
	letter-spacing: -.015em;
	color: #141414;
}
.sr-count { font-size: 13px; color: #8a817b; white-space: nowrap; }

.sr-post a { text-decoration: none !important; display: block; }
.sr-post-img { border-radius: 14px; overflow: hidden; background: #f7f4f2; margin-bottom: 10px; }
.sr-post-type {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #a89d94;
	margin-bottom: 4px;
}
.sr-post-title { font-size: 15px !important; color: #141414; margin: 0 !important; }

.sr-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 34px;
}
.sr-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	background: #faf8f6;
	color: #33302d !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
}
.sr-pagination .page-numbers.current { background: #141414; color: #fff !important; }

.sr-empty {
	max-width: 620px;
	margin: 30px auto 60px;
	padding: 50px 30px;
	border-radius: 22px;
	background: #faf8f6;
	text-align: center;
}
.sr-empty strong { display: block; font-size: 21px; color: #141414; margin-bottom: 8px; }
.sr-empty p { color: #6b645e; margin-bottom: 22px; }
.sr-retry {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 440px;
	margin: 0 auto 26px;
}
.sr-retry svg {
	position: absolute;
	left: 16px;
	width: 16px;
	height: 16px;
	color: #a89d94;
	pointer-events: none;
}
.sr-retry input[type="search"] {
	flex: 1;
	min-height: 48px;
	padding: 12px 16px 12px 42px !important;
	border: 1.5px solid #e5ddd6 !important;
	border-radius: 999px !important;
	background: #fff !important;
	font-size: 14px;
	outline: none !important;
}
.sr-retry input[type="search"]:focus {
	border-color: rgba(214, 8, 144, .5) !important;
	box-shadow: 0 0 0 4px rgba(214, 8, 144, .1);
}
.sr-retry button {
	min-height: 48px;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #141414 !important;
	color: #fff !important;
	font-size: 12.5px !important;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
}
.sr-retry button:hover { background: #d60890 !important; }
.sr-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
a.sr-cat {
	padding: 9px 16px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px #e5ddd6;
	font-size: 12.5px;
	font-weight: 600;
	color: #33302d !important;
	text-decoration: none !important;
	transition: all .18s ease;
}
a.sr-cat:hover { background: #141414; color: #fff !important; box-shadow: none; }

/* The old WOOF "Filter By" button duplicates the header panel — hide the
   trigger (the plugin itself stays active, so nothing else changes). */
body a.woof_show_auto_form,
body a.woof_hide_auto_form,
body .woof_auto_show,
body .woof_show_auto_form_container,
html body a.woof_show_auto_form.woof_btn_default {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

/* ---- backdrop ---- */
body.af-open::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 996;
	background: rgba(15, 8, 13, .28);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

/* ---- tablet / phone ---- */
@media (max-width: 1023px) {
	.af-inner { grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; }
	.af-panel {
		position: fixed;
		left: 0;
		right: 0;
		top: auto;
		bottom: 0;
		width: 100%;
		max-height: 86vh;
		overflow-y: auto;
		margin: 0;
		border-radius: 26px 26px 0 0;
		transform: translateY(100%);
	}
	body.af-open .af-panel { transform: translateY(0); }
	.af-actions { position: sticky; bottom: 0; background: #fff; padding-bottom: 14px; }
}
@media (max-width: 600px) {
	.af-inner { grid-template-columns: 1fr; }
	ul.af-list { max-height: 180px; }
}
