/* ===================================
   PROPERTY CARDS STYLES
   Used for property listing cards on archive and single property pages
   =================================== */

/* Property Card Base */
.property-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgb(0 0 0 / 5%);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgb(0 0 0 / 15%);
    border-color: var(--primary-color);
}

.property-card:focus-within {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* Modern Property Card Styles */
.modern-property-card {
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 6px rgb(0 0 0 / 2%);
    transition: all 0.25s ease-out;
    position: relative;
    border: 1px solid #f1f3f4;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.modern-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0 0 0 / 6%), 0 2px 6px rgb(0 0 0 / 4%);
    border-color: #e8eaed;
}

.modern-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.modern-card-link:hover,
.modern-card-link:focus {
    text-decoration: none;
    color: inherit;
}

/* Property Card Image */
.property-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

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

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

.modern-card-image {
    position: relative;
    overflow: hidden;
    background: #f9fafb;
}

.modern-image-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.modern-property-card:hover .modern-property-image {
    transform: scale(1.02);
}

.modern-image-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-text);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.placeholder-icon {
    opacity: 0.7;
}

.placeholder-text {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Status Badges */
.modern-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.modern-badges-right {
    left: auto;
    right: 12px;
}

.modern-badges-top {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.modern-badges-bottom {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
    top: auto !important;
}

.modern-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    border: 1px solid rgb(255 255 255 / 20%);
}

.badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgb(16 185 129 / 30%);
}

.badge-type {
    background: rgb(255 255 255 / 95%);
    color: #374151;
    border-color: rgb(0 0 0 / 10%);
}

/* Transaction type specific colors */
.badge-lease {
    background: #0274be;
    color: white;
    border-color: rgb(255 255 255 / 20%);
}

.badge-sale {
    background: #F4A261;
    color: white;
    border-color: rgb(255 255 255 / 20%);
}

/* Property Card Content */
.property-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modern-card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Property Title */
.property-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.4;
}

.property-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.property-title a:hover,
.property-title a:focus {
    color: var(--primary-color);
}

.modern-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-text);
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modern-title .unit-number {
    color: #111827;
    font-weight: 600;
}

/* Property Location */
.property-location {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 16px;
    gap: 6px;
}

.property-location::before {
    content: "📍";
    font-size: 0.9rem;
}

.modern-location {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fafbfc;
    border: 1px solid #e8eaed;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #5f6368;
    font-weight: 500;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.modern-location:hover {
    background: #f1f3f4;
    border-color: #dadce0;
    color: #3c4043;
}

.location-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Property Price */
.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.modern-price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.modern-price {
    flex: 1;
}

.price-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
    display: block;
}

.price-on-request .price-value {
    font-size: 1.25rem;
    color: var(--color-gray-text);
    font-weight: 600;
}

.modern-mls {
    padding: 4px 10px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--color-gray-text);
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid #e5e7eb;
}

/* Property Features */
.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #555;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
}

.feature-item .icon {
    font-size: 0.8rem;
}

.modern-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fafbfc;
    border: 1px solid #e8eaed;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #5f6368;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feature-pill:hover {
    background: #f1f3f4;
    border-color: #dadce0;
    color: #3c4043;
}

.feature-pill svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Property Description */
.property-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Property Type */
.modern-property-type {
    display: inline-block;
    padding: 6px 12px;
    background: #ede9fe;
    color: #7c3aed;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    align-self: flex-start;
}

/* Property Card Status Badge */
.property-status {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgb(255 255 255 / 95%);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 30%);
}

.property-status.for-sale {
    background: rgb(40 167 69 / 90%);
    color: white;
}

.property-status.for-rent {
    background: rgb(0 123 255 / 90%);
    color: white;
}

.property-status.sold {
    background: rgb(220 53 69 / 90%);
    color: white;
}

/* Property Card Actions */
.property-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.property-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.property-actions .btn-primary {
    background: var(--primary-color);
    color: white;
}

.property-actions .btn-primary:hover,
.property-actions .btn-primary:focus {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
}

.property-actions .btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.property-actions .btn-secondary:hover,
.property-actions .btn-secondary:focus {
    background: #e9ecef;
    border-color: #bbb;
}

/* Property Card Grid Layouts */
.property-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

@media (width >= 768px) {
    .property-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (width >= 1200px) {
    .property-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Property List Layout */
.property-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Property Card List View */
.property-list .property-card {
    flex-direction: row;
    height: auto;
}

.property-list .property-image {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.property-list .property-content {
    flex: 1;
}

@media (width <= 767px) {
    .property-list .property-card {
        flex-direction: column;
    }

    .property-list .property-image {
        width: 100%;
        height: 220px;
    }
}

/* Active Property Card Specific */
.property-active {
    background: #fff;
}

.property-active:hover {
    background: #fafafa;
}

/* Property Card Loading State */
.property-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.property-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(255 255 255 / 80%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Property Card Animations */
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card.animate-in {
    animation: cardSlideIn 0.6s ease-out forwards;
}

/* Legacy Property Item Styles (for backward compatibility) */
.property-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgb(0 0 0 / 8%), 0 2px 6px rgb(0 0 0 / 4%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.property-item:hover,
.property-item:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgb(0 0 0 / 10%), 0 6px 20px rgb(0 0 0 / 6%);
    border-color: #e8e8e8;
}

/* Property Thumbnail */
.property-thumbnail {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f8f9fa;
}

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

.property-item:hover .property-thumbnail img {
    transform: scale(1.05);
}

.property-thumbnail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #999;
    border: 1px solid #e9ecef;
}

/* Property Info Section */
.property-info {
    padding: 20px;
}

/* Property Card Responsive Adjustments */
@media (width <= 1024px) {
    .property-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .modern-card-content {
        padding: 18px;
        gap: 14px;
    }

    .price-value {
        font-size: 1.5rem;
    }
}

@media (width <= 767px) {
    .property-content {
        padding: 20px;
    }

    .property-title {
        font-size: 1.2rem;
    }

    .property-price {
        font-size: 1.3rem;
    }

    .property-features {
        gap: 8px;
    }

    .feature-item {
        font-size: 0.85rem;
        padding: 3px 6px;
    }

    .property-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .modern-property-card {
        border-radius: 10px;
    }

    .modern-card-content {
        padding: 16px;
        gap: 12px;
    }

    .price-value {
        font-size: 1.375rem;
    }

    .modern-title {
        font-size: 1rem;
    }

    .modern-features {
        gap: 6px;
    }

    .feature-pill {
        padding: 5px 10px;
        font-size: 0.8125rem;
    }

    .modern-badges {
        top: 10px;
        left: 10px;
        gap: 6px;
    }

    .modern-badge {
        padding: 3px 10px;
        font-size: 0.6875rem;
    }
}

@media (width <= 480px) {
    .modern-card-content {
        padding: 14px;
        gap: 10px;
    }

    .modern-price-section {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .modern-mls {
        align-self: flex-start;
    }

    .price-value {
        font-size: 1.25rem;
    }

    .modern-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .feature-pill {
        justify-content: center;
    }

    .modern-title {
        font-size: 0.9375rem;
        -webkit-line-clamp: 1;
    }
}

/* Property Card Accessibility Enhancements */
.property-card:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

.modern-property-card:focus-within {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.modern-card-link:focus {
    outline: none;
}

.property-card .sr-only-focusable:focus {
    position: absolute;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

/* Property Card High Contrast Support */
@media (prefers-contrast: high) {
    .property-card {
        border: 2px solid #000;
    }

    .property-card:hover {
        border-color: var(--primary-color);
        border-width: 3px;
    }

    .property-status {
        border: 2px solid #000;
    }

    .modern-property-card {
        border: 2px solid;
    }

    .modern-badge,
    .feature-pill,
    .modern-mls {
        border: 2px solid;
    }
}

/* Property Card Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .property-card,
    .property-image img,
    .property-actions .btn,
    .modern-property-card,
    .modern-property-image,
    .feature-pill {
        transition: none;
    }

    .property-card:hover {
        transform: none;
    }

    .property-card:hover .property-image img {
        transform: none;
    }

    .modern-property-card:hover {
        transform: none;
    }

    .modern-property-card:hover .modern-property-image {
        transform: none;
    }

    .property-card.animate-in {
        animation: none;
    }
}

/* ===================================
   INACTIVE PROPERTY CARD STYLES
   =================================== */

/* Inactive cards use horizontal layout: image left, content right */
.property-inactive {
    /* Slight visual distinction for inactive cards */
    opacity: 0.9;
    position: relative;
    margin-bottom: 25px; /* Match vertical spacing of active cards */
}

.property-inactive .modern-card-link.inactive-no-link {
    cursor: default;
    filter: blur(3px);
}

.property-inactive .modern-card-link.inactive-no-link:hover {
    text-decoration: none;
}

/* Login prompt overlay for non-logged-in users */
.property-inactive .property-login-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(8px);
    border: 2px solid #0073aa;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgb(0 0 0 / 15%);
    min-width: 280px;
    margin: 0;

    /* Ensure no blur inheritance */
    filter: none;
}

.property-inactive .property-login-prompt .login-message {
    font-size: 1rem;
    color: #374151;
    margin: 0 0 1.5rem;
    font-weight: 600;
}

.property-inactive .property-login-prompt .btn-login {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgb(0 115 170 / 30%);
}

.property-inactive .property-login-prompt .btn-login:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgb(0 115 170 / 40%);
    color: white;
    text-decoration: none;
}

/* Horizontal layout for inactive cards */
.property-inactive .modern-card-link {
    display: flex;
    height: 200px;
}

.property-inactive .modern-card-image {
    flex: 0 0 250px;
    height: 100%;
}

.property-inactive .modern-image-wrapper {
    height: 100%;
    aspect-ratio: unset;
}

.property-inactive .modern-image-placeholder {
    height: 100%;
    aspect-ratio: unset;
}

.property-inactive .modern-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    gap: 0.75rem;
}

/* Call to Action Section for Inactive Properties */
.property-inactive .modern-card-cta {
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
}

.property-inactive .btn-call-realtor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgb(0 115 170 / 20%);
    min-width: 100px;
    text-align: center;
}

.property-inactive .btn-call-realtor:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0 115 170 / 30%);
}

.property-inactive .btn-call-realtor svg {
    flex-shrink: 0;
}

.property-inactive .btn-call-realtor span {
    line-height: 1.2;
}

/* Ensure proper badge positioning for inactive properties */
.property-inactive .modern-badges-top {
    top: 12px;
    bottom: auto;
    left: 12px;
}

.property-inactive .modern-badges-bottom {
    bottom: 12px;
    top: auto !important;
    left: 12px;
    right: auto;
}

/* Status badges for inactive properties */
.property-inactive .badge-status {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 2px 8px rgb(220 38 38 / 30%);
}

.property-inactive .badge-status.status-sold {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.property-inactive .badge-status.status-leased {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgb(245 158 11 / 30%);
}

/* Price section adjustments for inactive properties */
.property-inactive .modern-price .price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.property-inactive .modern-price .price-label {
    font-size: 0.8rem;
    color: var(--color-gray-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-inactive .modern-price .price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #059669;
    line-height: 1.1;
}

/* Additional info for inactive properties */
.property-inactive .property-sold-date {
    font-size: 0.875rem;
    color: var(--color-gray-text);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
}

.property-inactive .property-sold-date strong {
    color: #374151;
}

/* Login prompt styling for logged in users */
.property-inactive .login-message {
    font-size: 0.875rem;
    color: var(--color-gray-text);
    margin: 0 0 0.75rem;
}

.property-inactive .btn-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.property-inactive .btn-login:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgb(59 130 246 / 30%);
    color: white;
    text-decoration: none;
}

/* Mobile responsive adjustments for inactive cards */
@media (width <= 768px) {
    .property-inactive .modern-card-link {
        flex-direction: column;
        height: auto;
    }

    .property-inactive .modern-card-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .property-inactive .modern-card-content {
        padding: 1rem;
    }

    .property-inactive .modern-card-cta {
        flex: none;
        padding: 1rem;
    }

    .property-inactive .btn-call-realtor {
        flex-direction: row;
        gap: 12px;
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   FEATURE DESIGN OPTIONS (TESTING)
   4 different design approaches for property features
   =================================== */

/* OPTION 1: Clean Icon-Value Pairs with Dot Separators */

/* Style: Monochrome dark gray */
.features-option-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 0.875rem;
    color: #374151;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.features-option-1 .feature-item-1 {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

.features-option-1 .feature-item-1 svg {
    flex-shrink: 0;
    opacity: 1;
    color: #4b5563;
}

.features-option-1 .feature-item-1 .label {
    font-size: 0.75rem;
    color: #111827;
    font-weight: 600;
    margin-left: 2px;
}

.features-option-1 .separator {
    display: none;
}

/* OPTION 1d: Clean Icon-Value Pairs with Dot Separators */

/* Style: Monochrome dark gray */
.features-option-1d {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 0.875rem;
    color: #374151;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.features-option-1d .feature-item-1d {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

.features-option-1d .feature-item-1d svg {
    flex-shrink: 0;
    opacity: 1;
    color: #4b5563;
}

.features-option-1d .feature-item-1d .label {
    font-size: 0.75rem;
    color: #111827;
    font-weight: 600;
    margin-left: 2px;
}

.features-option-1d .separator {
    display: none;
}

/* OPTION 2: Subtle Underline Style */

/* Style: Monochrome medium gray with underline */
.features-option-2 {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.features-option-2 .feature-item-2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 4px;
    border-bottom: 2px solid #6b7280;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.features-option-2 .feature-item-2 svg {
    flex-shrink: 0;
    opacity: 1;
    color: var(--color-gray-text);
}

.features-option-2 .feature-item-2 .label {
    font-size: 0.75rem;
    color: var(--color-gray-text);
    font-weight: 400;
    margin-left: 2px;
}

/* OPTION 3: Grid Layout (Icons Above Numbers) */

/* Style: Monochrome light gray with circular backgrounds */
.features-option-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.features-option-3 .feature-item-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.features-option-3 .feature-item-3:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.features-option-3 .feature-item-3 svg {
    flex-shrink: 0;
    opacity: 1;
    color: var(--color-gray-text);
    background: #e5e7eb;
    border-radius: 50%;
    padding: 4px;
}

.features-option-3 .feature-item-3 .value-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.features-option-3 .feature-item-3 .value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

.features-option-3 .feature-item-3 .label {
    font-size: 0.6875rem;
    color: var(--color-gray-text);
    font-weight: 400;
}

/* OPTION 4: Icon-Only Minimal */

/* Style: Monochrome charcoal gray with light backgrounds */
.features-option-4 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.features-option-4 .feature-item-4 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: #374151;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.features-option-4 .feature-item-4:hover {
    background: #f3f4f6;
}

.features-option-4 .feature-item-4 svg {
    flex-shrink: 0;
    opacity: 1;
    color: #4b5563;
    stroke-width: 2;
}

.features-option-4 .feature-item-4 strong {
    font-weight: 600;
    color: #1f2937;
}

.features-option-4 .feature-item-4 .label {
    font-size: 0.75rem;
    color: var(--color-gray-text);
    font-weight: 400;
    margin-left: 2px;
}

/* Mobile adjustments for feature options */
@media (width <= 640px) {
    .features-option-1,
    .features-option-1d {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        font-size: 0.8125rem;
        color: #374151;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .features-option-1 .feature-item-1,
    .features-option-1d .feature-item-1d {
        font-weight: 400;
        color: #374151;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .features-option-1 .feature-item-1 svg,
    .features-option-1d .feature-item-1d svg {
        color: #4b5563;
        width: 16px;
        height: 16px;
    }

    .features-option-1 .feature-item-1 .label,
    .features-option-1d .feature-item-1d .label {
        color: #111827;
        font-weight: 400;
        margin-left: 2px;
    }

    .features-option-2,
    .features-option-4 {
        gap: 8px;
        font-size: 0.8125rem;
    }

    .features-option-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .features-option-3 .feature-item-3 {
        padding: 6px 4px;
    }
}

/* ===================================
   PROPERTY ACTION BUTTONS ROW
   =================================== */

.property-action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 12px 12px;
    width: 100%;
    background: transparent;
    border-radius: 0 0 12px 12px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    min-height: 48px;
}

.action-button-wrapper {
    flex: 1;
    display: flex;
    width: 50%;
}

.action-button-wrapper > * {
    flex: 1;
    display: flex;
    width: 100%;
}

.history-button {
    width: 50%;
}

.history-button,
.button_lease,
.button_sale {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.history-button:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #1f2937;
    text-decoration: none;
}

/* Lease button - Blue */
.button_lease {
    background: #0274be;
    color: white;
    border-color: #0274be;
}

.button_lease:hover {
    background: #015a8f;
    border-color: #015a8f;
    color: white;
    text-decoration: none;
}

/* Sale button - Orange */
.button_sale {
    background: #F4A261;
    color: white;
    border-color: #F4A261;
}

.button_sale:hover {
    background: #e68a45;
    border-color: #e68a45;
    color: white;
    text-decoration: none;
}

@media (width <= 640px) {
    .property-action-buttons {
        flex-direction: row;
        gap: 8px;
        padding: 0 10px 10px;
        background: #fff;
    }

    .action-button-wrapper {
        width: 50%;
        flex: 1;
    }

    .history-button,
    .button_lease,
    .button_sale {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.875rem;
        min-height: 44px;
        touch-action: manipulation;
    }
}
