/**
 * GS Insurance Directory — Frontend Styles
 * v1.1.0 | RTL | WCAG 2.1 AA
 */

/* ── Variables ──────────────────────────────── */
:root {
	--gs-primary: #1B4F72;
	--gs-primary-light: #2E75B6;
	--gs-accent: #27AE60;
	--gs-accent-hover: #219A52;
	--gs-orange: #F39C12;
	--gs-red: #E74C3C;
	--gs-text: #2C3E50;
	--gs-text-light: #7F8C8D;
	--gs-bg: #F8F9FA;
	--gs-white: #FFFFFF;
	--gs-border: #E0E0E0;
	--gs-shadow: 0 2px 8px rgba(0,0,0,0.08);
	--gs-shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
	--gs-radius: 12px;
	--gs-radius-sm: 8px;
	--gs-transition: 0.3s ease;
}

/* ── Base ───────────────────────────────────── */
.gs-insdir-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	font-family: 'Heebo', 'Arial', sans-serif;
	color: var(--gs-text);
	direction: rtl;
}

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

/* ── Skip Link ──────────────────────────────── */
.gs-skip-link {
	position: absolute;
	top: -100px;
	right: 0;
	background: var(--gs-primary);
	color: #fff;
	padding: 10px 20px;
	z-index: 10000;
	border-radius: 0 0 0 8px;
	transition: top var(--gs-transition);
}

.gs-skip-link:focus {
	top: 0;
}

/* ── Breadcrumbs ────────────────────────────── */
.gs-breadcrumbs {
	padding: 12px 0;
	font-size: 0.875rem;
	color: var(--gs-text-light);
}

.gs-breadcrumbs a {
	color: var(--gs-primary-light);
	text-decoration: none;
}

.gs-breadcrumbs a:hover,
.gs-breadcrumbs a:focus {
	text-decoration: underline;
}

.gs-breadcrumb-sep {
	margin: 0 6px;
}

/* ── Buttons ────────────────────────────────── */
.gs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 24px;
	border-radius: var(--gs-radius-sm);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all var(--gs-transition);
	line-height: 1.4;
}

.gs-btn:focus-visible {
	outline: 3px solid var(--gs-primary-light);
	outline-offset: 2px;
}

.gs-btn-primary {
	background: var(--gs-accent);
	color: var(--gs-white);
}

.gs-btn-primary:hover {
	background: var(--gs-accent-hover);
}

.gs-btn-secondary {
	background: transparent;
	color: var(--gs-primary);
	border-color: var(--gs-primary);
}

.gs-btn-secondary:hover {
	background: var(--gs-primary);
	color: var(--gs-white);
}

.gs-btn-outline {
	background: transparent;
	color: var(--gs-text);
	border-color: var(--gs-border);
}

.gs-btn-outline:hover {
	border-color: var(--gs-primary);
	color: var(--gs-primary);
}

.gs-btn-cta {
	padding: 14px 32px;
	font-size: 1.125rem;
	border-radius: var(--gs-radius);
}

.gs-btn-phone {
	background: var(--gs-accent);
	color: var(--gs-white);
}

.gs-btn-phone:hover {
	background: var(--gs-accent-hover);
}

.gs-btn-whatsapp {
	background: #25D366;
	color: var(--gs-white);
}

.gs-btn-whatsapp:hover {
	background: #1DA851;
}

.gs-btn-form {
	background: var(--gs-primary);
	color: var(--gs-white);
}

.gs-btn-form:hover {
	background: var(--gs-primary-light);
}

/* ── Archive ────────────────────────────────── */
.gs-archive-header {
	text-align: center;
	padding: 30px 0;
}

.gs-archive-title {
	font-size: 2rem;
	color: var(--gs-primary);
	margin: 0 0 10px;
}

.gs-archive-desc {
	color: var(--gs-text-light);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
}

/* ── Filters ────────────────────────────────── */
.gs-filters {
	background: var(--gs-white);
	border-radius: var(--gs-radius);
	padding: 20px;
	box-shadow: var(--gs-shadow);
	margin-bottom: 30px;
}

.gs-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}

.gs-filter-group {
	flex: 1;
	min-width: 150px;
}

.gs-filter-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--gs-text);
}

.gs-filter-group select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius-sm);
	font-size: 0.95rem;
	direction: rtl;
	background: var(--gs-white);
}

.gs-filter-group select:focus {
	outline: 2px solid var(--gs-primary-light);
	outline-offset: 1px;
	border-color: var(--gs-primary-light);
}

.gs-filter-submit {
	display: flex;
	gap: 8px;
	flex: 0 0 auto;
}

.gs-filter-acc {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--gs-border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.gs-filter-label {
	font-weight: 600;
	font-size: 0.875rem;
}

.gs-filter-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.9rem;
	cursor: pointer;
}

.gs-filter-checkbox input:focus-visible + span {
	outline: 2px solid var(--gs-primary-light);
	border-radius: 3px;
}

/* ── Cards Grid ─────────────────────────────── */
.gs-cards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.gs-results-count {
	padding: 8px 0;
	color: var(--gs-text-light);
	font-size: 0.9rem;
}

/* ── Agent Card — Horizontal Layout ────────── */
.gs-agent-card {
	background: var(--gs-white);
	border-radius: var(--gs-radius);
	box-shadow: var(--gs-shadow);
	overflow: hidden;
	transition: box-shadow var(--gs-transition);
	border: 1px solid var(--gs-border);
	margin-bottom: 16px;
}

.gs-agent-card:hover {
	box-shadow: var(--gs-shadow-hover);
}

.gs-card-promoted {
	border-color: var(--gs-orange);
}

.gs-tier-premium {
	border-color: #E91E63;
	border-width: 2px;
}

.gs-tier-plus {
	border-color: var(--gs-primary);
}

/* Promo ribbon */
.gs-card-promo-ribbon {
	position: absolute;
	top: 8px;
	left: 8px;
	font-size: 0.8rem;
}

/* Card Top — Logo + Info horizontal */
.gs-card-top {
	padding: 20px 24px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

/* Logo */
.gs-card-logo {
	flex-shrink: 0;
}

.gs-card-logo-img {
	width: 90px;
	height: 90px;
	border-radius: 12px;
	object-fit: cover;
	border: 1px solid var(--gs-border);
}

.gs-card-logo-ph {
	width: 90px;
	height: 90px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--gs-primary), var(--gs-primary-light));
	color: var(--gs-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 700;
}

/* Info */
.gs-card-info {
	flex: 1;
	min-width: 0;
}

.gs-card-title {
	font-size: 1.2rem;
	margin: 0 0 6px;
	line-height: 1.3;
}

.gs-card-title a {
	color: var(--gs-primary);
	text-decoration: none;
	font-weight: 700;
}

.gs-card-title a:hover,
.gs-card-title a:focus {
	text-decoration: underline;
}

.gs-promo-badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 10px;
	vertical-align: middle;
	margin-right: 6px;
}

.gs-promo-basic {
	background: #FFF3E0;
	color: #E65100;
}

.gs-promo-plus {
	background: #E3F2FD;
	color: #1565C0;
}

.gs-promo-premium {
	background: #FCE4EC;
	color: #C2185B;
}

.gs-card-sub {
	margin: 0 0 6px;
	font-size: 0.9rem;
	color: var(--gs-text-light);
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.gs-card-type {
	font-weight: 600;
	color: var(--gs-text);
}

.gs-card-desc {
	margin: 0 0 8px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--gs-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Spec Tags */
.gs-card-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.gs-spec-tag {
	font-size: 0.75rem;
	padding: 3px 10px;
	border-radius: 12px;
	background: #F0F4F8;
	color: var(--gs-text);
	border: 1px solid #E0E6ED;
}

.gs-spec-more {
	background: var(--gs-primary-light);
	color: var(--gs-white);
	border-color: transparent;
}

/* Rating in card */
.gs-card-rating {
	display: flex;
	align-items: center;
	gap: 6px;
}

.gs-rating-count {
	font-size: 0.8rem;
	color: var(--gs-text-light);
}

/* Card Actions — Bottom Buttons */
.gs-card-actions {
	display: flex;
	gap: 0;
	border-top: 1px solid var(--gs-border);
}

.gs-card-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 16px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--gs-transition);
	border-left: 1px solid var(--gs-border);
	text-align: center;
}

.gs-card-btn:last-child {
	border-left: none;
}

.gs-btn-profile {
	background: var(--gs-primary);
	color: var(--gs-white);
}

.gs-btn-profile:hover {
	background: var(--gs-primary-light);
	color: var(--gs-white);
}

.gs-btn-call {
	background: var(--gs-bg);
	color: var(--gs-text);
}

.gs-btn-call:hover {
	background: #E8F5E9;
	color: #2E7D32;
}

.gs-btn-wa {
	background: #E8F5E9;
	color: #25D366;
}

.gs-btn-wa:hover {
	background: #C8E6C9;
	color: #128C7E;
}

.gs-btn-contact {
	background: var(--gs-bg);
	color: var(--gs-primary);
}

.gs-btn-contact:hover {
	background: #E3F2FD;
}

/* ── Badges ─────────────────────────────────── */
.gs-promo-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--gs-white);
	background: var(--gs-orange);
}

.gs-promo-premium {
	background: #E91E63;
}

.gs-type-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	background: #EBF0F5;
	color: var(--gs-primary);
}

.gs-type-agent {
	background: #E8F5E9;
	color: #2E7D32;
}

.gs-type-agency {
	background: #E3F2FD;
	color: #1565C0;
}

.gs-type-company {
	background: #FFF3E0;
	color: #E65100;
}

/* ── Stars ──────────────────────────────────── */
.gs-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;
}

.gs-star {
	font-size: 1.1rem;
}

.gs-star-full {
	color: #F1C40F;
}

.gs-star-half {
	color: #F1C40F;
	position: relative;
}

.gs-star-empty {
	color: #DDD;
}

.gs-stars-count {
	font-size: 0.8rem;
	color: var(--gs-text-light);
	margin-right: 4px;
}

/* ── Insurance Tags ─────────────────────────── */
.gs-insurance-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.gs-ins-tag {
	padding: 3px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
	background: #EBF0F5;
	color: var(--gs-text);
}

.gs-ins-car { background: #E8F5E9; color: #2E7D32; }
.gs-ins-health { background: #E3F2FD; color: #1565C0; }
.gs-ins-life { background: #FCE4EC; color: #C62828; }
.gs-ins-home { background: #FFF3E0; color: #E65100; }
.gs-ins-business { background: #F3E5F5; color: #7B1FA2; }
.gs-ins-travel { background: #E0F7FA; color: #00695C; }
.gs-ins-pension { background: #FFFDE7; color: #F57F17; }
.gs-ins-damages { background: #EFEBE9; color: #4E342E; }

/* ── Accessibility Tags ─────────────────────── */
.gs-accessibility-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gs-acc-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	background: #E8F5E9;
	color: #2E7D32;
}

/* ── Hours List ─────────────────────────────── */
.gs-hours-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.gs-hours-list li {
	display: flex;
	justify-content: space-between;
	padding: 3px 0;
	font-size: 0.85rem;
	border-bottom: 1px dotted var(--gs-border);
}

.gs-hours-day {
	font-weight: 600;
}

/* ── Social Links ───────────────────────────── */
.gs-social-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.gs-social-link {
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.8rem;
	background: var(--gs-bg);
	color: var(--gs-text);
	text-decoration: none;
}

.gs-social-link:hover {
	background: var(--gs-primary);
	color: var(--gs-white);
}

/* ── Sub Terms (taxonomy page) ──────────────── */
.gs-sub-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.gs-sub-term-link {
	padding: 6px 16px;
	border-radius: 20px;
	background: var(--gs-white);
	color: var(--gs-primary);
	border: 1px solid var(--gs-border);
	text-decoration: none;
	font-size: 0.9rem;
}

.gs-sub-term-link:hover {
	background: var(--gs-primary);
	color: var(--gs-white);
}

.gs-sub-term-count {
	color: var(--gs-text-light);
	font-size: 0.8rem;
}

/* ── Pagination ─────────────────────────────── */
.gs-pagination {
	padding: 30px 0;
	text-align: center;
}

.gs-pagination ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 0;
}

.gs-pagination li {
	display: inline;
}

.gs-pagination a,
.gs-pagination span.current {
	display: inline-block;
	padding: 8px 14px;
	border-radius: var(--gs-radius-sm);
	text-decoration: none;
	font-weight: 600;
}

.gs-pagination a {
	color: var(--gs-primary);
	border: 1px solid var(--gs-border);
}

.gs-pagination a:hover {
	background: var(--gs-primary);
	color: var(--gs-white);
}

.gs-pagination span.current {
	background: var(--gs-primary);
	color: var(--gs-white);
}

/* ── No Results ─────────────────────────────── */
.gs-no-results {
	text-align: center;
	padding: 60px 20px;
}

.gs-no-results h2 {
	color: var(--gs-text-light);
}

/* ==============================================
   SINGLE — Landing Page
   ============================================== */

/* ── Hero ───────────────────────────────────── */
.gs-hero {
	background: linear-gradient(135deg, var(--gs-primary) 0%, var(--gs-primary-light) 100%);
	color: var(--gs-white);
	border-radius: var(--gs-radius);
	padding: 40px;
	margin-bottom: 0;
}

.gs-hero-inner {
	display: flex;
	gap: 30px;
	align-items: center;
}

.gs-hero-logo img,
.gs-hero-img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid rgba(255,255,255,0.3);
}

.gs-hero-logo-placeholder {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(255,255,255,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	font-weight: 700;
}

.gs-hero-badges {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}

.gs-hero-title {
	font-size: 2rem;
	margin: 0 0 8px;
	color: var(--gs-white);
}

.gs-hero-rating .gs-stars {
	font-size: 1.2rem;
}

.gs-hero-rating .gs-stars-count {
	color: rgba(255,255,255,0.8);
}

.gs-hero .gs-insurance-tags {
	margin-top: 10px;
}

.gs-hero .gs-ins-tag {
	background: rgba(255,255,255,0.2);
	color: var(--gs-white);
}

.gs-hero-desc {
	margin-top: 10px;
	font-size: 1.05rem;
	opacity: 0.9;
}

/* ── Primary CTA ────────────────────────────── */
.gs-primary-cta,
.gs-bottom-cta {
	background: var(--gs-white);
	border-radius: var(--gs-radius);
	padding: 24px;
	margin: 16px 0;
	text-align: center;
	box-shadow: var(--gs-shadow);
}

.gs-cta-row {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.gs-urgency {
	margin-top: 10px;
	font-size: 0.9rem;
	color: var(--gs-accent);
	font-weight: 600;
}

.gs-urgency-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: var(--gs-accent);
	border-radius: 50%;
	margin-left: 4px;
	animation: gs-pulse 2s infinite;
}

@keyframes gs-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

/* ── Trust Signals ──────────────────────────── */
.gs-trust {
	margin: 16px 0;
}

.gs-trust-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.gs-trust-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: var(--gs-white);
	border-radius: var(--gs-radius-sm);
	font-size: 0.9rem;
	box-shadow: var(--gs-shadow);
}

/* ── Content Area ───────────────────────────── */
.gs-content-area,
.gs-section-accessibility,
.gs-gallery,
.gs-info-section,
.gs-ratings-section,
.gs-contact-section,
.gs-share-section,
.gs-similar-section,
.gs-children-section,
.gs-parent-section {
	background: var(--gs-white);
	border-radius: var(--gs-radius);
	padding: 30px;
	margin: 16px 0;
	box-shadow: var(--gs-shadow);
}

.gs-content-area h2,
.gs-section-accessibility h2,
.gs-gallery h2,
.gs-info-section h2,
.gs-ratings-section h2,
.gs-contact-section h2,
.gs-share-section h3,
.gs-similar-section h2,
.gs-children-section h2 {
	color: var(--gs-primary);
	margin: 0 0 16px;
	font-size: 1.4rem;
}

.gs-content-text {
	line-height: 1.8;
}

.gs-spec-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.gs-spec-tag {
	padding: 6px 16px;
	border-radius: 20px;
	background: var(--gs-bg);
	color: var(--gs-primary);
	text-decoration: none;
	font-size: 0.9rem;
}

.gs-spec-tag:hover {
	background: var(--gs-primary);
	color: var(--gs-white);
}

/* ── Gallery ────────────────────────────────── */
.gs-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.gs-gallery-item img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: var(--gs-radius-sm);
}

/* ── Info Grid (Hours/Map/Social) ───────────── */
.gs-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}

.gs-info-block h2 {
	font-size: 1.1rem;
}

.gs-hours-table-front {
	width: 100%;
	border-collapse: collapse;
}

.gs-hours-table-front td {
	padding: 6px 0;
	border-bottom: 1px dotted var(--gs-border);
	font-size: 0.9rem;
}

.gs-hours-closed {
	color: var(--gs-red);
}

.gs-social-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gs-social-btn {
	padding: 8px 16px;
	border-radius: var(--gs-radius-sm);
	text-decoration: none;
	font-size: 0.9rem;
	background: var(--gs-bg);
	color: var(--gs-text);
	transition: all var(--gs-transition);
}

.gs-social-btn:hover {
	background: var(--gs-primary);
	color: var(--gs-white);
}

/* ── Ratings ────────────────────────────────── */
.gs-ratings-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--gs-border);
}

.gs-rating-avg {
	font-size: 2rem;
	font-weight: 700;
	color: var(--gs-primary);
}

.gs-rating-text {
	color: var(--gs-text-light);
}

.gs-rate-btn {
	margin-top: 20px;
}

/* ── Share ───────────────────────────────────── */
.gs-share-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.gs-share-btn {
	padding: 10px 20px;
	border-radius: var(--gs-radius-sm);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: all var(--gs-transition);
}

.gs-share-whatsapp {
	background: #25D366;
	color: var(--gs-white);
}

.gs-share-facebook {
	background: #1877F2;
	color: var(--gs-white);
}

.gs-share-copy {
	background: var(--gs-bg);
	color: var(--gs-text);
}

.gs-share-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

/* ── Sticky CTA (Mobile) ───────────────────── */
.gs-sticky-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--gs-white);
	box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
	padding: 10px 16px;
	z-index: 9999;
	justify-content: center;
	gap: 10px;
}

.gs-sticky-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	font-size: 1.5rem;
	text-decoration: none;
	color: var(--gs-white);
	transition: transform var(--gs-transition);
}

.gs-sticky-btn:hover {
	transform: scale(1.1);
}

.gs-sticky-phone { background: var(--gs-accent); }
.gs-sticky-wa { background: #25D366; }
.gs-sticky-form { background: var(--gs-primary); }

/* ── Placeholder ────────────────────────────── */
.gs-placeholder-msg {
	text-align: center;
	color: var(--gs-text-light);
	padding: 30px;
	font-style: italic;
}

/* ==============================================
   Smart Search & Autocomplete
   ============================================== */

/* ── Search Bar ─────────────────────────────── */
.gs-search-wrap {
	margin-bottom: 20px;
}

.gs-search-bar {
	position: relative;
	max-width: 700px;
	margin: 0 auto;
}

.gs-search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.gs-search-icon {
	position: absolute;
	right: 16px;
	font-size: 1.2rem;
	pointer-events: none;
	z-index: 1;
}

.gs-search-input {
	width: 100%;
	padding: 14px 48px 14px 44px;
	border: 2px solid var(--gs-border);
	border-radius: 50px;
	font-size: 1.05rem;
	font-family: inherit;
	direction: rtl;
	background: var(--gs-white);
	transition: border-color var(--gs-transition), box-shadow var(--gs-transition);
}

.gs-search-input:focus {
	outline: none;
	border-color: var(--gs-primary-light);
	box-shadow: 0 0 0 3px rgba(46, 117, 182, 0.15);
}

.gs-search-input::placeholder {
	color: #B0B0B0;
}

.gs-search-clear {
	position: absolute;
	left: 14px;
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: var(--gs-text-light);
	padding: 4px 8px;
	border-radius: 50%;
	transition: all var(--gs-transition);
}

.gs-search-clear:hover {
	background: var(--gs-bg);
	color: var(--gs-red);
}

/* ── Autocomplete Dropdown ──────────────────── */
.gs-autocomplete-container {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 4px;
	background: var(--gs-white);
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	box-shadow: var(--gs-shadow-hover);
	z-index: 1000;
	overflow: hidden;
}

.gs-autocomplete-list {
	list-style: none;
	margin: 0;
	padding: 4px 0;
	max-height: 360px;
	overflow-y: auto;
}

.gs-autocomplete-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	cursor: pointer;
	transition: background var(--gs-transition);
	text-decoration: none;
	color: var(--gs-text);
}

.gs-autocomplete-item:hover,
.gs-autocomplete-item.gs-ac-active {
	background: var(--gs-bg);
}

.gs-autocomplete-item:focus-visible {
	outline: 2px solid var(--gs-primary-light);
	outline-offset: -2px;
}

.gs-ac-color {
	width: 4px;
	height: 28px;
	border-radius: 2px;
	flex-shrink: 0;
}

.gs-ac-content {
	flex: 1;
	min-width: 0;
}

.gs-ac-label {
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gs-ac-match {
	background: #FFF3CD;
	padding: 0 2px;
	border-radius: 2px;
}

.gs-ac-category {
	font-size: 0.75rem;
	padding: 2px 8px;
	border-radius: 10px;
	font-weight: 600;
	flex-shrink: 0;
}

.gs-ac-count {
	font-size: 0.8rem;
	color: var(--gs-text-light);
	flex-shrink: 0;
}

/* Category badge colors */
.gs-ac-cat-agent { background: #E8F5E9; color: #27AE60; }
.gs-ac-cat-city { background: #E3F2FD; color: #2E75B6; }
.gs-ac-cat-specialty { background: #FFF3E0; color: #E67E22; }
.gs-ac-cat-type { background: #F3E5F5; color: #8E44AD; }

.gs-autocomplete-footer {
	padding: 6px 16px;
	border-top: 1px solid var(--gs-border);
	background: var(--gs-bg);
}

.gs-autocomplete-hint {
	font-size: 0.75rem;
	color: var(--gs-text-light);
}

.gs-autocomplete-hint kbd {
	display: inline-block;
	padding: 1px 5px;
	font-size: 0.7rem;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: var(--gs-white);
	font-family: inherit;
}

/* ── Loading Spinner ────────────────────────── */
.gs-search-loading::after {
	content: '';
	position: absolute;
	left: 48px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	border: 2px solid var(--gs-border);
	border-top-color: var(--gs-primary);
	border-radius: 50%;
	animation: gs-spin 0.6s linear infinite;
}

@keyframes gs-spin {
	to { transform: translateY(-50%) rotate(360deg); }
}

/* ── No Results Suggestions ─────────────────── */
.gs-no-results-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 4px;
	background: var(--gs-white);
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	box-shadow: var(--gs-shadow-hover);
	z-index: 1000;
	padding: 20px;
}

.gs-no-results-text {
	font-size: 1rem;
	margin: 0 0 8px;
	color: var(--gs-text);
}

.gs-no-results-hint {
	font-size: 0.875rem;
	color: var(--gs-text-light);
	margin: 0 0 12px;
}

.gs-suggestions-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gs-suggestion-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.875rem;
	text-decoration: none;
	transition: all var(--gs-transition);
}

.gs-suggestion-city {
	background: #E3F2FD;
	color: #2E75B6;
}

.gs-suggestion-spec {
	background: #FFF3E0;
	color: #E67E22;
}

.gs-suggestion-tag:hover {
	transform: translateY(-1px);
	box-shadow: var(--gs-shadow);
}

.gs-suggestion-count {
	font-size: 0.75rem;
	opacity: 0.7;
}

/* ── Popular Suggestions (in no-results page) ── */
.gs-popular-suggestions {
	margin-top: 30px;
	text-align: right;
}

.gs-popular-suggestions h3 {
	font-size: 1rem;
	color: var(--gs-primary);
	margin: 16px 0 8px;
}

.gs-suggestions-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* ==============================================
   Contact Form
   ============================================== */

.gs-contact-form-inner {
	position: relative;
}

.gs-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.gs-form-group {
	margin-bottom: 12px;
}

.gs-form-group label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 4px;
	color: var(--gs-text);
}

.gs-required {
	color: var(--gs-red);
}

.gs-form-group input,
.gs-form-group textarea,
.gs-form-group select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius-sm);
	font-size: 0.95rem;
	font-family: inherit;
	direction: rtl;
	transition: border-color var(--gs-transition);
}

.gs-form-group input:focus,
.gs-form-group textarea:focus {
	outline: none;
	border-color: var(--gs-primary-light);
	box-shadow: 0 0 0 3px rgba(46, 117, 182, 0.1);
}

.gs-field-invalid {
	border-color: var(--gs-red) !important;
}

.gs-field-error {
	display: block;
	font-size: 0.8rem;
	color: var(--gs-red);
	margin-top: 4px;
}

.gs-field-hint {
	display: block;
	font-size: 0.8rem;
	color: var(--gs-text-light);
	margin-top: 4px;
}

.gs-char-info {
	display: block;
	text-align: left;
	font-size: 0.8rem;
	color: var(--gs-text-light);
	margin-top: 2px;
}

.gs-form-footer {
	display: flex;
	gap: 10px;
	align-items: center;
}

.gs-submit-btn {
	min-width: 140px;
}

.gs-form-success {
	text-align: center;
	padding: 40px 20px;
}

.gs-success-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--gs-accent);
	color: var(--gs-white);
	font-size: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.gs-success-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--gs-accent);
	margin: 0 0 8px;
}

.gs-success-text {
	color: var(--gs-text-light);
}

.gs-form-error {
	background: #FFEBEE;
	color: var(--gs-red);
	padding: 12px 16px;
	border-radius: var(--gs-radius-sm);
	margin-top: 12px;
}

.gs-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

/* ==============================================
   Ratings Display
   ============================================== */

.gs-rating-item {
	padding: 16px 0;
	border-bottom: 1px solid var(--gs-border);
}

.gs-rating-item:last-child {
	border-bottom: none;
}

.gs-rating-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.gs-rating-stars .gs-star {
	font-size: 1rem;
}

.gs-rating-author {
	font-size: 0.95rem;
	color: var(--gs-text);
}

.gs-rating-date {
	font-size: 0.8rem;
	color: var(--gs-text-light);
}

.gs-rating-text {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--gs-text);
}

.gs-no-ratings {
	text-align: center;
	color: var(--gs-text-light);
	padding: 20px 0;
	font-style: italic;
}

/* Agent Response */
.gs-rating-response {
	margin-top: 10px;
	padding: 12px 16px;
	background: var(--gs-bg);
	border-radius: var(--gs-radius-sm);
	border-right: 3px solid var(--gs-primary);
}

.gs-response-header {
	font-size: 0.85rem;
	margin-bottom: 6px;
}

.gs-response-header strong {
	color: var(--gs-primary);
}

.gs-response-date {
	color: var(--gs-text-light);
	font-size: 0.8rem;
}

.gs-rating-response p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

/* ==============================================
   Rating Form
   ============================================== */

.gs-rating-form-wrap {
	background: var(--gs-bg);
	border-radius: var(--gs-radius);
	padding: 24px;
	margin-top: 20px;
	border: 1px solid var(--gs-border);
}

.gs-rating-form-wrap h3 {
	margin: 0 0 16px;
	color: var(--gs-primary);
}

/* Star Picker */
.gs-star-picker {
	display: flex;
	gap: 4px;
	margin-bottom: 16px;
}

.gs-star-pick {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	font-size: 2rem;
	color: #DDD;
	transition: transform 0.15s ease;
}

.gs-star-pick:hover {
	transform: scale(1.2);
}

.gs-star-selected .gs-star-icon,
.gs-star-pick:hover .gs-star-icon {
	color: #F1C40F;
}

.gs-star-selected {
	color: #F1C40F;
}

/* Rating Message */
.gs-rating-msg {
	padding: 12px 16px;
	border-radius: var(--gs-radius-sm);
	margin-top: 12px;
	font-weight: 600;
}

.gs-rating-msg-success {
	background: #E8F5E9;
	color: #2E7D32;
}

.gs-rating-msg-error {
	background: #FFEBEE;
	color: #C62828;
}

/* Verify Banner */
.gs-verify-banner {
	background: #E8F5E9;
	color: #2E7D32;
	padding: 14px 20px;
	border-radius: var(--gs-radius-sm);
	margin-bottom: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
}

.gs-verify-banner button {
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: #2E7D32;
}

/* ==============================================
   Registration Form
   ============================================== */

.gs-registration-wrap {
	max-width: 700px;
	margin: 0 auto;
	padding: 20px;
}

.gs-reg-header {
	text-align: center;
	margin-bottom: 30px;
}

.gs-reg-header h2 {
	color: var(--gs-primary);
	font-size: 1.8rem;
	margin: 0 0 8px;
}

.gs-reg-header p {
	color: var(--gs-text-light);
	font-size: 1.05rem;
}

.gs-reg-step {
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	padding: 24px;
	margin-bottom: 20px;
	background: var(--gs-white);
}

.gs-reg-step legend {
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--gs-primary);
	padding: 0 8px;
}

.gs-form-grid-2 {
	grid-template-columns: 1fr 1fr;
}

.gs-checkbox-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 8px;
}

.gs-checkbox-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: var(--gs-radius-sm);
	transition: background var(--gs-transition);
}

.gs-checkbox-label:hover {
	background: var(--gs-bg);
}

.gs-terms-group {
	margin: 16px 0;
}

.gs-btn-danger {
	background: var(--gs-red);
	color: var(--gs-white);
	border: none;
	padding: 10px 24px;
	border-radius: var(--gs-radius-sm);
	font-weight: 600;
	cursor: pointer;
}

.gs-btn-danger:hover {
	background: #C0392B;
}

/* ==============================================
   Agent Dashboard
   ============================================== */

.gs-dashboard {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.gs-dash-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--gs-border);
}

.gs-dash-header h2 {
	color: var(--gs-primary);
	margin: 0;
}

.gs-dash-status {
	display: flex;
	gap: 8px;
	align-items: center;
}

.gs-dash-badge {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 20px;
	color: var(--gs-white);
	font-size: 0.85rem;
	font-weight: 600;
}

.gs-dash-tier {
	font-size: 0.85rem;
	color: var(--gs-text-light);
	padding: 4px 12px;
	background: var(--gs-bg);
	border-radius: 20px;
}

.gs-dash-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

.gs-dash-stat {
	background: var(--gs-white);
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	padding: 20px;
	text-align: center;
}

.gs-dash-stat-value {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: var(--gs-primary);
}

.gs-dash-stat-label {
	font-size: 0.85rem;
	color: var(--gs-text-light);
}

.gs-dash-actions {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.gs-dash-section {
	background: var(--gs-white);
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	padding: 24px;
	margin-bottom: 16px;
}

.gs-dash-section h3 {
	color: var(--gs-primary);
	margin: 0 0 12px;
	font-size: 1.1rem;
}

.gs-dash-table {
	width: 100%;
	border-collapse: collapse;
}

.gs-dash-table th,
.gs-dash-table td {
	padding: 8px 12px;
	text-align: right;
	border-bottom: 1px solid var(--gs-border);
	font-size: 0.95rem;
}

.gs-dash-table th {
	font-weight: 600;
	width: 140px;
	color: var(--gs-text-light);
}

.gs-dash-danger {
	border-color: #FFCDD2;
	background: #FFF5F5;
}

.gs-dash-danger h3 {
	color: var(--gs-red);
}

.gs-login-required,
.gs-no-agent {
	text-align: center;
	padding: 40px 20px;
	background: var(--gs-white);
	border-radius: var(--gs-radius);
	box-shadow: var(--gs-shadow);
}

/* ==============================================
   Profile Editor
   ============================================== */

.gs-editor-wrap {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.gs-editor-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.gs-editor-header h2 {
	color: var(--gs-primary);
	margin: 0;
}

/* Tabs */
.gs-editor-tabs {
	display: flex;
	gap: 4px;
	border-bottom: 2px solid var(--gs-border);
	margin-bottom: 20px;
	overflow-x: auto;
}

.gs-tab-btn {
	padding: 10px 20px;
	border: none;
	background: transparent;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gs-text-light);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	white-space: nowrap;
	transition: all var(--gs-transition);
}

.gs-tab-btn:hover {
	color: var(--gs-primary);
}

.gs-tab-btn.gs-tab-active {
	color: var(--gs-primary);
	border-bottom-color: var(--gs-primary);
}

/* Editor Message */
.gs-editor-msg {
	padding: 12px 16px;
	border-radius: var(--gs-radius-sm);
	margin-bottom: 16px;
	font-weight: 600;
}

.gs-editor-msg-success {
	background: #E8F5E9;
	color: #2E7D32;
}

.gs-editor-msg-error {
	background: #FFEBEE;
	color: #C62828;
}

/* Logo Upload */
.gs-logo-upload {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--gs-border);
}

.gs-logo-preview {
	flex-shrink: 0;
}

.gs-logo-img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--gs-border);
}

.gs-logo-placeholder {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: var(--gs-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	border: 3px dashed var(--gs-border);
}

.gs-btn-small {
	padding: 6px 14px;
	font-size: 0.85rem;
}

/* Hours Edit Table */
.gs-hours-edit-table {
	width: 100%;
	border-collapse: collapse;
}

.gs-hours-edit-table th,
.gs-hours-edit-table td {
	padding: 8px;
	text-align: right;
	border-bottom: 1px solid var(--gs-border);
}

.gs-hours-edit-table th {
	font-size: 0.85rem;
	color: var(--gs-text-light);
}

.gs-hours-edit-table select,
.gs-hours-edit-table input[type="time"] {
	padding: 6px;
	border: 1px solid var(--gs-border);
	border-radius: 6px;
	font-size: 0.9rem;
}

/* Insurance Checkbox Grid */
.gs-checkbox-grid-large .gs-checkbox-label {
	padding: 12px 16px;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius-sm);
	font-size: 1rem;
}

.gs-checkbox-grid-large .gs-checkbox-label:has(input:checked) {
	background: #E3F2FD;
	border-color: var(--gs-primary-light);
}

/* ==============================================
   Payment History
   ============================================== */

.gs-payment-wrap {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.gs-payment-wrap h2 {
	color: var(--gs-primary);
	margin: 0 0 24px;
}

.gs-payment-wrap h3 {
	color: var(--gs-primary);
	margin: 20px 0 12px;
	font-size: 1.1rem;
}

/* Current Plan */
.gs-pay-current {
	background: var(--gs-white);
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	padding: 24px;
	margin-bottom: 24px;
}

.gs-pay-plan-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.gs-pay-tier-name {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--gs-primary);
}

.gs-pay-status {
	font-weight: 600;
	font-size: 0.95rem;
}

.gs-pay-price {
	margin-top: 4px;
}

.gs-pay-amount {
	font-size: 2rem;
	font-weight: 700;
	color: var(--gs-text);
}

.gs-pay-currency {
	font-size: 1rem;
	color: var(--gs-text-light);
}

/* Trial */
.gs-pay-trial-info {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--gs-border);
}

.gs-trial-bar {
	height: 8px;
	background: #E0E0E0;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 8px;
}

.gs-trial-progress {
	height: 100%;
	background: linear-gradient(90deg, #4CAF50, #FFC107);
	border-radius: 4px;
	transition: width 0.5s ease;
}

.gs-pay-grace-info,
.gs-pay-expired-info {
	margin-top: 16px;
	padding: 12px;
	border-radius: var(--gs-radius-sm);
}

.gs-pay-grace-info {
	background: #FFF3E0;
}

.gs-pay-expired-info {
	background: #FFEBEE;
}

/* Plans Grid */
.gs-plans-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 12px;
}

.gs-plan-card {
	background: var(--gs-white);
	border: 2px solid var(--gs-border);
	border-radius: var(--gs-radius);
	padding: 24px;
	text-align: center;
	position: relative;
	transition: all var(--gs-transition);
}

.gs-plan-card:hover {
	box-shadow: var(--gs-shadow-hover);
}

.gs-plan-active {
	border-color: var(--gs-primary);
}

.gs-plan-popular {
	border-color: var(--gs-accent);
}

.gs-plan-popular-tag {
	position: absolute;
	top: -12px;
	right: 50%;
	transform: translateX(50%);
	background: var(--gs-accent);
	color: var(--gs-white);
	padding: 2px 14px;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 700;
}

.gs-plan-card h4 {
	margin: 0 0 8px;
	font-size: 1.2rem;
	color: var(--gs-primary);
}

.gs-plan-price {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--gs-text);
	margin-bottom: 12px;
}

.gs-plan-price span {
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--gs-text-light);
}

.gs-plan-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: right;
}

.gs-plan-card li {
	padding: 4px 0;
	font-size: 0.9rem;
}

.gs-plan-current-badge {
	display: inline-block;
	margin-top: 12px;
	padding: 4px 16px;
	border-radius: 20px;
	background: var(--gs-primary);
	color: var(--gs-white);
	font-size: 0.8rem;
	font-weight: 600;
}

.gs-plans-note {
	font-size: 0.85rem;
	color: var(--gs-text-light);
	text-align: center;
}

/* Payment Table */
.gs-pay-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--gs-white);
	border-radius: var(--gs-radius);
	overflow: hidden;
}

.gs-pay-table th,
.gs-pay-table td {
	padding: 10px 14px;
	text-align: right;
	border-bottom: 1px solid var(--gs-border);
	font-size: 0.9rem;
}

.gs-pay-table th {
	background: var(--gs-bg);
	font-weight: 600;
	color: var(--gs-text-light);
}

.gs-pay-empty {
	text-align: center;
	color: var(--gs-text-light);
	padding: 20px;
	font-style: italic;
}

.gs-pay-account {
	margin-top: 16px;
	font-size: 0.85rem;
	color: var(--gs-text-light);
}

.gs-pay-account code {
	background: var(--gs-bg);
	padding: 2px 8px;
	border-radius: 4px;
}

/* ── Parent Link ────────────────────────────── */
.gs-parent-section {
	text-align: center;
	padding: 16px;
}

.gs-parent-link {
	color: var(--gs-primary);
	font-weight: 600;
	text-decoration: none;
}

.gs-parent-link:hover {
	text-decoration: underline;
}

/* ==============================================
   Responsive
   ============================================== */

@media (max-width: 768px) {

	.gs-insdir-wrap {
		padding: 12px;
	}

	.gs-archive-title,
	.gs-hero-title {
		font-size: 1.5rem;
	}

	.gs-filter-row {
		flex-direction: column;
	}

	.gs-filter-group {
		min-width: 100%;
	}

	.gs-hero-inner {
		flex-direction: column;
		text-align: center;
	}

	.gs-hero-badges {
		justify-content: center;
	}

	.gs-hero {
		padding: 24px;
	}

	.gs-cta-row {
		flex-direction: column;
	}

	.gs-btn-cta {
		width: 100%;
	}

	.gs-details-grid {
		grid-template-columns: 1fr;
	}

	.gs-card-top {
		padding: 16px;
		gap: 14px;
	}

	.gs-card-logo-img,
	.gs-card-logo-ph {
		width: 70px;
		height: 70px;
	}

	.gs-card-title {
		font-size: 1.05rem;
	}

	.gs-card-actions {
		flex-wrap: wrap;
	}

	.gs-card-btn {
		padding: 10px 12px;
		font-size: 0.8rem;
	}

	.gs-card-desc {
		-webkit-line-clamp: 1;
	}

	.gs-form-grid {
		grid-template-columns: 1fr;
	}

	.gs-form-grid-2 {
		grid-template-columns: 1fr;
	}

	.gs-dash-stats {
		grid-template-columns: 1fr;
	}

	.gs-dash-header {
		flex-direction: column;
		text-align: center;
	}

	.gs-dash-actions {
		flex-direction: column;
	}

	.gs-editor-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.gs-tab-btn {
		padding: 8px 14px;
		font-size: 0.85rem;
	}

	.gs-plans-grid {
		grid-template-columns: 1fr;
	}

	.gs-logo-upload {
		flex-direction: column;
		text-align: center;
	}

	.gs-gallery-grid {
		grid-template-columns: 1fr 1fr;
	}

	.gs-info-grid {
		grid-template-columns: 1fr;
	}

	/* Show sticky CTA on mobile single pages */
	.gs-insdir-single .gs-sticky-cta {
		display: flex;
	}

	/* Bottom padding to avoid sticky overlap */
	.gs-insdir-single .gs-single-wrap {
		padding-bottom: 80px;
	}

	.gs-cards-small {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.gs-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ── Focus Indicators (WCAG) ────────────────── */
.gs-insdir-wrap a:focus-visible,
.gs-insdir-wrap button:focus-visible,
.gs-insdir-wrap input:focus-visible,
.gs-insdir-wrap select:focus-visible,
.gs-insdir-wrap textarea:focus-visible {
	outline: 3px solid var(--gs-primary-light);
	outline-offset: 2px;
}

/* ── High Contrast (reduced motion) ─────────── */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
