/* ========== VARIABLES ========== */
:root {
    --primary: #1a365d;
    --secondary: #2b6cb0;
    --accent: #3182ce;
    --light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



html {
    scroll-behavior: smooth;
}

.bien-shortcode {
    margin: 2rem auto;
    max-width: 1400px;
    padding: 0 1rem;
}

.bien-shortcode h2 {
    text-align: center;
    margin: 0 0 2rem;
    padding: 1rem 0;
    border-radius: 8px 8px 0 0;
}

.biens-scrape-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem !important;
    margin: 0 auto;
    padding: 1.5rem 0 !important;
}

.biens-scrape-card {
    border: 1px solid #eee;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.biens-scrape-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.biens-scrape-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.biens-scrape-card h3{
    margin: 1rem;
    font-size:1.8rem !important;
}
.biens-scrape-card .price {
    margin: 0 1rem 1rem;
	font-size:2rem !important;
    font-weight: bold;
    color:var(--primary);
}
.biens-scrape-pagination {
    text-align: center;
    margin: 2rem 0;
}
.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.biens-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.5rem 0;
}
.biens-gallery img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}


.biens-scrape-pagination {
    margin: 2.5rem auto;
    text-align: center;
}

.biens-scrape-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.biens-scrape-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}


.biens-scrape-pagination .page-numbers.current {
    background: #2271b1;
    color: white;
    border-color: #1a5a8c;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(34, 113, 177, 0.2);
}

.biens-scrape-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    cursor: default;
}

/* Flèches */
.biens-scrape-pagination .page-numbers.prev,
.biens-scrape-pagination .page-numbers.next {
    min-width: auto;
    padding: 0 16px;
}

.page-numbers.prev:hover,
 .page-numbers.next:hover {
    background: #dbeafe;
    color: #1e40af;
}



/* Single Propriety */

/* ========== BASE ========== */
.biens-immobilier-detail.premium {
    background: var(--light);
}

/* ========== CAROUSEL ========== */
.premium-carousel {
    position: relative;
    width:1200px;
    margin:auto;
    overflow: hidden;
    background: #000;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.carousel-track {
    display: flex;
    transition: transform var(--transition);
}

.carousel-slide {
    min-width: 100%;
    flex: 0 0 100%;
}

.carousel-slide img {
    width: 100%;
    height: 70vh;
    max-height: 700px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: white;
    transform: scale(1.2);
}

.carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size:1.5rem !important;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.hero-cta {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.price-badge {
    background: var(--accent);
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 1.8rem !important;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(49, 130, 206, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(49, 130, 206, 0); }
    100% { box-shadow: 0 0 0 0 rgba(49, 130, 206, 0); }
}



/* Widgets dans sidebar bien */
.sidebar-dynamic .widget {
    margin-bottom: 1.5rem;
}
.sidebar-dynamic .widget-title {
    margin-top: 0;
    font-size: 1.5rem !important;
    color: var(--primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-300);
}
.sidebar-dynamic .textwidget,
.sidebar-dynamic .widget_text {
    line-height: 1.6;
}
.sidebar-dynamic .button {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    text-align: center;
}


/* ========== CONTACT DYNAMIQUE ========== */
.contact-section {
    background: var(--gray-100);
    padding: 3rem 1.5rem;
    margin-top: 2rem;
}
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.contact-title {
    font-size: 2rem;
    margin: 0 0 1.5rem;
    text-align: center;
    color: var(--primary);
}
.contact-widget {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Harmonisation CF7 / WPForms */
.contact-widget .wpcf7,
.contact-widget .wpforms-container {
    font-size: 1rem;
}
.contact-widget input[type="text"],
.contact-widget input[type="email"],
.contact-widget textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    margin-bottom: 1rem;
}
.contact-widget .button,
.contact-widget input[type="submit"] {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
}


/* ========== CONTENT ========== */
.premium-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.biens-header {
    text-align: center;
    padding:2rem;
}

.breadcrumbs {
    margin-bottom: 1rem;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: var(--secondary);
    text-decoration: none;
}

.biens-title {
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: var(--gray-900);
}

.biens-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.biens-info-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.75rem;
	flex-wrap: wrap;
}

.biens-info-features li {
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.biens-tags {
    display: flex;
    gap: 0.5rem;
    align-items:center;
    flex-wrap:wrap;
}

.biens-tag {
    background: var(--secondary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-weight: 500;
}

/* Grid layout */
.biens-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.biens-main {
    order: 1;
}

.biens-sidebar {
    order: 2;
}

.back-to-list {
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: var(--gray-300);
    color:var(--primary);
    padding:0.5rem 1rem;
    border-radius: var(--border-radius);
    max-width:350px;
}
.back-to-list > * {
    margin:0 5px;
}

.back-to-list:hover{
    background-color:var(--gray-100);
    border: 1px solid var(--accent);
}

/* Sections */
.biens-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    
}

.biens-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.biens-section h2 {
   
    margin: 0 0 1.25rem;
    color: var(--primary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.features-grid ul {
    list-style-type:disc;
    padding-left:20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    font-size:2rem;
    flex-shrink: 0;
}

.feature-label {
    color: var(--gray-700);
    display: block;
}

.feature-value {
    font-weight: 600;
    color: var(--gray-900);
}

/* Map */
.map-placeholder {
    margin-top: 1rem;
}

.map-placeholder img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

/* Sidebar cards */
.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.price-card {
    text-align: center;
    padding:1.5rem;
}

.price-display {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-per-sqm {
    color: var(--gray-700);
}

.actions-card {
    text-align: center;
}

.actions-card .button {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.button.share-btn { background: #e2e8f0; color: var(--gray-800); }
.button.save-btn { background: #fef3c7; color: #b45309; }
.button.print-btn { background: #dbeafe; color: #1e40af; }

.contact-card h3,
.tags-card h3 {
    margin-top: 0;
 
    color: var(--primary);
}

.contact-info {
    margin: 1rem 0;
    line-height: 1.6;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-badge {
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Contact section */
.contact-section {
    background: var(--gray-100);
    padding: 3rem 1.5rem;
    margin-top: 2rem;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-wrapper h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

.form-grid label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-grid input:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
}

.form-grid .button {
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
}




/* ========== GLOBAL ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== HERO PRO ========== */
.biens-hero-pro {
    padding:2rem 0;
    position: relative;
    overflow: hidden;
}
.biens-hero-pro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    margin:auto;
}
.hero-logo img {
    margin: 0 auto 1.5rem;
    display: block;
}
.hero-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1rem;
    text-align:center;
}
.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0 0 2rem;
}
.stat {
    font-weight: 700;
    color: var(--accent);
}
.hero-cta .button {
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.hero-cta .button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.biens-filters-pro {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding:1rem 0;
}

.filters-header {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filters-title {
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
}
.filters-toggle {
    background: none;
    border: none;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    border:1px solid var(--gray-700);
}
.filters-toggle:hover,
.filters-toggle:focus {
    background: var(--gray-100);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.toggle-icon {
    transition: transform 0.2s;
}
.filters-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.filters-form {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: none;
}
.filters-form.expanded {
    display: block;
}

.filters-content {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 1.5rem;
}
.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.filter-col {
    display: flex;
    flex-direction: column;
}
.filter-col-full {
    grid-column: 1 / -1;
}
.filter-label {
    font-size:1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}
.filter-input,
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1.5rem;
    background: white;
    transition: var(--transition);
}
.filter-input:focus,
.filter-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 42, 77, 0.1);
}
.filter-price {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.filter-price-input {
    flex: 1;
}
.filter-price-sep {
    color: var(--gray-500);
    font-weight: 600;
}
.filter-fieldset {
    border: none;
    margin: 0;
    padding: 0;
}
.filter-legend {
    font-size:1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    padding: 0;
}
.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.filter-checkbox input {
    position: absolute;
    opacity: 0;
}
.filter-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
    margin-right: 0.5rem;
    transition: var(--transition);
}
.filter-checkbox input:checked + .filter-checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24  24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}
.filter-checkbox-label {
    font-size:1.5rem;
    color: var(--gray-700);
}

.filters-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    align-items: center;
}


.filters-actions button {
    padding: 1rem 2rem;
    background-color:var(--primary);
    display: block;
    line-height: 1;
    border: none;
    color:var(--gray-100);
    display: flex;
    align-content: center;
    cursor: pointer;
    border-radius: var(--border-radius);
}

.filters-actions a {
    padding: 1rem 2rem;
    display: block;
    background-color:var(--gray-300);
    line-height: 1;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius);
}

.button-lg {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* 🏷️ Badges actifs premium */
.filters-active {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 16px;
}
.filters-active-title {
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}
.active-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.badge-active {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}
.badge-label {
    font-weight: 600;
    color: var(--primary);
    background: rgba(15, 42, 77, 0.05);
    padding: 0.125rem 0.5rem;
    border-radius: 20px;
}
.badge-value {
    color: var(--gray-800);
}
.badge-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: var(--primary);
    background: rgba(15, 42, 77, 0.1);
    text-decoration: none;
    transition: var(--transition);
}
.badge-remove:hover {
    background: var(--primary);
    color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .filters-header,
    .filters-form {
        padding: 0 1rem;
    }
    .filters-row {
        grid-template-columns: 1fr;
    }
    .filters-actions {
        flex-direction: column;
    }
    .filters-actions .button {
        width: 100%;
        justify-content: center;
    }
}


/* ========== RÉSULTATS PRO ========== */
.biens-results-pro {
    padding: 3rem 0 2rem;
}
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.results-info h2 {
    font-size: 1.875rem;
    margin: 0;
    color: var(--gray-900);
}
.results-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.results-sort label {
    font-weight: 500;
    color: var(--gray-700);
}
.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.9rem;
    background: white;
}
.results-view {
    display: flex;
    gap: 0.25rem;
}
.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-200);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.view-btn.active,
.view-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========== GRILLE PRO ========== */
.biens-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}
.biens-card-pro {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.biens-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.biens-card-pro:hover .card-image img {
    transform: scale(1.03);
}
.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-new {
    background: var(--secondary);
    color: white;
}
.badge-price {
    background: rgba(255,255,255,0.9);
    color: var(--primary);
}
.card-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}
.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.action-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}
.card-content {
    padding: 1.5rem;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.meta-type {
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}
.meta-location {
    color: var(--gray-600);
}
.card-title {
	font-size:2rem;
    margin: 0 0 1rem;
    line-height: 1.4;
}
.card-title a {
    color: var(--gray-900);
    text-decoration: none;
    transition: var(--transition);
}
.card-title a:hover {
    color: var(--primary);
}
.card-features {
    display: flex !important;
    flex-wrap: wrap;
	flex-direction:column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.feature {
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size:1.5rem;
    color: var(--gray-700);
}
.card-price {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    margin: 1rem 0;
}
.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.price-currency {
    font-size: 1.25rem;
    color: var(--gray-700);
}
.card-footer {
    display: flex;
    gap: 0.75rem;
}
.button-sm {
    flex: 1;
    padding: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.button-outline {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
}
.button-outline:hover {
    background: var(--primary);
    color: white;
}

/* ========== PAGINATION PRO ========== */
.biens-pagination-pro {
    margin: 3rem 0 2rem;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 0.25rem;
}
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}
.page-numbers:hover:not(.current) {
/*     background: var(--gray-100); */
}
.page-numbers.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========== NO RESULTS ========== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}
.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}
.no-results h3 {
    font-size: 1.75rem;
    margin: 0 0 1rem;
    color: var(--gray-900);
}
.no-results p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* ========== CTA FINALE ========== */
.contact-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 5rem 0;
    text-align: center;
}
.cta-content {
    max-width: 800px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: 2.25rem;
    margin: 0 0 1rem;
}
.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0 0 2rem;
}
.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 2.5rem;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}
.stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
}
.button-xl {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .hero-title { font-size: 2rem; }
    .filters-top { flex-direction: column; }
    .filters-grid { grid-template-columns: 1fr; }
    .biens-grid-pro { grid-template-columns: 1fr; }
    .results-header { flex-direction: column; align-items: flex-start; }
    .cta-stats { flex-direction: column; gap: 1.5rem; }
}


/* Mobile */
@media (max-width: 600px) {
    .biens-scrape-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.9rem;
    }
    
    .biens-scrape-pagination .page-numbers.prev,
    .biens-scrape-pagination .page-numbers.next {
        padding: 0 12px;
    }
}


@media (max-width: 600px) {
    .biens-scrape-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .bien-shortcode h2 {
        font-size: 2rem;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .biens-grid {
        grid-template-columns: 1fr;
	
    }
    .biens-main { order: 1; }
    .biens-sidebar { order: 2; }
    .premium-carousel {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .biens-header { text-align: left; }
    .biens-meta { flex-direction: column; align-items: flex-start; }
    .carousel-btn { width: 40px; height: 40px; font-size: 20px; }
    .price-display { font-size: 2rem; }
    .price-amount { font-size: 2rem; }
    
    /* Simplify carousel on mobile */
    .carousel-slide img {
        height: 50vh;
    }
}


/* ========== PRINT ========== */
@media print {
    .biens-sidebar,
    .contact-section,
    .carousel-btn,
    .carousel-dots,
    .carousel-counter,
    .hero-cta {
        display: none !important;
    }
    
    .biens-immobilier-detail.premium {
        background: white;
    }
    
    .biens-main {
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .carousel-slide img {
        height: 400px !important;
    }
}