:root {
	--llff-border: #e2e4e7;
	--llff-text: #1f2933;
	--llff-muted: #68737d;
	--llff-surface: #fff;
	--llff-accent: #111111;
	--llff-radius: 12px;
}

.llff-filter-panel,
.llff-favorite-button {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.llff-shop-layout {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
	width: 100%;
}

.llff-products-column { min-width: 0; position: relative; }
.llff-products-column.is-loading { opacity: .58; pointer-events: none; }
.llff-products-column.is-loading::before {
	content: attr(data-loading-label);
	position: absolute;
	z-index: 10;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 8px 14px;
	background: var(--llff-surface);
	border: 1px solid var(--llff-border);
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.llff-filter-panel {
	position: static;
	background: var(--llff-surface);
	border: 1px solid var(--llff-border);
	border-radius: var(--llff-radius);

}

.llff-filter-body { padding: 10px 20px 20px; }
.llff-filter-form { margin: 0; }

.llff-filter-group {
	margin: 0;
	padding: 17px 0;
	border: 0;
	border-top: 1px solid var(--llff-border);
}
.llff-filter-form > .llff-filter-group:first-child {
	padding-top: 6px;
	border-top: 0;
}

.llff-filter-group legend {
	width: 100%;
	margin: 0 0 12px;
	padding: 0;
	color: var(--llff-text);
	font-weight: 600;
}

.llff-filter-group--boolean > label,
.llff-check-list label {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	margin: 8px 0;
	color: var(--llff-text);
	font-weight: 400;
	cursor: pointer;
}

.llff-check-list {
	max-height: 220px;
	overflow: auto;
	padding-right: 4px;
}

.llff-check-list input[type="checkbox"] {
	display: inline-grid;
	flex: 0 0 18px;
	place-content: center;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	padding: 0;
	border: 1.5px solid #9ca3af;
	border-radius: 50% !important;
	background: #ffffff;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}
.llff-check-list input[type="checkbox"]::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #111111;
	transform: scale(0);
	transition: transform .12s ease;
}
.llff-check-list input[type="checkbox"]:checked {
	border-color: #111111;
}
.llff-check-list input[type="checkbox"]:checked::before {
	transform: scale(1);
}
.llff-check-list input[type="checkbox"]:focus-visible {
	outline: 3px solid rgba(17, 17, 17, .22);
	outline-offset: 2px;
}

.llff-term-item > label { margin: 7px 0; }
.llff-term-children {
	margin-left: 8px;
	padding-left: 13px;
	border-left: 1px solid var(--llff-border);
}
.llff-term-item--depth-1 > label,
.llff-term-item--depth-2 > label,
.llff-term-item--depth-3 > label,
.llff-term-item--depth-4 > label { color: var(--llff-muted); }

.llff-price-slider {
	--llff-range-start: 0%;
	--llff-range-end: 100%;
	position: relative;
	height: 30px;
	margin: 2px 0 14px;
}
.llff-price-slider__track {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 4px;
	transform: translateY(-50%);
	border-radius: 999px;
	background: #d8dadd;
	overflow: hidden;
}
.llff-price-slider__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--llff-range-start);
	right: calc(100% - var(--llff-range-end));
	border-radius: inherit;
	background: #111111;
}
.llff-price-range {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	pointer-events: none;
	appearance: none;
	-webkit-appearance: none;
}
.llff-price-range--max { z-index: 3; }
.llff-price-range::-webkit-slider-runnable-track {
	height: 4px;
	background: transparent;
}
.llff-price-range::-moz-range-track {
	height: 4px;
	background: transparent;
}
.llff-price-range::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	margin-top: -7px;
	border: 2px solid #111111;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	pointer-events: auto;
	appearance: none;
	-webkit-appearance: none;
	cursor: grab;
}
.llff-price-range::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 2px solid #111111;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	pointer-events: auto;
	cursor: grab;
}
.llff-price-range:active::-webkit-slider-thumb { cursor: grabbing; }
.llff-price-range:active::-moz-range-thumb { cursor: grabbing; }
.llff-price-range:focus-visible { outline: none; }
.llff-price-range:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 4px rgba(17, 17, 17, .18);
}
.llff-price-range:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 4px rgba(17, 17, 17, .18);
}

.llff-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.llff-price-fields label { display: grid; gap: 6px; color: var(--llff-muted); font-size: .84em; font-weight: 400; }
.llff-price-fields input,
.llff-filter-group select {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid var(--llff-border);
	border-radius: 8px;
	background: var(--llff-surface);
	color: var(--llff-text);
	font: inherit;
}

.llff-clear-filters,
body.woocommerce .llff-filter-panel .llff-filter-form button.llff-clear-filters,
body.woocommerce-page .llff-filter-panel .llff-filter-form button.llff-clear-filters {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	width: 100%;
	padding: 11px 14px;
	border: 0 !important;
	border-color: transparent !important;
	border-radius: 8px;
	background: #000000 !important;
	background-color: #000000 !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #ffffff !important;
	text-shadow: none !important;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}

.llff-clear-filters:hover,
.llff-clear-filters:focus-visible,
body.woocommerce .llff-filter-panel .llff-filter-form button.llff-clear-filters:hover,
body.woocommerce .llff-filter-panel .llff-filter-form button.llff-clear-filters:focus-visible,
body.woocommerce-page .llff-filter-panel .llff-filter-form button.llff-clear-filters:hover,
body.woocommerce-page .llff-filter-panel .llff-filter-form button.llff-clear-filters:focus-visible {
	border: 0 !important;
	border-color: transparent !important;
	background: #2b2b2b !important;
	background-color: #2b2b2b !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #ffffff !important;
	text-shadow: none !important;
}

.llff-clear-filters:active,
body.woocommerce .llff-filter-panel .llff-filter-form button.llff-clear-filters:active,
body.woocommerce-page .llff-filter-panel .llff-filter-form button.llff-clear-filters:active {
	transform: translateY(1px);
}

.llff-result-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.llff-result-toolbar .woocommerce-result-count { margin: 0; }
.llff-orderby { min-height: 40px; padding: 7px 30px 7px 10px; }
.llff-pagination { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 28px; }
.llff-page-link {
	min-width: 40px;
	min-height: 40px;
	border: 1px solid var(--llff-border);
	border-radius: 8px;
	background: var(--llff-surface);
	font: inherit;
	cursor: pointer;
}
.llff-page-link.is-current { font-weight: 800; border-color: currentColor; }

.woocommerce ul.products li.product { position: relative; }
.llff-favorite-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	appearance: none;
	color: var(--llff-text);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	transition: transform .15s ease, opacity .15s ease;
}
.llff-favorite-button:hover { transform: translateY(-1px); opacity: .8; }
.llff-favorite-button:focus-visible,
.llff-clear-filters:focus-visible,
.llff-page-link:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.llff-favorite-button:disabled { opacity: .55; cursor: wait; }
.llff-heart-icon {
	width: 25px;
	height: 25px;
	fill: transparent;
	stroke: #8a8a8a;
	stroke-width: 1.55;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: fill .15s ease, stroke .15s ease, transform .15s ease;
}
.llff-favorite-button:hover .llff-heart-icon { transform: scale(1.06); }
.llff-favorite-button.is-favorite .llff-heart-icon {
	fill: #c62828;
	stroke: #c62828;
}
.llff-favorite-button--loop {
	position: absolute;
	z-index: 5;
	top: 14px;
	right: 14px;
	width: auto;
	height: auto;
}
.llff-favorite-button--single { margin: 8px 0 14px; }
.llff-favorite-button .llff-favorite-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.llff-account-favorites .llff-favorite-button--loop { display: inline-flex; }
.llff-request-error { margin-bottom: 16px !important; }

@media (max-width: 782px) {
	.llff-shop-layout { grid-template-columns: 1fr; gap: 22px; }
	.llff-filter-panel { position: static; margin-top: 0 !important; }
	.llff-result-toolbar { align-items: stretch; flex-direction: column; }
	.llff-ordering-label, .llff-orderby { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.llff-favorite-button { transition: none; }
	* { scroll-behavior: auto !important; }
}

/* Minha conta > Favoritos: layout isolated from the shop archive. */
.llff-account-favorites {
	width: 100%;
	min-width: 0;
}

.llff-account-favorites ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.llff-account-favorites ul.products::before,
.llff-account-favorites ul.products::after {
	display: none !important;
	content: none !important;
}

.llff-account-favorites ul.products li.product {
	float: none !important;
	clear: none !important;
	position: relative !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

.llff-account-favorites .woocommerce-LoopProduct-link {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

.llff-account-favorites ul.products li.product img {
	display: block;
	width: 100%;
	height: auto;
}

.llff-account-favorites .woocommerce-loop-product__title,
.llff-account-favorites .price,
.llff-account-favorites .lunari-parcelamento {
	max-width: 100% !important;
	box-sizing: border-box !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

.llff-account-favorites .woocommerce-loop-product__title {
	white-space: normal !important;
	overflow-wrap: anywhere;
}

.llff-account-favorites .lunari-parcelamento {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	padding-inline: 7px !important;
	white-space: normal !important;
	overflow-wrap: break-word !important;
	word-break: normal !important;
}

.llff-account-favorites .lunari-parcelamento .woocommerce-Price-amount {
	white-space: nowrap !important;
}

.llff-account-favorites .llff-favorite-button--loop {
	position: absolute !important;
	z-index: 20 !important;
	top: 12px !important;
	right: 12px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	min-width: 36px !important;
	height: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid #eeeeee !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .14) !important;
	font-size: 0 !important;
	line-height: 1 !important;
	pointer-events: auto !important;
	touch-action: manipulation;
}

.llff-account-favorites .llff-favorite-button--loop .llff-heart-icon {
	display: block !important;
	width: 25px !important;
	height: 25px !important;
	margin: 0 !important;
	fill: #c62828 !important;
	stroke: #c62828 !important;
}

.llff-account-favorites .llff-favorite-button--loop::after {
	content: "−";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -55%);
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 17px;
	font-weight: 900;
	line-height: 1;
	pointer-events: none;
}

.llff-account-favorites ul.products li.product .add_to_cart_button {
	box-sizing: border-box !important;
	max-width: 100% !important;
	white-space: normal !important;
}

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

@media (max-width: 600px) {
	.llff-account-favorites ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}


/* Parcelamento: preserva o card do tema e move apenas “no cartão” para a segunda linha. */
.llff-shop-layout .lunari-parcelamento,
.llff-account-favorites .lunari-parcelamento {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	text-align: center !important;
}
.llff-shop-layout .lunari-parcelamento .woocommerce-Price-amount,
.llff-account-favorites .lunari-parcelamento .woocommerce-Price-amount {
	white-space: nowrap !important;
}
.llff-shop-layout .llff-installment-card-label,
.llff-account-favorites .llff-installment-card-label {
	display: block;
	width: 100%;
	margin-top: 1px;
	text-align: center;
}
