/**
 * PNK Properties Frontend Styles
 * High specificity to override theme styles
 * Version 1.2.11 - Protected wrapper styles
 */

/* ========================================
   PNK Property Single Wrapper - Protected Styles
   These styles use the .pnk-property-single-wrapper class
   to ensure they override any theme or plugin styles
   ======================================== */

.pnk-property-single-wrapper {
    /* Ensure wrapper takes full width */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Apply D-DIN Pro as base font */
    font-family: d-din-proregular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Protected H1 Title Styles */
.pnk-property-single-wrapper h1,
.pnk-property-single-wrapper h1.text-5xl,
.pnk-property-single-wrapper h1.text-gray-850,
.pnk-property-single-wrapper h1.font-heading {
    color: #54565a !important;
    font-family: d-din-probold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 3rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

/* Protected Button Styles - Download Button */
.pnk-property-single-wrapper button.bg-gray-850,
.pnk-property-single-wrapper .bg-gray-850 {
    background-color: #54565a !important;
    background-image: none !important; /* Remove any gradients */
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.pnk-property-single-wrapper button.bg-gray-850:hover,
.pnk-property-single-wrapper .bg-gray-850:hover {
    background-color: #3a3b3f !important;
    background-image: none !important;
}

/* Protected Button Styles - Share Button (Outline) */
.pnk-property-single-wrapper button.border-gray-850,
.pnk-property-single-wrapper .border-gray-850 {
    border: 2px solid #54565a !important;
    color: #54565a !important;
    background-color: transparent !important;
    background-image: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.pnk-property-single-wrapper button.border-gray-850:hover,
.pnk-property-single-wrapper .border-gray-850:hover {
    background-color: #54565a !important;
    background-image: none !important;
    color: white !important;
}

/* Protected Text Colors */
.pnk-property-single-wrapper .text-gray-850 {
    color: #54565a !important;
}

.pnk-property-single-wrapper .text-gray-600 {
    color: #75757a !important;
}

.pnk-property-single-wrapper .text-gray-700 {
    color: #65656a !important;
}

/* Protected Heading Styles */
.pnk-property-single-wrapper h2,
.pnk-property-single-wrapper h3,
.pnk-property-single-wrapper h4,
.pnk-property-single-wrapper h5,
.pnk-property-single-wrapper h6 {
    color: #54565a !important;
    font-weight: 600 !important;
}

/* Protected Link Styles */
.pnk-property-single-wrapper a {
    color: #54565a !important;
    text-decoration: none !important;
}

.pnk-property-single-wrapper a:hover {
    color: #3a3b3f !important;
    text-decoration: none !important;
}

/* Protected Font Weights */
.pnk-property-single-wrapper .font-bold,
.pnk-property-single-wrapper .font-semibold {
    font-weight: 600 !important;
}

.pnk-property-single-wrapper .font-heading {
    font-family: d-din-probold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 700 !important;
}

/* D-DIN Pro Font Declarations for PNK Properties */
@font-face {
    font-family: 'd-din-proregular';
    src: url('https://pnk.group/wp-content/uploads/2024/03/d-din-pro-400-regular-webfont.woff2') format('woff2'),
         url('https://pnk.group/wp-content/uploads/2024/03/d-din-pro-400-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'd-din-probold';
    src: url('https://pnk.group/wp-content/uploads/2024/03/d-din-pro-700-bold-webfont.woff2') format('woff2'),
         url('https://pnk.group/wp-content/uploads/2024/03/d-din-pro-700-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'd-din-prosemibold';
    src: url('https://pnk.group/wp-content/uploads/2024/03/d-din-pro-600-semibold-webfont.woff2') format('woff2'),
         url('https://pnk.group/wp-content/uploads/2024/03/d-din-pro-600-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* Single Property Page Styles - Override theme styles */
.single-pnk_property .pnk-property-template,
.single-property .pnk-property-template {
    /* Ensure our styles take precedence */
}

/* Override page container padding/margin - Force full width */
.single-pnk_property,
.single-property {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.single-pnk_property .site-content,
.single-property .site-content,
.single-pnk_property .content-area,
.single-property .content-area,
.single-pnk_property .site-main,
.single-property .site-main,
.single-pnk_property article,
.single-property article,
.single-pnk_property .entry-content,
.single-property .entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Override ALL Tailwind gray-850 classes that are being overridden */
.single-pnk_property .text-gray-850,
.single-property .text-gray-850,
body.single-pnk_property .text-gray-850,
body.single-property .text-gray-850 {
    color: #54565a !important; /* actual gray-850 from tailwind config */
}

.single-pnk_property .bg-gray-850,
.single-property .bg-gray-850,
body.single-pnk_property .bg-gray-850,
body.single-property .bg-gray-850 {
    background-color: #54565a !important; /* actual gray-850 from tailwind config */
}

/* Property Title - Force gray color with extreme specificity */
.single-pnk_property .pnk-property-template h1,
.single-property .pnk-property-template h1,
.single-pnk_property .pnk-property-template .montserrat-bold,
.single-property .pnk-property-template .montserrat-bold,
body.single-pnk_property h1.text-5xl.text-gray-850,
body.single-property h1.text-5xl.text-gray-850 {
    color: #54565a !important; /* gray-850 */
}

/* Ensure all text colors in hero section */
.single-pnk_property .pnk-property-template #hero-section h1,
.single-property .pnk-property-template #hero-section h1,
body.single-pnk_property #hero-section h1,
body.single-property #hero-section h1 {
    color: #54565a !important; /* gray-850 */
    font-size: 3rem !important;
    line-height: 1 !important;
    margin-bottom: 1rem !important;
}

.single-pnk_property .pnk-property-template #hero-section p,
.single-property .pnk-property-template #hero-section p {
    color: #6b7280 !important; /* gray-600 */
}

.single-pnk_property .pnk-property-template #hero-section .text-gray-850,
.single-property .pnk-property-template #hero-section .text-gray-850,
body.single-pnk_property #hero-section .text-gray-850,
body.single-property #hero-section .text-gray-850 {
    color: #54565a !important;
}

.single-pnk_property .pnk-property-template #hero-section .text-gray-600,
.single-property .pnk-property-template #hero-section .text-gray-600 {
    color: #6b7280 !important;
}

/* Override theme's heading styles specifically */
body.single-pnk_property h1,
body.single-pnk_property h2,
body.single-pnk_property h3,
body.single-pnk_property h4,
body.single-pnk_property h5,
body.single-pnk_property h6,
body.single-property h1,
body.single-property h2,
body.single-property h3,
body.single-property h4,
body.single-property h5,
body.single-property h6 {
    color: #54565a !important;
}

/* Property Action Buttons - Force specific styling with extreme specificity */
.single-pnk_property .pnk-property-template button.pnk-download-btn,
.single-property .pnk-property-template button.pnk-download-btn,
body.single-pnk_property button.bg-gray-850,
body.single-property button.bg-gray-850,
body.single-pnk_property .pnk-property-template button.bg-gray-850.pnk-download-btn,
body.single-property .pnk-property-template button.bg-gray-850.pnk-download-btn {
    background-color: #54565a !important; /* gray-850 */
    color: white !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-decoration: none !important;
    border-radius: 4px !important;
}

.single-pnk_property .pnk-property-template button.pnk-download-btn:hover,
.single-property .pnk-property-template button.pnk-download-btn:hover,
body.single-pnk_property button.bg-gray-850:hover,
body.single-property button.bg-gray-850:hover {
    background-color: #374151 !important;
}

/* Override ANY button styles from the theme */
body.single-pnk_property button,
body.single-property button,
body.single-pnk_property button[type="submit"],
body.single-property button[type="submit"],
body.single-pnk_property input[type="button"],
body.single-property input[type="button"] {
    background-image: none !important;
}

.single-pnk_property .pnk-property-template button.pnk-share-btn,
.single-property .pnk-property-template button.pnk-share-btn {
    background-color: transparent !important;
    color: #1f2937 !important;
    border: 2px solid #1f2937 !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border-radius: 4px !important;
}

.single-pnk_property .pnk-property-template button.pnk-share-btn:hover,
.single-property .pnk-property-template button.pnk-share-btn:hover {
    background-color: #1f2937 !important;
    color: white !important;
}

/* Mobile Tab Buttons */
.single-pnk_property .pnk-property-template .mobile-tab-button,
.single-property .pnk-property-template .mobile-tab-button {
    padding: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.single-pnk_property .pnk-property-template .mobile-tab-button.active,
.single-property .pnk-property-template .mobile-tab-button.active,
.single-pnk_property .pnk-property-template .mobile-tab-button:hover,
.single-property .pnk-property-template .mobile-tab-button:hover {
    color: #1f2937 !important;
    border-bottom-color: #1f2937 !important;
}

/* Gallery Navigation Buttons */
.single-pnk_property .pnk-property-template .gallery-nav-btn,
.single-property .pnk-property-template .gallery-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    background: white !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6b7280 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.single-pnk_property .pnk-property-template .gallery-nav-btn:hover,
.single-property .pnk-property-template .gallery-nav-btn:hover {
    color: #1f2937 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.single-pnk_property .pnk-property-template .gallery-nav-btn:disabled,
.single-property .pnk-property-template .gallery-nav-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Contact Form Button */
.single-pnk_property .pnk-property-template .pnk-contact-btn,
.single-property .pnk-property-template .pnk-contact-btn {
    width: 100% !important;
    background-color: #1f2937 !important;
    color: white !important;
    padding: 16px 24px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    text-align: center !important;
}

.single-pnk_property .pnk-property-template .pnk-contact-btn:hover,
.single-property .pnk-property-template .pnk-contact-btn:hover {
    background-color: #6b7280 !important;
}

/* Form Action Buttons */
.single-pnk_property .pnk-property-template .pnk-form-cancel,
.single-property .pnk-property-template .pnk-form-cancel {
    flex: 1 !important;
    background-color: #e5e7eb !important;
    color: #374151 !important;
    padding: 12px 16px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    text-align: center !important;
}

.single-pnk_property .pnk-property-template .pnk-form-cancel:hover,
.single-property .pnk-property-template .pnk-form-cancel:hover {
    background-color: #d1d5db !important;
}

.single-pnk_property .pnk-property-template .pnk-form-submit,
.single-property .pnk-property-template .pnk-form-submit {
    flex: 1 !important;
    background-color: #1f2937 !important;
    color: white !important;
    padding: 12px 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    text-align: center !important;
}

.single-pnk_property .pnk-property-template .pnk-form-submit:hover,
.single-property .pnk-property-template .pnk-form-submit:hover {
    background-color: #6b7280 !important;
}

/* View All Gallery Button */
.single-pnk_property .pnk-property-template .pnk-view-all-btn,
.single-property .pnk-property-template .pnk-view-all-btn {
    color: #1f2937 !important;
    font-weight: 600 !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
}

.single-pnk_property .pnk-property-template .pnk-view-all-btn:hover,
.single-property .pnk-property-template .pnk-view-all-btn:hover {
    color: #6b7280 !important;
}

/* Photo Modal Buttons */
.single-pnk_property .pnk-property-template .pnk-modal-btn,
.single-property .pnk-property-template .pnk-modal-btn {
    color: white !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    border-radius: 50% !important;
    padding: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.single-pnk_property .pnk-property-template .pnk-modal-btn:hover,
.single-property .pnk-property-template .pnk-modal-btn:hover {
    color: #d1d5db !important;
}

.single-pnk_property .pnk-property-template .pnk-modal-action-btn,
.single-property .pnk-property-template .pnk-modal-action-btn {
    font-size: 12px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 4px 12px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-decoration: none !important;
}

.single-pnk_property .pnk-property-template .pnk-modal-action-btn:hover,
.single-property .pnk-property-template .pnk-modal-action-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Property Grid Layout */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Property Card */
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.property-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.property-status {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-status.for-rent {
    background: rgba(59, 130, 246, 0.9);
}

.property-status.sold {
    background: rgba(107, 114, 128, 0.9);
}

.property-card-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.property-location {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
}

.property-location::before {
    content: "📍";
    margin-right: 0.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    margin: 0 0 1rem 0;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.btn-primary {
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #059669;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #f9fafb;
    color: #374151;
    text-decoration: none;
    border-color: #9ca3af;
}

/* Property Filters */
.property-filters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.filter-input,
.filter-select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    background: white;
    transition: border-color 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.price-range {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.price-display {
    font-weight: 600;
    color: #10b981;
    font-size: 0.875rem;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Property Map */
#property-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid #e5e7eb;
}

.property-info-window {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Single Property Layout */
.property-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.property-gallery {
    margin-bottom: 2rem;
}

.property-gallery-main {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.property-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.property-gallery-thumb {
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.property-gallery-thumb:hover,
.property-gallery-thumb.active {
    border-color: #10b981;
}

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

.property-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.property-main-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.property-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.property-feature {
    text-align: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.property-feature-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    display: block;
}

.property-feature-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

.opacity-50 {
    opacity: 0.5;
}

/* Results Count */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1rem 0;
}

.results-count {
    color: #6b7280;
    font-weight: 600;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .property-filters {
        padding: 1rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .property-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .property-single {
        padding: 1rem;
    }
    
    .property-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #property-map {
        height: 300px;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .property-card-content {
        padding: 1rem;
    }
    
    .property-main-info,
    .property-sidebar {
        padding: 1rem;
    }
    
    .property-features {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .property-card,
    .property-card-image img,
    .btn-primary,
    .btn-secondary,
    .filter-input,
    .filter-select {
        transition: none;
    }
    
    .loading-spinner {
        animation: none;
    }
}

/* Focus styles for better accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.filter-input:focus,
.filter-select:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .property-filters,
    .property-actions,
    #property-map {
        display: none;
    }
    
    .property-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}