/* Sarouty Saved Pages */

/* Loading & Empty States */
.sarouty-loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

.sarouty-empty {
    text-align: left;
    padding: 40px 0px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.sarouty-empty svg {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

.sarouty-empty h3 {
    font-size: 24px !important;
    color: #333333;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.25em;
    letter-spacing: 0.3px;
}

.sarouty-empty p {
    font-size: 14px !important;
    color: #666666;
    font-weight: 500;
    line-height: 1.25em;
    letter-spacing: 0.3px;
}

/* Property Grid - Vertical Stack */
.sarouty-properties-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Property Card - Horizontal Layout (Desktop) */
.sarouty-property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: row;
    min-height: 280px;
}

.sarouty-property-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Property Image Section */
.sarouty-property-image {
    position: relative;
    width: 45%;
    display: flex;
    overflow: hidden;
}

.sarouty-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges on Image */
.sarouty-property-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    text-transform: capitalize;
}

.sarouty-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
}

.sarouty-badge.type {
    background: #EF6458;
}

.sarouty-badge.listing {
    background: #59b8ba;
}

.sarouty-badge.sale-type {
    background: #00000066;
}

/* Unsave Heart Button */
.sarouty-unsave-btn {
    background: #EF6458;
    border: none;
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sarouty-unsave-btn:hover {
    background: #d94f42;
}

.sarouty-unsave-btn svg {
    fill: #fff;
}

/* Property Content Section */
.sarouty-property-content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sarouty-property-title {
    font-size: 24px !important;
    font-weight: 600;
    color: #333;
    margin: 0 !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sarouty-property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 15px;
}

/* Property Features Row */
.sarouty-property-features {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sarouty-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.sarouty-feature svg {
    width: 18px;
    height: 18px;
    color: #EF6458;
}

/* Price */
.sarouty-property-price {
    font-size: 24px;
    font-weight: 600;
    color: #EF6458;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 14px 0;
}

/* Action Buttons */
.sarouty-property-actions {
    display: flex;
    gap: 12px;
}

.sarouty-contact-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #EF6458;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 10px;
}

.sarouty-contact-btn:hover {
    background: #d94f42;
}

.sarouty-contact-btn svg {
    height: 100%;
    width: 100%;
    fill: #fff;
}

/* Search List */
.sarouty-searches-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sarouty-search-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.sarouty-search-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.sarouty-search-info {
    flex: 1;
}

h3.sarouty-search-title {
    font-size: 20px !important;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0;
}

.sarouty-search-date {
    font-size: 12px;
    color: #666666;
    margin-top: 5px;
}

.sarouty-search-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sarouty-btn {
    color: #2C2C2C;
    border: 1px solid #EF6458;
    font-size: 15px;
    letter-spacing: 0.3px;
    padding: 10px 15px 10px 15px;
    background: transparent;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 100px;
    line-height: 1;
}

.sarouty-btn:hover {
    background: #EF6458;
    color: #fff;
}

.sarouty-btn.primary {
    background: #EF6458;
    color: #fff;
}

.sarouty-btn.primary:hover {
    background: transparent;
    color: #2C2C2C;
}

/* Notification */
.sarouty-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s;
}

.sarouty-notification.show {
    transform: translateX(0);
}

.sarouty-notification-success {
    border-left: 4px solid #4CAF50;
}

.sarouty-notification-info {
    border-left: 4px solid #2196F3;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .sarouty-btn {
        font-size: 13px;
    }

    .sarouty-empty h3 {
        font-size: 18px !important;
    }
    
    .sarouty-empty p {
        font-size: 13px !important;
    }
    /* Mobile - Vertical Card */
    .sarouty-property-card {
        flex-direction: column;
        height: auto;
    }

    .sarouty-property-image {
        width: 100%;
        height: 200px;
    }

    .sarouty-property-content {
        padding: 16px;
    }

    .sarouty-property-title {
        font-size: 18px !important;
    }

    .sarouty-property-price {
        font-size: 18px !important;
    }

    .sarouty-search-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 15px;
    }

    .sarouty-search-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .sarouty-notification {
        right: 16px;
        left: 16px;
        transform: translateY(-100px);
    }

    .sarouty-notification.show {
        transform: translateY(0);
    }
}

/* RTL Support for Arabic */
[dir="rtl"] .sarouty-property-card {
    flex-direction: row-reverse;
}

[dir="rtl"] .sarouty-property-badges {
    left: auto;
    right: 12px;
}
[dir="rtl"] .sarouty-empty {
    text-align: right;
}
@media (max-width: 768px) {
    [dir="rtl"] .sarouty-property-card {
        flex-direction: column;
    }
    
}