/* Blank page shell (no theme chrome) */
html body.vrh-oh-blank,
body.vrh-oh-blank {
	margin: 0 !important;
	min-height: 100vh !important;
	background: #004a59 !important;
	color: #ffffff !important;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.vrh-oh-blank #wpadminbar {
	position: fixed;
}

.vrh-oh-blank__main {
	box-sizing: border-box;
	min-height: 100vh;
	padding: 1.5rem 1rem 3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.vrh-oh-blank__header {
	width: 100%;
	max-width: 44rem;
	margin: 0 0 1.25rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
}

.vrh-oh-blank__header.is-wide,
.vrh-oh-blank__article.is-wide {
	max-width: 72rem;
}

body.vrh-oh-blank--sale .vrh-oh-blank__header,
body.vrh-oh-blank--sale .vrh-oh-blank__article {
	max-width: 72rem;
}

.vrh-oh-blank__lang {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	font-size: 0.85rem;
	font-weight: 700;
}

.vrh-oh-blank__lang-link {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
}

.vrh-oh-blank__lang-link:hover {
	color: #ffffff;
}

.vrh-oh-blank__lang-link.is-active {
	color: #004a59;
	background: #ffe15a;
}

.vrh-oh-blank__lang-sep {
	color: rgba(255, 255, 255, 0.35);
}

.vrh-oh-blank__logo {
	display: block;
	max-width: 160px;
	max-height: 72px;
	width: auto;
	height: auto;
}

.vrh-oh-blank__logo-text {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #ffffff;
}

.vrh-oh-blank__article {
	width: 100%;
	max-width: 44rem;
}

body.vrh-oh-blank .vrh-oh--sale,
body.vrh-oh-blank .vrh-oh--sale + .vrh-oh-blank__article,
body.vrh-oh-blank:has(.vrh-oh--sale) .vrh-oh-blank__article,
body.vrh-oh-blank:has(.vrh-oh--sale) .vrh-oh-blank__header {
	max-width: 72rem;
}

body.vrh-oh-blank .vrh-oh {
	margin: 0 auto;
}

body.vrh-oh-blank .vrh-oh--sale {
	max-width: 72rem;
	width: 100%;
}

/* Hide leftover cart / theme widgets if still injected */
body.vrh-oh-blank .woo-slide-cart,
body.vrh-oh-blank .rscs-cart,
body.vrh-oh-blank #rscs-cart,
body.vrh-oh-blank .slide-cart,
body.vrh-oh-blank .et-cart-info,
body.vrh-oh-blank .et_pb_section:not(.vrh-oh-blank__main) {
	display: none !important;
}

/* Arabic / RTL */
body.vrh-oh-rtl,
body.vrh-oh-lang-ar,
.vrh-oh[data-lang="ar"] {
	font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

body.vrh-oh-rtl .vrh-oh__shell,
.vrh-oh[data-lang="ar"] .vrh-oh__shell {
	text-align: right;
}

body.vrh-oh-rtl .vrh-oh__check,
.vrh-oh[data-lang="ar"] .vrh-oh__check {
	flex-direction: row-reverse;
}

body.vrh-oh-rtl .vrh-oh__actions,
.vrh-oh[data-lang="ar"] .vrh-oh__actions {
	text-align: right;
}

body.vrh-oh-rtl .vrh-oh__field select,
.vrh-oh[data-lang="ar"] .vrh-oh__field select {
	padding-right: 0.85rem;
	padding-left: 2.5rem;
	background-position: left 0.85rem center !important;
}

/* Owner headset — high-contrast card */
.vrh-oh {
	--vrh-oh-primary: #007b93;
	--vrh-oh-dark: #004a59;
	--vrh-oh-accent: #ffe15a;
	--vrh-oh-text: #102830;
	--vrh-oh-muted: #3d5a63;
	--vrh-oh-border: #c8dbe1;
	--vrh-oh-input: #ffffff;
	--vrh-oh-shell: #ffffff;
	box-sizing: border-box;
	width: 100%;
	max-width: 44rem;
	margin: 1.5rem auto 2.5rem;
	padding: 0 1rem;
	color: var(--vrh-oh-text) !important;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.45;
}

.vrh-oh *,
.vrh-oh *::before,
.vrh-oh *::after {
	box-sizing: border-box;
}

.vrh-oh__shell {
	background: var(--vrh-oh-shell);
	color: var(--vrh-oh-text);
	border: 1px solid rgba(0, 74, 89, 0.12);
	border-radius: 18px;
	padding: 1.75rem 1.5rem 1.85rem;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.vrh-oh__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vrh-oh-primary) !important;
}

.vrh-oh__heading,
.vrh-oh h2.vrh-oh__heading,
.vrh-oh .vrh-oh__heading {
	margin: 0 0 0.55rem;
	font-size: clamp(1.45rem, 3.5vw, 1.9rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--vrh-oh-dark) !important;
}

.vrh-oh__lead,
.vrh-oh__note,
.vrh-oh__hint,
.vrh-oh__empty {
	margin: 0 0 1.15rem;
	color: var(--vrh-oh-muted) !important;
	font-size: 1rem;
}

.vrh-oh__section {
	margin: 0 0 1.35rem;
	padding: 1.1rem 1rem 0.35rem;
	border-radius: 12px;
	background: #f3f8f9;
	border: 1px solid var(--vrh-oh-border);
}

.vrh-oh__section-title {
	margin: 0 0 0.85rem;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--vrh-oh-dark) !important;
}

.vrh-oh__grid-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1rem;
	align-items: start;
}

.vrh-oh__field {
	margin: 0 0 0.85rem;
	display: grid;
	gap: 0.35rem;
	align-content: start;
}

/* Keep side-by-side fields aligned when one label wraps (e.g. Best way to contact you) */
.vrh-oh__grid-fields > .vrh-oh__field > label {
	min-height: 2.6em;
	display: flex;
	align-items: flex-end;
}

.vrh-oh__field--full {
	grid-column: 1 / -1;
}

.vrh-oh__field label,
.vrh-oh__field legend,
.vrh-oh__offers legend {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--vrh-oh-text) !important;
}

.vrh-oh__field input[type="text"],
.vrh-oh__field input[type="tel"],
.vrh-oh__field input[type="email"],
.vrh-oh__field input[type="number"],
.vrh-oh__field select,
.vrh-oh__field textarea {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	border: 1px solid #9fb6bd;
	border-radius: 10px;
	background: var(--vrh-oh-input) !important;
	color: var(--vrh-oh-text) !important;
	font: inherit;
	font-size: 1rem;
	line-height: 1.25;
	box-shadow: none;
	margin: 0;
	vertical-align: top;
}

.vrh-oh__field input[type="text"],
.vrh-oh__field input[type="tel"],
.vrh-oh__field input[type="email"],
.vrh-oh__field input[type="number"],
.vrh-oh__field select {
	height: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.85rem;
}

/* Custom chevron — same height as text inputs, arrow inset from edge */
.vrh-oh__field select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 2.5rem;
	background-color: var(--vrh-oh-input) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23004a59' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.85rem center !important;
	background-size: 12px 8px !important;
	cursor: pointer;
}

.vrh-oh__field select::-ms-expand {
	display: none;
}

.vrh-oh__field textarea {
	height: auto;
	min-height: 6rem;
	padding: 0.7rem 0.85rem;
	resize: vertical;
}


.vrh-oh__field input:focus,
.vrh-oh__field select:focus,
.vrh-oh__field textarea:focus {
	outline: 2px solid rgba(0, 123, 147, 0.35);
	border-color: var(--vrh-oh-primary);
}

.vrh-oh__offers {
	margin: 0.25rem 0 0.9rem;
	padding: 0;
	border: 0;
}

.vrh-oh__check {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0.45rem 0;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--vrh-oh-border);
	font-weight: 600;
	color: var(--vrh-oh-text) !important;
	cursor: pointer;
}

.vrh-oh__check input {
	margin-top: 0.2rem;
	accent-color: var(--vrh-oh-primary);
}

.vrh-oh__btn {
	appearance: none;
	display: inline-block;
	border: 0;
	border-radius: 999px;
	padding: 0.8rem 1.45rem;
	background: var(--vrh-oh-primary);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 1rem;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.vrh-oh__btn:hover {
	background: var(--vrh-oh-dark);
	color: #fff !important;
	transform: translateY(-1px);
}

.vrh-oh__btn:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.vrh-oh__actions {
	margin: 0.25rem 0 0;
}

.vrh-oh__thanks {
	padding: 0.35rem 0 0.5rem;
}

.vrh-oh__thanks .vrh-oh__section-title {
	color: #067647 !important;
}

.vrh-oh__msg {
	min-height: 1.35rem;
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.vrh-oh__msg.is-error {
	color: #b42318 !important;
}

.vrh-oh__msg.is-success {
	color: #067647 !important;
}

.vrh-oh__sell-fields[hidden],
.vrh-oh__inquire[hidden],
.vrh-oh__photos-optional[hidden] {
	display: none !important;
}

.vrh-oh__hint {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.85rem;
}

.vrh-oh__shell--wide {
	max-width: none;
	width: 100%;
}

.vrh-oh.vrh-oh--sale {
	max-width: 72rem;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.vrh-oh__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.1rem;
	margin-top: 1rem;
}

.vrh-oh__grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
}

.vrh-oh__card {
	border: 1px solid var(--vrh-oh-border);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 74, 89, 0.08);
	display: flex;
	flex-direction: column;
	color: var(--vrh-oh-text);
}

.vrh-oh__card--listing .vrh-oh__card-body {
	gap: 0.35rem;
}

.vrh-oh__card-media {
	aspect-ratio: 4 / 3;
	background: #e8f1f3;
	overflow: hidden;
}

.vrh-oh__card-media--empty {
	background: linear-gradient(135deg, #d7e8ec, #eef5f7);
}

.vrh-oh__card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vrh-oh__card-body {
	padding: 1rem 1.05rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.vrh-oh__card-title {
	margin: 0;
	font-size: 1.05rem;
	color: var(--vrh-oh-dark) !important;
}

.vrh-oh__card-owner {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--vrh-oh-muted) !important;
}

.vrh-oh__card-price-row,
.vrh-oh__card-detail-price-row {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.55rem;
}

.vrh-oh__card-price,
.vrh-oh__card-detail-price {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--vrh-oh-primary) !important;
}

.vrh-oh__card-price-type {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0.12rem 0.45rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	background: #f3f0e1;
	color: #7a6200 !important;
}

.vrh-oh__card-price-type--final {
	background: #e5f5ee;
	color: #0f6b4c !important;
}

.vrh-oh__card-price-type--negotiable {
	background: #f3f0e1;
	color: #7a6200 !important;
}

.vrh-oh__price-type {
	border: 0;
	margin: 0;
	padding: 0;
}

.vrh-oh__price-type legend {
	margin-bottom: 0.4rem;
	font-weight: 700;
	color: var(--vrh-oh-dark);
}

.vrh-oh__card--listing {
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vrh-oh__card--listing:hover,
.vrh-oh__card--listing:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 74, 89, 0.14);
	outline: none;
}

.vrh-oh__btn--ghost {
	background: transparent;
	color: var(--vrh-oh-primary) !important;
	border: 1px solid var(--vrh-oh-primary);
	width: 100%;
	text-align: center;
}

.vrh-oh__btn--ghost:hover {
	background: rgba(0, 123, 147, 0.08);
	color: var(--vrh-oh-dark) !important;
}

.vrh-oh__card-phone {
	margin: 0.15rem 0 0;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	background: #eef7f9;
	border: 1px solid var(--vrh-oh-border);
	font-weight: 800;
	font-size: 1.05rem;
	text-align: center;
	color: var(--vrh-oh-dark) !important;
}

.vrh-oh__card-phone[hidden] {
	display: none !important;
}

.vrh-oh__phone-link {
	color: var(--vrh-oh-primary) !important;
	text-decoration: none;
	font-weight: 800;
}

.vrh-oh__phone-link:hover {
	text-decoration: underline;
}

.vrh-oh__card-cond,
.vrh-oh__card-desc {
	margin: 0;
	font-size: 0.92rem;
	color: var(--vrh-oh-muted) !important;
}

.vrh-oh__card-desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-height: 2.7em;
	line-height: 1.35;
}

.vrh-oh__card-detail[hidden] {
	display: none !important;
}

body.vrh-oh-modal-open {
	overflow: hidden;
}

.vrh-oh__modal {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.vrh-oh__modal[hidden] {
	display: none !important;
}

.vrh-oh__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 30, 38, 0.62);
}

.vrh-oh__modal-dialog {
	position: relative;
	z-index: 1;
	width: min(34rem, 100%);
	max-height: min(88vh, 44rem);
	overflow: auto;
	background: #fff;
	color: var(--vrh-oh-text);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	padding: 1.25rem 1.25rem 1.4rem;
}

.vrh-oh__modal-close {
	position: absolute;
	top: 0.55rem;
	inset-inline-end: 0.55rem;
	width: 2.2rem;
	height: 2.2rem;
	border: 0;
	border-radius: 999px;
	background: #eef5f7;
	color: var(--vrh-oh-dark);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.vrh-oh__modal-close:hover {
	background: #dceaf0;
}

.vrh-oh__modal-body .vrh-oh__card-detail-media {
	margin: 0 0 0.9rem;
	border-radius: 12px;
	overflow: hidden;
	background: #e8f1f3;
	aspect-ratio: 4 / 3;
}

.vrh-oh__modal-body .vrh-oh__card-detail-media img,
.vrh-oh__modal-body .vrh-oh__card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vrh-oh__modal-body .vrh-oh__card-detail-title {
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
	color: var(--vrh-oh-dark) !important;
	padding-inline-end: 2rem;
}

.vrh-oh__modal-body .vrh-oh__card-detail-owner {
	margin: 0 0 0.2rem;
	color: var(--vrh-oh-muted) !important;
	font-size: 0.95rem;
}

.vrh-oh__modal-body .vrh-oh__card-detail-price-row {
	margin: 0 0 0.75rem;
}

.vrh-oh__modal-body .vrh-oh__card-detail-price {
	font-size: 1.2rem;
}

.vrh-oh__modal-body .vrh-oh__card-detail-desc {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--vrh-oh-text) !important;
	white-space: pre-wrap;
}

@media (max-width: 1100px) {
	.vrh-oh__grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.vrh-oh__grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.vrh-oh__grid--4 {
		grid-template-columns: 1fr;
	}
}

.vrh-oh__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.vrh-oh__thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--vrh-oh-border);
}

.vrh-oh__inquire {
	margin-top: 0.65rem;
	padding: 0.85rem;
	border-radius: 10px;
	background: #f3f8f9;
	border: 1px solid var(--vrh-oh-border);
}

@media (max-width: 640px) {
	.vrh-oh__shell {
		padding: 1.25rem 1rem 1.4rem;
	}

	.vrh-oh__grid-fields {
		grid-template-columns: 1fr;
	}
}

/* Beat Divi / theme link & heading color inheritance inside our card */
.vrh-oh a {
	color: var(--vrh-oh-primary);
}
.vrh-oh p,
.vrh-oh span,
.vrh-oh label,
.vrh-oh li {
	color: inherit;
}

/* Hide theme page title that clashes with dark Divi header */
body.vrh-oh-page .entry-title,
body.vrh-oh-page h1.page-title,
body.vrh-oh-page .et_pb_title_container,
body.vrh-oh-page .et_pb_post_title,
body.vrh-oh-page .et_main_title,
body.vrh-oh-page article > .entry-title,
body.vrh-oh-page .post-content > h1:first-child {
	display: none !important;
}

body.vrh-oh-page #main-content,
body.vrh-oh-page .container,
body.vrh-oh-page .et_pb_section,
body.vrh-oh-page .et_pb_row,
body.vrh-oh-page .et_pb_column {
	overflow: visible;
}

body.vrh-oh-page #main-content {
	padding-top: 1.25rem;
}
