.solweb-search-results {
	display: none;
	opacity: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 80%;
    position: fixed;
    text-align: center;
    width: 100%;
    height: 100vh;
    top: 100px;
    z-index: 99999999;
    background: #fff;
    left: 0;
    right: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: opacity 0.4s ease;
}
.solweb-search-results .empty-entry-title,
.search-not-enough{
	font-weight: 600 !important;
	text-align: center;
    font-size: larger;
    margin-top: 90px;
}
.search-not-enough .search-highlight {
    padding: 0px 5px !important;
    display: inline-block;
}
.search-results-content .search-results-header{
	display: none;
}
.search-holder--form .klb-search-results {
    max-height: 185px;
    overflow-y: scroll;
}

.klb-search-results::-webkit-scrollbar {
	width: 3px;
}

.klb-search-results::-webkit-scrollbar-track {
	background-color: #f6f4f0;
}
.klb-search-results::-webkit-scrollbar-thumb {
	background-color: #c1c1c1;
}

.klb-search-results ul {
    padding: 0;
	margin:0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 3rem;
}

.klb-search-results ul li {
    display: flex;
    flex-direction: row;
    padding: 3px 0;
    align-items: center;
    margin-bottom: 5px;
    justify-content: space-between;
}

.item-price-content .item-price .amount{
	font-weight: 700 !important;
	font-size: 18px !important;
}

.klb-search-results ul li.search-more {
    justify-content: center;
}

.klb-search-results ul li.search-more a {
    color: var(--color-main-text);
}

.klb-search-results .search-img img {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    max-width: 42px;
    margin-right: 10px;
}

.klb-search-results .search-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
	text-align: left;
}

.klb-search-results h1.product-title {
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0;
	margin-right: 10px;
}

.klb-search-results h1.product-title a {
    color: #444;
    font-size: 17px;
}

.klb-search-results span.price {
    text-align: right;
    font-size: 15px;
	color: #555;
    flex-direction: column;
}

.klb-search-results span.price > * {
    display: block;
    margin: 0;
}

.klb-search-results span.price del {
    opacity: .5;
    font-size: 13px;
}

form.klb-ajax-search .loader-image{
    position: absolute !important;
    width: 20px;
	color: var(--color-primary);
    margin-right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { 
	display: none; 
}
/*************************************************
## STYLES POUR LES ARTICLES
*************************************************/

.articles-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.section-title.articles-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.article-image {
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-item:hover .article-image img {
    transform: scale(1.05);
}

.article-image-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 48px;
    opacity: 0.3;
}

.article-content {
    padding: 20px;
}

.article-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.article-title {
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.4;
}

.article-title a {
    color: #333;
    text-decoration: none;
}

.article-title a:hover {
    color: #007cba;
}

.article-categories {
    margin-bottom: 10px;
}

.article-cat {
    display: inline-block;
    font-size: 11px;
    background: #f0f0f0;
    color: #666;
    padding: 3px 8px;
    border-radius: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.read-more:hover {
    color: #005a87;
    text-decoration: underline;
}

.articles-more {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.articles-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.articles-more-link:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.articles-count {
    background: #007cba;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}
.search-content .search-holder--form .search-form-input {
    padding-right: 35px;
    height: 35px;
    font-family: var(--e-global-typography-secondary-font-family);
}
.search-holder--form .klb-search-results {
    top: 111px;
    border: 0px solid #ddd;
    position: fixed;
    width: 100vw;
    height: 90vh;
    max-height: 90vh;
    overflow-y: scroll;
}
.search-results-grid {
    display: flex;
    flex-direction: row;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Section par catégorie */
.product-category-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.category-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 0.5px solid #f0f0f0;
}

/* Grille de produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-item {
    border-radius: 6px;
    padding: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-item:hover {
/*    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
}

/* Image produit */
.search-img {
    margin-bottom: 10px;
    text-align: center;
}

.search-img img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Contenu produit */
.search-content {
    text-align: center;
}

.product-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.3;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: #007cba;
}

.price {
    display: block;
    font-weight: 600;
    color: #d10000;
    font-size: 16px;
}

/* Lien "Voir tous" */
.search-more-wrapper {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.search-more-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
}

.search-more-button:hover {
    background: #005a87;
    color: white;
}


.no-results p {
    margin: 0;
    font-size: 14px;
}

/* Scrollbar personnalisée */
.search-results-grid::-webkit-scrollbar {
    width: 6px;
}

.search-results-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-results-grid::-webkit-scrollbar-thumb {
    background: #007cba;
    border-radius: 3px;
}

.search-results-grid::-webkit-scrollbar-thumb:hover {
    background: #005a87;
}
.search-content{
	width: 100%;
}
.site-offcanvas--header .offcanvas-close{
	display: none !important;
}
.search-content .search-holder{ 
	position: relative;
	opacity: 1;
    visibility: visible;
    width: 100%;
}
.search-content .search-holder--form {
	display: flex;
	opacity: 1;
	width: 100%;
}
.search-content .search-holder--form .search-form-input {
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    text-align: left;
    background: #fff;
    border: 0.5px solid #ddd;
    border-radius: 13px;
}
.search-content .search-holder--form .search-form-input::placeholder {
	color: #0009;
}
.search-content .search-holder--form button {
    display: block;
    border: 0;
    font-size: 20px;
    background: none;
    border: 0px solid #ddd !important;
    border-radius: 0 50px 50px 0;
    z-index: 1;
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 0;
    padding-bottom: 5px;
    color: #000 !important;
}
/* Styles pour le bouton de fermeture */
.search-results-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 0px solid #eee;
}

.search-results-title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: #333;
    padding: 10px;
}

.close-search-results {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-search-results:hover {
    background: #f5f5f5;
    color: #333;
}

.close-search-results svg {
    width: 25px;
    height: 25px;
    display: none !important;
}
.search-content svg {
    display: none !important;
}
.search-content .close-search-results svg{
	display: block !important;
}
body.search-focused{
	overflow: hidden !important;
}

/* Option : bouton en haut à droite */
.klb-search-results > .close-search-results {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Option : bouton en bas centré */
.search-results-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.search-results-footer .close-search-results {
    padding: 8px 20px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    width: auto;
    height: auto;
}

.search-results-footer .close-search-results:hover {
    background: #e9ecef;
}

/* Structure 2 colonnes */
.search-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .search-two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Colonnes */
.search-column {
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.column-header {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 0px solid #f0f0f0;
}

.column-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Liste des items */
.search-items-list {
    min-height: 80vh;
    overflow-y: auto;
    padding-right: 10px;
    max-width: 75rem;
    margin: 0 auto;
}

.items-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-item {
    display: flex;
    padding: 15px 0;
}

.search-item:last-child {
    border-bottom: none;
}

/* Images */
.item-image {
    flex: 0 0 80px;
    margin-right: 15px;
}

.item-image img {
    width: 80px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

.article-item .item-image img {
    width: 45px;
    height: auto;
    object-fit: cover;
}

/* Contenu */
.item-content {
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;
    flex-direction: row;
}

.item-info{
	text-align: left;
}

.item-title {
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    margin: 0;
    font-weight: 700;
}

.item-title a {
    color: #333;
    text-decoration: none;
}

.item-brand{
    color: #000;
    font-size: 18px;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.item-brand a{
    font-weight: 700 !important;
	font-family: "Cinzel", Sans-serif;
}

.item-title a:hover {
    color: var(--e-global-color-4f65620);
}

/* Métadonnées produits */
.item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.item-price {
    font-weight: 600;
    color: var(--color-primary);;
    font-size: 14px;
}

.stock-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.stock-status.out-of-stock {
    background: #ffe6e6;
    color: #d10000;
}

/* Métadonnées articles */
.item-date {
    font-size: 11px;
    color: #888;
    margin-bottom: 5px;
}

.item-categories {
    margin-bottom: 8px;
}

.item-cat {
    display: inline-block;
    font-size: 10px;
    background: #f0f0f0;
    color: #666;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
}
.klb-search-results .stock-status.out-of-stock {
    font-weight: 600 !important;
    background: #ffe6e6;
    color: #d10000;
    font-size: larger;
    background: #fff0;
}
.item-excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Boutons d'action */
.quick-action-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    color: #333;
}

.quick-action-button:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.quick-action-button svg {
    width: 14px;
    height: 14px;
}

.view-options {
    background: transparent;
    color: #007cba;
    border: 1px solid #007cba;
}

.view-options:hover {
    background: #007cba;
    color: white;
}

.read-more {
    font-size: 12px;
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Liens "Voir tous" */
.view-all-wrapper {
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.view-all-link {
    background: #000;
    color: #fff !important;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 3px;
}

.view-all-link:hover {
    background: var(--color-primary);
    text-decoration: underline;
}

.view-all-link svg {
    transition: transform 0.3s ease;
}

.view-all-link:hover svg {
    transform: translateX(3px);
}

/* Aucun résultat */
.no-items {
    text-align: center;
    padding: 30px 20px;
    color: #666;
}

.no-items-message {
    margin: 0;
    font-size: large;
    color: var(--cmplz_text_color);
}

/* Surlignage du terme recherché */
.search-highlight {
    background-color: #fff3cd;
    color: #856404;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: bold;
}

/* Scrollbar */
.search-items-list::-webkit-scrollbar {
    width: 6px;
}

.search-items-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-items-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-items-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
.search-highlight {
    padding: 0 !important;
}


@media (max-width: 767px){
.search-holder--form .klb-search-results {
    top: 60px;
}
.klb-search-results ul {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}
}