/**
 * Globex Horizon Buy Sell Business Portal — frontend styles.
 *
 * Visual layout follows a typical M&A / business-for-sale marketplace pattern
 * (filter sidebar + listing cards + key-facts detail panel with a sticky
 * contact box), themed in the Globex Horizon palette: navy #0b1929 / gold #c49a3c.
 */

.gxp-wrap {
	--gxp-navy: #0b1929;
	--gxp-navy-2: #12263f;
	--gxp-navy-3: #1c3a5e;
	--gxp-gold: #c49a3c;
	--gxp-gold-2: #d8b25a;
	--gxp-ink: #1f2a37;
	--gxp-muted: #64748b;
	--gxp-line: #e3e8ef;
	--gxp-bg: #f5f7fa;
	--gxp-card: #ffffff;
	--gxp-radius: 10px;
	--gxp-shadow: 0 1px 3px rgba(11, 25, 41, .08), 0 8px 24px rgba(11, 25, 41, .06);

	color: var(--gxp-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.55;
	box-sizing: border-box;
}

.gxp-wrap *,
.gxp-wrap *::before,
.gxp-wrap *::after {
	box-sizing: border-box;
}

/* ---------- Buttons ---------- */
.gxp-btn,
.gxp-btn-gold {
	display: inline-block;
	padding: 11px 20px;
	border: 0;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, transform .05s ease, box-shadow .15s ease;
}

.gxp-btn {
	background: var(--gxp-navy);
	color: #fff;
}

.gxp-btn:hover {
	background: var(--gxp-navy-3);
	color: #fff;
}

.gxp-btn-gold {
	background: var(--gxp-gold);
	color: var(--gxp-navy);
}

.gxp-btn-gold:hover {
	background: var(--gxp-gold-2);
	color: var(--gxp-navy);
}

.gxp-btn:active,
.gxp-btn-gold:active {
	transform: translateY(1px);
}

.gxp-btn-block {
	display: block;
	width: 100%;
	text-align: center;
}

.gxp-btn-link {
	background: none;
	border: 0;
	color: var(--gxp-muted);
	font-size: 14px;
	cursor: pointer;
	text-decoration: underline;
	padding: 6px 2px;
}

.gxp-btn-link:hover {
	color: var(--gxp-navy);
}

/* ---------- Marketplace hero ---------- */
.gxp-mp-hero {
	background: linear-gradient(135deg, var(--gxp-navy) 0%, var(--gxp-navy-3) 100%);
	border-radius: var(--gxp-radius);
	padding: 40px 32px;
	margin-bottom: 22px;
	color: #fff;
	border-bottom: 3px solid var(--gxp-gold);
}

.gxp-mp-hero-title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -.01em;
}

.gxp-mp-hero-sub {
	margin: 0;
	font-size: 16px;
	color: rgba(255, 255, 255, .82);
	max-width: 640px;
}

/* ---------- Topbar (search + sort) ---------- */
.gxp-mp-topbar {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.gxp-search {
	display: flex;
	flex: 1 1 420px;
	gap: 8px;
}

.gxp-search input {
	flex: 1;
	padding: 12px 14px;
	border: 1px solid var(--gxp-line);
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
}

.gxp-search input:focus {
	outline: 2px solid var(--gxp-gold);
	border-color: var(--gxp-gold);
}

.gxp-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--gxp-muted);
}

.gxp-sort select,
.gxp-select {
	padding: 10px 12px;
	border: 1px solid var(--gxp-line);
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	color: var(--gxp-ink);
	width: 100%;
}

.gxp-sort select {
	width: auto;
}

/* ---------- Marketplace layout ---------- */
.gxp-mp-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 24px;
	align-items: start;
}

/* ---------- Sidebar / facets ---------- */
.gxp-sidebar {
	background: var(--gxp-card);
	border: 1px solid var(--gxp-line);
	border-radius: var(--gxp-radius);
	box-shadow: var(--gxp-shadow);
	overflow: hidden;
	position: sticky;
	top: 20px;
}

.gxp-sidebar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--gxp-navy);
	color: #fff;
	padding: 14px 18px;
}

.gxp-sidebar-head h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

.gxp-sidebar-toggle {
	display: none;
	background: var(--gxp-gold);
	color: var(--gxp-navy);
	border: 0;
	border-radius: 6px;
	padding: 6px 12px;
	font-weight: 600;
	cursor: pointer;
}

.gxp-sidebar-body {
	padding: 6px 18px 18px;
}

.gxp-facet {
	padding: 16px 0;
	border-bottom: 1px solid var(--gxp-line);
}

.gxp-facet:last-of-type {
	border-bottom: 0;
}

.gxp-facet-title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--gxp-navy);
}

.gxp-type-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gxp-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid var(--gxp-line);
	border-radius: 999px;
	font-size: 13px;
	cursor: pointer;
	user-select: none;
	transition: all .12s ease;
}

.gxp-pill input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.gxp-pill.is-active,
.gxp-pill:hover {
	background: var(--gxp-navy);
	border-color: var(--gxp-navy);
	color: #fff;
}

.gxp-facet-range {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gxp-facet-range input {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid var(--gxp-line);
	border-radius: 8px;
	font-size: 14px;
}

.gxp-range-sep {
	color: var(--gxp-muted);
}

.gxp-facet-actions {
	padding-top: 16px;
	text-align: center;
}

.gxp-facet-actions .gxp-btn {
	margin-bottom: 6px;
}

/* ---------- Results column ---------- */
.gxp-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.gxp-results-count {
	font-size: 14px;
	color: var(--gxp-muted);
	font-weight: 600;
}

.gxp-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ---------- Listing card (list row) ---------- */
.gxp-card {
	display: grid;
	grid-template-columns: 240px 1fr;
	background: var(--gxp-card);
	border: 1px solid var(--gxp-line);
	border-radius: var(--gxp-radius);
	box-shadow: var(--gxp-shadow);
	overflow: hidden;
	transition: box-shadow .15s ease, transform .1s ease;
}

.gxp-card:hover {
	box-shadow: 0 4px 10px rgba(11, 25, 41, .12), 0 18px 40px rgba(11, 25, 41, .1);
	transform: translateY(-2px);
}

.gxp-card-thumb {
	position: relative;
	display: block;
	background: var(--gxp-navy-2);
	min-height: 170px;
	overflow: hidden;
}

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

.gxp-card-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .5);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	background: linear-gradient(135deg, var(--gxp-navy) 0%, var(--gxp-navy-3) 100%);
}

.gxp-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--gxp-gold);
	color: var(--gxp-navy);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 5px 10px;
	border-radius: 6px;
}

.gxp-card-body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
}

.gxp-card-title {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.gxp-card-title a {
	color: var(--gxp-navy);
	text-decoration: none;
}

.gxp-card-title a:hover {
	color: var(--gxp-gold);
}

.gxp-card-sub {
	margin: 0 0 10px;
	font-size: 13.5px;
	color: var(--gxp-muted);
	font-weight: 600;
}

.gxp-card-excerpt {
	margin: 0 0 16px;
	font-size: 14.5px;
	color: #475569;
}

.gxp-card-foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 12px;
	border-top: 1px solid var(--gxp-line);
}

.gxp-keyfact {
	display: flex;
	flex-direction: column;
}

.gxp-keyfact-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--gxp-muted);
	font-weight: 600;
}

.gxp-keyfact-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--gxp-ink);
}

.gxp-price {
	color: var(--gxp-navy);
}

.gxp-card-foot .gxp-card-btn {
	margin-left: auto;
	padding: 9px 16px;
	font-size: 14px;
}

/* ---------- Pagination ---------- */
.gxp-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 24px;
	justify-content: center;
}

.gxp-pagination .page-numbers {
	display: inline-block;
	padding: 9px 14px;
	border: 1px solid var(--gxp-line);
	border-radius: 8px;
	background: #fff;
	color: var(--gxp-navy);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.gxp-pagination .page-numbers.current {
	background: var(--gxp-navy);
	color: #fff;
	border-color: var(--gxp-navy);
}

.gxp-pagination .page-numbers:hover:not(.current) {
	border-color: var(--gxp-gold);
	color: var(--gxp-gold);
}

.gxp-empty {
	background: var(--gxp-card);
	border: 1px dashed var(--gxp-line);
	border-radius: var(--gxp-radius);
	padding: 48px 24px;
	text-align: center;
	color: var(--gxp-muted);
}

/* ============ SINGLE LISTING ============ */
.gxp-single {
	max-width: 1100px;
}

.gxp-breadcrumb {
	font-size: 13px;
	color: var(--gxp-muted);
	margin-bottom: 14px;
}

.gxp-breadcrumb a {
	color: var(--gxp-navy);
	text-decoration: none;
}

.gxp-breadcrumb a:hover {
	color: var(--gxp-gold);
}

.gxp-bc-sep {
	margin: 0 8px;
	color: var(--gxp-line);
}

.gxp-single-head {
	margin-bottom: 18px;
}

.gxp-single-head .gxp-badge {
	position: static;
	display: inline-block;
	margin-bottom: 10px;
}

.gxp-single-title {
	margin: 0 0 6px;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--gxp-navy);
	letter-spacing: -.01em;
}

.gxp-single-sub {
	margin: 0;
	font-size: 15px;
	color: var(--gxp-muted);
	font-weight: 600;
}

/* Key-facts strip */
.gxp-keyfacts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	background: var(--gxp-line);
	border: 1px solid var(--gxp-line);
	border-radius: var(--gxp-radius);
	overflow: hidden;
	margin-bottom: 24px;
}

.gxp-keyfacts .gxp-keyfact {
	background: var(--gxp-card);
	padding: 16px 18px;
}

.gxp-keyfacts .gxp-keyfact.is-primary {
	background: var(--gxp-navy);
}

.gxp-keyfacts .gxp-keyfact.is-primary .gxp-keyfact-label {
	color: rgba(255, 255, 255, .7);
}

.gxp-keyfacts .gxp-keyfact.is-primary .gxp-keyfact-value {
	color: var(--gxp-gold-2);
}

.gxp-keyfacts .gxp-keyfact-value {
	font-size: 18px;
	margin-top: 4px;
}

/* Two-column body */
.gxp-single-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 28px;
	align-items: start;
}

.gxp-section {
	background: var(--gxp-card);
	border: 1px solid var(--gxp-line);
	border-radius: var(--gxp-radius);
	box-shadow: var(--gxp-shadow);
	padding: 24px 26px;
	margin-bottom: 20px;
}

.gxp-section-title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: var(--gxp-navy);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--gxp-gold);
	display: inline-block;
}

.gxp-single-media {
	margin: 0 0 20px;
	border-radius: var(--gxp-radius);
	overflow: hidden;
	box-shadow: var(--gxp-shadow);
}

.gxp-detail-img {
	width: 100%;
	height: auto;
	display: block;
}

.gxp-detail-description {
	font-size: 15.5px;
	color: #334155;
}

.gxp-detail-description p {
	margin: 0 0 1em;
}

/* Definition lists (financials / contact) */
.gxp-detail-list {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(140px, 40%) 1fr;
	gap: 0;
}

.gxp-detail-list dt {
	font-weight: 600;
	color: var(--gxp-muted);
	padding: 11px 0;
	border-bottom: 1px solid var(--gxp-line);
	font-size: 14px;
}

.gxp-detail-list dd {
	margin: 0;
	padding: 11px 0;
	border-bottom: 1px solid var(--gxp-line);
	color: var(--gxp-ink);
	font-weight: 600;
	font-size: 14.5px;
}

.gxp-detail-list dt:last-of-type,
.gxp-detail-list dd:last-of-type {
	border-bottom: 0;
}

/* Sticky contact panel */
.gxp-single-aside {
	position: sticky;
	top: 20px;
}

.gxp-contact-panel {
	background: var(--gxp-card);
	border: 1px solid var(--gxp-line);
	border-top: 3px solid var(--gxp-gold);
	border-radius: var(--gxp-radius);
	box-shadow: var(--gxp-shadow);
	padding: 22px 22px 24px;
}

.gxp-panel-title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 700;
	color: var(--gxp-navy);
}

.gxp-contact-list {
	margin-bottom: 16px;
}

/* Lock states */
.gxp-lock {
	text-align: center;
}

.gxp-lock-icon {
	font-size: 30px;
	display: block;
	margin-bottom: 6px;
}

.gxp-lock-text {
	color: var(--gxp-muted);
	font-size: 14.5px;
	margin: 0 0 16px;
}

.gxp-lock-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

.gxp-contact-panel .gxp-lock-actions {
	flex-direction: column;
}

/* ---------- Forms (register / submit / interest / account) ---------- */
.gxp-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gxp-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--gxp-navy);
	margin-bottom: 4px;
}

.gxp-form input[type="text"],
.gxp-form input[type="email"],
.gxp-form input[type="tel"],
.gxp-form input[type="password"],
.gxp-form input[type="number"],
.gxp-form input[type="url"],
.gxp-form input[type="file"],
.gxp-form select,
.gxp-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--gxp-line);
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
	color: var(--gxp-ink);
}

.gxp-form input:focus,
.gxp-form select:focus,
.gxp-form textarea:focus {
	outline: 2px solid var(--gxp-gold);
	border-color: var(--gxp-gold);
}

.gxp-form textarea {
	min-height: 110px;
	resize: vertical;
}

.gxp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* Generic form/card containers used by shortcodes */
.gxp-panel,
.gxp-form-card {
	background: var(--gxp-card);
	border: 1px solid var(--gxp-line);
	border-radius: var(--gxp-radius);
	box-shadow: var(--gxp-shadow);
	padding: 24px 26px;
	margin-bottom: 20px;
}

/* Notices */
.gxp-notice {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14.5px;
	margin-bottom: 16px;
	border-left: 4px solid var(--gxp-navy);
	background: #eef2f7;
}

.gxp-notice--success {
	border-left-color: #1a7f4b;
	background: #e7f6ee;
}

.gxp-notice--error {
	border-left-color: #c0392b;
	background: #fdecea;
}

.gxp-notice-empty {
	text-align: center;
	color: var(--gxp-muted);
}

/* Account dashboard helpers */
.gxp-account-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.gxp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.gxp-table th,
.gxp-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--gxp-line);
}

.gxp-table th {
	color: var(--gxp-navy);
	font-weight: 700;
	background: #f1f5f9;
}

.gxp-status-pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.gxp-status-approved { background: #e7f6ee; color: #1a7f4b; }
.gxp-status-pending  { background: #fff3da; color: #9a6700; }
.gxp-status-rejected { background: #fdecea; color: #c0392b; }

/* ============ LISTING GALLERY VIEWER ============ */
.gxp-gallery-viewer {
	margin-bottom: 20px;
	border-radius: var(--gxp-radius);
	overflow: hidden;
	box-shadow: var(--gxp-shadow);
	background: var(--gxp-navy-2);
}

.gxp-gallery-main {
	margin: 0;
	display: block;
	background: var(--gxp-navy-2);
	line-height: 0;
}

.gxp-gallery-main-img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	display: block;
	transition: opacity .18s ease;
}

/* Thumbnail strip — only visible on multi-image listings */
.gxp-gallery-strip {
	display: flex;
	gap: 6px;
	padding: 10px 12px;
	background: var(--gxp-navy);
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--gxp-navy-3) transparent;
}

.gxp-gallery-strip::-webkit-scrollbar {
	height: 4px;
}

.gxp-gallery-strip::-webkit-scrollbar-thumb {
	background: var(--gxp-navy-3);
	border-radius: 2px;
}

.gxp-gallery-thumb {
	flex-shrink: 0;
	width: 76px;
	height: 56px;
	border: 2px solid rgba(255, 255, 255, .15);
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	background: var(--gxp-navy-2);
	opacity: .55;
	transition: opacity .12s ease, border-color .12s ease, transform .1s ease;
}

.gxp-gallery-thumb:hover {
	opacity: .9;
	transform: translateY(-2px);
}

.gxp-gallery-thumb.is-active {
	border-color: var(--gxp-gold);
	opacity: 1;
}

.gxp-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Single-image mode keeps the old .gxp-single-media look */
.gxp-gallery-viewer:not(.gxp-gallery-viewer--multi) .gxp-gallery-main-img {
	border-radius: var(--gxp-radius);
}

/* ============ WHATSAPP CTA BANNER ============ */
.gxp-wa-cta {
	background: var(--gxp-navy);
	border-radius: var(--gxp-radius);
	border: 1px solid rgba(255, 255, 255, .07);
	border-top: 3px solid var(--gxp-gold);
	padding: 40px 44px;
	margin-top: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.gxp-wa-cta-left {}

.gxp-wa-cta-tag {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--gxp-gold);
}

.gxp-wa-cta-headline {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -.01em;
	line-height: 1.25;
}

.gxp-wa-cta-sub {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
	line-height: 1.5;
}

.gxp-wa-cta-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

/* Shared WhatsApp green button */
.gxp-wa-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	background: #25d366;
	color: #fff;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s ease, transform .08s ease, box-shadow .15s ease;
	box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
}

.gxp-wa-btn:hover {
	background: #1ebe5e;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(37, 211, 102, .5);
}

.gxp-wa-btn:active { transform: translateY(0); }

.gxp-wa-btn svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Email link in CTA */
.gxp-wa-email-link {
	color: rgba(255, 255, 255, .6);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px dashed rgba(255, 255, 255, .3);
	padding-bottom: 2px;
	transition: color .15s ease, border-color .15s ease;
}

.gxp-wa-email-link:hover {
	color: var(--gxp-gold-2);
	border-bottom-color: var(--gxp-gold-2);
}

/* ---------- WhatsApp on listing cards ---------- */
.gxp-card-cta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	flex-wrap: wrap;
}

.gxp-wa-card-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	background: #25d366;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s ease, transform .08s ease;
	box-shadow: 0 2px 8px rgba(37, 211, 102, .3);
}

.gxp-wa-card-btn:hover {
	background: #1ebe5e;
	color: #fff;
	transform: translateY(-1px);
}

.gxp-wa-card-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ---------- WhatsApp in contact / lock panels ---------- */
.gxp-panel-wa-wrap {
	margin-bottom: 14px;
}

.gxp-wa-panel-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	background: #25d366;
	color: #fff;
	border-radius: var(--gxp-radius);
	text-decoration: none;
	font-weight: 700;
	transition: background .15s ease;
	box-shadow: 0 3px 14px rgba(37, 211, 102, .32);
}

.gxp-wa-panel-btn:hover {
	background: #1ebe5e;
	color: #fff;
}

.gxp-wa-panel-btn svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.gxp-wa-panel-txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gxp-wa-panel-txt strong {
	font-size: 15px;
	line-height: 1.2;
	color: #fff;
}

.gxp-wa-panel-txt span {
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 255, 255, .85);
}

.gxp-call-panel-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 11px 16px;
	background: var(--gxp-card);
	color: var(--gxp-navy);
	border: 1px solid var(--gxp-line);
	border-radius: var(--gxp-radius);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background .12s ease, border-color .12s ease;
	margin-top: 8px;
}

.gxp-call-panel-btn:hover {
	background: var(--gxp-bg);
	border-color: var(--gxp-navy);
	color: var(--gxp-navy);
}

.gxp-call-panel-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--gxp-navy);
}

.gxp-panel-divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0;
	font-size: 12px;
	color: var(--gxp-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.gxp-panel-divider::before,
.gxp-panel-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--gxp-line);
}

/* ============ STICKY WHATSAPP BAR ============ */
@keyframes gxp-wa-in {
	from { transform: translateY(20px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

@keyframes gxp-wa-glow {
	0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, .42); }
	50%       { box-shadow: 0 8px 32px rgba(37, 211, 102, .68), 0 0 0 7px rgba(37, 211, 102, .1); }
}

#gxp-wa-bar {
	position: fixed !important;
	bottom: 32px !important;
	right: 28px !important;
	left: auto !important;
	z-index: 999999 !important;
	pointer-events: auto !important;
	line-height: 1 !important;
}

#gxp-wa-bar-link {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 15px 24px !important;
	background: #25d366 !important;
	color: #fff !important;
	border-radius: 50px !important;
	text-decoration: none !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	animation:
		gxp-wa-in .55s cubic-bezier(.175,.885,.32,1.275) .8s both,
		gxp-wa-glow 2.8s ease-in-out 2s infinite !important;
	transition: background .15s ease, transform .1s ease !important;
}

#gxp-wa-bar-link:hover {
	background: #1ebe5e !important;
	color: #fff !important;
	transform: translateY(-3px) !important;
}

#gxp-wa-bar-link:active {
	transform: translateY(-1px) !important;
}

#gxp-wa-bar-icon {
	width: 24px !important;
	height: 24px !important;
	flex-shrink: 0 !important;
	fill: #fff !important;
}

#gxp-wa-bar-txt {
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
}

#gxp-wa-bar-txt strong {
	display: block !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #fff !important;
	line-height: 1.2 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#gxp-wa-bar-txt span {
	display: block !important;
	font-size: 11px !important;
	color: rgba(255, 255, 255, .85) !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.gxp-mp-layout {
		grid-template-columns: 1fr;
	}

	.gxp-sidebar {
		position: static;
	}

	.gxp-sidebar-toggle {
		display: inline-block;
	}

	.gxp-sidebar-body {
		display: none;
	}

	.gxp-sidebar.is-open .gxp-sidebar-body {
		display: block;
	}

	.gxp-single-layout {
		grid-template-columns: 1fr;
	}

	.gxp-single-aside {
		position: static;
	}
}

@media (max-width: 620px) {
	.gxp-card {
		grid-template-columns: 1fr;
	}

	.gxp-card-thumb {
		min-height: 180px;
	}

	.gxp-mp-hero {
		padding: 28px 20px;
	}

	.gxp-mp-hero-title {
		font-size: 22px;
	}

	.gxp-form-row,
	.gxp-account-grid {
		grid-template-columns: 1fr;
	}

	.gxp-card-foot {
		gap: 14px;
	}

	/* Card CTA — stack on mobile */
	.gxp-card-cta {
		width: 100%;
		margin-left: 0;
	}

	.gxp-wa-card-btn,
	.gxp-card-foot .gxp-card-btn {
		flex: 1;
		justify-content: center;
		text-align: center;
	}

	/* WhatsApp CTA banner — mobile */
	.gxp-wa-cta {
		flex-direction: column;
		align-items: stretch;
		padding: 28px 22px;
	}

	.gxp-wa-cta-headline {
		font-size: 19px;
	}

	.gxp-wa-cta-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.gxp-wa-btn {
		justify-content: center;
		padding: 16px 24px;
		font-size: 16px;
	}

	.gxp-wa-email-link {
		text-align: center;
		display: block;
	}

	/* Gallery — mobile */
	.gxp-gallery-main-img {
		height: 240px;
	}

	.gxp-gallery-thumb {
		width: 60px;
		height: 44px;
	}

	/* Sticky bar — full-width at bottom on mobile */
	#gxp-wa-bar {
		bottom: 0 !important;
		right: 0 !important;
		left: 0 !important;
		width: 100% !important;
	}

	#gxp-wa-bar-link {
		width: 100% !important;
		border-radius: 0 !important;
		padding: 18px 28px !important;
		justify-content: center !important;
		animation: none !important;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, .12) !important;
	}

	#gxp-wa-bar-txt strong {
		font-size: 16px !important;
	}

	#gxp-wa-bar-txt span {
		font-size: 12px !important;
	}

	#gxp-wa-bar-icon {
		width: 26px !important;
		height: 26px !important;
	}
}

/* ======================================================================
   ASTRA THEME OVERRIDE FIXES
   Astra injects `.entry-content a { color: blue; text-decoration: underline }
   and `img, svg { max-width: 100%; height: auto }` which break every button
   and expand SVG icons to fill their parent container.
   All rules here use !important to win regardless of Astra specificity.
   ====================================================================== */

/* --- SVG size hard-lock (Astra expands SVGs to max-width:100%) ------- */
.gxp-wa-card-btn svg {
	width: 16px !important;
	height: 16px !important;
	max-width: 16px !important;
	max-height: 16px !important;
	min-width: 16px !important;
	min-height: 16px !important;
	flex-shrink: 0 !important;
	display: inline-block !important;
}

.gxp-wa-panel-btn svg {
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	max-height: 22px !important;
	min-width: 22px !important;
	flex-shrink: 0 !important;
	display: inline-block !important;
}

.gxp-call-panel-btn svg {
	width: 18px !important;
	height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	min-width: 18px !important;
	flex-shrink: 0 !important;
}

.gxp-wa-btn svg {
	width: 20px !important;
	height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	min-width: 20px !important;
	flex-shrink: 0 !important;
}

/* --- Hero heading visibility (Astra recolors h1 inside entry-content) - */
.gxp-mp-hero h1,
.gxp-mp-hero .gxp-mp-hero-title {
	color: #fff !important;
}

.gxp-mp-hero p,
.gxp-mp-hero .gxp-mp-hero-sub {
	color: rgba(255, 255, 255, .82) !important;
}

/* --- Force gxp buttons to keep their colour; strip Astra link styles -- */
.gxp-wrap a.gxp-btn,
.gxp-wrap a.gxp-btn:link,
.gxp-wrap a.gxp-btn:visited,
.entry-content a.gxp-btn,
.entry-content a.gxp-btn:link {
	color: #fff !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.gxp-wrap a.gxp-btn:hover,
.entry-content a.gxp-btn:hover {
	color: #fff !important;
	text-decoration: none !important;
}

.gxp-wrap a.gxp-btn-gold,
.entry-content a.gxp-btn-gold {
	color: var(--gxp-navy, #0b1929) !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

/* --- WhatsApp card button (green, inline-flex) ----------------------- */
a.gxp-wa-card-btn,
a.gxp-wa-card-btn:link,
a.gxp-wa-card-btn:visited,
.gxp-wrap a.gxp-wa-card-btn,
.gxp-card a.gxp-wa-card-btn,
.entry-content a.gxp-wa-card-btn,
.ast-article-single a.gxp-wa-card-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	background: #25d366 !important;
	color: #fff !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: 0 2px 8px rgba(37, 211, 102, .3) !important;
}

a.gxp-wa-card-btn:hover {
	background: #1ebe5e !important;
	color: #fff !important;
	text-decoration: none !important;
}

/* --- WhatsApp panel button (green block, full-width) ----------------- */
a.gxp-wa-panel-btn,
a.gxp-wa-panel-btn:link,
a.gxp-wa-panel-btn:visited,
.gxp-contact-panel a.gxp-wa-panel-btn,
.gxp-single-aside a.gxp-wa-panel-btn,
.entry-content a.gxp-wa-panel-btn,
.ast-article-single a.gxp-wa-panel-btn {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	padding: 14px 16px !important;
	background: #25d366 !important;
	color: #fff !important;
	border-radius: 10px !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	border-bottom: 0 !important;
	box-shadow: 0 3px 14px rgba(37, 211, 102, .32) !important;
	box-sizing: border-box !important;
}

a.gxp-wa-panel-btn:hover {
	background: #1ebe5e !important;
	color: #fff !important;
	text-decoration: none !important;
}

/* --- Call button (white/navy outline) -------------------------------- */
a.gxp-call-panel-btn,
a.gxp-call-panel-btn:link,
a.gxp-call-panel-btn:visited,
.entry-content a.gxp-call-panel-btn {
	display: flex !important;
	align-items: center !important;
	color: var(--gxp-navy, #0b1929) !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

a.gxp-call-panel-btn:hover {
	color: var(--gxp-navy, #0b1929) !important;
	text-decoration: none !important;
}

/* --- gxp-wa-btn (CTA banner button) ---------------------------------- */
a.gxp-wa-btn,
a.gxp-wa-btn:link,
a.gxp-wa-btn:visited,
.entry-content a.gxp-wa-btn {
	color: #fff !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

/* --- Card foot: force flex layout that Astra can reset --------------- */
.gxp-card-foot {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
}

.gxp-card-cta {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin-left: auto !important;
}

/* ======================================================================
   BRANDED AUTH PAGE  (Register / Login)
   Full-width split-screen with navy brand panel + clean form panel.
   ====================================================================== */
.gxp-auth-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 620px;
	border-radius: var(--gxp-radius, 10px);
	overflow: hidden;
	box-shadow: var(--gxp-shadow);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Left brand panel ---- */
.gxp-auth-brand {
	background: var(--gxp-navy, #0b1929);
	padding: 52px 44px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-right: 1px solid rgba(255, 255, 255, .07);
}

.gxp-auth-logo {
	height: 44px;
	width: auto;
	display: block;
	margin-bottom: 40px;
	max-width: 200px !important;
}

.gxp-auth-brand-title {
	margin: 0 0 14px;
	font-size: 24px;
	font-weight: 800;
	color: #fff !important;
	line-height: 1.3;
	letter-spacing: -.01em;
}

.gxp-auth-brand-sub {
	margin: 0 0 32px;
	font-size: 15px;
	color: rgba(255, 255, 255, .65) !important;
	line-height: 1.7;
}

.gxp-auth-benefits {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.gxp-auth-benefits li {
	font-size: 14.5px;
	color: rgba(255, 255, 255, .85) !important;
	padding-left: 26px;
	position: relative;
	line-height: 1.45;
}

.gxp-auth-benefits li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--gxp-gold, #c49a3c);
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230b1929' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 10px;
	background-position: center;
	background-repeat: no-repeat;
}

.gxp-auth-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.gxp-auth-stat {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.gxp-auth-stat strong {
	font-size: 22px;
	font-weight: 800;
	color: var(--gxp-gold, #c49a3c) !important;
	line-height: 1.1;
}

.gxp-auth-stat span {
	font-size: 12px;
	color: rgba(255, 255, 255, .55) !important;
	line-height: 1.3;
}

/* ---- Right form panel ---- */
.gxp-auth-form-wrap {
	background: #fff;
	padding: 52px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.gxp-auth-form-inner {
	max-width: 380px;
	margin: 0 auto;
	width: 100%;
}

/* ---- Tabs ---- */
.gxp-auth-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 32px;
	border-bottom: 2px solid var(--gxp-line, #e3e8ef);
}

.gxp-auth-tab {
	flex: 1;
	padding: 11px 8px;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	font-size: 15px;
	font-weight: 600;
	color: var(--gxp-muted, #64748b);
	cursor: pointer;
	transition: color .15s, border-color .15s;
}

.gxp-auth-tab.is-active {
	color: var(--gxp-navy, #0b1929);
	border-bottom-color: var(--gxp-gold, #c49a3c);
}

.gxp-auth-tab:hover:not(.is-active) {
	color: var(--gxp-navy, #0b1929);
}

/* ---- Form fields ---- */
.gxp-auth-form .gxp-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gxp-auth-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--gxp-navy, #0b1929) !important;
	margin-bottom: 5px;
}

.gxp-auth-form input[type="text"],
.gxp-auth-form input[type="email"],
.gxp-auth-form input[type="password"],
.gxp-auth-form input[type="tel"],
.gxp-auth-form select {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--gxp-line, #e3e8ef);
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
	color: var(--gxp-ink, #1f2a37);
	transition: border-color .15s;
	box-sizing: border-box;
}

.gxp-auth-form input:focus,
.gxp-auth-form select:focus {
	outline: none;
	border-color: var(--gxp-gold, #c49a3c);
	box-shadow: 0 0 0 3px rgba(196, 154, 60, .12);
}

.gxp-auth-form .gxp-form-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.gxp-auth-submit-btn {
	display: block !important;
	width: 100%;
	padding: 14px 20px;
	background: var(--gxp-navy, #0b1929);
	color: #fff !important;
	border: 0;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s, transform .05s;
	margin-top: 6px;
}

.gxp-auth-submit-btn:hover {
	background: var(--gxp-navy-3, #1c3a5e);
}

.gxp-auth-submit-btn:active {
	transform: translateY(1px);
}

.gxp-auth-form-footer {
	margin-top: 14px;
	text-align: center;
	font-size: 13px;
	color: var(--gxp-muted, #64748b);
}

.gxp-auth-form-footer a {
	color: var(--gxp-navy, #0b1929) !important;
	font-weight: 600;
	text-decoration: underline;
}

.gxp-auth-pw-wrap {
	position: relative;
}

.gxp-auth-pw-wrap input {
	padding-right: 44px !important;
}

.gxp-pw-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--gxp-muted, #64748b);
	padding: 4px;
	line-height: 1;
	display: flex;
	align-items: center;
}

.gxp-pw-toggle:hover {
	color: var(--gxp-navy, #0b1929);
}

.gxp-pw-toggle svg {
	width: 18px !important;
	height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
}

.gxp-auth-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--gxp-muted, #64748b);
}

.gxp-auth-remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	cursor: pointer;
	accent-color: var(--gxp-navy, #0b1929);
}

.gxp-auth-notice {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 18px;
	border-left: 3px solid;
}

.gxp-auth-notice--success {
	background: #e7f6ee;
	border-color: #1a7f4b;
	color: #1a7f4b;
}

.gxp-auth-notice--error {
	background: #fdecea;
	border-color: #c0392b;
	color: #c0392b;
}

/* ---- Auth page responsive ---- */
@media (max-width: 860px) {
	.gxp-auth-page {
		grid-template-columns: 1fr;
	}

	.gxp-auth-brand {
		padding: 40px 28px;
	}

	.gxp-auth-form-wrap {
		padding: 36px 28px;
	}
}

@media (max-width: 480px) {
	.gxp-auth-brand {
		padding: 32px 20px;
	}

	.gxp-auth-form-wrap {
		padding: 28px 20px;
	}

	.gxp-auth-form .gxp-form-row-2 {
		grid-template-columns: 1fr;
	}

	.gxp-auth-stats {
		grid-template-columns: 1fr 1fr;
	}
}

/* ======================================================================
   GALLERY — hard overrides so Astra cannot collapse the thumbnail strip
   into a wrap-grid or expand thumb buttons to full width.
   These selectors are deliberately high-specificity.
   ====================================================================== */

/* Gallery container */
.gxp-gallery {
	border-radius: 10px !important;
	overflow: hidden !important;
	margin-bottom: 20px !important;
}

/* Main image — never let Astra shrink it or set height:auto */
.gxp-gallery .gxp-gallery-main-img,
body .gxp-gallery .gxp-gallery-main-img {
	width: 100% !important;
	max-width: none !important;
	height: 420px !important;
	min-height: 200px !important;
	object-fit: cover !important;
	display: block !important;
}

/* Strip — force single-row horizontal flex, no grid, no wrap */
.gxp-gallery .gxp-gallery-strip,
body .gxp-gallery .gxp-gallery-strip,
.entry-content .gxp-gallery .gxp-gallery-strip,
.ast-article-single .gxp-gallery .gxp-gallery-strip,
.ast-article-post .gxp-gallery .gxp-gallery-strip {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	grid-template-columns: unset !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 10px 12px !important;
	background: #0b1929 !important;
	overflow-x: auto !important;
	overflow-y: visible !important;
	-webkit-overflow-scrolling: touch !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Thumbnail buttons — fixed size, no Astra expansion */
.gxp-gallery .gxp-gallery-thumb,
body .gxp-gallery .gxp-gallery-thumb,
.entry-content .gxp-gallery .gxp-gallery-thumb {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: block !important;
	flex-shrink: 0 !important;
	flex-grow: 0 !important;
	width: 86px !important;
	min-width: 86px !important;
	max-width: 86px !important;
	height: 64px !important;
	min-height: 64px !important;
	max-height: 64px !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer !important;
	border-radius: 7px !important;
	overflow: hidden !important;
	box-shadow: none !important;
	outline: none !important;
	line-height: 0 !important;
}

/* Images inside thumbnail buttons */
.gxp-gallery .gxp-gallery-thumb img,
body .gxp-gallery .gxp-gallery-thumb img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	display: block !important;
}

/* Nav arrows */
.gxp-gallery .gxp-gallery-prev,
.gxp-gallery .gxp-gallery-next,
body .gxp-gallery .gxp-gallery-prev,
body .gxp-gallery .gxp-gallery-next {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	min-height: 42px !important;
	padding: 0 !important;
	cursor: pointer !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	outline: none !important;
	line-height: 1 !important;
}

/* Mobile gallery adjustments */
@media (max-width: 620px) {
	.gxp-gallery .gxp-gallery-main-img,
	body .gxp-gallery .gxp-gallery-main-img {
		height: 260px !important;
	}

	.gxp-gallery .gxp-gallery-thumb,
	body .gxp-gallery .gxp-gallery-thumb {
		width: 68px !important;
		min-width: 68px !important;
		max-width: 68px !important;
		height: 52px !important;
		min-height: 52px !important;
		max-height: 52px !important;
	}
}
