/**
 * Public-facing Stylesheet for the Property Data Manager plugin.
 *
 * This file contains all the CSS for the frontend components of the plugin,
 * including the property archive (filters, grid, cards), the single property
 * detail page, and the hero search shortcode.
 *
 * @since 1.0.0
 */




/* ==========================================================================
   1. Property Archive: Filter Form
   ========================================================================== */
.pdm-filter-form {
	background: #ffffff;
	padding: 25px;
	margin-bottom: 30px;
	border: 1px solid #e2e8f0;
}



.pdm-filter-form .form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
}

.pdm-filter-form .form-group {
	display: flex;
	flex-direction: column;
}

.pdm-filter-form .form-group-span-2 {
	grid-column: span 2;
}

.pdm-filter-form label {
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
	color: #4a5568;
}

.pdm-filter-form input[type="text"],
.pdm-filter-form input[type="number"],
.pdm-filter-form select {
	padding: 10px;
	border: 1px solid #cbd5e0;
	background-color: #fff;
	font-size: 15px;
	height: 42px;
	border-radius: 0!important;
	/* Ensures consistent height across all fields */
}

.pdm-filter-form .form-actions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 15px;
	margin-top: 10px;
}

.pdm-filter-form .search-button {
	background-color: #F49C29 !important;
	/* Brand Color */
	color: white;
	padding: 10px 25px;
	border: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	transition: background-color 0.2s;
	height: 42px;
}

.pdm-filter-form .search-button:hover {
	background-color: #1FACE5 !important;
}

.pdm-filter-form .reset-button {
	background-color: #e2e8f0 !important;
	color: #4a5568 !important;
	padding: 10px 25px;
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
	border: 1px solid transparent;
	transition: all 0.2s;
	height: 42px;
	display: inline-flex;
	align-items: center;
}

.pdm-filter-form .reset-button:hover {
	background-color: #cbd5e0;
	color: #2d3748;
}

/* --- Styles for Select2 Library --- */
.select2-container--default .select2-selection--single {
	height: 42px !important;
	border: 1px solid #cbd5e0 !important;
	border-radius: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 40px !important;
	/* Vertically center the text */
	padding: 0 0 0 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 40px !important;
}

.select2-dropdown {
	border: 1px solid #cbd5e0 !important;
	border-radius: 0 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background-color: #F49C29 !important;
	/* Brand Color */
}

.select2-container {
	width: auto !important;
}

.select2-container .select2-selection--single .select2-selection__clear {
	background-color: transparent !important;
}

/* ==========================================================================
   2. Property Archive: Active Filters & Pagination
   ========================================================================== */
.pdm-active-filters {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	padding: 15px;
	margin-bottom: 30px;
	background-color: #fff;
	border: 1px solid #e2e8f0;
}

.filter-tags-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.pdm-active-filters .filters-label {
	font-weight: bold;
	color: #2d3748;
	font-size: 14px;
	margin-right: 10px;
}

.pdm-active-filters .filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pdm-active-filters .filter-tag {
	display: inline-flex;
	align-items: center;
	background-color: #e2e8f0;
	color: #4a5568;
	padding: 5px 10px;
	font-size: 13px;
	font-weight: 500;
}

.pdm-active-filters .remove-filter {
	display: inline-block;
	margin-left: 8px;
	color: #718096;
	font-weight: bold;
	font-size: 16px;
	text-decoration: none;
	line-height: 1;
	transition: color 0.2s;
}

.pdm-active-filters .remove-filter:hover {
	color: #d32f2f;
	/* Red on hover */
}

.page-status {
	font-size: 14px;
	font-weight: 500;
	color: #718096;
	white-space: nowrap;
}

.pdm-pagination {
	margin-top: 40px;
	text-align: center;
}

.pdm-pagination .page-numbers {
	display: inline-flex;
	gap: 5px;
	list-style: none;
	padding: 0;
	margin: 0;
	overflow: hidden;
	/* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
}

.pdm-pagination .page-numbers li {
	margin: 0;
}

.pdm-pagination .page-numbers a,
.pdm-pagination .page-numbers span {
	display: block;
	padding: 6px 16px;
	/* border-radius: 100px; */
	background-color: #fff;
	border: 1px solid #e2e8f0;
	
	margin-left: -1px;
	/* Creates a clean border overlap */
	color: #F49C29;
	/* Brand Color */
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.pdm-pagination .page-numbers a:hover {
	background-color: #f0f4f8;
}

.pdm-pagination .page-numbers.current,
.pdm-pagination .page-numbers span.current {
	background-color: #F49C29 !important;
	/* Brand Color */
	color: #fff !important;
	font-weight: bold;
	cursor: default;
}

.pdm-pagination .page-numbers .dots {
	color: #a0aec0;
}

/* ==========================================================================
   3. Property Archive: Grid & Cards
   ========================================================================== */
/* --- Modern Property Card Styles --- */

/* Main link wrapper */
.pdm-property-card-link {
	text-decoration: none !important;
	color: inherit !important;
	display: block !important;
}

/* Card container */
.pdm-property-card {
	background-color: #ffffff !important;
	/* border-radius: 20px !important; */
	overflow: hidden !important;
	/* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important; */
	transition: all 0.3s ease !important;
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	/* Ensures cards in a row have same height */
}

.pdm-property-card:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Image section */
.pdm-card-image-wrapper {
	position: relative !important;
	height: 220px !important;
	background-color: #f0f0f0 !important;
}

.pdm-card-image-wrapper img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 0!important;
}

.pdm-card-no-image {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 100% !important;
	color: #888 !important;
	font-size: 16px !important;
}

/* Status badge on image */
.pdm-status-badge {

	
	color: #ffffff !important;
	padding: 1px 10px !important;
	border-radius: 20px !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	backdrop-filter: blur(5px) !important;
}

/* Action icons (e.g., favorite button) */
.pdm-card-actions {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
}

.pdm-action-btn {
	background-color: rgba(15, 15, 15, 0.7) !important;
	border: none !important;
	border-radius: 50% !important;
	width: 36px !important;
	height: 36px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	padding: 0 !important;
	backdrop-filter: blur(5px) !important;
}

.pdm-action-btn svg {
	width: 20px !important;
	height: 20px !important;
	fill: #ffffff !important;
}

/* Content section */
.pdm-card-content {
	padding: 20px !important;
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
	/* Allows button to stick to the bottom */
}

.pdm-card-price {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #F49C29 !important;
	/* Your Brand Color */
	margin-bottom: 4px !important;
}

.pdm-card-address {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	margin: 0 0 4px 0 !important;
}

.pdm-card-location-type {
	font-size: 14px !important;
	color: #666 !important;
	margin-bottom: 16px !important;
}

.pdm-card-location-type .pdm-dot {
	margin: 0 6px !important;
}

.pdm-card-divider {
	border: none !important;
	height: 1px !important;
	background-color: #eeeeee !important;
	margin: 0 0 16px 0 !important;
}

/* Details with icons (beds, baths, etc.) */
.pdm-card-details {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 10px !important;
}

.pdm-card-detail-item {
	display: flex !important;
	align-items: center !important;
	font-size: 14px !important;
	color: #333 !important;
	white-space: nowrap !important;
}

.pdm-card-detail-item svg {
	width: 20px !important;
	height: 20px !important;
	fill: #666 !important;
	margin-right: 6px !important;
	flex-shrink: 0 !important;
}

/* Details button */
.pdm-card-button {
	margin-top: 15px !important;
	/* Pushes button to the bottom */
	padding-top: 20px !important;
	/* Space above button */
	padding-bottom: 0px !important;
}

.pdm-card-button {
	background-color: transparent !important;
	/* Your Brand Color */
	color: #000 !important;
	text-align: center !important;
	padding: 6px 15px !important;
	border-radius: 80px !important;
	font-weight: 500 !important;
	width: 40%;
	align-self: flex-end;
	transition: background-color 0.3s ease !important;
	
	border: 1px solid #F49C29 !important;
}

.pdm-property-card:hover .pdm-card-button {
	background-color: #F49C29 !important;
	color: #fff !important;
	/* Darker shade on hover */
}


.pdm-properties-list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

/* Responsive grid columns */
@media (min-width: 600px) {
	.pdm-properties-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.pdm-properties-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

a.pdm-property-card-link,
a.pdm-property-card-link:hover {
	text-decoration: none;
	color: inherit;
}

.pdm-property-card {
	border: 1px solid #e2e8f0;
	overflow: hidden;
	/* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); */
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
	display: flex;
	flex-direction: column;
	background-color: #fff;
}

.pdm-property-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pdm-card-image-wrapper {
	position: relative;
	/* Essential for the status badge */
	width: 100%;
	height: 230px;
	background-color: #f0f4f8;
	overflow: hidden;
}

.pdm-card-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdm-card-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #a0aec0;
	font-weight: 500;
}

.pdm-status-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background-color: #F49C29;
	/* Brand color */
	color: #fff;

	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	z-index: 2;
}

.pdm-card-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.pdm-card-price {
	font-size: 1.6rem;
	font-weight: bold;
	color: #F49C29;
	/* Brand Color */
	margin-bottom: 5px;
}

.pdm-card-address {
	margin: 0 0 10px;
	font-size: 1.2rem;
	font-weight: 600;
	color: #2d3748;
	line-height: 1.3;
}

.pdm-card-location-type {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.9rem;
	color: #718096;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.pdm-card-location-type .pdm-dot {
	color: #cbd5e0;
}

.pdm-card-details {
	display: flex;
	justify-content: space-between;
	font-size: 0.95rem;
	color: #4a5568;
	margin-top: auto;
	/* padding-top: 15px; */
	/* border-top: 1px solid #edf2f7; */
	flex-wrap: wrap;
	gap: 15px;
}

.pdm-card-details span {
	display: inline-flex;
	align-items: center;
	font-weight: 500;
}

.pdm-card-details svg {
	width: 20px;
	height: 20px;
	margin-right: 8px;
	fill: #a0aec0;
}

/* ==========================================================================
   4. Single Property Page
   ========================================================================== */
.pdm-single-property-container {
	font-family: inherit;
	/* Inherit font from the theme */
}

.pdm-error {
	background-color: #fff5f5;
	border: 1px solid #e53e3e;
	color: #c53030;
	padding: 20px;
}

.pdm-single-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-bottom: 25px;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 25px;
}

.pdm-single-address {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	color: #2d3748;
}

.pdm-single-city-state {
	margin: 5px 0 0;
	font-size: 1.1rem;
	color: #718096;
}

.pdm-single-price {
	font-size: 2.5rem;
	font-weight: bold;
	color: #F49C29;
	/* Brand Color */
	white-space: nowrap;
	padding-left: 20px;
	text-align: right;
}

.pdm-single-status {
	display: block;
	font-size: 0.9rem;
	font-weight: normal;
	color: #4a5568;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* --- Single Property: Swiper.js Gallery --- */
.pdm-swiper-gallery {
	margin-bottom: 30px;
}

.swiper-wrapper {
	box-sizing: border-box !important;
}

.pdm-gallery-main {
	width: 100%;
	height: 500px;
	margin-bottom: 10px;
}

.pdm-gallery-main .swiper-slide {
	background-color: #f0f4f8;
}

.pdm-gallery-main .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0!important;
}

.pdm-gallery-main .swiper-button-next,
.pdm-gallery-main .swiper-button-prev {
	color: #fff;
	/* background-color: rgba(6, 117, 253, 0.5); */
	background-color: #F49C29;
	/* Semi-transparent brand color */
	width: 44px;
	height: 44px;
	/* border-radius: 50%; */
	transition: background-color 0.2s;
}

.pdm-gallery-main .swiper-button-next:hover,
.pdm-gallery-main .swiper-button-prev:hover {
	background-color: #F49C29;
}

.pdm-gallery-main .swiper-button-next:after,
.pdm-gallery-main .swiper-button-prev:after {
	font-size: 20px;
	font-weight: bold;
}

.pdm-gallery-thumbs {
	height: 100px;
}

.pdm-gallery-thumbs .swiper-slide {
	width: 25%;
	height: 100%;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.2s;
}

.pdm-gallery-thumbs .swiper-slide:hover {
	opacity: 0.8;
}

.pdm-gallery-thumbs .swiper-slide-thumb-active {
	opacity: 1;
	border: 3px solid #F49C29;
	/* Brand Color */
}

.pdm-gallery-thumbs .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0!important;
}

.pdm-no-gallery-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 410px;
	background-color: #f0f4f8;
	color: #a0aec0;
	font-weight: 500;
}

/* --- Single Property: Main Content Layout --- */
.pdm-single-main-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 768px) {
	.pdm-single-main-content {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	}
}

.pdm-details-column h2,
.pdm-details-column h3 {
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 10px;
	margin-top: 0;
	margin-bottom: 20px;
	color: #2d3748;
}

.pdm-key-facts-list {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
}

.pdm-key-facts-list li {
	background: #f7f9fc;
	padding: 10px!important;
}

.pdm-key-facts-list strong {
	display: block;
	color: #718096;
	font-size: 0.9rem;
	margin-bottom: 5px;
}

.pdm-key-facts-list span {
	font-weight: bold;
	color: #2d3748;
	font-size: 1.1rem;
}

.pdm-description {
	line-height: 1.7;
	color: #4a5568;
	margin-bottom: 30px;
}

.pdm-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pdm-tag {
	background-color: #e2e8f0;
	color: #4a5568;
	padding: 5px 12px;
	font-size: 0.9rem;
}

/* --- Single Property: Sidebar (Agent & Map) --- */
.pdm-agent-info,
.pdm-map-container {
	border: 1px solid #e2e8f0;
	padding: 25px;
	margin-bottom: 25px;
}

.pdm-agent-info h4,
.pdm-map-container h4 {
	margin: 0 0 20px;
	font-size: 1.2rem;
	color: #2d3748;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 10px;
}

.pdm-agent-name {
	margin: 0 0 5px;
	font-weight: bold;
	font-size: 1.3rem;
}

.pdm-broker-name {
	margin: 0 0 20px;
	color: #718096;
}

/* --- Single Property: Agent Contact Form --- */
.pdm-agent-contact-form {
	margin-top: 25px;
	padding-top: 25px;
	border-top: 1px solid #e2e8f0;
}

.pdm-agent-contact-form p {
	margin: 0 0 15px;
	font-weight: 500;
	color: #4a5568;
}

.pdm-form-group {
	margin-bottom: 15px;
}

.pdm-agent-contact-form input[type="text"],
.pdm-agent-contact-form input[type="email"],
.pdm-agent-contact-form input[type="tel"],
.pdm-agent-contact-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #cbd5e0;
	font-size: 15px;
}

.pdm-agent-contact-form textarea {
	resize: vertical;
}

.pdm-agent-button {
	width: 100%;
	display: block;
	background: #F49C29!important;
	/* Brand Color */
	color: #fff;
	text-align: center;
	padding: 12px;
	text-decoration: none;
	font-weight: bold;
	border: none!important;
	cursor: pointer;
	transition: background-color 0.2s;
}

.pdm-agent-button:hover {
	background-color: #1FACE5;
}

.pdm-agent-button:disabled {
	background-color: #a0aec0;
	cursor: not-allowed;
}

.pdm-form-response {
	display: none;
	padding: 15px;
	margin-top: 15px;
	text-align: center;
	font-weight: 500;
}

.pdm-form-response.loading {
	color: #4a5568;
	background-color: #f0f4f8;
}

.pdm-form-response.success {
	color: #2f855a;
	background-color: #f0fff4;
}

.pdm-form-response.error {
	color: #c53030;
	background-color: #fff5f5;
}

/* ==========================================================================
   5. Hero Search Form Shortcode
   ========================================================================== */



.pdm-hero-search-container {
	width: 800px;
	max-width: 800px;
	border-radius: 300px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pdm-status-select {
	position: absolute;
	left: 10px;
	width: 20%
}

#pdm_hero_location_search {
	padding-left: 24% !important
}

.pdm-hero-submit-btn {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 10px !important;
	padding: 10px !important;
	width: 50px !important;
	height: 50px !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	border: none !important;
}


.pdm-hero-input-group {
	display: flex;
	align-items: center;

}

.pdm-hero-search-icon {
	width: 32px !important;
	height: 32px !important;
	fill: #a0aec0 !important;
	margin: 0 15px;
}

.pdm-hero-input-group input[type="text"] {
	flex-grow: 1;
	border: none !important;
	padding: 20px 0;
	padding-left: 10px;
	font-size: 1.1rem;
	outline: none;
	background-color: #ffffff !important;
	border-radius: 100px !important;
	color: #000 !important;
}

.pdm-hero-input-group input[type="text"]:focus {
	outline: none !important;
	border: none !important;
	box-shadow: 0 0 0 3px #f49c298e;

}

.pdm-hero-submit-btn {
	background-color: #F49C29 !important;
	/* Brand Color */
	color: white !important;
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.2s;
	border-radius: 200px !important;
	box-shadow: none !important;
}

.pdm-hero-submit-btn svg {
	width: 20px !important;
	height: 20px !important;
	margin-left: 1px;
}

.pdm-hero-submit-btn:hover {
	background-color: #1FACE5 !important;
}

.pdm-status-select {
	appearance: none;
	/* remove default browser style */
	-webkit-appearance: none;
	-moz-appearance: none;

	border: none;
	outline: none;
	background: #ffffff;
	height: 70% !important;

	font-weight: 500;
	color: #333;
	border-radius: 0;
	border-right: 1px solid #ddd;
	/* subtle divider */
	cursor: pointer;
	min-width: 110px;

	/* make it blend with flex container */
	height: 100%;
	line-height: 1.4;
}



/* custom dropdown arrow */
.pdm-status-select {
	background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E<path d='M6 9l6 6 6-6'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
}

.pdm-status-select:focus {
	outline: none !important;
	border-right: 1px solid #c2c2c2;
}



/* --- Hero Form CSS Animation --- */
@keyframes pdm-fade-in-up {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pdm-form-animate {
	animation: pdm-fade-in-up 0.3s ease-out forwards;
}

/* ==========================================================================
   6. AJAX Loading States
   ========================================================================== */
#pdm-ajax-container {
	position: relative;
}

.pdm-loader-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.85);
	z-index: 10;
	justify-content: center;
	padding-top: 100px;
	align-items: flex-start;
}

.pdm-loader {
	border: 5px solid #f3f3f3;
	border-top: 5px solid #F49C29;
	/* Brand Color */
	border-radius: 50%;
	width: 50px!important;
	height: 50px!important;
	animation: pdm-spin 1s linear infinite;
	right: 0!important;
		top: 50%;
	transform: translateY(-50%);
}


@keyframes pdm-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

#pdm-ajax-container.pdm-loading .pdm-loader-overlay {
	display: flex;
}

#pdm-ajax-container.pdm-loading #pdm-properties-grid-wrapper {
	opacity: 0.2;
}

/* --- Styles for Advanced Filters Toggle --- */
.pdm-advanced-filters {
	display: none;
	/* Hidden by default */
	margin-top: 20px;
}

.pdm-toggle-filters-button {
	background-color: transparent !important;
	color: #F49C29 !important;
	/* Brand Color */
	font-weight: bold;
	border: none!important;
	font-size: 16px;
	border: none;
	cursor: pointer;
	padding: 10px 0;
}

.pdm-toggle-filters-button:hover,
.pdm-toggle-filters-button:focus {
	background-color: transparent !important;
	color: #1FACE5 !important;
}

/* Adjust form actions to position the new button */
.pdm-filter-form .form-actions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	/* This pushes left and right groups apart */
	align-items: center;
	margin-top: 10px;
}

.form-actions-left,
.form-actions-right {
	display: flex;
	align-items: center;
	gap: 15px;
}



/* === Single Property Page Styling === */

.pdm-single-property-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	font-family: "Segoe UI", Tahoma, sans-serif;
	color: #222;
}

/* Header */
.pdm-single-header {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	border-bottom: 2px solid #ddd;
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
}

.pdm-single-address {
	font-size: 1.75rem;
	margin: 0;
	font-weight: 600;
}

.pdm-single-city-state {
	font-size: 1rem;
	color: #666;
}

.pdm-single-price {
	font-size: 1.5rem;
	font-weight: bold;
	color: #F49C29;
	font-family: inherit, sans-serif;
}

.pdm-single-status {
	display: inline-block;
	margin-left: 0.5rem;
	background: #eee;
	color: #444;
	padding: 0.25rem 0.6rem;
	font-size: 0.9rem;
}

/* Gallery */
.pdm-swiper-gallery {
	margin-bottom: 2rem;
}

.pdm-no-gallery-image {
	text-align: center;
	font-size: 1rem;
	padding: 3rem;
	background: #f5f5f5;
	border: 1px solid #ddd;
}

/* Layout */
.pdm-single-main-content {
	display: flex;
	gap: 2rem;
}

.pdm-details-column {
	flex: 2;
}

.pdm-sidebar-column {
	flex: 1;
}

/* Key facts */
.pdm-key-facts-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0;
}

.pdm-key-facts-list li {
	padding: 0.4rem 0;
	border-bottom: 1px solid #eee;
	font-size: 0.95rem;
}

.pdm-key-facts-list li strong {
	display: inline-block;
	min-width: 120px;
	color: #333;
}

/* Description */
.pdm-description {
	background: #f9f9f9;
	padding: 1rem;
	line-height: 1.5;
	margin-bottom: 1.5rem;
}

/* Tags */
.pdm-tags-list {
	margin: 1rem 0;
}

.pdm-tag {
	display: inline-block;
	margin: 0.2rem;
	padding: 0.4rem 0.8rem;
	background: #eef4ff;
	border: 1px solid #c8daff;
	font-size: 0.85rem;
	color: #1FACE5;
}

/* Tables */
.pdm-tax-history {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1rem;
}

.pdm-tax-history th,
.pdm-tax-history td {
	border: 1px solid #ddd;
	padding: 0.6rem 0.8rem;
	text-align: left;
	font-size: 0.9rem;
}

.pdm-tax-history th {
	background: #f0f4fa;
	font-weight: 600;
}

/* Schools */
.pdm-schools {
	display: grid;
	gap: 1rem;
	margin-bottom: 1rem;
}

.pdm-school {
	padding: 0.8rem 1rem;
	border: 1px solid #ddd;
	background: #fafafa;
	font-size: 0.9rem;
}

.pdm-school strong {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

/* Mortgage */
.pdm-mortgage-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pdm-mortgage-list li {
	display: flex;
	justify-content: space-between;
	padding: 0.4rem 0;
	border-bottom: 1px solid #eee;
}

.pdm-mortgage-list em {
	color: #1FACE5;
	font-weight: 600;
}

/* Agent Info */
.pdm-agent-info {
	border: 1px solid #ddd;
	background: #f9f9f9;
	padding: 1rem;
	margin-bottom: 1.5rem;
}

.pdm-agent-name {
	font-weight: 600;
	font-size: 1.1rem;
}

.pdm-broker-name {
	font-size: 0.95rem;
	color: #555;
}

/* Map */
.pdm-map-container iframe {
	border: 0;
	width: 100%;
	height: 300px;
}

/* Accordion container */
.pdm-accordion {
	border-top: 1px solid #ddd;
	margin-bottom: 10px;
}

/* Accordion header */
.pdm-accordion-header {
	background: #F49C29;
	color: #fff;
	padding: 12px 15px;
	cursor: pointer;
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
}

/* Add "+" / "-" indicator */
.pdm-accordion-header::after {
	content: '+';
	position: absolute;
	right: 15px;
	font-size: 18px;
	transition: transform 0.2s ease;
}

.pdm-accordion-header.active::after {
	content: '-';
}

/* Accordion content */
.pdm-accordion-content {
	display: none;
	padding: 15px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-top: none;
}

.pdm-accordion-content.open {
	display: block;
}



.pdm-cart,
.pdm-checkout {
	max-width: 700px;
	margin: 0 auto;
	font-family: Arial, sans-serif;
}

.pdm-cart-item,
.pdm-order-summary {
	border: 1px solid #ddd;
	padding: 15px;
	margin-bottom: 15px;
}

.pdm-checkout-button,
.subscribe-btn,
.pdm-checkout button {
	background: #1FACE5;
	color: #fff;
	padding: 12px 20px;
	border: none;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
}

.pdm-checkout-button:hover,
.subscribe-btn:hover {
	background: #034a9c;
}



/* ==========================================================================
   7. State Selector Page
   ========================================================================== */
.pdm-state-selector-container {
	max-width: 900px;
	margin: 2rem auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pdm-plan-summary {

	padding: 0 25px 25px 0;
	border-bottom: 1px solid #e2e8f0;
}

.pdm-plan-summary h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.8rem;
}

.pdm-plan-summary p {
	margin-bottom: 0;
	font-size: 1.1rem;
	color: #4a5568;
}

.pdm-state-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1px;
	/* background-color: #e2e8f0; */
	/* Grid line color */
	border-bottom: 1px solid #e2e8f0;
}

.pdm-state-label {
	display: flex;
	align-items: center;
	padding: 15px;
	background-color: #fff;
	cursor: pointer;
	transition: background-color 0.2s;
}

.pdm-state-label:hover {
	background-color: #f7f9fc;
}

.pdm-state-label input[type="checkbox"] {
	margin-right: 12px;
	transform: scale(1.2);
}

.pdm-selection-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 25px;
	background-color: #f7f9fc;
	flex-wrap: wrap;
	gap: 15px;
}

.pdm-price-summary {
	font-size: 1.2rem;
	color: #2d3748;
}

#pdm-state-count {
	font-weight: bold;
}

.pdm-total-price {
	font-weight: bold;
	font-size: 1.5rem;
	color: #F49C29;
	/* Brand color */
	margin-left: 10px;
}

.pdm-checkout-button {
	font-size: 1rem;
	padding: 12px 25px;
	text-align: center;
	font-weight: bold;
	background-color: #F49C29;
	color: #fff !important;
	text-decoration: none;
	transition: background-color 0.2s;
}

.pdm-checkout-button:hover {
	background-color: #1FACE5;
}

.pdm-checkout-button.disabled {
	background-color: #a0aec0;
	cursor: not-allowed;
	pointer-events: none;
}


/* --- Styles for New State Selector --- */
.pdm-state-select-wrapper {
	padding: 25px;
}

/* Style Select2 to match our theme */
.select2-container--default .select2-selection--multiple {
	border: 1px solid #cbd5e0;
	padding: 5px;
}

.select2-container--default .select2-search--inline .select2-search__field {
	font-size: 1rem;
	margin-top: 8px;
	padding: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #F49C29;
	border-color: #1FACE5;
	color: #fff;
	padding: 5px 10px;
	font-size: 0.9rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #fff;
	margin-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
	color: #e2e8f0;
}


/* ==========================================================================
   8. Agent Archive Page
   ========================================================================== */

.pdm-agents-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 30px;
}

a.pdm-agent-card-link,
a.pdm-agent-card-link:hover {
	text-decoration: none;
	color: inherit;
}

.pdm-agent-card {
	background-color: #fff;
	border: 1px solid #e2e8f0;
	text-align: center;
	padding: 30px 20px;
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;

	display: flex;
	flex-direction: column;
	height: 100%;
	/* border-radius: 20px; */
	text-decoration: none;
}

.pdm-agent-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.pdm-agent-card-photo-wrapper {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 20px;
	background-color: #f0f4f8;
	border: 4px solid #fff;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.pdm-agent-card-photo-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdm-agent-card-no-photo {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	font-weight: bold;
	color: #F49C29;
	/* Brand Color */
	background-color: #e2e8f0;
}

.pdm-agent-card-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.pdm-agents-list a{
	text-decoration: none!important;
}

.pdm-agent-card-name {
	margin: 0 0 5px!important;
	font-size: 1.3rem!important;
	font-weight: 600!important;
	color: #2d3748;
}

.pdm-agent-card-broker {
	margin: 0 0 15px;
	font-size: 0.95rem;
	color: #718096;
	flex-grow: 1;
}

.pdm-agent-card-location {
	font-size: 0.9rem;
	color: #4a5568;
	border-top: 1px solid #edf2f7;
	padding-top: 15px;
	margin-top: 15px;
}

/* ==========================================================================
   9. Agent Filter Form Layout
   ========================================================================== */

.pdm-agent-filter-form .form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
	align-items: end;
	/* Aligns items to the bottom */
}

/* On larger screens, force 3 columns */
@media (min-width: 960px) {
	.pdm-agent-filter-form .form-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.pdm-agent-filter-form .form-actions {
	display: flex;
	gap: 15px;
	justify-content: flex-start;
	/* Aligns buttons to the left */
	flex-direction: row;
	margin-top: -10px;
}

/* ==========================================================================
   10. Modern State Selector
   ========================================================================== */

.pdm-selector-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	max-width: 1100px;
	margin: 2rem auto;
}

.pdm-selector-main {
	flex: 1;
	min-width: 60%;
}

.pdm-selector-sidebar {
	flex-basis: 320px;
	position: relative;
}

.pdm-summary-box {
	position: sticky;
	top: 50px;
	/* Adjust this value based on your theme's sticky header height */
	background: #fff;
	border: 1px solid #e2e8f0;
	/* border-radius: 8px; */
	padding: 25px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pdm-summary-box h4 {
	margin-top: 0;
	font-size: 1.3rem;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

#pdm-selected-list-container {
	max-height: 200px;
	overflow-y: auto;
	margin-bottom: 20px;
	border: 1px solid #e2e8f0;
	padding: 15px;
	background-color: #f7f9fc;
}

#pdm-selected-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

#pdm-selected-list li {
	padding: 4px 0;
	font-size: 0.95rem;
}

.pdm-no-states {
	color: #718096;
	font-style: italic;
	margin: 0;
}

.pdm-price-summary {
	border-top: 1px solid #e2e8f0;
	padding-top: 20px;
	margin-bottom: 20px;
}

.pdm-price-summary .pdm-price-line {
	display: flex;
	justify-content: space-between;
	font-size: 1.1rem;
	margin-bottom: 10px;
}

.pdm-price-summary .pdm-price-line.total {
	font-size: 1.4rem;
	font-weight: bold;
}

.pdm-price-summary .pdm-price-line.total strong {
	color: #F49C29;
}

.pdm-state-filter input {
	width: 100%;
	padding: 12px;
	font-size: 1rem;
	border: 1px solid #cbd5e0;
	margin-bottom: 20px;
	border-radius: 0!important;
}

.pdm-state-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
}

.pdm-state-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	/* border-radius: 5px; */
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.pdm-state-item:hover {
	border-color: #F49C29;
	transform: translateY(-2px);
}

.pdm-state-item.selected {
	background-color: #e9f2ff;
	border-color: #F49C29;
	font-weight: bold;
	color: #F49C29;
}

.pdm-state-checkbox {
	width: 20px;
	height: 20px;
	border: 2px solid #cbd5e0;
	border-radius: 50%;
	transition: all 0.2s;
	flex-shrink: 0;
	margin-left: 10px;
}

.pdm-state-item.selected .pdm-state-checkbox {
	background-color: #F49C29;
	border-color: #F49C29;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/%3E%3C/svg%3E');
}

@media (max-width: 768px) {
	.pdm-selector-sidebar {
		flex-basis: 100%;
		order: -1;
		/* Move sidebar to the top on mobile */
	}

	.pdm-summary-box {
		position: static;
	}
}

/* ==========================================================================
   Dashboard Widgets
   ========================================================================== */
.pdm-dashboard-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.pdm-widget {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 20px;
}

.pdm-widget h3 {
	margin-top: 0;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 15px;
}

.pdm-chart-container {
	position: relative;
	height: 300px;
}

/* ==========================================================================
   11. Modern "My Account" Page Dashboard
   ========================================================================== */

/* General Layout */
.pdm-myaccount-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-bottom: 40px;
}

/* @media (min-width: 768px) {
    .pdm-myaccount-grid {
        grid-template-columns: 1fr 1fr;
    }
} */

.pdm-myaccount-widget {
	background-color: #fff;
	border: 1px solid #e2e8f0;
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.pdm-myaccount-widget h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 1.2rem;
	padding-bottom: 15px;
	border-bottom: 1px solid #e2e8f0;
}

.pdm-widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* API Key Widget */
.pdm-api-key-display {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pdm-api-key-display code {
	background: #f7f9fc;
	padding: 10px;
	border: 1px solid #e2e8f0;
	flex-grow: 1;
	overflow-wrap: break-word;
	font-family: monospace;
}

.pdm-key-note {
	margin-top: auto;
	/* Pushes to the bottom */
	padding-top: 15px;
	color: #718096;
	font-size: 0.9em;
}

/* Usage Widget */
.pdm-usage-filters {
	display: flex;
	gap: 10px;
}

.pdm-usage-filters select {
	max-width: 150px;
}

.pdm-chart-container-account {
	position: relative;
	height: 250px;
	margin-top: 20px;
}

/* ==========================================================================
   12. Modern WooCommerce "My Account" Page Styles (v2)
   ========================================================================== */

/* Define CSS variables for easy themeing */
:root {
	--pdm-primary-color: #F49C29;
	--pdm-dark-blue: #1FACE5;
	--pdm-light-gray-bg: #f8f9fa;
	--pdm-border-color: #dee2e6;
	--pdm-text-dark: #212529;
	--pdm-text-light: #6c757d;
}

/* Main Layout Container */
.woocommerce-account .woocommerce {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Sidebar Navigation Menu */
.woocommerce-account .woocommerce-MyAccount-navigation {
	flex: 1;
	min-width: 240px;
	background-color: #fff;
	border: 1px solid var(--pdm-border-color);
	padding: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 14px 18px;
	text-decoration: none;
	color: var(--pdm-text-light);
	font-weight: 500;
	border-left: 3px solid transparent;
	transition: all 0.2s ease-in-out;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background-color: var(--pdm-light-gray-bg);
	color: var(--pdm-text-dark);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active>a {
	background-color: var(--pdm-light-gray-bg);
	color: var(--pdm-primary-color);
	font-weight: 700;
	border-left-color: var(--pdm-primary-color);
}

/* Main Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
	flex: 3;
	min-width: 65%;
	background-color: #fff;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	margin-top: 0;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--pdm-text-dark);
	border-bottom: 1px solid var(--pdm-border-color);
	padding-bottom: 15px;
	margin-bottom: 25px;
}

.woocommerce-account .woocommerce-MyAccount-content p {
	line-height: 1.7;
	color: var(--pdm-text-dark);
	margin-bottom: 25px;
}

.woocommerce-account .woocommerce-MyAccount-content p a {
	color: var(--pdm-primary-color);
	text-decoration: none;
	font-weight: 600;
}

/* Table Styles */
.woocommerce-account table.woocommerce-table {
	border: 1px solid var(--pdm-border-color);
	border-collapse: collapse;
	width: 100%;
	font-size: 0.95rem;
}

.woocommerce-account table.woocommerce-table th,
.woocommerce-account table.woocommerce-table td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid var(--pdm-border-color);
}

.woocommerce-account table.woocommerce-table th {
	background-color: var(--pdm-light-gray-bg);
	font-weight: 600;
	color: var(--pdm-text-dark);
}

.woocommerce-account table.woocommerce-table tr:last-child td {
	border-bottom: none;
}

.woocommerce-account table.woocommerce-table .button {
	white-space: nowrap;
}

/* General Button Styles */
.woocommerce-account .button,
.woocommerce-account .button:hover {
	background: var(--pdm-primary-color) !important;
	color: #fff !important;
	border-radius: 0 !important;
	padding: 10px 20px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	font-size: 0.9rem !important;
	letter-spacing: 0.5px;
	transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out !important;
	border: none !important;
}

.woocommerce-account .button:hover {
	background: var(--pdm-dark-blue) !important;
	transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.woocommerce-account .woocommerce {
		flex-direction: column;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		min-width: 100%;
	}
}

/* ==========================================================================
   13. Modern "My Account" Subscriptions Table
   ========================================================================== */

/* Remove default borders and add our own modern structure */
.woocommerce-account .my_account_subscriptions {
	border: 1px solid var(--pdm-border-color);
	border-radius: 0;
	/* No rounded corners */
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}

/* Style the table header */
.woocommerce-account .my_account_subscriptions thead th {
	background-color: var(--pdm-light-gray-bg);
	border-bottom: 2px solid var(--pdm-border-color);
	padding: 15px 20px;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--pdm-text-light);
	text-align: left;
}

/* Style the table rows */
.woocommerce-account .my_account_subscriptions tbody tr {
	transition: background-color 0.2s ease-in-out;
}

.woocommerce-account .my_account_subscriptions tbody tr:hover {
	background-color: #fcfdff;
}

.woocommerce-account .my_account_subscriptions tbody td {
	padding: 20px;
	border-bottom: 1px solid var(--pdm-border-color);
	vertical-align: middle;
	color: var(--pdm-text-dark);
}

.woocommerce-account .my_account_subscriptions tbody tr:last-child td {
	border-bottom: none;
}

/* Style specific columns */
.woocommerce-account .my_account_subscriptions .subscription-id a {
	font-weight: 700;
	color: var(--pdm-primary-color);
	text-decoration: none;
}

.woocommerce-account .my_account_subscriptions .subscription-next-payment small {
	display: block;
	font-size: 0.85rem;
	color: var(--pdm-text-light);
	margin-top: 4px;
}

.woocommerce-account .my_account_subscriptions .subscription-total .amount {
	font-weight: 600;
	font-size: 1rem;
}

/* Modern "Status" Pill */
.woocommerce-account .my_account_subscriptions .subscription-status {
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
}

/* Style for the 'Active' status (you can add more for other statuses like on-hold, etc.) */
.woocommerce-orders-table__row--status-active .subscription-status {
	color: #28a745;
	/* Green for active */
}

/* Modernize the "View" button */
.woocommerce-account .my_account_subscriptions .subscription-actions .button.view {
	background-color: var(--pdm-text-dark) !important;
	font-size: 0.85rem !important;
	padding: 8px 15px !important;
	text-transform: none;
	letter-spacing: 0;
}

.woocommerce-account .my_account_subscriptions .subscription-actions .button.view:hover {
	background-color: #000 !important;
	transform: translateY(0);
	/* Disable the hover effect for this smaller button */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
	.woocommerce-account .my_account_subscriptions thead {
		display: none;
	}

	.woocommerce-account .my_account_subscriptions tbody tr {
		display: block;
		margin-bottom: 20px;
		border: 1px solid var(--pdm-border-color);
	}

	.woocommerce-account .my_account_subscriptions tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: right !important;
		border-bottom: 1px solid #f0f2f5;
	}

	.woocommerce-account .my_account_subscriptions tbody td::before {
		content: attr(data-title);
		font-weight: 600;
		margin-right: auto;
		text-align: left;
		color: var(--pdm-text-dark);
	}

	.woocommerce-account .my_account_subscriptions tbody td:last-child {
		border-bottom: none;
	}

	.woocommerce-account .my_account_subscriptions .subscription-actions {
		justify-content: flex-end;
	}
}

.woocommerce table.shop_table {
	border-radius: 0 !important;
}

/* ==========================================================================
   14. Modern "My Account" Form Styles (Edit Account, Addresses)
   ========================================================================== */

/* Form container adjustments */
.woocommerce-account .woocommerce-MyAccount-content form {
	margin-top: 25px;
}

/* Style for individual form rows */
.woocommerce-account .form-row {
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
}

/* Style for form labels */
.woocommerce-account .form-row label {
	font-weight: 600;
	color: var(--pdm-text-dark);
	margin-bottom: 8px;
	font-size: 0.95rem;
}

/* Style for input fields and textareas */
.woocommerce-account .form-row input.input-text,
.woocommerce-account .form-row textarea {
	background-color: #fff;
	border: 1px solid var(--pdm-border-color);
	padding: 12px 15px;
	width: 100%;
	box-shadow: none;
	font-size: 1rem;
	color: var(--pdm-text-dark);
	transition: border-color 0.2s ease-in-out;
	border-radius: 0;
	/* No rounded corners */
}

.woocommerce-account .form-row input.input-text:focus,
.woocommerce-account .form-row textarea:focus {
	border-color: var(--pdm-primary-color);
	box-shadow: 0 0 0 1px var(--pdm-primary-color);
	outline: none;
}

/* Specific adjustments for password fields */
.woocommerce-account .woocommerce-form-edit-account .password-input {
	position: relative;
}

.woocommerce-account .show-password-input {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

/* Style for fieldset legends (like in the password change section) */
.woocommerce-account fieldset {
	border: none;
	padding: 0;
	margin: 0 0 30px;
}

.woocommerce-account legend {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--pdm-text-dark);
	margin-bottom: 15px;
	width: 100%;
}

/* Address section layout */
.woocommerce-MyAccount-content .woocommerce-Address {
	margin-bottom: 30px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
	font-size: 1.2rem;
	border: none;
	padding: 0;
	margin-bottom: 10px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit {
	font-size: 0.9rem;
	font-weight: 400;
}

.woocommerce-MyAccount-content address {
	border: 1px solid var(--pdm-border-color);
	padding: 20px;
	font-style: normal;
	line-height: 1.7;
}



/* ==========================================================================
   18. Custom Hero Search Suggestions
   ========================================================================== */

.pdm-hero-input-group {
	position: relative;
	/* Required for suggestion positioning */
}

.pdm-suggestions-container {
	display: none;
	position: absolute;
	top: 110%;
	left: 0;
	right: 0;
	background-color: #fff;
	border: 1px solid var(--pdm-border-color);
	border-top: none;
	z-index: 1000;
	max-height: 240px;
	overflow-y: auto;
	border-radius: 16px;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 6px 20px;
	padding: 16px;
}

/* --- Custom Rounded Grey Scrollbar --- */
.pdm-suggestions-container {
	scrollbar-width: thin !important;
	/* Firefox */
	scrollbar-color: #c1c1c1 #f1f1f1 !important;
	/* thumb | track for Firefox */
}

/* Chrome, Edge, Safari */
.pdm-suggestions-container::-webkit-scrollbar {
	width: 8px !important;
	height: 8px !important;
}

.pdm-suggestions-container::-webkit-scrollbar-track {
	background: #f1f1f1 !important;
	border-radius: 10px !important;
}

.pdm-suggestions-container::-webkit-scrollbar-thumb {
	background-color: #c1c1c1 !important;
	/* Neutral grey thumb */
	border-radius: 10px !important;
	border: 2px solid #f1f1f1 !important;
	/* Padding effect */
}

.pdm-suggestions-container::-webkit-scrollbar-thumb:hover {
	background-color: #a0a0a0 !important;
	/* Slightly darker on hover */
}

/* Remove the scrollbar arrows (up/down buttons) */
.pdm-suggestions-container::-webkit-scrollbar-button {
	display: none !important;
	height: 0 !important;
	width: 0 !important;
}







.pdm-suggestion-item {
	display: flex;
	align-items: center;
	padding: 10px 20px;
	border-radius: 16px;
	font-size: 1rem;
	color: #363636;
	cursor: pointer;
	/* border-bottom: 1px solid #eee; */
}

.pdm-suggestion-item:hover {
	background-color: rgb(233, 231, 228);
}

.pdm-suggestion-icon {
	margin-right: 8px;
	color: #666;
	font-size: 14px;
}

.pdm-suggestion-text strong {
	font-weight: bold;
	color: #000;
}

.pdm-suggestion-icon {
	margin-right: 8px;
	color: #666;
	font-size: 14px;
	font-weight: 700;
}

/* --- Loading Indicator Spinner --- */


@keyframes pdm-spin {
	0% {
		transform: translateY(-50%) rotate(0deg);
	}

	100% {
		transform: translateY(-50%) rotate(360deg);
	}
}

/* --- Active Suggestion for Keyboard Navigation --- */
.pdm-suggestion-item.suggestion-active {
	background-color: #f0f5fa;
	cursor: pointer;
}



/* --- Custom Cart Layout --- */

/* SaaS Cart Layout */
.pdm-saas-cart {
	max-width: 700px;
	margin: 0 auto;
	padding: 30px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	font-family: 'Inter', sans-serif;
}

.pdm-cart-title {
	font-size: 28px;
	font-weight: 700;
	color: #F49C29;
	margin-bottom: 20px;
	text-align: center;
}

.pdm-cart-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.woocommerce-cart-form {
	border: none !important;
}

.woocommerce-cart-form table.shop_table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-cart-form table.shop_table th,
.woocommerce-cart-form table.shop_table td {
	padding: 15px;
	border-bottom: 1px solid #eee;
}

.woocommerce-cart-form table.shop_table th {
	text-align: left;
	font-weight: 600;
	color: #444;
}

.pdm-cart-summary {
	padding: 20px;
	background: #f9fbff;
	border-radius: 10px;
	border: 1px solid #e0ebff;
}

.pdm-cart-summary h2 {
	font-size: 20px;
	color: #F49C29;
	margin-bottom: 15px;
}

.pdm-checkout-btn {
	display: block;
	width: 100%;
	padding: 15px;
	background: #F49C29;
	color: #fff !important;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	border-radius: 8px;
	transition: background 0.2s ease-in-out;
}

.pdm-checkout-btn:hover {
	background: #045bc3;
}

body.cart .debug-test {
	background: yellow !important;
}


/* ==========================================================================
   20. Properties Carousel
   ========================================================================== */

.pdm-carousel-container {
	padding: 40px 0;
}

.pdm-property-card-link{
	width: 100%;
}

.pdm-properties-carousel {
	width: 100%;
	padding: 20px 10px 60px 10px!important;
	/* Add padding for shadows and pagination */
}

.pdm-properties-carousel .swiper-slide {
	height: auto;
	/* Allow slides to grow based on content */
	display: flex;
}

.pdm-properties-carousel .pdm-property-card {
	width: 100%;
	/* Ensure card fills the slide */
}

/* Style for the pagination bullets */
.pdm-properties-carousel .swiper-pagination-bullet {
	background-color: var(--pdm-text-light);
	opacity: 0.5;
	transition: all 0.2s;
	width: 14px;
	height: 14px;
}

.pdm-properties-carousel .swiper-pagination-bullet-active {
	background-color: var(--pdm-primary-color);
	opacity: 1;
	transform: scale(1.3);
}




