/* ============================================
   RENTAL PG - ELEMENTOR PROPERTY WIDGET STYLES
   ============================================ */

.rental-pg-elementor-property {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rental-pg-elementor-property h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.property-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.property-location,
.property-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #646970;
    background: #f6f7f7;
    padding: 8px 16px;
    border-radius: 8px;
}

.property-location i,
.property-type i {
    color: #d4af37;
    font-size: 18px;
}

.property-price {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f2e 100%);
    border-radius: 12px;
    color: #fff;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #d4af37;
}

.price-period {
    font-size: 18px;
    color: #94a3b8;
    margin-left: 8px;
}

.property-beds {
    font-size: 16px;
    color: #1d2327;
    margin-bottom: 30px;
    padding: 16px;
    background: #fef9ee;
    border-left: 4px solid #d4af37;
    border-radius: 8px;
}

.property-beds strong {
    color: #d4af37;
    font-weight: 700;
}

.property-amenities {
    margin-top: 40px;
}

.property-amenities h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4af37;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
}

.amenity-item:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.15);
}

.amenity-item i {
    font-size: 24px;
    color: #d4af37;
}

.amenity-item span {
    font-size: 14px;
    font-weight: 500;
    color: #1d2327;
}

@media (max-width: 768px) {
    .rental-pg-elementor-property h2 {
        font-size: 24px;
    }
    
    .price-amount {
        font-size: 28px;
    }
    
    .amenity-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* ============================================
   ELEMENTOR ARCHIVE PAGE STYLES
   ============================================ */

.elementor-archive-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rental-pg-elementor-archive {
    max-width: 1200px;
    margin: 0 auto;
}

.archive-controls {
    margin-bottom: 40px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-bar {
    margin-bottom: 20px;
}

.search-bar form {
    display: flex;
    gap: 10px;
}

.search-bar input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.search-bar input[type="text"]:focus {
    border-color: #d4af37;
    outline: none;
}

.search-bar button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #d4af37 0%, #c49b2f 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.search-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group select,
.filter-group input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.filter-group select:focus,
.filter-group input[type="number"]:focus {
    border-color: #d4af37;
    outline: none;
}

.price-filter {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-filter input {
    flex: 1;
}

.price-filter span {
    color: #646970;
    font-weight: 600;
}

.filter-submit {
    padding: 10px 24px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-submit:hover {
    background: #d4af37;
    transform: translateY(-2px);
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-grid.list-view {
    grid-template-columns: 1fr;
}

/* Pagination */
.archive-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #1d2327;
    font-weight: 500;
    transition: all 0.3s;
}

.archive-pagination .page-numbers:hover {
    border-color: #d4af37;
    background: #fef9ee;
}

.archive-pagination .page-numbers.current {
    background: linear-gradient(135deg, #d4af37 0%, #c49b2f 100%);
    border-color: #d4af37;
    color: #fff;
}

.no-properties-found {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
}

.no-properties-found h3 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.no-properties-found p {
    font-size: 16px;
    color: #646970;
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-panel {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .archive-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 14px;
    }
}

/* ============================================
   ELEMENTOR FULL ARCHIVE WIDGET STYLES
   Fully customizable via Elementor controls
   ============================================ */

.elementor-full-archive {
    width: 100%;
}

/* Hero Section */
.archive-hero {
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 16px;
}

.archive-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.archive-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Search Bar */
.archive-search-bar {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    border: 2px solid;
}

.archive-search-bar form {
    display: flex;
    gap: 12px;
}

.archive-search-bar input[type="text"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid;
    border-radius: 8px;
    font-size: 16px;
    background: transparent;
    transition: all 0.3s;
}

.archive-search-bar input[type="text"]:focus {
    outline: none;
    border-color: #d4af37;
}

.archive-search-bar button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #d4af37 0%, #c49b2f 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.archive-search-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

/* Filters Panel */
.archive-filters-panel {
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.archive-filters-panel select {
    flex: 1;
    min-width: 180px;
    padding: 12px 16px;
    border: 2px solid #2a2a4e;
    border-radius: 8px;
    background: #0f0f2e;
    color: #e2e8f0;
    font-size: 14px;
    cursor: pointer;
}

.archive-filters-panel select:focus {
    outline: none;
    border-color: #d4af37;
}

.filter-btn {
    padding: 12px 28px;
    background: #d4af37;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #c49b2f;
    transform: translateY(-2px);
}

/* Property Grid */
.archive-property-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

/* Pagination */
.archive-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #2a2a4e;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 2px solid #2a2a4e;
    border-radius: 10px;
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.3s;
}

.archive-pagination .page-numbers:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
}

.archive-pagination .page-numbers.current {
    color: #fff;
    border-color: #d4af37;
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 60px 20px;
    }
    
    .archive-hero-title {
        font-size: 32px;
    }
    
    .archive-hero-subtitle {
        font-size: 16px;
    }
    
    .archive-search-bar form {
        flex-direction: column;
    }
    
    .archive-filters-panel {
        flex-direction: column;
    }
    
    .archive-filters-panel select,
    .filter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .archive-hero {
        padding: 40px 16px;
    }
    
    .archive-hero-title {
        font-size: 26px;
    }

    .elementor-archive-page {
        padding: 24px 12px;
    }
}
