/* Facigoo — product archive (boutique) styles (split from facigoo.css). */
/* ---------------------------------------------------------------------------
 * Product archive / boutique (produtarchive frame)
 * ------------------------------------------------------------------------- */
.fg-archive {
	background: var(--white);
	color: var(--text-body);
}

/* --- 1. Page title --- */
.fg-page-title {
	background: var(--white);
	padding: 64px 0;
}

.fg-page-title-inner,
.fg-catalog-inner,
.fg-tech-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

@media (min-width: 1201px) {
	.fg-page-title-inner,
	.fg-catalog-inner,
	.fg-tech-inner {
		padding-left: 0;
		padding-right: 0;
	}
}

.fg-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 24px;
}

.fg-breadcrumbs a {
	font-size: 12px;
	color: var(--text-body);
	text-decoration: none;
	transition: color 0.2s ease;
}

.fg-breadcrumbs a:hover {
	color: var(--brand-green);
}

.fg-breadcrumb-sep {
	font-size: 12px;
	color: var(--line);
}

.fg-breadcrumb-current {
	font-size: 12px;
	font-weight: 700;
	color: var(--ink-strong);
}

.fg-arch-h1 {
	font-size: 44px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -1.1px;
	color: var(--ink);
	margin: 0 0 24px;
}

.fg-arch-sub {
	font-size: 16px;
	line-height: 1.625;
	color: var(--text-body);
	max-width: 672px;
	margin: 0 0 24px;
}

.fg-arch-stats {
	display: flex;
	align-items: center;
	gap: 40px;
	padding-top: 24px;
}

.fg-arch-stat {
	font-size: 12px;
	font-weight: 700;
	color: var(--ink-strong);
	white-space: nowrap;
}

.fg-arch-stat-divider {
	width: 1px;
	height: 24px;
	background: var(--line);
	flex-shrink: 0;
}

/* --- 2. Catalog --- */
.fg-catalog {
	padding: 40px 0;
}

.fg-catalog-inner {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* Aside / filters */
.fg-aside {
	flex: 0 0 280px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.fg-filter-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fg-filter-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink-strong);
	margin: 0;
}

.fg-filter-reset {
	font-size: 11px;
	font-weight: 700;
	color: var(--brand-green);
	text-decoration: none;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	transition: color 0.2s ease;
}

.fg-filter-reset:hover {
	color: var(--brand-accent);
}

.fg-filter-card {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fg-filter-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--ink-strong);
	text-transform: uppercase;
	margin: 0;
}

.fg-radio-row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: var(--ink-strong);
	text-decoration: none;
	background: none !important;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	transition: color 0.2s ease;
}

.fg-radio-row:hover,
.fg-radio-row:focus,
.fg-radio-row:active {
	color: var(--brand-green);
	background: none !important;
	box-shadow: none;
}

.fg-radio-row:hover .fg-radio,
.fg-radio-row:focus .fg-radio {
	border-color: var(--brand-green);
	background: transparent;
}

.fg-radio-row:active .fg-radio {
	background: var(--brand-green);
	border-color: var(--brand-green);
}

.fg-radio {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1.5px solid var(--brand-green);
	background: transparent;
	box-sizing: border-box;
	flex-shrink: 0;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.fg-radio-row:hover .fg-radio,
.fg-radio-row:focus .fg-radio {
	border-color: var(--brand-green);
	background: transparent;
}

.fg-radio-on,
.fg-radio-row:hover .fg-radio-on,
.fg-radio-row:focus .fg-radio-on,
.fg-radio-row:active .fg-radio-on {
	background: var(--brand-green);
	border-color: var(--brand-green);
}

.fg-radio-active {
	font-weight: 700;
	color: var(--brand-green);
}

.fg-range-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--brand-green);
	margin: 0;
}

.fg-range-track {
	position: relative;
	height: 4px;
	border-radius: 2px;
	background: var(--line-green);
}

.fg-range-fill {
	position: absolute;
	left: 0;
	top: 0;
	width: 65%;
	height: 4px;
	border-radius: 2px;
	background: var(--brand-green);
}

.fg-range-labels {
	display: flex;
	justify-content: space-between;
}

.fg-range-labels span {
	font-size: 10px;
	color: var(--text-body);
}

.fg-range-input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(to right, var(--brand-green) 65%, var(--line-green) 65%);
	outline: none;
	margin: 8px 0 4px;
	cursor: pointer;
}

.fg-range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--brand-green);
	border: 2px solid var(--white);
	box-shadow: 0 0 0 1px var(--brand-green);
	cursor: pointer;
}

.fg-range-input::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--brand-green);
	border: 2px solid var(--white);
	box-shadow: 0 0 0 1px var(--brand-green);
	cursor: pointer;
}

.fg-range-input::-moz-range-track {
	background: transparent;
}

.fg-range-input:focus-visible {
	outline: 2px solid var(--brand-orange);
	outline-offset: 2px;
}

.fg-range-btns {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fg-range-btn {
	border: 1px solid var(--brand-green);
	background: var(--white);
	color: var(--brand-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 10px 0;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}

.fg-range-btn:hover,
.fg-range-btn:focus,
.fg-range-btn:active,
.fg-range-btn-active {
	background: var(--brand-green);
	border-color: var(--brand-green);
	color: var(--white);
}

.fg-oem {
	background: var(--brand-green);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fg-oem-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--white);
	text-transform: uppercase;
	margin: 0;
}

.fg-oem-text {
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.81);
	margin: 0;
}

.fg-oem-btn {
	border: 1px solid var(--white);
	color: var(--white);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 12px 0;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.fg-oem-btn:hover,
.fg-oem-btn:focus,
.fg-oem-btn:active {
	background: var(--white);
	color: var(--brand-green);
}

/* Main column */
.fg-arch-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.fg-arch-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.fg-sort {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fg-sort-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--text-body);
}

.fg-sort-value {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--brand-green);
}

.fg-arch-count {
	font-size: 12px;
	color: var(--text-body);
}

.fg-arch-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.fg-arch-card {
	border: 1px solid var(--line);
	background: var(--white);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fg-arch-card:hover {
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
	transform: translateY(-3px);
}

.fg-arch-media {
	display: block;
	height: 250px;
	background: var(--surface-mist);
	overflow: hidden;
}

.fg-arch-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fg-arch-img {
	display: block;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.fg-arch-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
}

.fg-arch-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	color: var(--ink-strong);
	margin: 0;
	max-height: 20px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.fg-arch-name a {
	color: inherit;
	text-decoration: none;
}

.fg-arch-name a:hover {
	color: var(--brand-green);
}

.fg-arch-specs {
	border-top: 1px solid var(--line);
	padding: 16px 0 4px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fg-arch-spec {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fg-arch-spec-label {
	font-size: 12px;
	letter-spacing: 0.3px;
	color: var(--text-body);
}

.fg-arch-spec-value {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: var(--ink-strong);
}

.fg-arch-price {
	border-top: 1px solid var(--line);
	padding-top: 14px;
	font-size: 20px;
	font-weight: 800;
	color: var(--brand-green);
}

.fg-arch-price .woocommerce-Price-amount {
	color: var(--brand-green);
}

.fg-arch-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.fg-arch-pagination-info {
	font-size: 12px;
	color: var(--text-body);
}

.fg-pager {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fg-pager .page-numbers {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.fg-page-btn,
.fg-pager .page-numbers li > * {
	min-width: 36px;
	height: 36px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink-strong);
	font-size: 14px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: all 0.2s ease;
	padding: 0 4px;
}

.fg-page-btn svg,
.fg-pager .page-numbers li > * svg {
	display: block;
	flex-shrink: 0;
}

.fg-page-btn:hover,
.fg-pager .page-numbers li > *:hover {
	background: var(--brand-green);
	border-color: var(--brand-green);
	color: var(--white);
}

.fg-page-btn-current,
.fg-pager .page-numbers li > .current {
	background: var(--brand-green);
	border-color: var(--brand-green);
	color: var(--white);
}

.fg-page-btn-current:hover,
.fg-pager .page-numbers li > .current:hover {
	color: var(--white);
}

.fg-page-btn-disabled {
	opacity: 0.4;
	pointer-events: none;
	cursor: default;
}

/* --- 3. Technical assistance --- */
.fg-tech {
	background: var(--white);
	padding: 80px 0;
}

.fg-tech-inner {
	display: flex;
	gap: 64px;
	align-items: flex-start;
}

.fg-tech-left {
	flex: 0 0 560px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.fg-tech-kicker {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--brand-orange);
	margin: 0;
}

.fg-tech-h2 {
	font-size: 44px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -1.5px;
	color: var(--ink);
	margin: 0;
}

.fg-tech-text {
	font-size: 16px;
	line-height: 1.625;
	color: var(--text-body);
	margin: 0;
}

.fg-tech-features {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 8px;
}

.fg-tech-feature {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.fg-tech-icon {
	color: var(--brand-green);
	flex-shrink: 0;
}

.fg-tech-feature-texts {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fg-tech-feature-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--ink-strong);
	margin: 0;
}

.fg-tech-feature-text {
	font-size: 12px;
	line-height: 1.5;
	color: var(--text-body);
	margin: 0;
}

.fg-tech-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 8px;
}

.fg-tech-actions .fg-btn {
	box-sizing: border-box;
}

.fg-tech-media {
	flex: 1;
	height: 400px;
	background: var(--surface-mist);
	border: 1px solid var(--line-green);
	overflow: hidden;
}

.fg-tech-media-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

/* --- Archive responsive --- */
@media (max-width: 1023px) {
	.fg-catalog-inner {
		flex-direction: column;
	}
	.fg-aside {
		flex: none;
		width: 100%;
	}
	.fg-arch-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.fg-tech-inner {
		flex-direction: column;
	}
	.fg-tech-left {
		flex: none;
		width: 100%;
	}
	.fg-tech-media {
		flex: none;
		width: 100%;
		height: 300px;
	}
}

@media (max-width: 639px) {
	.fg-arch-h1 {
		font-size: 32px;
	}
	.fg-tech-h2 {
		font-size: 32px;
	}
	.fg-arch-grid {
		grid-template-columns: 1fr;
	}
	.fg-arch-stats {
		flex-wrap: wrap;
		gap: 16px;
	}
	.fg-arch-pagination {
		flex-direction: column;
		align-items: flex-start;
	}
	.fg-page-title {
		padding: 40px 0;
	}
	.fg-tech {
		padding: 48px 0;
	}
	.fg-arch-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}
}

