/* ========================================
   SERVICES ARCHIVE STYLES
   ======================================== */

.site-header {
	z-index: 1000 !important;
}

/* ========================================
	VARIABLES
	======================================== */

:root {
	--gsw-primary-color: #e1790d;
	--gsw-primary-hover-color: rgb(223, 97, 0);
	--gsw-secondary-color: #720eec;
	--gsw-tertiary-color: #e9e6ed;
	--gsw-quaternary-color: #e9e6ed;
	--gsw-quinary-color: #e9e6ed;
	--gsw-senary-color: #e9e6ed;
	--gsw-septenary-color: #e9e6ed;
	--gsw-octonary-color: #e9e6ed;
	--gsw-nonary-color: #e9e6ed;
	--gsw-denary-color: #e9e6ed;
	--gsw-text-color: #1e293b;
	--gsw-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* ========================================
   1. RESET & BASE STYLES
   ======================================== */

* {
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

#gsw-main-content {
	padding: 0;
	width: 100%;
}

/* ========================================
   2. MAP SECTION
   ======================================== */

.gsw-map-header {
	width: 100%;
	padding: 40px 0;
	margin-bottom: 0;
}

.gsw-map-header .gsw-container {
	margin: 0 auto;
	padding: 0 20px;
}

.gsw-entry-title.gsw-main_title {
	font-size: 2.5em;
	margin-bottom: 30px;
	text-align: center;
	color: var(--gsw-text-color);
	font-weight: 700;
}

#gsw-services-map {
	width: 100%;
	height: 500px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Search location marker styles */
.gsw-search-location-marker {
	background: none;
	border: none;
}

.gsw-search-marker-icon {
	width: 20px;
	height: 20px;
	background: #e74c3c;
	border: 2px solid white;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========================================
   3. SEARCH BAR
   ======================================== */

.gsw-search-bar {
	padding: 10px 20px;
	margin-bottom: 0;
}

.gsw-search-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 1em;
	background: white;
	border-radius: 8px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: stretch;
	gap: 1em;
	overflow: hidden;
}

.gsw-search-field {
	display: flex;
	align-items: center;
	position: relative;
	background: #ffffff;
}

.gsw-search-field.gsw-search-field-location {
	flex: 5; /* Location field */
	border-right: 1px solid #dee2e6;
}

.gsw-search-field.gsw-search-field-distance {
	flex: 1; /* Distance field */
	border-right: 1px solid #dee2e6;
	min-width: 150px;
}

.gsw-search-field.gsw-search-field-category {
	flex: 3; /* Category field */
}

.gsw-search-field input,
.gsw-search-field select {
	border: none;
	outline: none;
	background: #ffffff;
	color: var(--gsw-text-color);
	font-family: inherit;
	width: 100%;
}

.gsw-search-field input::placeholder {
	color: #6c757d;
}

.gsw-search-button {
	background: var(--gsw-primary-color);
	color: white;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 8px;
	font-family: inherit;
}

.gsw-search-button:hover {
	background: var(--gsw-primary-hover-color);
}

.gsw-search-button:active {
	transform: translateY(0);
}

.gsw-distance-unit {
	font-size: 16px;
	color: #6c757d;
	margin-left: 5px;
	margin-right: 10px;
}

.gsw-location-icon {
	background-color: transparent;
	box-shadow: unset;
	color: var(--gsw-text-color);
	width: 60px;
}

.gsw-location-icon:hover {
	color: var(--gsw-primary-color);
	background-color: transparent;
}

/* ========================================
   4. RESULTS COUNTER
   ======================================== */

.gsw-results-counter {
	padding-bottom: 1em;
	margin-bottom: 0em;
}

.gsw-search-info {
	margin: 0;
	color: var(--gsw-text-color);
	font-size: 1rem;
}

.gsw-search-info i {
	color: #e74c3c;
	margin-right: 8px;
}

/* ========================================
   5. CONTENT SECTION
   ======================================== */

.gsw-content-section {
	padding: 40px 0;
}

.gsw-content-section .gsw-container {
	margin: 0 auto;
	padding: 0 20px;
}

/* ========================================
   6. SERVICES GRID
   ======================================== */

.gsw-services-grid {
	--gsw-service-card-min-width: 350px;

	display: grid;
	grid-template-columns: repeat(
		auto-fill,
		minmax(min(var(--gsw-service-card-min-width), 100%), 1fr)
	);
	gap: 30px;
	margin: 0;
	align-items: stretch;
}

/* ========================================
   7. SERVICE CARDS
   ======================================== */

.gsw-service-card {
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	/* height: 100%; */
	position: relative;
}

.gsw-service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gsw-service-image {
	width: 100%;
	height: 350px;
	overflow: hidden;
	position: relative;
}

.gsw-service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gsw-service-card:hover .gsw-service-image img {
	transform: scale(1.05);
}

.gsw-service-content {
	--gsw-service-content-shift: 30px;

	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
	margin-top: calc(var(--gsw-service-content-shift) * -1);
	background-color: white;
	z-index: 1;
	border-radius: var(--gsw-service-content-shift) 0 0 0;
}

.gsw-service-title {
	font-size: clamp(1.8rem, 2vw, 2.1rem);
	margin: 0 0 0.25em 0 !important;
	color: var(--gsw-text-color);
	line-height: 1.2;
	text-transform: none !important;
}

.gsw-service-category {
	display: inline-block;
	border-radius: 20px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 0.5em;
	transition: all 0.3s ease;
	color: var(--gsw-primary-color);
	width: fit-content;
}

.gsw-service-category a:hover {
	color: white !important;
}

.gsw-service-address {
	margin-bottom: 1em;
}

.gsw-service-address i {
	color: var(--gsw-primary-color);
}

.gsw-service-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 15px;
	font-size: 0.9rem;
	color: var(--gsw-text-color);
}

.gsw-service-author,
.gsw-service-subscription,
.gsw-service-subscription-date {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gsw-service-author i,
.gsw-service-subscription i,
.gsw-service-subscription-date i {
	color: var(--gsw-primary-color);
	font-size: 0.9rem;
}

.gsw-service-subscription.active {
	color: #28a745;
}

.gsw-service-subscription.inactive {
	color: #dc3545;
}

.gsw-service-subscription-date {
	color: #6c757d;
}

.gsw-expiry-warning {
	color: #ffc107;
	font-weight: 500;
}

.gsw-service-distance {
	background: none;
	color: var(--gsw-primary-color);
	border: 1px solid var(--gsw-primary-color);
	padding: 0.3em 1em;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 1.5em;
	width: fit-content;
	position: absolute;
	top: 1em;
	right: 1em;
	z-index: 1;
	background-color: white;
}

.gsw-service-links {
	display: flex;
	gap: 8px;
	margin: 20px 0 0 0;
	flex-wrap: wrap;
	margin-top: auto;
}

.gsw-service-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.5em 1em;
	background: #f8f9fa;
	color: var(--gsw-text-color);
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.75rem;
	transition: all 0.2s ease;
	border: 1px solid #dee2e6;
}

.gsw-service-links a:hover {
	background: var(--gsw-primary-color);
	color: white;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(var(--gsw-primary-color), 0.3);
}

.gsw-service-links a i {
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.gsw-service-links a:hover i {
	color: white;
}

.gsw-read-more {
	color: white;
	background-color: var(--gsw-primary-color);
	width: 100%;
	padding: 0.5em 1em;
	border-radius: 5px;
	margin-top: 0.75em;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	border: 1px solid var(--gsw-primary-hover-color);
}

.gsw-read-more:hover {
	color: var(--gsw-primary-hover-color);
	background-color: white;
	border: 1px solid var(--gsw-primary-hover-color);
}

/* ========================================
   8. SINGLE SERVICE PAGE
   ======================================== */

.gsw-single-service-page {
	padding: 40px 0;
}

.gsw-single-service-page .gsw-container {
	margin: 0 auto;
	padding: 0 20px;
}

/* Two Column Layout with Header */
.gsw-service-content-wrapper {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: auto auto;
	gap: 40px;
	align-items: start;
}

/* Service Header - Part of Grid Layout */
.gsw-service-header {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}

.gsw-service-category-badge {
	margin-bottom: 0;
}

.gsw-service-location {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0;
	font-size: 1.1rem;
	font-weight: 500;
}

.gsw-service-location i {
	color: #ffffff;
	font-size: 1rem;
}

/* Left Column - Main Content */
.gsw-service-main-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
	grid-column: 1;
	grid-row: 2;
}

.gsw-single-service-page .gsw-service-image {
	width: 100%;
	height: auto;
	border-radius: 12px;
	overflow: hidden;
	background: #f8f9fa;
	aspect-ratio: 16/10;
}

.gsw-service-featured-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gsw-no-image-placeholder {
	width: 100%;
	height: 100%;
	background: #f8f9fa;
	border: 2px dashed #ddd;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #999;
	border-radius: 12px;
}

.gsw-no-image-placeholder i {
	font-size: 4rem;
	margin-bottom: 15px;
}

.gsw-no-image-placeholder p {
	margin: 0;
	font-size: 1.2rem;
}

.gsw-service-description {
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gsw-service-text {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--gsw-text-color);
}

.gsw-service-text p {
	margin-bottom: 20px;
}

/* Right Column - Sidebar */
.gsw-service-sidebar {
	display: flex;
	flex-direction: column;
	gap: 30px;
	grid-column: 2;
	grid-row: 1 / 3;
}

/* Social Links Section */
.gsw-service-links-section {
	margin-bottom: 0em;
}

.gsw-service-link {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px 20px;
	margin-bottom: 10px;
	background: #f8f9fa;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	border-left: 4px solid var(--gsw-primary-color);
	color: var(--gsw-text-color);
}

.gsw-service-link:hover {
	color: var(--gsw-primary-color);
	transform: translateX(5px);
}

.gsw-service-link i {
	width: 20px;
	text-align: center;
	font-size: 1.2rem;
	color: var(--gsw-primary-color);
}

.gsw-service-link span {
	font-weight: 500;
}

/* Map Section */
.gsw-service-map-section {
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	gap: 0px;
}

.gsw-service-map {
	width: 100%;
	aspect-ratio: 1/1;
	min-height: 80%;
	border-radius: 8px;
	border: 1px solid #ddd;
}

.gsw-directions-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 24px;
	background: var(--gsw-primary-color);
	color: white;
	text-decoration: none;
	border-radius: 0 0 8px 8px;
	font-weight: 500;
	font-size: 16px;
	transition: all 0.3s ease;
}

.gsw-directions-button:hover {
	background: #3367d6;
	color: white;
}

.gsw-directions-button i {
	font-size: 18px;
}

/* Subscription Info */
.gsw-subscription-info {
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gsw-subscription-info h3 {
	font-size: 1.5em;
	color: #333;
	margin-bottom: 20px;
	border-bottom: 2px solid #007bff;
	padding-bottom: 10px;
}

.gsw-subscription-status {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	padding: 15px;
	border-radius: 8px;
	font-weight: 500;
}

.gsw-subscription-status.active {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.gsw-subscription-status.inactive {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.gsw-subscription-status i {
	font-size: 1.2rem;
}

.gsw-subscription-date {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid var(--gsw-primary-color);
}

.gsw-subscription-date.expiring-soon {
	border-left-color: #ffc107;
	background: #fff3cd;
}

.gsw-subscription-date i {
	color: var(--gsw-primary-color);
}

.gsw-expiry-warning {
	color: #856404;
	font-weight: 500;
}

/* Action Buttons */
.gsw-service-actions {
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   9. RESPONSIVE DESIGN
   ======================================== */

/* Tablet and smaller */
@media (max-width: 1024px) {
	.gsw-service-content-wrapper {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 10px;
	}

	.gsw-service-header {
		grid-column: 1;
		grid-row: 1;
	}

	.gsw-service-main-content {
		grid-column: 1;
		grid-row: 2;
		order: 3;
	}
	.gsw-service-sidebar {
		grid-column: 1;
		grid-row: 3;
		order: 3;
	}

	.gsw-service-map {
		height: 300px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.gsw-single-service-page {
		padding: 20px 0;
	}

	.gsw-single-service-page .gsw-container {
		padding: 0 15px;
	}

	/* .gsw-service-header {
		padding: 30px 20px;
		margin-bottom: 30px;
	} */

	/* .gsw-service-title {
		font-size: 2em;
	} */

	.gsw-service-image {
		height: 300px;
		height: 300px;
	}

	.gsw-service-description,
	.gsw-subscription-info,
	.gsw-service-actions {
		padding: 20px;
	}

	.gsw-service-link {
		padding: 12px 15px;
	}

	.gsw-search-container {
		flex-direction: column;
		gap: 10px;
	}

	.gsw-search-field {
		flex: 1;
		border-bottom: 1px solid #dee2e6;
		border-right: none !important;
	}
}

/* Small mobile */
@media (max-width: 480px) {
	.gsw-service-header {
		padding: 20px 15px;
	}

	/* .gsw-service-title {
		font-size: 1.8em;
	} */

	.gsw-service-image {
		height: 250px;
		height: 300px;
	}

	.gsw-service-description,
	.gsw-subscription-info,
	.gsw-service-actions {
		padding: 15px;
	}

	.gsw-service-link {
		padding: 10px 12px;
		font-size: 0.9rem;
	}

	.gsw-service-map {
		height: 200px;
	}

	.gsw-entry-title.gsw-main_title {
		font-size: 2em;
	}

	#gsw-services-map {
		height: 300px;
	}
}

img.huechange {
	filter: hue-rotate(170deg);
}

/* ========================================
   CATEGORY GRID (SHORTCODE)
   ======================================== */
.gsw-category-grid {
	--gsw-service-card-min-width: 350px;
	display: grid;
	grid-template-columns: repeat(
		auto-fill,
		minmax(min(var(--gsw-service-card-min-width), 100%), 1fr)
	);
	gap: 30px;
	margin: 0;
	align-items: stretch;
}

.gsw-category-card {
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.5);
	position: relative;
}

.gsw-category-image-wrapper {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	display: flex;
	box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.gsw-category-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gsw-category-content {
	padding: 1em;
	display: flex;
	flex-direction: column;
	gap: 1em;
	text-align: center;
}

.gsw-category-title {
	margin: 0;
	color: var(--gsw-text-color);
	font-weight: 700;
}

.gsw-category-desc {
	color: var(--gsw-text-color);
	font-size: 0.95rem;
	line-height: 1.6;
}

.gsw-category-meta {
	position: absolute;
	max-width: fit-content;
	left: 0rem;
	top: 1.5rem;
	z-index: 1;
	display: none;
}

.gsw-category-count {
	background-color: rgba(254, 230, 138, 1);
	border-radius: 0 100px 100px 0;
	padding: 0.25em 1.25em;
	color: black;
	margin: auto;
	box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.5);
}

.gsw-category-actions {
	display: flex;
	flex-direction: column;
	gap: 1em;
	margin-top: auto;
	padding: 0 1em 1em 1em;
}

.gsw-btn {
	/* flex: 1; */
	text-align: center;
	padding: 0.5em 1em;
	border-radius: 5px;
	text-decoration: none !important;
	transition: all 0.2s ease;
	background-color: transparent;
	border: 1px solid var(--gsw-primary-color);
	transition: all 200ms ease-in-out;
	color: var(--gsw-text-color);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	/* max-height: fit-content; */
	cursor: pointer;
}

.gsw-btn:hover {
	background-image: linear-gradient(180deg, #1b1d1fab 0%, #e6570a 100%);
	color: white;
}

.gsw-btn-primary {
	background: var(--gsw-primary-color);
	background-image: linear-gradient(180deg, #e1790d 0%, #f2c429 100%);
}

.gsw-btn-secondary {
	color: var(--gsw-text-color);
}

/* ========================================
   SERVICE NOT FOUND ERROR MESSAGE
   ======================================== */

.gsw-service-not-found {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	padding: 2rem;
	width: 100%;
}

.gsw-error-message {
	text-align: center;
	background: #fff;
	padding: 3rem 2rem;
	border-radius: 12px;
	box-shadow: var(--gsw-box-shadow);
	max-width: 500px;
	width: 100%;
}

.gsw-error-message i {
	font-size: 4rem;
	color: #dc2626;
	margin-bottom: 1.5rem;
	display: block;
	width: 100%;
}

.gsw-error-message h2 {
	color: var(--gsw-text-color);
	font-size: 1.75rem;
	font-weight: 600;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.gsw-error-message p {
	color: #6b7280;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
}

/* ========================================
   MY ACCOUNT - PAGE LAYOUT
   ======================================== */

/* Column layout for My Account */
.woocommerce {
	display: flex !important;
	flex-direction: column;
}

/* Full width for My Account */
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
	width: 100% !important;
}

/* Row layout for My Account menu items */
.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: row !important;
	gap: 0.5em;
	row-gap: 0em;
	padding-left: 0;
	flex-wrap: wrap;
}

/* WooCommerce My Account Tab Icons using CSS pseudo-elements */
.woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	position: relative;
	padding: 1em;
	padding-left: 2.5em;
	height: 100%;
}

/* Tab icon */
.woocommerce-MyAccount-navigation ul li a:before {
	content: "";
	position: absolute;
	left: 1em;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 14px;
	color: var(--gsw-primary-color);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.woocommerce-MyAccount-navigation ul li {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	border: none !important;
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 0.5em;
	overflow: hidden;
	flex-grow: 1;
	flex-shrink: 0;
}

.woocommerce-MyAccount-navigation-link a {
	color: var(--gsw-text-color) !important;
}

.woocommerce-MyAccount-navigation-link a:before {
	margin-right: 1.5em;
	content: "";
	position: absolute;
	left: 1em;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 1em;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.woocommerce-MyAccount-navigation-link.is-active {
	opacity: 1;
}

/* Individual tab icons */
.woocommerce-MyAccount-navigation-link--dashboard a:before {
	content: "\f3fd" !important;
} /* Dashboard - tachometer-alt */

.woocommerce-MyAccount-navigation-link--orders a:before {
	content: "\f290" !important;
} /* Orders - shopping-bag */

.woocommerce-MyAccount-navigation-link--hirdetesek a:before {
	content: "\f0a1" !important;
} /* Hirdetések - bullhorn */

.woocommerce-MyAccount-navigation-link--szolgaltatas-szerkeszto a:before {
	content: "\f044" !important;
} /* Szolgáltatás szerkesztő - edit */

.woocommerce-MyAccount-navigation-link--subscriptions a:before {
	content: "\f651" !important;
} /* Subscription - user-edit */

.woocommerce-MyAccount-navigation-link--edit-address a:before {
	content: "\f3c5" !important;
} /* Address - map-marker-alt */

.woocommerce-MyAccount-navigation-link--payment-methods a:before {
	content: "\f09d" !important;
} /* Fizetési módok- bullhorn */

.woocommerce-MyAccount-navigation-link--pedit-account a:before {
	content: "\f4ff" !important;
} /* Account - user-edit */

.woocommerce-MyAccount-navigation-link--edit-account a:before {
	content: "\f4ff" !important;
} /* Account - user-edit */

.woocommerce-MyAccount-navigation-link--customer-logout a:before {
	content: "\f2f5" !important;
} /* Logout - sign-out-alt */

.woocommerce-MyAccount-content {
	background-color: white;
	padding: 2em;
	border-radius: 0.5em;
}

/* Hover and active states */
.woocommerce-MyAccount-navigation ul li.is-active a:before,
.woocommerce-MyAccount-navigation ul li a:hover:before {
	color: var(--gsw-primary-hover-color);
	transform: translateY(-50%) scale(1.2);
}

/* ========================================
   MY ACCOUNT - SERVICE CARDS
   ======================================== */

/* layout */
.woocommerce-account .woocommerce-MyAccount-content {
	min-height: 50vh;
}

.gsw-services-myaccount-grid {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.gsw-service-myaccount-card {
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: row;
	padding: 2em;
	gap: 2em;
}

@media (max-width: 768px) {
	.gsw-service-myaccount-card {
		flex-direction: column;
	}
}

.gsw-service-myaccount-card-header {
	display: flex;
	justify-content: space-between;
}

.gsw-service-myaccount-title {
	margin-bottom: 0px;
}

.gsw-service-myaccount-card-image {
	width: 200px;
	height: 200px;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	overflow: hidden;
}

.gsw-service-myaccount-card-image img {
	height: 100%;
	object-fit: cover;
}

.gsw-service-myaccount-card-content {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.gsw-service-myaccount-card-content i {
	color: orange;
}

/*
 status styles
*/

.gsw-service-myaccount-status {
	background-color: lightgray;
	padding: 0.1em 1em;
	border-radius: 100px;
	height: fit-content;
}

.gsw-mindful-services-myaccount .gsw-service-myaccount-status.status-publish {
	background: #dcfce7;
	color: #166534;
}

.gsw-mindful-services-myaccount .gsw-service-myaccount-status.status-draft {
	background: #fef3c7;
	color: #92400e;
}

.gsw-mindful-services-myaccount .gsw-service-myaccount-status.status-pending {
	background: #dbeafe;
	color: #1e40af;
}

.gsw-services-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 2em;
}

/* Tablet and smaller */
@media (max-width: 1024px) {
	.gsw-services-header {
		flex-direction: column;
	}
}

.gsw-services-header h3 {
	flex: 3;
}

.gsw-services-header a {
	height: fit-content;
	margin-left: auto;
	flex: 1;
}

.gsw-service-myaccount-card-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-left: auto;
	min-width: 250px;
}

/* Tablet and smaller */
@media (max-width: 1024px) {
	.gsw-service-myaccount-card-actions {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.gsw-service-myaccount-card-actions {
		flex-direction: column;
		min-width: 100%;
	}
}

.gsw-service-myaccount-card-actions .gsw-btn {
	flex: 1;
	min-width: 120px;
	text-align: center;
}

/* Subscription Info Header Styles */
.gsw-subscription-info-header {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	width: 100%;
	margin-bottom: 2em;
	background-color: rgba(0, 0, 0, 0.05);
	padding: 0.5em 1em;
	border-radius: 5px;
}

.gsw-subscription-info-header > div {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: #6b7280;
}

@media (max-width: 768px) {
	.gsw-subscription-info-header > div {
		flex-direction: column;
	}
}

.gsw-subscription-info-header i {
	width: 16px;
	color: var(--gsw-primary-color);
}

.gsw-subscription-name {
	color: var(--gsw-primary-color) !important;
	font-weight: 500;
}

.gsw-subscription-name i {
	color: #f59e0b;
}

.gsw-subscription-end-date {
	color: #6b7280;
}

.gsw-max-ads-info {
	color: rgba(0, 0, 0, 0.5);
}

.gsw-max-ads-info i {
	color: #059669;
}

.gsw-current-ads-info {
	color: #2563eb;
}

.gsw-current-ads-info i {
	color: #2563eb;
}

.gsw-btn-danger {
	background: #dc2626;
	color: white;
	border: 1px solid #dc2626;
}

.gsw-btn-danger:hover {
	background: #b91c1c;
	border-color: #b91c1c;
	color: white;
}

.gsw-btn-danger:disabled {
	background: #9ca3af;
	border-color: #9ca3af;
	cursor: not-allowed;
}

.gsw-btn-disabled {
	background: #9ca3af !important;
	color: #6b7280 !important;
	border-color: #9ca3af !important;
	cursor: not-allowed !important;
	opacity: 0.6;
}

.gsw-btn-disabled:hover {
	background: #9ca3af !important;
	color: #6b7280 !important;
	border-color: #9ca3af !important;
	transform: none !important;
}

/* Service Editor Styles */
.gsw-service-editor {
	padding: 2rem 0;
}

.gsw-editor-header {
	align-items: center;
	/* margin-bottom: 2rem; */
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--gsw-border-color);
}

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

.gsw-no-subscription {
	margin: 2rem 0;
}

.gsw-warning-box {
	background: #fef3cd;
	border: 1px solid #fde68a;
	border-radius: 8px;
	padding: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.gsw-warning-box i {
	color: #f59e0b;
	font-size: 1.5rem;
}

.gsw-warning-box h3 {
	margin: 0 0 0.5rem 0;
	color: #92400e;
}

.gsw-warning-box p {
	margin: 0;
	color: #92400e;
}

.gsw-service-form-wrapper {
	background: white;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px -1px rgba(0, 0, 0, 0.1);
}

.wp-editor-wrap {
	border: 1px solid rgba(0, 0, 0, 0.2) !important;
	border-radius: 0px !important;
	overflow: hidden;
}

.gsw-service-form {
	/* max-width: 800px; */
	width: 100%;
}

.gsw-form-row .gsw-required {
	color: #dc2626;
	font-size: 0.875rem;
	margin-left: 0.25rem;
}

.gsw-form-row {
	margin-bottom: 1.5rem;
}

.gsw-form-row label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--gsw-text-color);
}

.gsw-form-row input,
.gsw-form-row textarea,
.gsw-form-row select {
	width: 100%;
	padding: 0.75rem;
	border-radius: 8px;
	font-size: 1rem;
}

.gsw-form-row input:focus,
.gsw-form-row textarea:focus,
.gsw-form-row select:focus {
	outline: none;
	border-color: var(--gsw-primary-color);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.gsw-form-row small {
	display: block;
	margin-top: 0.25rem;
	color: #6b7280;
	font-size: 0.875rem;
	margin-bottom: 1em;
}

.gsw-form-actions {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gsw-border-color);
}

.gsw-form-actions .gsw-btn {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
}

/* Map Editor Styles */
.gsw-service-map-editor {
	height: 400px;
	width: 100%;
	border: 2px solid var(--gsw-border-color);
	border-radius: 8px;
	margin-bottom: 1rem;
}

.gsw-location-input-wrapper,
.gsw-social-input-wrapper {
	display: flex;
	/* gap: 0.5rem; */
	align-items: stretch;
}

@media (max-width: 768px) {
	.gsw-social-input-wrapper {
		flex-direction: column;
	}
}

.gsw-location-input-wrapper input,
.gsw-social-input-wrapper input {
	flex: 1;
}

.gsw-social-input-wrapper span {
	color: #8b8b8b;
	background-color: rgb(242, 242, 242);
	padding: 0.5rem 1rem;
	align-items: center;
	display: flex;
	border-right: none;
}

.gsw-map-controls {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.gsw-btn-small {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

/* TinyMCE Editor Styles */
.wp-editor-wrap {
	border: 1px solid var(--gsw-border-color);
	border-radius: 8px;
	overflow: hidden;
}

.wp-editor-wrap .wp-editor-container {
	border: none;
}

.wp-editor-wrap .wp-editor-area {
	border: none;
	border-radius: 0;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.6;
	padding: 1rem;
	min-height: 200px;
}

.wp-editor-wrap .mce-toolbar {
	background: #f8f9fa;
	border-bottom: 1px solid var(--gsw-border-color);
	padding: 0.5rem;
}

.wp-editor-wrap .mce-btn {
	border-radius: 4px;
	margin: 0 2px;
}

.wp-editor-wrap .mce-btn:hover {
	background: var(--gsw-primary-color);
	color: #fff;
}

.wp-editor-wrap .mce-btn.mce-active {
	background: var(--gsw-primary-color);
	color: #fff;
}

/* TinyMCE Content Styles */
.mce-content-body {
	font-family: inherit;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	padding: 1rem;
}

.mce-content-body p {
	margin: 0 0 1em 0;
}

.mce-content-body ul,
.mce-content-body ol {
	margin: 0 0 1em 0;
	padding-left: 1.5em;
}

.mce-content-body li {
	margin-bottom: 0.25em;
}

.mce-content-body a {
	color: var(--gsw-primary-color);
	text-decoration: underline;
}

.mce-content-body strong,
.mce-content-body b {
	font-weight: bold;
}

.mce-content-body em,
.mce-content-body i {
	font-style: italic;
}

/* Image Upload Styles */
.gsw-image-upload-wrapper {
	border: 1px dashed rgba(0, 0, 0, 0.2);
	border-radius: 0px;
	padding: 1rem;
	background: #f9fafb;
}

.gsw-image-preview {
	margin-bottom: 1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.gsw-current-image {
	max-width: 100% !important;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gsw-no-image {
	padding: 2rem;
	color: #6b7280;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.gsw-no-image i {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: block;
	opacity: 0.3;
}

.gsw-image-upload-controls {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.gsw-loading {
	padding: 2rem;
	text-align: center;
	color: var(--gsw-primary-color);
}

.gsw-loading i {
	font-size: 1.5rem;
	margin-right: 0.5rem;
}

/* Form enhancements */
.gsw-form-row input[type="file"] {
	display: none;
}

/* .gsw-form-row .gsw-btn {
	margin-top: 0.5rem;
} */

/* Responsive editor */
@media (max-width: 768px) {
	.gsw-editor-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.gsw-service-form-wrapper {
		padding: 1.5rem;
	}

	.gsw-form-actions {
		flex-direction: column;
	}

	.gsw-warning-box {
		flex-direction: column;
		text-align: center;
	}

	.gsw-location-input-wrapper {
		flex-direction: column;
		align-items: stretch;
	}

	.gsw-map-controls {
		flex-direction: column;
	}

	.gsw-image-upload-controls {
		flex-direction: column;
		align-items: stretch;
	}

	.gsw-service-map-editor {
		height: 300px;
	}
}

/* ========================================
   NOTICE STYLES
   ======================================== */

.gsw-notice {
	position: relative;
	padding: 12px 40px 12px 12px;
	margin: 15px 0;
	border-left: 4px solid;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.gsw-notice.notice-success {
	border-left-color: #46b450;
	background: #ecf7ed;
}

.gsw-notice.notice-error {
	border-left-color: #dc3232;
	background: #fef0f0;
}

.gsw-notice.notice-warning {
	border-left-color: #ffb900;
	background: #fff8e5;
}

.gsw-notice.notice-info {
	border-left-color: #00a0d2;
	background: #e5f5fa;
}

.gsw-notice p {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
}

.gsw-notice .notice-dismiss {
	position: absolute;
	top: 0;
	right: 1px;
	border: none;
	margin: 0;
	padding: 9px;
	background: none;
	color: #72777c;
	cursor: pointer;
	text-decoration: none;
	vertical-align: top;
	box-sizing: border-box;
	width: 40px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gsw-notice .notice-dismiss:hover {
	color: #23282d;
}

.gsw-notice .notice-dismiss i {
	font-size: 16px;
	line-height: 1;
}

.gsw-notice .screen-reader-text {
	position: absolute;
	margin: -1px;
	padding: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	word-wrap: normal !important;
}

/* ========================================
   MINDFUL SERVICES RATING STYLES
   ======================================== */

ol.ast-comment-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
	gap: 20px;
}

li.comment {
	/* border: 1px solid rgba(0 0 0 /0.15); */
	background-color: rgba(255 255 255 /0.5) !important;
	border-radius: 1em;
	padding: 2em !important;
	margin: 0 0 !important;
}

.ast-comment {
	opacity: 1;
}

.ast-comment-info {
	display: flex;
	flex-direction: column;
}

.ast-comment-content {
	flex-grow: 1;
}

.ast-comment-avatar-wrap {
	display: none;
}

.ast-comment-author {
	display: flex;
	gap: 1em;
	padding: 0;
	margin: 0 0;
	align-items: center;
	justify-content: space-between;
}

.comment-rating-display {
	display: flex;
	flex-direction: row;
}

.ast-comment-content p {
	margin: 0 0;
}

.comment-awaiting-moderation {
	color: orange;
	padding: 10px 0px !important;
	margin-top: 1em !important;
	border-top: 1px solid rgba(0 0 0 /0.05);
}

.timendate a {
	color: rgba(0 0 0 / 0.35) !important;
}

.comment-respond {
	background-color: rgba(255 255 255 / 0.5) !important;
	padding: 2em;
	border-radius: 1em;
	/* border: 1px solid rgba(0 0 0 / 0.15); */
	margin-top: 2em;
}

/* ========================================
   SERVICE COMMENTS SECTION STYLES
   ======================================== */

.gsw-service-comments-section {
	background-color: rgba(255 255 255 / 0.15) !important;
	padding: 1em;
	border-radius: 1em;
	margin-top: 3rem;
}

.gsw-service-comments-section summary {
	display: flex;
	flex-direction: row;
	gap: 1em;
	align-items: center;
	justify-content: space-between;
	position: relative;
	padding-left: 3em;
}

@media (max-width: 768px) {
	.gsw-service-comments-section summary {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		padding-left: 0;
		gap: 0.5em;
	}
}

.gsw-service-comments-section summary::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 1.5em;
	content: "\f078"; /* down arrow */
	position: absolute;
	width: 40px;
	height: 40px;
	top: 50%;
	left: 0px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gsw-primary-color);
}

.gsw-service-comments-section[open] summary::after {
	content: "\f077"; /* up arrow */
}

.gsw-service-comments-section summary::marker {
	content: "";
}

.gsw-service-comments-section summary h4 {
	font-weight: 100;
}
