/* Components: one block per Figma component. Radius 0 everywhere except circles. */

.lr-flip {
	transform: scaleX(-1);
}

/* ---------- Buttons: Primary / Secondary / Ghost / WhatsApp ---------- */
.lr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--lr-space-sm);
	min-height: var(--lr-btn-h);
	padding: 0 32px;
	border: 1px solid transparent;
	border-radius: 0;
	font-family: var(--lr-font-ar);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: var(--lr-lh-label);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.25s var(--lr-ease), color 0.25s var(--lr-ease), border-color 0.25s var(--lr-ease), transform 0.25s var(--lr-ease);
}

.lr-btn .lr-icon {
	flex: none;
}

/* Primary = gold on any background, crimson text. */
.lr-btn--primary {
	background: var(--lr-gold-500);
	border-color: var(--lr-gold-500);
	color: var(--lr-text-on-accent);
}

.lr-btn--primary:hover {
	background: var(--lr-gold-300);
	border-color: var(--lr-gold-300);
	color: var(--lr-text-on-accent);
	transform: translateY(-2px);
}

/* Secondary = gold outline, accent text. */
.lr-btn--secondary {
	background: transparent;
	border-color: var(--lr-gold-500);
	color: var(--lr-text-accent);
}

.lr-btn--secondary:hover {
	background: var(--lr-gold-500);
	color: var(--lr-text-on-accent);
}

/* Ghost = text + arrow. */
.lr-btn--ghost {
	min-height: 0;
	padding: 4px 0;
	color: var(--lr-text-accent);
	font-weight: 500;
}

.lr-btn--ghost .lr-icon {
	transition: transform 0.25s var(--lr-ease);
}

a:hover > .lr-btn--ghost .lr-icon,
.lr-btn--ghost:hover .lr-icon {
	transform: translateX(-4px);
}

.lr-btn--ghost:hover {
	color: var(--lr-text-brand);
}

/* WhatsApp = green. */
.lr-btn--whatsapp {
	background: var(--lr-green-wa);
	border-color: var(--lr-green-wa);
	color: #fff;
}

.lr-btn--whatsapp:hover {
	background: #1fb857;
	border-color: #1fb857;
	color: #fff;
}

.lr-btn--block {
	width: 100%;
}

.lr-btn[disabled],
.lr-btn.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.lr-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lr-space-md);
}

/* ---------- Crest divider: gold hairlines + crest ---------- */
.lr-crest-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 200px;
	max-width: 100%;
}

.lr-crest-divider i {
	flex: 1;
	height: 1px;
	background: linear-gradient(to left, var(--lr-gold-500), rgba(227, 186, 99, 0));
}

.lr-crest-divider i:last-child {
	background: linear-gradient(to right, var(--lr-gold-500), rgba(227, 186, 99, 0));
}

.lr-crest-divider img {
	flex: none;
	width: auto;
	height: 28px;
}

/* ---------- Section heading ---------- */
.lr-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--lr-space-md);
	max-width: 720px;
}

.lr-heading--center {
	align-items: center;
	margin-inline: auto;
	text-align: center;
}

.lr-heading__title {
	font-size: var(--lr-fs-h2);
	font-weight: 700;
	line-height: var(--lr-lh-heading);
}

.lr-heading__desc {
	color: var(--lr-text-secondary);
	font-size: var(--lr-fs-body-lg);
}

.lr-on-dark .lr-eyebrow {
	color: var(--lr-gold-500);
}

/* ---------- Gilded frame ---------- */
.lr-frame {
	position: relative;
	display: block;
	padding: 6px;
	border: 1px solid var(--lr-gold-500);
}

.lr-frame__in {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--lr-cream);
}

/* Inner hairline, gold/700 at 35%, 3px from the edge. */
.lr-frame__in::after {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px solid rgba(140, 95, 42, 0.35);
	pointer-events: none;
}

.lr-frame__in > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--lr-ease);
}

.lr-frame__ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--lr-ink-400);
	font-size: 0.8125rem;
}

.lr-frame__ph img {
	width: 72px;
	height: auto;
	opacity: 0.2;
}

.lr-frame--tall .lr-frame__in {
	aspect-ratio: 26 / 34;
}

.lr-frame--thumb {
	padding: 4px;
}

.lr-frame--thumb .lr-frame__in::after {
	inset: 2px;
}

.lr-frame--thumb .lr-frame__ph img {
	width: 56px;
}

.lr-frame--thumb .lr-frame__ph span {
	display: none;
}

/* ---------- Form fields ---------- */
.lr-field {
	display: flex;
	flex-direction: column;
	gap: var(--lr-space-sm);
	min-width: 0;
}

.lr-field label {
	color: var(--lr-text-primary);
	font-size: var(--lr-fs-small);
	font-weight: 500;
}

.lr-field input,
.lr-field select,
.lr-field textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--lr-border-default);
	border-radius: 0;
	background: var(--lr-bg-surface);
	color: var(--lr-text-primary);
	font-size: var(--lr-fs-body);
	line-height: 1.6;
	transition: border-color 0.2s var(--lr-ease);
	appearance: none;
}

.lr-field textarea {
	min-height: 120px;
	resize: vertical;
}

.lr-field select {
	padding-inline-end: 16px;
	padding-inline-start: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238C5F2A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 16px center;
}

.lr-field input::placeholder,
.lr-field textarea::placeholder {
	color: var(--lr-text-tertiary);
	opacity: 1;
}

.lr-field input:focus,
.lr-field select:focus,
.lr-field textarea:focus {
	outline: none;
	border-color: var(--lr-gold-500);
}

.lr-field input[type="tel"] {
	text-align: right;
}

.lr-field__error {
	display: none;
	color: var(--lr-text-error);
	font-size: 0.8125rem;
}

.lr-field.has-error input,
.lr-field.has-error select,
.lr-field.has-error textarea {
	border: 2px solid var(--lr-border-error);
	padding: 11px 15px;
}

.lr-field.has-error .lr-field__error {
	display: block;
}

.lr-form__hp {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.lr-form__alert {
	padding: 12px 16px;
	border: 1px solid var(--lr-border-error);
	color: var(--lr-text-error);
	font-size: var(--lr-fs-small);
}

/* ---------- Icon in a gold ring ---------- */
.lr-icon-ring {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 1px solid var(--lr-gold-500);
	border-radius: 50%;
	color: var(--lr-icon-brand);
}

.lr-on-dark .lr-icon-ring {
	color: var(--lr-gold-500);
}

/* ---------- Piece card ---------- */
.lr-piece-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px;
	border: 1px solid var(--lr-line-200);
	background: var(--lr-white);
	color: var(--lr-text-primary);
	transition: transform 0.4s var(--lr-ease), box-shadow 0.4s var(--lr-ease);
}

.lr-piece-card:hover {
	color: var(--lr-text-primary);
	transform: translateY(-4px);
	box-shadow: var(--lr-shadow-sm);
}

.lr-piece-card:hover .lr-frame__in > img,
.lr-cat-card:hover .lr-frame__in > img {
	transform: scale(1.04);
}

.lr-piece-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 16px 0 8px;
}

.lr-piece-card__cat {
	color: var(--lr-text-accent);
	font-size: var(--lr-fs-small);
	font-weight: 500;
	line-height: var(--lr-lh-small);
}

.lr-piece-card__title {
	margin-bottom: 8px;
	font-family: var(--lr-font-heading);
	font-size: var(--lr-fs-h4);
	font-weight: 700;
	line-height: var(--lr-lh-h4);
}

.lr-piece-card .lr-btn--ghost {
	margin-top: auto;
}

/* ---------- Category card ---------- */
.lr-cat-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	color: var(--lr-text-primary);
}

.lr-cat-card:hover {
	color: var(--lr-text-primary);
}

.lr-cat-card .lr-frame {
	width: 100%;
	margin-bottom: 8px;
}

.lr-cat-card .lr-frame__in {
	aspect-ratio: 3 / 4;
}

.lr-cat-card__title {
	font-family: var(--lr-font-heading);
	font-size: var(--lr-fs-h3);
	font-weight: 700;
	line-height: var(--lr-lh-h3);
}

/* ---------- Feature item ---------- */
.lr-feature {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--lr-space-md);
}

.lr-feature__title {
	font-size: var(--lr-fs-h4);
	line-height: var(--lr-lh-h4);
}

.lr-feature__desc {
	color: var(--lr-text-secondary);
}

.lr-features--boxed .lr-feature {
	padding: 32px;
	background: var(--lr-bg-page);
	transition: transform 0.4s var(--lr-ease), box-shadow 0.4s var(--lr-ease);
}

.lr-section--muted .lr-features--boxed .lr-feature {
	background: var(--lr-ivory);
}

.lr-features--boxed .lr-feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--lr-shadow-sm);
}

/* ---------- Filter tabs ---------- */
.lr-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 48px;
}

.lr-tab {
	padding: 12px 24px;
	border-bottom: 1px solid var(--lr-gold-500);
	color: var(--lr-text-secondary);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: var(--lr-lh-label);
}

.lr-tab:hover {
	color: var(--lr-text-brand);
}

.lr-tab.is-active {
	border-bottom-width: 2px;
	color: var(--lr-text-brand);
}

@media (max-width: 767px) {
	.lr-tabs {
		flex-wrap: nowrap;
		gap: 12px;
		margin-bottom: 32px;
		margin-inline: calc(var(--lr-gutter) * -1);
		padding-inline: var(--lr-gutter);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.lr-tabs::-webkit-scrollbar {
		display: none;
	}

	.lr-tab {
		flex: none;
		padding: 12px 16px;
	}
}

/* ---------- Spec rows ---------- */
.lr-specs {
	margin: 0;
}

.lr-specs__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 0;
	border-bottom: 1px solid var(--lr-line-200);
}

.lr-specs dt {
	color: var(--lr-text-secondary);
	font-size: var(--lr-fs-body);
}

.lr-specs dd {
	margin: 0;
	font-weight: 500;
	text-align: start;
}

/* ---------- Contact list ---------- */
.lr-contact-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.lr-contact-list li {
	display: flex;
	align-items: center;
	gap: 16px;
}

.lr-icon-ring {
	width: 48px;
	height: 48px;
}

.lr-contact-list__text {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.lr-contact-list small {
	color: var(--lr-text-tertiary);
	font-size: var(--lr-fs-small);
}

.lr-contact-list strong {
	font-weight: 600;
}

.lr-contact-list a:hover strong {
	color: var(--lr-text-brand);
}

.lr-feature .lr-icon-ring {
	width: 56px;
	height: 56px;
}

/* ---------- Pagination ---------- */
.lr-pagination {
	margin-top: 64px;
}

.lr-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.lr-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 8px;
	border: 1px solid var(--lr-line-200);
	font-weight: 500;
}

.lr-pagination a.page-numbers:hover {
	border-color: var(--lr-gold-500);
}

.lr-pagination .page-numbers.current {
	border-color: var(--lr-crimson-700);
	background: var(--lr-crimson-700);
	color: var(--lr-ivory);
}

.lr-pagination .page-numbers.dots {
	border-color: transparent;
}

/* ---------- Floating WhatsApp (bottom-left) ---------- */
.lr-fab {
	position: fixed;
	inset-inline-end: auto;
	left: 32px;
	bottom: 24px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--lr-green-wa);
	color: #fff;
	box-shadow: var(--lr-shadow-fab);
	transition: transform 0.25s var(--lr-ease);
}

.lr-fab:hover {
	color: #fff;
	transform: translateY(-3px);
}

@media (max-width: 767px) {
	.lr-fab {
		left: 16px;
		bottom: 20px;
	}
}

/* ---------- Form success ---------- */
.lr-form-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 48px 32px;
	text-align: center;
}

.lr-form-success__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 1.5px solid var(--lr-icon-success);
	border-radius: 50%;
	color: var(--lr-icon-success);
}

.lr-form-success p {
	max-width: 400px;
	color: var(--lr-text-secondary);
}

/* ---------- Social icons (round, gold outline) ---------- */
.lr-social {
	display: flex;
	gap: 12px;
}

.lr-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--lr-line-dark);
	border-radius: 50%;
	color: var(--lr-gold-500);
	transition: border-color 0.2s var(--lr-ease), background-color 0.2s var(--lr-ease);
}

.lr-social a:hover {
	border-color: var(--lr-gold-500);
	color: var(--lr-gold-500);
}

/* ---------- Search form / result rows ---------- */
.lr-search {
	display: flex;
	margin-bottom: 40px;
}

.lr-search input {
	flex: 1;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--lr-line-200);
	background: var(--lr-white);
}

.lr-search button {
	width: 56px;
	border: 0;
	background: var(--lr-gold-500);
	color: var(--lr-crimson-950);
}

.lr-result {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px 0;
	border-bottom: 1px solid var(--lr-line-200);
}

.lr-result__title {
	font-family: var(--lr-font-heading);
	font-size: var(--lr-fs-h3);
	font-weight: 700;
}

.lr-result__excerpt {
	color: var(--lr-text-secondary);
}

/* ---------- Map ---------- */
.lr-map {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 1px solid var(--lr-line-200);
	background: var(--lr-cream);
}

.lr-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.lr-map__ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: var(--lr-text-secondary);
}

.lr-map__ph .lr-icon {
	color: var(--lr-crimson-700);
	stroke-width: 1;
}

/* ---------- Watermark crest (On Dark sections) ---------- */
.lr-watermark {
	position: absolute;
	inset-inline-end: auto;
	left: 48px;
	top: 50%;
	width: 280px;
	height: auto;
	max-width: none;
	opacity: 0.1;
	transform: translateY(-50%);
	pointer-events: none;
	user-select: none;
}
