/**
 * Projenni Travels - Public Styles
 *
 * @package ProjenniTravels
 */

/* CSS Variables - Color Palette */
:root {
	/* Primary Colors */
	--pjt-primary: var(--tmp-primary-color, #007bff);

	--pjt-primary-dark: #0056b3;
	--pjt-primary-light: #e7f3ff;
	--pjt-primary-text: #004085;

	/* Accent/Highlight Colors */
	--pjt-accent-orange: #e67e50;
	--pjt-accent-orange-dark: #d96a3d;

	/* Status Colors */
	--pjt-status-available: #28a745;
	--pjt-status-available-gradient: #20c997;
	--pjt-status-sold: #dc3545;
	--pjt-status-reserved: #fd7e14;
	--pjt-status-coming-soon: #007bff;

	/* Neutral Colors */
	--pjt-white: #ffffff;
	--pjt-gray-50: #f8f9fa;
	--pjt-gray-100: #f7fafc;
	--pjt-gray-150: #fafbfc;
	--pjt-gray-200: #edf2f7;
	--pjt-gray-300: #e9ecef;
	--pjt-gray-350: #e2e8f0;
	--pjt-gray-400: #dee2e6;
	--pjt-gray-500: #6c757d;
	--pjt-gray-600: #5a6268;

	/* Text Colors */
	--pjt-text-primary: #1a202c;
	--pjt-text-secondary: #2d3748;
	--pjt-text-tertiary: #4a5568;
	--pjt-text-muted: #718096;
	--pjt-text-dark: #333;
	--pjt-text-medium: #444;
	--pjt-text-medium-light: #555;
	--pjt-text-light: #666;
	--pjt-text-lighter: #999;

	/* Shadow Colors */
	--pjt-shadow-sm: rgba(0, 0, 0, 0.05);
	--pjt-shadow-md: rgba(0, 0, 0, 0.08);
	--pjt-shadow-lg: rgba(0, 0, 0, 0.1);
	--pjt-shadow-xl: rgba(0, 0, 0, 0.15);
	--pjt-shadow-2xl: rgba(0, 0, 0, 0.2);
	--pjt-shadow-3xl: rgba(0, 0, 0, 0.3);

	/* Overlay Colors */
	--pjt-overlay-light: rgba(255, 255, 255, 0.95);
	--pjt-overlay-dark: rgba(0, 0, 0, 0.6);
	--pjt-overlay-dark-hover: rgba(0, 0, 0, 0.8);
	--pjt-overlay-gradient: rgba(0, 0, 0, 0.15);

	/* Border Colors */
	--pjt-border-primary: rgba(0, 123, 255, 0.1);
}

/* Property Header */
.pjt-property-header {
	margin-bottom: 40px;
}

/* Header Content - Two Column Layout */
.pjt-header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	margin-bottom: 20px;
	padding: 20px;
	background: linear-gradient(to bottom, var(--pjt-white) 0%, var(--pjt-gray-50) 100%);
	border-radius: 12px;
	box-shadow: 0 2px 8px var(--pjt-shadow-md);
}

.pjt-property-single-container {
	max-width: var(--tmp-container-width);
	margin: 0 auto;
	padding: 0 15px;
	width: 100%;
}

/* Left Side: Title & Meta */
.pjt-header-left {
	flex: 1;
}

.pjt-title-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.pjt-property-title {
	font-size: 1.8em;
	color: var(--pjt-text-primary);
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

/* Property Meta Icons */
.pjt-property-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: center;
	margin-top: 12px;
}

.pjt-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: none;
	background: none;
	box-shadow: none;
	transition: none;
}

.pjt-property-single-container svg,
.pjt-detail-item svg {
	color: var(--pjt-primary);
}

.pjt-meta-item:hover {
	border: none;
	transform: none;
	box-shadow: none;
}

.pjt-meta-item .pjt-meta-icon {
	color: var(--pjt-primary);
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.pjt-meta-item span {
	font-size: 0.95em;
	font-weight: 600;
	color: var(--pjt-text-secondary);
	white-space: nowrap;
}

/* Right Side: Highlighted Boxes */
.pjt-header-right {}

.pjt-highlight-box {
	font-size: 1.2em;
	font-weight: 800;
	/* color: var(--pjt-white); */
	text-align: center;
	min-width: 140px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pjt-price-box {
	margin-bottom: 8px;
	border-bottom: 1px solid var(--pjt-gray-300);
	padding-bottom: 8px;
}

.pjt-highlight-box-title {
	font-size: 0.9em;
	line-height: 1.5;
	opacity: 0.7;
	font-weight: 400;
	border-right: 1px solid var(--pjt-gray-300);
	padding-right: 8px;
}


.pjt-featured-image {
	margin-top: 20px;
}

.pjt-featured-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 6px var(--pjt-shadow-lg);
}

/* Status Badges */
.pjt-status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 16px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	vertical-align: middle;
}

.pjt-status-available {
	background-color: var(--pjt-status-available);
	color: var(--pjt-white);
}

.pjt-status-sold {
	background-color: var(--pjt-status-sold);
	color: var(--pjt-white);
}

.pjt-status-reserved {
	background-color: var(--pjt-status-reserved);
	color: var(--pjt-white);
}

.pjt-status-coming_soon {
	background-color: var(--pjt-status-coming-soon);
	color: var(--pjt-white);
}

/* Property Content */
.pjt-property-content {
	margin-bottom: 40px;
	line-height: 1.8;
}

.pjt-property-content h2 {
	font-size: 1.8em;
	margin-bottom: 15px;
	color: var(--pjt-text-medium);
	padding-bottom: 10px;
}

/* Section Styles */
.pjt-property-single section {
	margin-bottom: 50px;
}

.pjt-property-single section h2 {
	font-size: 1.8em;
	margin-bottom: 20px;
	color: var(--pjt-text-medium);
	padding-bottom: 10px;
}
.pjt-property-single h2.pjt-card-title {
	font-size: 1.2em;
}

.pjt-property-single .pjt-card-price{
	font-size:0.9em;
}

.pjt-property-single h2.pjt-card-title {
	font-size: 1.2em;
}

.pjt-property-single .pjt-card-price {
	font-size: 0.9em;
}

.pjt-property-single section h3 {
	font-size: 1.3em;
	margin-bottom: 20px;
	color: var(--pjt-text-medium-light);
}

/* Info Grid - Minimal Style */
.pjt-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
	gap: 24px;
	background: var(--pjt-white);
	border: 1px solid var(--pjt-gray-300);
	padding: 30px;
	border-radius: 8px;
	transition: box-shadow 0.3s ease;
}

.pjt-info-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
}

.pjt-info-icon {
	color: var(--pjt-primary);
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	margin-top: 2px;
}

.pjt-info-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pjt-info-label {
	display: block;
	font-size: 0.8em;
	color: var(--pjt-text-lighter);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pjt-info-value {
	display: block;
	font-size: 1em;
	font-weight: 600;
	color: var(--pjt-text-dark);
	line-height: 1.4;
}

/* Content Wrapper - Two Column Layout */
.pjt-content-wrapper {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
}

.pjt-left-wrapper {
	flex: 0 0 70%;
	max-width: 70%;
}

.pjt-right-wrapper {
	flex: 0 0 calc(30% - 30px);
	max-width: calc(30% - 30px);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
	.pjt-left-wrapper {
		flex: 0 0 65%;
		max-width: 65%;
	}

	.pjt-right-wrapper {
		flex: 0 0 calc(35% - 30px);
		max-width: calc(35% - 30px);
	}
}

/* Responsive - Mobile */
@media (max-width: 768px) {
	.pjt-content-wrapper {
		flex-direction: column;
		gap: 20px;
	}

	.pjt-left-wrapper,
	.pjt-right-wrapper {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Gallery - Splide Carousel */
.pjt-property-gallery {
	margin-bottom: 50px;
}

/* Main Carousel */
#pjt-main-carousel {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px var(--pjt-shadow-lg);
}

#pjt-main-carousel .splide__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#pjt-main-carousel .splide__arrow {
	background: var(--pjt-overlay-dark);
	width: 3em;
	height: 3em;
	border-radius: 50%;
}

#pjt-main-carousel .splide__arrow:hover {
	background: var(--pjt-overlay-dark-hover);
}

#pjt-main-carousel .splide__arrow svg {
	fill: var(--pjt-white);
}

/* Thumbnail Carousel */
#pjt-thumbnail-carousel {
	padding: 10px 0;
}

#pjt-thumbnail-carousel .splide__slide {
	border: 3px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.3s ease, opacity 0.3s ease;
	opacity: 0.6;
}

#pjt-thumbnail-carousel .splide__slide:hover {
	opacity: 0.9;
}

#pjt-thumbnail-carousel .splide__slide.is-active {
	border-color: var(--pjt-primary);
	opacity: 1;
}

#pjt-thumbnail-carousel .splide__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Splide Arrow Customization */
.splide__arrow--prev {
	left: 1em;
}

.splide__arrow--next {
	right: 1em;
}

/* Map */
.pjt-map-container {
	margin-top: 20px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px var(--pjt-shadow-lg);
}

.pjt-map-container p {
	margin: 0;
}

.pjt-map-container iframe {
	width: 100%;
	height: 450px;
	border: 0;
	display: block;
}

/* Details Section */
.pjt-details-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.pjt-pdf-item {
	background: var(--pjt-gray-50);
	padding: 20px;
	border-radius: 8px;
	text-align: center;
}

.pjt-pdf-link {
	display: inline-block;
	padding: 12px 24px;
	background: var(--pjt-primary);
	color: var(--pjt-white);
	text-decoration: none;
	border-radius: 5px;
	font-weight: 600;
	transition: background 0.3s ease;
	margin-top: 10px;
}

.pjt-pdf-link:hover {
	background: var(--pjt-primary-dark);
	color: var(--pjt-white);
}

.pjt-pdf-link .dashicons {
	vertical-align: middle;
	margin-right: 5px;
}

/* Equipment Section */
.pjt-equipment-category {
	margin-bottom: 30px;
	background: var(--pjt-gray-50);
	padding: 20px;
	border-radius: 8px;
}

.pjt-equipment-category h3 {
	color: var(--pjt-primary);
	margin-bottom: 15px;
}

.pjt-equipment-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 10px;
}

.pjt-equipment-list li::before {
	content: "✓";
	color: var(--pjt-status-available);
	font-weight: bold;
	margin-right: 8px;
}

/* Agents Section */
.pjt-agents-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.pjt-agent-card {
	background: var(--pjt-white);
	border: 1px solid var(--pjt-gray-300);
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	transition: box-shadow 0.3s ease;
}

.pjt-agent-card:hover {
	box-shadow: 0 4px 12px var(--pjt-shadow-lg);
}

.pjt-agent-photo {
	margin: 0 auto 15px;
	overflow: hidden;
}

.pjt-agent-name {
	font-size: 1.1em;
	font-weight: 700;
	margin-bottom: 15px;
	color: var(--pjt-text-secondary);
	text-align: center;
}

.pjt-agent-contact {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0;
	font-size: 0.9em;
	text-align: left;
}

.pjt-agent-contact .pjt-agent-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--pjt-text-secondary);
}

.pjt-agent-contact .pjt-contact-label {
	font-weight: 600;
	color: var(--pjt-text-secondary);
}

.pjt-agent-contact a {
	color: var(--pjt-text-secondary);
	text-decoration: none;
	transition: color 0.3s ease;
}

.pjt-agent-contact a:hover {
	color: var(--pjt-primary);
}

/* Contact Form Section */
.pjt-property-contact {
	background: var(--pjt-gray-50);
	padding: 30px;
	border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.pjt-property-title {
		font-size: 1.5em;
	}

	/* Header responsive */
	.pjt-header-content {
		flex-direction: column;
		padding: 15px;
		gap: 20px;
	}

	.pjt-header-right {
		width: 100%;
		flex-direction: column;
	}

	.pjt-highlight-box {
		width: 100%;
	}

	.pjt-property-meta {
		gap: 12px;
	}

	.pjt-meta-item {
		padding: 0;
	}

	.pjt-info-grid,
	.pjt-agents-grid,
	.pjt-details-content {
		grid-template-columns: 1fr;
	}

	.pjt-equipment-list {
		grid-template-columns: 1fr;
	}

	.pjt-map-container iframe {
		height: 300px;
	}

	/* Adjust carousel arrows on mobile */
	#pjt-main-carousel .splide__arrow {
		width: 2.5em;
		height: 2.5em;
	}

	#pjt-thumbnail-carousel {
		padding: 5px 0;
	}
}

@media (max-width: 480px) {
	.pjt-property-single-container {
		padding: 10px;
	}

	.pjt-property-title {
		font-size: 1.3em;
		margin-bottom: 15px;
	}

	.pjt-header-content {
		padding: 15px;
	}

	.pjt-highlight-box {
		padding: 12px 20px;
		font-size: 1.1em;
	}

	.pjt-size-box {
		font-size: 0.95em;
	}

	.pjt-meta-item {
		font-size: 0.9em;
	}

	.pjt-property-single section h2 {
		font-size: 1.4em;
	}

	/* Smaller arrows on very small screens */
	#pjt-main-carousel .splide__arrow {
		width: 2em;
		height: 2em;
	}
}

/* ===================================
   Property Grid & Archive Styles
   =================================== */


/* Archive Header */
.pjt-archive-header {
	margin-bottom: 40px;
}

.pjt-archive-header h1 {
	font-size: 2.5em;
	margin-bottom: 20px;
	color: var(--pjt-text-dark);
}

/* Search Form */
.pjt-search-form {
	display: flex;
	gap: 10px;
	max-width: 600px;
	margin-bottom: 15px;
}

.pjt-search-form input[type="text"] {
	flex: 1;
	padding: 12px 20px;
	border: 2px solid var(--pjt-gray-300);
	border-radius: 5px;
	font-size: 16px;
}

.pjt-search-form input[type="text"]:focus {
	outline: none;
	border-color: var(--pjt-primary);
}

.pjt-search-form button {
	padding: 12px 30px;
	background: var(--pjt-primary);
	color: var(--pjt-white);
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pjt-search-form button:hover {
	background: var(--pjt-primary-dark);
}

.pjt-search-form button .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

/* Search Results Info */
.pjt-search-results-info {
	padding: 10px 15px;
	background: var(--pjt-primary-light);
	border-left: 4px solid var(--pjt-primary);
	border-radius: 4px;
	color: var(--pjt-primary-text);
	font-size: 0.95em;
}

/* No Properties Message */
.pjt-no-properties {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	background: var(--pjt-gray-50);
	border-radius: 8px;
}

.pjt-no-properties p {
	font-size: 1.1em;
	color: var(--pjt-text-light);
	margin-bottom: 15px;
}

.pjt-no-properties a {
	color: var(--pjt-primary);
	text-decoration: none;
	font-weight: 600;
}

.pjt-no-properties a:hover {
	text-decoration: underline;
}

/* Property Grid */
.pjt-property-grid {
	display: grid;
	gap: 32px;
	margin-bottom: 40px;
	padding: 0 4px;
}

.pjt-grid-columns-1 {
	grid-template-columns: 1fr;
}

.pjt-grid-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.pjt-grid-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.pjt-grid-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* Property Card */
.pjt-property-card {
	background: var(--pjt-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px var(--pjt-shadow-lg),
		0 2px 4px -1px var(--pjt-shadow-sm);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	border: 1px solid var(--pjt-shadow-sm);
}

.pjt-property-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 25px -5px var(--pjt-shadow-lg),
		0 10px 10px -5px var(--pjt-shadow-sm);
	border-color: var(--pjt-border-primary);
}

/* Card Image */
.pjt-card-image {
	position: relative;
	width: 100%;
	height: 260px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--pjt-gray-300) 0%, var(--pjt-gray-400) 100%);
}

.pjt-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pjt-property-card:hover .pjt-card-image img {
	transform: scale(1.08);
}

.pjt-card-image::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to top, var(--pjt-overlay-gradient), transparent);
	pointer-events: none;
}

/* Status Ribbon */
.pjt-card-status-ribbon {
	position: absolute;
	top: 20px;
	left: 0;
	background: var(--pjt-primary);
	color: var(--pjt-white);
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 4px 6px -1px var(--pjt-shadow-3xl),
		0 2px 4px -1px var(--pjt-shadow-2xl);
	z-index: 2;
	clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
	padding-right: 28px;
}

.pjt-card-status-ribbon.status-available {
	background: var(--pjt-status-available);
}

.pjt-card-status-ribbon.status-sold {
	background: var(--pjt-status-sold);
}

.pjt-card-status-ribbon.status-reserved {
	background: var(--pjt-status-reserved);
}

.pjt-card-status-ribbon.status-coming_soon {
	background: var(--pjt-status-coming-soon);
}

/* Card Content */
.pjt-card-content {
	padding: 28px;
	flex: 1;
	display: flex;
	flex-direction: column;
	background: linear-gradient(to bottom, var(--pjt-white) 0%, var(--pjt-gray-150) 100%);
}

.pjt-card-title {
	font-size: 1.3em !important;
	margin-bottom: 14px;
	color: var(--pjt-text-primary);
	font-weight: 700;
	line-height: 1.3;
}

.pjt-card-title a {
	color: var(--pjt-text-primary);
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
}

.pjt-card-title a:hover {
	color: var(--pjt-primary);
}

.pjt-card-excerpt {
	font-size: 0.95em;
	line-height: 1.7;
	color: var(--pjt-text-tertiary);
	margin-bottom: 18px;
	min-height: 50px;
}

.pjt-card-price {
	font-size: 1.3em;
	font-weight: 600;
	background: linear-gradient(135deg, var(--pjt-status-available) 0%, var(--pjt-status-available-gradient) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 10px;
}

.pjt-card-ref {
	font-size: 0.85em;
	color: var(--pjt-text-muted);
	margin-bottom: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Card Details */
.pjt-card-details {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 18px;
	border-top: 2px solid var(--pjt-gray-350);
}

.pjt-detail-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9em;
	color: var(--pjt-text-secondary);
	font-weight: 600;
	background: var(--pjt-gray-200);
	padding: 6px 12px;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.pjt-detail-item .dashicons {
	color: var(--pjt-primary);
	width: 18px;
	height: 18px;
	font-size: 18px;
}

/* Card Link */
.pjt-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--pjt-primary);
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s ease;
	margin-top: auto;
	font-size: 0.95em;
	padding: 10px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pjt-card-link:hover {
	color: var(--pjt-primary-dark);
	gap: 12px;
}

.pjt-card-link::after {
	content: "→";
	font-size: 1.2em;
	transition: transform 0.3s ease;
}

.pjt-card-link:hover::after {
	transform: translateX(4px);
}

/* Pagination */
.pjt-pagination {
	margin: 40px 0 20px;
	text-align: center;
}

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

.pjt-pagination .page-numbers {
	display: inline-block;
	padding: 10px 15px;
	background: var(--pjt-gray-50);
	color: var(--pjt-text-dark);
	text-decoration: none;
	border-radius: 5px;
	transition: background 0.3s ease;
	min-width: 40px;
	text-align: center;
}

.pjt-pagination .page-numbers:hover,
.pjt-pagination .page-numbers.current {
	background: var(--pjt-primary);
	color: var(--pjt-white);
}

.pjt-pagination .page-numbers.dots {
	background: transparent;
	cursor: default;
}

.pjt-pagination .page-numbers.dots:hover {
	background: transparent;
	color: var(--pjt-text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {

	.pjt-grid-columns-3,
	.pjt-grid-columns-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.pjt-archive-header h1 {
		font-size: 2em;
	}

	.pjt-search-form {
		flex-direction: column;
	}

	.pjt-search-form button {
		width: 100%;
		justify-content: center;
	}

	.pjt-grid-columns-2,
	.pjt-grid-columns-3,
	.pjt-grid-columns-4 {
		grid-template-columns: 1fr;
	}

	.pjt-card-image {
		height: 200px;
	}

	.pjt-property-grid {
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.pjt-archive-container {
		padding: 10px;
	}

	.pjt-archive-header {
		margin-bottom: 30px;
	}

	.pjt-archive-header h1 {
		font-size: 1.8em;
	}

	.pjt-card-content {
		padding: 15px;
	}

	.pjt-card-title {
		font-size: 1.2em;
	}

	.pjt-card-price {
		font-size: 1.2em;
	}

	.pjt-card-details {
		gap: 10px;
	}
}

/* ===================================
   AJAX Search & Loading States
   =================================== */

/* Loading Overlay */
.pjt-loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--pjt-overlay-light);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 100;
	border-radius: 12px;
}

.pjt-loading-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid var(--pjt-gray-300);
	border-top: 4px solid var(--pjt-primary);
	border-radius: 50%;
	animation: pjt-spin 1s linear infinite;
	margin-bottom: 15px;
}

@keyframes pjt-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.pjt-loading-overlay p {
	color: var(--pjt-text-tertiary);
	font-weight: 600;
	font-size: 1.1em;
}

/* Clear Button */
.pjt-clear-button {
	padding: 12px 24px;
	background: var(--pjt-gray-500);
	color: var(--pjt-white);
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pjt-clear-button:hover {
	background: var(--pjt-gray-600);
}

.pjt-clear-button .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

/* Archive container positioning for loading overlay */
.pjt-archive-container {
	position: relative;
}

/* Smooth transitions for grid updates */
.pjt-property-grid {
	transition: opacity 0.3s ease;
}