/**
 * Adflipr Core — Simple Search Block Styles
 */

/* ================================================================
   WRAPPER
   ================================================================ */
.adflipr-search-block-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* ================================================================
   FORM
   ================================================================ */
.adflipr-search-form {
    position: relative;
    width: 100%;
}

/* ================================================================
   SEARCH BAR
   ================================================================ */
.adflipr-search-inner {
    display: flex;
    align-items: center;

    width: 100%;
    height: 50px;

    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;

    padding: 0 12px;
}

/* ================================================================
   INPUT
   ================================================================ */
.adflipr-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    background-image: url(https://brown-boar-224400.hostingersite.com/wp-content/uploads/2026/06/icon-search.png);
    background-size: 20px ;
    background-repeat: no-repeat;
    font-size: 16px;
    color: #333;
    padding: 0 0 0 28px !important;
    margin: 0;
    background-position: 0px 2px;
}

.adflipr-search-input::placeholder {
    color: #888;
}

/* ================================================================
   BUTTON
   ================================================================ */
.adflipr-search-btn {
   display: none !important;
}

.adflipr-search-btn:hover {
    color: #333;
    background: transparent !important;
}

.adflipr-search-btn svg {
    width: 18px;
    height: 18px;
}

/* Remove theme button styling */
.adflipr-search-form button,
.adflipr-search-form button:hover,
.adflipr-search-form button:focus,
.adflipr-search-form button:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* ================================================================
   RESULTS DROPDOWN
   ================================================================ */
.adflipr-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;

    max-height: 350px;
    overflow-y: auto;

    z-index: 999;
}

.adflipr-search-results.adflipr-results-open {
    display: block;
}

/* ================================================================
   RESULTS LIST
   ================================================================ */
.adflipr-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.adflipr-results-link {
    display: flex;
    gap: 12px;
    align-items: center;

    padding: 10px 12px;

    text-decoration: none;
    color: #333;
}

.adflipr-results-link:hover {
    background: #f7f7f7;
}

/* ================================================================
   THUMBNAIL
   ================================================================ */
.adflipr-results-thumb {
    width: 48px;
    height: 48px;

    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;

    background: #f3f3f3;
}

.adflipr-results-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================================
   INFO
   ================================================================ */
.adflipr-results-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.adflipr-results-meta {
    display: block;
    font-size: 12px;
    color: #777;
}

/* ================================================================
   VIEW ALL
   ================================================================ */
.adflipr-view-all {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #eee;
}

.adflipr-view-all a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
}