/* --- Conteneur global --- */
*{
	line-height: 1.15;
}
.ovabrw_product_archive {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    font-family: 'Alexandria', sans-serif;
}

/* --- Section filtres --- */
.ovabrw-filter-container {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.ovabrw-filter-sidebar {
    width: 250px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.ovabrw-filter-sidebar .filter-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.ovabrw-filter-sidebar .filter-group {
    margin-bottom: 20px;
}

.ovabrw-filter-sidebar .filter-group-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    color: #444;
}

.ovabrw-filter-sidebar .radio-group,
.ovabrw-filter-sidebar .checkbox-group {
    margin-bottom: 8px;
}

.ovabrw-filter-sidebar label {
    margin-left: 6px;
    font-size: 13px;
    color: #555;
}

/* Boutons filtres */
.ovabrw-filter-sidebar .filter-apply-btn,
.ovabrw-filter-sidebar .filter-reset-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.ovabrw-filter-sidebar .filter-apply-btn {
    background: #0073e6;
    color: #fff;
}

.ovabrw-filter-sidebar .filter-apply-btn:hover {
    background: #005bb5;
}

.ovabrw-filter-sidebar .filter-reset-btn {
    background: #eee;
    color: #333;
}

.ovabrw-filter-sidebar .filter-reset-btn:hover {
    background: #ddd;
}

/* --- Résultats --- */
.ovabrw-filter-results {
    flex: 1;
    min-height: 300px;
}

/* Loading */
.ovabrw-filter-results .loading-overlay {
    position: absolute;
    inset: 0;
    background: #F3F8FC;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.ovabrw-filter-results .loading-spinner {
    border: 4px solid #ddd;
    border-top: 4px solid #0073e6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Vendor section */
.ovabrw-vendor-section {
    margin-bottom: 30px;
}

.ovabrw-vendor-section .vendor-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* --- Carousel --- */
.ovabrw-vendor-carousel .ovabrw-carousel-item {
    padding: 10px;
}

/* Card */
.ovabrw-product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ovabrw-product-image {
    position: relative;
}

.ovabrw-product-image img {
    width: 100%;
    border-radius: 12px 12px 0 0;
}

.ovabrw-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
}

.ovabrw-badge {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 6px;
    color: #fff;
}

.ovabrw-badge.featured { background: #0073e6; }
.ovabrw-badge.sale { background: #e60023; }

/* Infos */
.ovabrw-product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ovabrw-product-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.ovabrw-product-meta {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.ovabrw-product-meta .ovabrw-meta-item {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ovabrw-product-price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.ovabrw-product-price .regular-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 6px;
}

/* Actions */
.ovabrw-product-actions {
    display: flex;
    gap: 10px;
}

.ovabrw-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    text-decoration: none;
}

.ovabrw-btn-primary {
    background: #0073e6;
    color: #fff;
}

.ovabrw-btn-primary:hover {
    background: #005bb5;
}

.ovabrw-btn-secondary {
    background: #eee;
    color: #333;
}

.ovabrw-btn-secondary:hover {
    background: #ddd;
}



/* Conteneur global */
.ovabrw-filter-container {
    display: flex;
    gap: 20px; /* espace entre sidebar et résultats */
}

/* Sidebar filtre : 1/3 */
.ovabrw-filter-sidebar {
    flex: 1 1 33.333%;
    max-width: 33.333%;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Zone résultats : 2/3 */
.ovabrw-filter-results {
    flex: 1 1 66.666%;
    max-width: 66.666%;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Ajustement pour les carrousels */
.ovabrw-vendor-carousel .ovabrw-carousel-item {
    margin-bottom: 15px;
}

/* Responsive : en dessous de 768px, sidebar au-dessus */
@media (max-width: 768px) {
    .ovabrw-filter-container {
        flex-direction: column;
    }

    .ovabrw-filter-sidebar,
    .ovabrw-filter-results {
        max-width: 100%;
        flex: 1 1 100%;
    }
}








.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ovabrw-filter-results {
    position: relative;
    min-height: 200px;
}





/* Style pour l'en-tête du vendeur */
.ovabrw-product-vendor-header {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.ovabrw-vendor-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ovabrw-vendor-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.ovabrw-vendor-logo-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.ovabrw-vendor-details {
    flex: 1;
}

.ovabrw-vendor-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.ovabrw-vendor-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ovabrw-star-rating {
    display: inline-flex;
    gap: 1px;
}

.ovabrw-star-rating .star {
    color: #ddd;
    font-size: 12px;
}

.ovabrw-star-rating .star.full {
    color: #ffc107;
}

.ovabrw-star-rating .star.half {
    color: #ffc107;
    position: relative;
}

.ovabrw-star-rating .star.half:before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}

.ovabrw-rating-count {
    font-size: 12px;
    color: #666;
}

/* Ajustements pour la carte produit */
.ovabrw-product-card {
    position: relative;
}

.ovabrw-product-image {
    position: relative;
}



 
/* Importez une police appropriée si nécessaire */
/* @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap');
 

.global-car-card {
    display: flex;
    justify-content: center;
    align-items: center;
	margin-top:50px;
}

.car-card {
    width: 100%;
    text-align: left; /* Par défaut pour le contenu RTL */
    position: relative;
	  font-family: "Alexandria", sans-serif;

}

/* La forme de la carte est complexe, on utilise un pseudo-élément pour simuler la zone blanche inférieure qui déborde */
.car-details {
    padding: 20px 10px 0px;
    position: relative;
    z-index: 1; /* S'assurer que le contenu est au-dessus de l'image si elle déborde */
	background-color: white;
	border-radius: 10px;
}

.card-header {
    display: flex;
    justify-content: flex-end; /* Aligner à droite pour RTL */
    padding: 15px 20px 0;
    position: absolute;
    top: -38px;
    left: 0;
    z-index: 2; /* S'assurer que le header est au-dessus de l'image */
	background-color: white;
	border-radius: 10px 60px 0 0;
   /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
	width:66%
}

.agency-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row-reverse; /* Pour que le logo soit à droite du texte */
}

.agency-logo {
    width: 40px;
    height: 40px;
    background-color: var(--dark-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    border: 2px solid white; /* Petite bordure blanche comme dans l'image */
}

.agency-name {
    font-weight: bold;
    font-size: 18px;
    color: #112F46;
}

.rating {
    display: flex;
    flex-direction: row-reverse; /* Étoiles alignées à droite, de droite à gauche */
}

.star {
    color: #FFC311;
    font-size: 18px;
    line-height: 1;
}

.star.empty {
    /* L'image montre 4 étoiles pleines sur 5, donc une vide ou d'une couleur plus claire */
    color: rgba(255, 195, 17, 0.4); 
}

.car-image-container {
    position: absolute;
    top: -50px;
    right: 0%;
    transform: translateX(-25%);
    width: 46%;
    height: auto;
    z-index: 2;
}

.car-image {
    width: 100%;
    height: auto;
    display: block;
}

.car-name-price {
    align-items: center;
    margin-top: 20px;
    flex-direction: row;
  display: flex;
  gap: 10px;
}
.detailplatenumber{
	right: 10px;
  position: absolute;
  top: 70px;
}

.car-name {
    font-size: 24px;
    font-weight: bold;
    color: #256697;
}

.price {
    color: #2B9D46;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: baseline;
}

.car-details .amount {
    font-size: 28px;
    font-weight: 900;
    margin-right: 5px; /* Espace entre le montant et 'دينار' */
}

.currency {
    font-size: 16px;
    margin-left: 5px; /* Espace entre 'دينار' et '/ اليوم' */
}

.per-day {
    font-size: 16px;
    font-weight: normal;
    color: #112F46;
}

.car-specs {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    margin-top: 10px;
    border-top: 1px solid var(--light-gray); /* Séparateur */
    border-bottom: 1px solid var(--light-gray); /* Séparateur */
	gap: 10px; /* espace entre les blocs */
}
.valuespec{
	display:block;
	line-height: 20px;
}

.car-specs .spec i {
    font-size: 24px;
	display: block;
	color: #2F81C0;
}
.book-button {
    width: 80%;
    margin: 25px auto 0;
    display: block; /* Pour centrer le bouton */
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.book-button:hover {
    background-color: #307ac3;
}

@media (max-width: 768px) {
	
	.card-header {
		top: -50px;
	}
	.agency-info {
	  flex-direction: row;
	}
	.card-header{
		display:block;
		padding: 15px 10px 0;
	}
	.rating {
	  flex-direction: row;
	  position: relative;
		top: -5px;
	}
	.car-name {
	  font-size: 20px;
	}
	.agency-name {
	  font-size: 14px;
	}
	.car-details .amount {
      font-size: 16px;
	}
	.car-image-container {
	  position: absolute;
	  top: -50px;
	  right: 0%;
	  transform: translateX(-5%);
	}
	.ovabrw-vendor-carousel .ovabrw-carousel-item {
	  padding: 0;
	}
}
 
 
 
 
 
    /* Styles pour le filtre mobile */
    .filter-mobile-toggle {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        background-color: #f8f8f8;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 15px;
        cursor: pointer;
    }
    
    .filter-mobile-toggle i {
        margin-right: 8px;
        font-size: 16px;
    }
    
    .filter-close-mobile {
        display: none;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 20px;
        cursor: pointer;
        z-index: 10;
    }
    
    /* Masquer le toggle sur desktop */
    @media (min-width: 769px) {
        .filter-mobile-toggle {
            display: none !important;
        }
        
        .filter-close-mobile {
            display: none !important;
        }
        
        .ovabrw-filter-sidebar {
            display: block !important;
        }
    }
    
    /* Afficher le toggle sur mobile */
    @media (max-width: 768px) {
        .filter-mobile-toggle {
            display: flex;
        }
        
        .ovabrw-filter-sidebar {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
           /*  max-width: 300px; */
            height: 100%;
            background: white;
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
            box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        }
        
        .ovabrw-filter-sidebar.active {
            display: block;
        }
        
        .filter-close-mobile {
            display: block;
        }
        
        .ovabrw-filter-container {
            position: relative;
        }
		
		.elementor-14604 .elementor-element.elementor-element-ae78e8b{
			
			padding-left: 0px;
			padding-right: 0px;
		}
		.ovabrw-filter-results{
			padding:0;
			background:transparent;
		}
    }







.ovabrw_product_archive {
	 font-family: "Alexandria",sans-serif;
	}
    .ovabrw-applied-filters {
        margin: 0;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e9ecef;
		margin-bottom: 30px;
    }



    .applied-filters-container {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }

    .applied-filters-label {
        font-weight: 600;
        color: #495057;
        white-space: nowrap;
        margin-right: 8px;
    }

    .applied-filters-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        flex: 1;
    }

    .filter-chip {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 12px;
        background: #007cba;
        color: white;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 500;
    }

    .filter-chip span {
        white-space: nowrap;
    }

    .remove-filter {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        font-size: 16px;
        line-height: 1;
        padding: 0;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s;
    }

    .remove-filter:hover {
        background: rgba(255, 255, 255, 0.2);
    }




    /* Style RTL */
    .ovabrw-rtl .applied-filters-container {
        flex-direction: row-reverse;
    }

    .ovabrw-rtl .applied-filters-label {
        margin-right: 0;
        margin-left: 8px;
    }

    .ovabrw-rtl .filter-chip {
        flex-direction: row-reverse;
    }

    @media (max-width: 768px) {
        .applied-filters-container {
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
        }
        
        .applied-filters-label {
            margin-right: 0;
            text-align: center;
        }
        
        .clear-all-filters {
            align-self: center;
        }
        
        .ovabrw-rtl .applied-filters-container {
            flex-direction: column;
        }
    }

    .ovabrw-filter-box,
    .ovabrw-sort-box {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 1001;
        width: 90%;
        max-width: 500px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .ovabrw-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .filter-section.accordion {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: #f8f9fa;
        cursor: pointer;
        transition: background-color 0.3s ease;
        border-bottom: 1px solid transparent;
    }

    .accordion-header:hover {
        background: #e9ecef;
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: white;
    }

    .accordion.active .accordion-content {
        max-height: 400px;
        padding: 20px;
    }

    .accordion.active .accordion-header {
        border-bottom-color: #e0e0e0;
    }

    .accordion-icon {
        font-size: 14px;
        color: #666;
        transition: transform 0.3s ease;
    }

    .accordion.active .accordion-icon {
        transform: rotate(180deg);
    }

    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .loading-spinner {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #007cba;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
	
	
	
	
	
	
	/* ===== STYLES GÉNÉRAUX ===== */
.ovabrw_product_archive.one-column {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.wrap_search_result {
    position: relative;
}

.ovabrw-filter-container {
    position: relative;
}

/* ===== BARRE D'OUTILS ===== */
.ovabrw-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 0px;
    border-bottom: 1px solid #e0e0e0;
}

.ovabrw-toolbar-left .results-count {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ovabrw-toolbar-right {
    display: flex;
    gap: 15px;
}

.ovabrw-filter-icon,
.ovabrw-sort-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
	font-family: "Alexandria",sans-serif;
}

.ovabrw-filter-icon:hover,
.ovabrw-sort-icon:hover {
    background: #f8f9fa;
    border-color: #007cba;
}

.filter-badge {
    background: #007cba;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
	font-family: "Alexandria",sans-serif;
}

/* ===== BOÎTES MODALES ===== */
.ovabrw-filter-box,
.ovabrw-sort-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1001;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.filter-box-header,
.sort-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #007cba;
    border-radius: 10px 10px 0 0;
}

.filter-box-header h3,
.sort-box-header h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.close-filter,
.close-sort {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-filter{
	 color: #fff;
}


.filter-box-content,
.sort-box-content {
    padding: 20px;
}

.ovabrw-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* ===== ACCORDÉONS ===== */
.filter-section.accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.accordion-icon {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
}

.accordion.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.accordion.active .accordion-content {
    max-height: 400px;
    padding: 20px;
}

.accordion.active .accordion-header {
    border-bottom-color: #e0e0e0;
}

/* ===== FILTRES ===== */
.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-top: 8px;
}

/* Filtre prix */
.price-range {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.price-range > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}

.price-range label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.price-range input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    .price-range {
        flex-direction: row;
        gap: 10px;
    }
    
    .price-range > div {
        width: 100%;
    }
}

/* Filtres catégorie et marque */
.category-filter,
.brand-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.filter-count {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.no-filters {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 10px;
    margin: 0;
}

/* Checkboxes et radios */
.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 0;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    display: none;
}

.checkmark,
.radiomark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.radiomark {
    border-radius: 50%;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #007cba;
    border-color: #007cba;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.radio-label input[type="radio"]:checked + .radiomark {
    border-color: #007cba;
}

.radio-label input[type="radio"]:checked + .radiomark:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #007cba;
    border-radius: 50%;
}

/* ===== ACTIONS ===== */
.filter-actions,
.sort-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.apply-filters,
.apply-sort,
.reset-filters {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
	font-family: "Alexandria",sans-serif;
}

.apply-filters,
.apply-sort {
    background: #007cba;
    color: white;
}

.apply-filters:hover,
.apply-sort:hover {
    background: #005a87;
}

.reset-filters {
    background: #fff;
    color: #007cba;
	border:1px solid #007cba;
}

.reset-filters:hover {
    background: #545b62;
}

/* ===== RÉSULTATS ===== */
.ovabrw-filter-results {
    position: relative;
}

.results-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #007cba;
	display:none;
}

.results-info p {
    margin: 0;
    font-weight: 500;
    color: #333;
}

.not-found {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.search-suggestion {
    margin-top: 10px;
    font-style: italic;
}

/* ===== LOADING ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== STYLES RTL (ARABE) ===== */
.ovabrw-rtl .ovabrw-toolbar {
    flex-direction: row;
}

.ovabrw-rtl .ovabrw-toolbar-right {
    flex-direction: row;
}

.ovabrw-rtl .ovabrw-filter-icon,
.ovabrw-rtl .ovabrw-sort-icon {
    flex-direction: row;
}

.ovabrw-rtl .filter-badge {
    margin-left: 0;
    margin-right: 5px;
}

.ovabrw-rtl .results-info {
    border-left: none;
    border-right: 4px solid #007cba;
}

.ovabrw-rtl .checkbox-label,
.ovabrw-rtl .radio-label {
    flex-direction: row;
}

.ovabrw-rtl .filter-actions,
.ovabrw-rtl .sort-actions {
    flex-direction: row;
}

.ovabrw-rtl .accordion-header {
    flex-direction: row;
}

.ovabrw-rtl .accordion-header h4 {
    margin-right: 0;
    margin-left: auto;
}

.ovabrw-rtl .filter-count {
    margin-left: 0;
    margin-right: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ovabrw-toolbar {
        flex-direction: column;
        gap: 15px;
        justify-content: space-between;
    }
	.ovabrw-toolbar-left {
    flex: 1;
}
    
    .ovabrw-toolbar-right {
         display: flex;
    gap: 15px;
    margin-left: auto;
    }
    
    .ovabrw-filter-box,
    .ovabrw-sort-box {
        width: 95%;
    }
    
    .accordion-header {
        padding: 2px 15px;
    }
    
    .accordion.active .accordion-content {
        padding: 15px;
    }
    
    .accordion-header h4 {
        font-size: 15px;
    }
    
    .filter-actions,
    .sort-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .ovabrw_filter-icon,
    .ovabrw-sort-icon {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .filter-box-header,
    .sort-box-header {
        padding: 15px;
    }
    
    .filter-box-content,
    .sort-box-content {
        padding: 15px;
    }
    
    .price-range input {
        padding: 12px 10px;
        font-size: 13px;
    }
}

.clear-all-filters {
    background: transparent;
    color: white;
	border: 1px solid #007cba;
    padding: 6px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    transition: background-color 0.2s;
	color:#007cba;
	font-weight: 700;
}


.distance-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.card-header {
		border-top: 1px solid #ccc;
        border-left: 1px solid #ccc;
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-image-placeholder {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.elementor-widget-ovabrw_car_search .car-details {
    padding: 15px;
	    padding-bottom: 0;
	    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

.car-name-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.detailcarnameprice {
    flex: 1;
}

.car-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
	color: #333;
    text-decoration: none;
}

.car-name a {
    color: #333;
    text-decoration: none;
}

.car-name a:hover {
    color: #007cba;
}

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

.amount {
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
}

.per-day {
    font-size: 12px;
    color: #666;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.no-price {
    color: #999;
    font-style: italic;
}

.detailplatenumber {
    margin-right: 6px;
	top: 46px !important;
}

.vendor-location {
    margin: 8px 0;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
	flex-direction: row-reverse;
}

.vendor-location i {
    margin-left: 5px;
    color: #007cba;
}

.vendor-location i {
    margin-left: 5px;
	margin-right: 0px;
}

.car-specs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0px;
    margin-top: 0px;
	border-top:1px solid #ccc;
	padding: 5px 0;
}

.spec {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin: 2px 0;
}

.spec i {
    margin-right: 5px;
	font-size: 16px !important;
	color: #666 !important;
}

.spec i {
    margin-left: 5px;
}

.valuespec {
    margin-left: 6px;
}


.agency-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.vendor-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agency-info {
    display: flex;
    align-items: center;
}

.agency-text {
    flex: 1;
}

.agency-name {
    font-weight: bold;
    margin-bottom: 2px;
}

.rating {
    color: #ffc107;
}

.star.empty {
    color: #ddd;
}

.not-found {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.search-suggestion {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#digits_country_list_wrapper{
	display:none;
}
.owl-nav{
	top: -10px !important;
	right: 2px !important;
	color: #007cba;
}