/* ============================================
   RECHÈCH DROPDOWN
   ============================================ */
.ae-header-search { position: relative; }

#ae-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 2px solid var(--red);
    z-index: 999;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.search-result-item {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--gray-100);
    transition: background .15s;
    color: var(--text);
}
.search-result-item:hover { background: var(--gray-50); }
.search-result-item:last-child { border-bottom: none; }

.result-thumb {
    width: 56px;
    height: 44px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--gray-100);
}
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.no-thumb { width: 100%; height: 100%; background: var(--gray-100); }

.result-cat {
    font-size: 10px;
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.result-title { font-size: 13px; font-weight: 600; line-height: 1.35; }

.no-results {
    padding: 14px;
    font-size: 13px;
    color: var(--gray-600);
    text-align: center;
}

/* ============================================
   BACK TO TOP
   ============================================ */
#ae-back-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, background .2s;
    z-index: 999;
}
#ae-back-top.visible { opacity: 1; visibility: visible; }
#ae-back-top:hover { background: var(--red); }

/* ============================================
   NAVBAR STICKY SHADOW
   ============================================ */
.ae-navbar.sticky { box-shadow: 0 2px 12px rgba(0,0,0,.2); }

/* ============================================
   BREADCRUMB
   ============================================ */
.ae-breadcrumb {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    padding: 8px 0;
    font-size: 12px;
}
.ae-breadcrumb a { color: var(--navy); }
.ae-breadcrumb a:hover { color: var(--red); }
.ae-breadcrumb span { color: var(--gray-300); margin: 0 6px; }

/* ============================================
   SEARCH PAGE
   ============================================ */
.ae-search-header {
    padding: 24px 0 16px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 20px;
}
.ae-search-header h1 {
    font-family: var(--font-headline);
    font-size: 24px;
    color: var(--navy);
}
.ae-search-header em { color: var(--red); }

/* ============================================
   PAGE 404
   ============================================ */
.ae-404 {
    text-align: center;
    padding: 60px 20px;
}
.ae-404 .code {
    font-family: var(--font-headline);
    font-size: 120px;
    color: var(--gray-100);
    line-height: 1;
}
.ae-404 h2 {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 12px;
}
.ae-404 p { color: var(--gray-600); margin-bottom: 24px; }
.ae-404 .ae-btn {
    background: var(--red);
    color: #fff;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    display: inline-block;
    transition: background .2s;
}
.ae-404 .ae-btn:hover { background: var(--red-dark); color: #fff; }

/* ============================================
   KÒMANTÈ
   ============================================ */
.comment-list { list-style: none; }
.comment-body {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    padding: 14px;
    margin-bottom: 12px;
}
.comment-author { font-weight: 600; font-size: 13px; color: var(--navy); }
.comment-meta { font-size: 11px; color: var(--gray-300); margin: 4px 0 8px; }
.comment-content p { font-size: 13px; line-height: 1.6; }
#respond { margin-top: 24px; }
#respond h3 { font-family: var(--font-headline); font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    font-family: var(--font-body);
    font-size: 13px;
    margin-bottom: 10px;
}
.comment-form input[type="submit"] {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.comment-form input[type="submit"]:hover { background: var(--red-dark); }

/* ============================================
   WIDGET KÒMANTÈ RECHÈCH
   ============================================ */
.widget_search .search-form {
    display: flex;
}
.widget_search .search-field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-right: none;
    font-size: 13px;
    font-family: var(--font-body);
}
.widget_search .search-submit {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}
