/*
|--------------------------------------------------------------------------
| BunnyHot Search
|--------------------------------------------------------------------------
*/

.bh-search-page {
    width: 100%;
    min-height: 100vh;
    padding: 50px 20px 80px;
}

.bh-search-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}


/*
|--------------------------------------------------------------------------
| SEARCH HEADER
|--------------------------------------------------------------------------
*/

.bh-search-header {
    margin-bottom: 30px;
}

.bh-search-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #ff117b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bh-search-header h1 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
}

.bh-search-header h1 strong {
    color: #ff117b;
}

.bh-search-header p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.58);
    font-size: 15px;
}


/*
|--------------------------------------------------------------------------
| SEARCH FORM
|--------------------------------------------------------------------------
*/

.bh-search-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-bottom: 45px;
}

.bh-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.bh-search-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    opacity: .7;
    pointer-events: none;
}

.bh-search-input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 48px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    outline: none;
    background: rgba(255,255,255,.055);
    color: #fff;
    font-size: 15px;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.bh-search-input-wrap input::placeholder {
    color: rgba(255,255,255,.42);
}

.bh-search-input-wrap input:focus {
    border-color: rgba(255,17,123,.65);
    background: rgba(255,255,255,.075);
    box-shadow: 0 0 0 3px rgba(255,17,123,.08);
}

.bh-search-clear {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.55);
    font-size: 25px;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease;
}

.bh-search-clear:hover {
    color: #fff;
}

.bh-search-button {
    height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    background: #ff117b;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255,17,123,.18);
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.bh-search-button:hover {
    background: #ff2c8b;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(255,17,123,.25);
}


/*
|--------------------------------------------------------------------------
| SECTIONS
|--------------------------------------------------------------------------
*/

.bh-search-section {
    margin-bottom: 48px;
}

.bh-search-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.bh-search-section-heading > div > span {
    display: block;
    margin-bottom: 3px;
    color: #ff117b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bh-search-section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
}

.bh-search-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    padding: 0 10px;
    border-radius: 20px;
    background: rgba(255,17,123,.10);
    color: #ff117b;
    font-size: 12px;
    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| MODEL GRID
|--------------------------------------------------------------------------
*/

.bh-search-model-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bh-search-model-card {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.06);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.bh-search-model-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,17,123,.35);
    box-shadow: 0 15px 35px rgba(0,0,0,.28);
}

.bh-search-model-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: rgba(255,255,255,.035);
}

.bh-search-model-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.bh-search-model-card:hover
.bh-search-model-image-wrap img {
    transform: scale(1.04);
}

.bh-search-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.04),
        rgba(255,17,123,.07)
    );
}

.bh-search-model-info {
    padding: 14px 15px 16px;
}

.bh-search-model-info h3 {
    margin: 0 0 7px;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bh-search-model-info span {
    color: rgba(255,255,255,.50);
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| CONTENT GRID
|--------------------------------------------------------------------------
*/

.bh-search-content-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bh-search-content-card {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.06);
    text-decoration: none;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.bh-search-content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,17,123,.35);
    box-shadow: 0 15px 35px rgba(0,0,0,.28);
}

.bh-search-content-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255,255,255,.035);
}

.bh-search-content-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.bh-search-content-card:hover
.bh-search-content-image img {
    transform: scale(1.04);
}

.bh-search-content-type {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 8px;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.bh-search-content-info {
    padding: 14px 15px 16px;
}

.bh-search-content-info h3 {
    margin: 0 0 7px;
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bh-search-content-info span {
    color: rgba(255,255,255,.50);
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| EMPTY SEARCH
|--------------------------------------------------------------------------
*/

.bh-search-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: 50px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    background: rgba(255,255,255,.025);
}

.bh-search-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: rgba(255,17,123,.09);
    color: #ff117b;
    font-size: 20px;
    font-weight: 800;
}

.bh-search-empty h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.bh-search-empty p {
    max-width: 500px;
    margin: 0;
    color: rgba(255,255,255,.52);
    font-size: 14px;
    line-height: 1.7;
}

.bh-search-empty p strong {
    color: rgba(255,255,255,.85);
}

.bh-search-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    margin-top: 25px;
    padding: 0 20px;
    border-radius: 12px;
    background: #ff117b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.bh-search-home-button:hover {
    background: #ff2c8b;
    transform: translateY(-2px);
}


/*
|--------------------------------------------------------------------------
| PAGINATION
|--------------------------------------------------------------------------
*/

.bh-search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 45px;
}

.bh-search-pagination a,
.bh-search-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    color: rgba(255,255,255,.70);
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.06);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.bh-search-pagination a:hover {
    color: #fff;
    background: rgba(255,17,123,.12);
    border-color: rgba(255,17,123,.30);
}

.bh-search-pagination .current {
    color: #fff;
    background: #ff117b;
    border-color: #ff117b;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 1000px) {

    .bh-search-model-grid,
    .bh-search-content-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .bh-search-page {
        padding: 35px 15px 60px;
    }

    .bh-search-header h1 {
        font-size: 26px;
    }

    .bh-search-form {
        flex-direction: column;
    }

    .bh-search-button {
        width: 100%;
    }

    .bh-search-model-grid,
    .bh-search-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bh-search-model-info,
    .bh-search-content-info {
        padding: 12px;
    }

    .bh-search-model-info h3 {
        font-size: 14px;
    }

    .bh-search-content-info h3 {
        font-size: 13px;
    }

    .bh-search-section-heading h2 {
        font-size: 20px;
    }
}

@media (max-width: 420px) {

    .bh-search-model-grid,
    .bh-search-content-grid {
        gap: 10px;
    }

    .bh-search-model-image-wrap {
        aspect-ratio: 3 / 4;
    }

    .bh-search-header h1 {
        font-size: 23px;
    }
}

/* ==========================================================
   BUNNYHOT SEARCH HEADER
   ========================================================== */

.bh-site-header {
    width: 100%;
    position: relative;
    z-index: 50;
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bh-header-inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


/* ==========================================================
   LOGO
   ========================================================== */

.bh-logo {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    text-decoration: none;

    font-size: 27px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.4px;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

.bh-logo:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.bh-logo .logo-white {
    color: #ffffff;
}

.bh-logo .bh-logo-o {
    color: #ffffff;
}

.bh-logo .logo-pink {
    color: #ff117b;
}


/* ==========================================================
   NAVIGATION
   ========================================================== */

.bh-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 6px;

    margin-left: auto;
}

.bh-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 40px;
    padding: 0 13px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    border-radius: 9px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.bh-nav a:hover {
    color: #ffffff;
    background: rgba(255, 17, 123, 0.08);
}

.bh-nav a.active {
    color: #ffffff;
    background: rgba(255, 17, 123, 0.12);
}

.bh-nav a.active::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 5px;

    height: 2px;

    background: #ff117b;

    border-radius: 999px;
}


/* ==========================================================
   SEARCH PAGE SPACING
   ========================================================== */

.bh-search-page {
    position: relative;
    z-index: 1;
}


/* ==========================================================
   MOBILE HEADER
   ========================================================== */

@media (max-width: 850px) {

    .bh-header-inner {
        width: calc(100% - 24px);

        min-height: 64px;

        gap: 18px;
    }

    .bh-logo {
        font-size: 24px;
    }

    .bh-nav {
        max-width: 100%;

        overflow-x: auto;
        overflow-y: hidden;

        justify-content: flex-start;

        padding-bottom: 2px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .bh-nav::-webkit-scrollbar {
        display: none;
    }

    .bh-nav a {
        min-height: 38px;
        padding: 0 11px;

        font-size: 13px;
    }

    .bh-nav a.active::after {
        left: 11px;
        right: 11px;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .bh-site-header {
        background: rgba(8, 8, 8, 0.98);
    }

    .bh-header-inner {
        display: block;

        padding: 14px 0 10px;
    }

    .bh-logo {
        display: flex;

        width: fit-content;

        margin-bottom: 11px;
    }

    .bh-nav {
        width: 100%;

        justify-content: flex-start;

        gap: 3px;
    }

    .bh-nav a {
        flex: 0 0 auto;

        min-height: 36px;

        padding: 0 10px;

        font-size: 12.5px;
    }
}