/* 
 * HEKTOR Plugin - Styles frontend
 * Version: 1.0.0
 */

/* Variables CSS */
:root {
    --hektor-primary: #0073aa;
    --hektor-primary-light: #e3f2fd;
    --hektor-secondary: #6c757d;
    --hektor-success: #28a745;
    --hektor-warning: #ffc107;
    --hektor-error: #dc3545;
    --hektor-border: #dee2e6;
    --hektor-bg-light: #f8f9fa;
    --hektor-text: #212529;
    --hektor-text-muted: #6c757d;
    --hektor-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --hektor-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --hektor-radius: 0.375rem;
    --hektor-transition: all 0.15s ease-in-out;
}

/* ===== STYLES POUR LES IMAGES DE GAZ ===== */
/* Images de gaz : affichage simple sans styles */

/* ===== STYLES POUR LES IMAGES D'ÉNERGIE ===== */
/* Images d'énergie : affichage simple sans styles */

/* Reset et base */
.hektor-container,
.hektor-container * {
    box-sizing: border-box;
}

.hektor-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: var(--hektor-text);
}

/* Grilles et layouts */
.hektor-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.hektor-col {
    flex: 1;
    padding: 0 15px;
}

.hektor-col-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.hektor-col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.hektor-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.hektor-col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.hektor-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.hektor-col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.hektor-col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.hektor-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (max-width: 768px) {

    .hektor-col,
    .hektor-col-1,
    .hektor-col-2,
    .hektor-col-3,
    .hektor-col-4,
    .hektor-col-6,
    .hektor-col-8,
    .hektor-col-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Liste des propriétés */
.hektor-properties-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.hektor-property-card {
    background: #fff;
    border: 1px solid var(--hektor-border);
    overflow: hidden;
    box-shadow: var(--hektor-shadow);
    transition: var(--hektor-transition);
    position: relative;
}

.hektor-property-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hektor-shadow-lg);
}

.hektor-property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--hektor-primary);
    color: white;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hektor-property-badge.sale {
    background: var(--hektor-success);
}

.hektor-property-badge.rent {
    background: var(--hektor-warning);
}

.hektor-property-content {
    padding: 20px;
}

.hektor-property-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.hektor-property-title a {
    color: var(--hektor-text);
    text-decoration: none;
    transition: var(--hektor-transition);
}

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

.hektor-property-location {
    color: var(--hektor-text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.hektor-property-location::before {
    content: "📍";
    margin-right: 5px;
}

.hektor-property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hektor-primary);
    margin-bottom: 15px;
}

.hektor-property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.hektor-detail {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--hektor-text-muted);
}

.hektor-detail::before {
    content: "";
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
}

.hektor-detail.surface::before {
    content: "📐";
}

.hektor-detail.rooms::before {
    content: "🏠";
}

.hektor-detail.bedrooms::before {
    content: "🛏️";
}

.hektor-property-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.hektor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--hektor-transition);
    line-height: 1.5;
}

.hektor-btn-primary {
    background: var(--hektor-primary);
    border-color: var(--hektor-primary);
    color: white;
}

.hektor-btn-primary:hover {
    background: #005a87;
    border-color: #005a87;
    color: white;
}

.hektor-btn-outline {
    background: transparent;
    border-color: var(--hektor-primary);
    color: var(--hektor-primary);
}

.hektor-btn-outline:hover {
    background: var(--hektor-primary);
    color: white;
}

.hektor-btn-sm {
    padding: 4px 8px;
    font-size: 0.75rem;
}

.hektor-btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
}

/* Détail d'une propriété */
.hektor-property-detail {
    background: #fff;
    overflow: hidden;
    box-shadow: var(--hektor-shadow);
    margin: 20px 0;
}

.hektor-property-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--hektor-primary-light), #fff);
}

.hektor-property-detail .hektor-property-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--hektor-primary);
}

.hektor-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-top: 15px;
}

.hektor-property-ref {
    background: var(--hektor-bg-light);
    padding: 5px 10px;
    font-size: 0.85rem;
    color: var(--hektor-text-muted);
}

/* Galerie d'images */
.hektor-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.hektor-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hektor-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--hektor-transition);
    cursor: pointer;
}

/* Galerie principale (première image plus grande) */
.hektor-gallery.main {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.hektor-gallery.main .hektor-gallery-item:first-child {
    grid-row: 1 / 3;
}

@media (max-width: 768px) {
    .hektor-gallery.main {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .hektor-gallery.main .hektor-gallery-item:first-child {
        grid-row: auto;
    }
}

/* Formulaire de recherche */
.hektor-search-form {
    background: #fff;
    border: 1px solid var(--hektor-border);
    padding: 20px;
    margin: 20px 0;
    box-shadow: var(--hektor-shadow);
}

.hektor-search-form .hektor-row {
    align-items: end;
}

.hektor-search-field {
    margin-bottom: 15px;
}

.hektor-search-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--hektor-text);
}

.hektor-search-field input,
.hektor-search-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--hektor-border);
    font-size: 0.875rem;
    transition: var(--hektor-transition);
}

.hektor-search-field input:focus,
.hektor-search-field select:focus {
    outline: none;
    border-color: var(--hektor-primary);
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.hektor-price-range {
    display: flex;
    flex-direction: column;
}

.hektor-price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hektor-price-separator {
    color: var(--hektor-text-muted);
    font-weight: 500;
}

.hektor-search-button {
    width: 100%;
    background: var(--hektor-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--hektor-transition);
}

.hektor-search-button:hover {
    background: #005a87;
}

/* Filtres */
.hektor-filters {
    background: var(--hektor-bg-light);
    padding: 15px;
    margin: 20px 0;
}

.hektor-filters-title {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hektor-text);
}

.hektor-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hektor-filter-tag {
    background: var(--hektor-primary);
    color: white;
    padding: 4px 8px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hektor-filter-tag .remove {
    cursor: pointer;
    font-weight: bold;
}

/* Pagination */
.hektor-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
}

.hektor-pagination a,
.hektor-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--hektor-border);
    text-decoration: none;
    color: var(--hektor-text);
    font-weight: 500;
    transition: var(--hektor-transition);
}

.hektor-pagination a:hover {
    background: var(--hektor-primary);
    border-color: var(--hektor-primary);
    color: white;
}

.hektor-pagination .current {
    background: var(--hektor-primary);
    border-color: var(--hektor-primary);
    color: white;
}

/* Carte */
.hektor-map {
    overflow: hidden;
    border: 1px solid var(--hektor-border);
    margin: 20px 0;
}

/* Messages d'état */
.hektor-no-properties {
    text-align: center;
    padding: 60px 20px;
    color: var(--hektor-text-muted);
    font-style: italic;
}

.hektor-loading-properties {
    text-align: center;
    padding: 40px 20px;
}

.hektor-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hektor-properties-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hektor-properties-list {
        grid-template-columns: 1fr;
    }

    .hektor-property-detail .hektor-property-title {
        font-size: 1.5rem;
    }

    .hektor-property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hektor-search-form .hektor-row {
        flex-direction: column;
    }

    .hektor-price-inputs {
        flex-direction: column;
        gap: 5px;
    }

    .hektor-price-separator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hektor-property-content {
        padding: 15px;
    }

    .hektor-property-header {
        padding: 20px;
    }

    .hektor-property-details {
        flex-direction: column;
        gap: 8px;
    }

    .hektor-property-actions {
        flex-direction: column;
    }
}

/* Animations */
@keyframes hektor-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes hektor-slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.hektor-animate-fadeIn {
    animation: hektor-fadeIn 0.5s ease-out;
}

.hektor-animate-slideIn {
    animation: hektor-slideIn 0.3s ease-out;
}

/* Impression */
@media print {

    .hektor-search-form,
    .hektor-filters,
    .hektor-pagination,
    .hektor-property-actions {
        display: none !important;
    }

    .hektor-properties-list {
        grid-template-columns: 1fr;
    }

    .hektor-property-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mode sombre (si supporté par le thème) */
@media (prefers-color-scheme: dark) {
    :root {
        --hektor-text: #f8f9fa;
        --hektor-text-muted: #adb5bd;
        --hektor-border: #495057;
        --hektor-bg-light: #343a40;
    }

    .hektor-property-card,
    .hektor-search-form,
    .hektor-property-detail {
        background: #212529;
        color: var(--hektor-text);
    }
}

/* ============================================
   BLOC "NOS DERNIÈRES OFFRES" - STYLE MODERNE
   ============================================ */

.hektor-dernieres-offres {

    margin: 40px 0;
}

.hektor-dernieres-offres-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.hektor-dernieres-offres-titre {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.hektor-dernieres-offres-link {
    background: #3498db;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hektor-dernieres-offres-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* ============================================
   GRILLE DES DERNIÈRES OFFRES
   ============================================ */

.hektor-dernieres-offres-grid {
    display: grid;
    gap: 24px;
}

.hektor-dernieres-offres-grid.hektor-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.hektor-dernieres-offres-grid.hektor-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.hektor-dernieres-offres-grid.hektor-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   CARTES DES DERNIÈRES OFFRES
   ============================================ */

.hektor-derniere-offre-card {
    background: #0a121f;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.hektor-derniere-offre-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   IMAGES DES OFFRES - CARRÉES 300x300px
   ============================================ */

.hektor-derniere-offre-image {
	  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

/*.hektor-derniere-offre-image {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
    /* Centrer l'image */
} */

.hektor-derniere-offre-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.hektor-derniere-offre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.hektor-derniere-offre-card:hover .hektor-derniere-offre-image img {
    filter: grayscale(70%) brightness(0.8);
}

/* Signe + au survol */
.hektor-derniere-offre-image {
    position: relative;
}

.hektor-derniere-offre-image::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: 100;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;

}

.hektor-derniere-offre-card:hover .hektor-derniere-offre-image::after {
    opacity: 1;
}

.hektor-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #6c757d;
}

.hektor-no-image-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* ============================================
   BADGES DES OFFRES
   ============================================ */

.hektor-offre-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hektor-badge-vente {
    background: #e74c3c;
    color: white;
}

.hektor-badge-location {
    background: #3498db;
    color: white;
}

.hektor-badge-programmeneuf {
    background: #f39c12;
    color: white;
}

.hektor-badge-nouveau {
    background: #27ae60;
    color: white;
    top: 12px;
    left: 12px;
    right: auto;
}

/* ============================================
   CONTENU DES CARTES - NOUVEAU LAYOUT
   ============================================ */

.hektor-derniere-offre-content {
    padding: 20px;
    text-align: center;
}

/* Première ligne : TYPE DE BIEN – T3 */
.hektor-derniere-offre-type-pieces {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.hektor-derniere-offre-type-pieces a:link {
    color: #FFFFFF;
}

.hektor-derniere-offre-type-pieces a {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.hektor-derniere-offre-type-pieces a:hover {
    opacity: 0.8;
}

/* Deuxième ligne : Ville Code postal – Surface – Prix (prix en gras) */
.hektor-derniere-offre-lieu-details {
    font-size: 0.85rem;
    color: #FFFFFF;
    line-height: 1.4;
    margin-bottom: 0;
}

.hektor-derniere-offre-lieu-details strong {
    font-weight: 700;
}

/* Suppression des anciens styles non utilisés */
.hektor-derniere-offre-titre,
.hektor-derniere-offre-details,
.hektor-derniere-offre-lieu,
.hektor-derniere-offre-type,
.hektor-derniere-offre-specs,
.hektor-derniere-offre-prix,
.hektor-derniere-offre-actions {
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hektor-dernieres-offres {
        padding: 30px 15px;
    }

    .hektor-dernieres-offres-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hektor-dernieres-offres-titre {
        font-size: 1.8rem;
    }

    .hektor-dernieres-offres-grid.hektor-columns-2,
    .hektor-dernieres-offres-grid.hektor-columns-3,
    .hektor-dernieres-offres-grid.hektor-columns-4 {
        grid-template-columns: 1fr;
    }

    /* Ajuster la taille des images sur mobile */
    .hektor-derniere-offre-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hektor-dernieres-offres-titre {
        font-size: 1.5rem;
    }

    /* Images encore plus petites sur très petits écrans */
    .hektor-derniere-offre-image {
        width: 200px;
        height: 200px;
    }

    .hektor-derniere-offre-type-pieces {
        font-size: 1rem;
    }

    .hektor-derniere-offre-lieu-details {
        font-size: 0.9rem;
    }
}

/* ============================================
   VARIANTES DE STYLE
   ============================================ */

.hektor-dernieres-offres.hektor-style-compact {
    padding: 20px;
}

.hektor-dernieres-offres.hektor-style-compact .hektor-derniere-offre-card {}

.hektor-dernieres-offres.hektor-style-compact .hektor-derniere-offre-image {
    height: 150px;
}

.hektor-dernieres-offres.hektor-style-compact .hektor-derniere-offre-content {
    padding: 15px;
}

/* ============================================
   ÉTAT VIDE
   ============================================ */

.hektor-dernieres-offres-empty {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

/* ============================================
   CORRECTIONS PRIORITAIRES POUR CONFLITS THÈME
   ============================================ */

/* Force l'affichage en grille avec priorité maximale */
.hektor-dernieres-offres .hektor-dernieres-offres-grid {
    display: grid !important;
    grid-gap: 24px !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Force les colonnes spécifiques */
.hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-1 {
    grid-template-columns: 1fr !important;
}

.hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Force le style des cartes */
.hektor-dernieres-offres .hektor-derniere-offre-card {

    overflow: hidden !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
    width: auto !important;
    border: none !important;
}

/* Force le style des images */
.hektor-dernieres-offres .hektor-derniere-offre-image {
    position: relative !important;
    width: 100%;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hektor-dernieres-offres .hektor-derniere-offre-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: filter 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Force le contenu */
.hektor-dernieres-offres .hektor-derniere-offre-content {
    text-align: left !important;
    background-color: #0a121f;
    padding-top: 20px !important;
    padding-left: 0px !important;
    padding-bottom: 20px !important;
    margin: 0 !important;
}

/* Force les titres */
.hektor-dernieres-offres .hektor-derniere-offre-titre {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.3 !important;
}

.hektor-dernieres-offres .hektor-derniere-offre-titre a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

/* Force les badges */
.hektor-dernieres-offres .hektor-offre-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 10 !important;
}

/* Responsive avec priorité */
@media (max-width: 768px) {

    .hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-2,
    .hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-3,
    .hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-4 {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hektor-dernieres-offres .hektor-dernieres-offres-grid.hektor-columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Debug visuel (à supprimer en production) */
.hektor-debug .hektor-dernieres-offres {
    border: 3px solid red !important;
}

.hektor-debug .hektor-dernieres-offres-grid {
    border: 2px solid blue !important;
    background: rgba(0, 255, 0, 0.1) !important;
}

.hektor-debug .hektor-derniere-offre-card {
    border: 1px solid orange !important;
    background: rgba(255, 255, 0, 0.1) !important;
}