/* =========================================
   FLAG / LABEL
========================================= */

.item_listing_flag.free_shipping .flag_text_container {
    color: #0a1220;

    background:
        linear-gradient(
            135deg,
            #ffe7b0 0%,
            #f4c76a 48%,
            #9d5e2c 100%
        );

    border: 1px solid rgba(244, 199, 106, .88);

    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, .42),
        0 0 10px rgba(244, 199, 106, .26);
}

/* =========================================
   SEARCH BUTTON
========================================= */

.header_search_container .search-btn {
    position: relative;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    margin-left: -4px;
    padding: 8px 13px;

    border: 1px solid rgba(244, 199, 106, .88);
    border-radius: 0 6px 6px 0;

    color: #fff8ee;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;

    background:
        radial-gradient(
            circle at 30% 18%,
            rgba(230, 160, 178, .30),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #5f2130 0%,
            #0d1a2d 44%,
            #040812 100%
        );

    box-shadow:
        inset 0 1px 4px rgba(255, 255, 255, .16),
        inset 0 -4px 8px rgba(0, 0, 0, .45),
        0 0 12px rgba(230, 160, 178, .30);

    text-shadow:
        0 0 8px rgba(230, 160, 178, .65);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

.header_search_container .search-btn::before {
    content: "";
    position: absolute;
    top: -35%;
    left: -100%;

    width: 48%;
    height: 170%;

    background:
        linear-gradient(
            115deg,
            transparent,
            rgba(255, 255, 255, .72),
            rgba(244, 199, 106, .20),
            transparent
        );

    transform: skewX(-24deg);
    transition: left .65s ease;

    pointer-events: none;
}

.header_search_container .search-btn:hover {
    transform: translateY(-2px);

    color: #fff8ee;
    border-color: #f4c76a;
    filter: brightness(1.10);

    box-shadow:
        inset 0 1px 5px rgba(255, 255, 255, .22),
        inset 0 -5px 10px rgba(0, 0, 0, .50),
        0 0 16px rgba(230, 160, 178, .58),
        0 0 28px rgba(244, 199, 106, .22);
}

.header_search_container .search-btn:hover::before {
    left: 145%;
}

.header_search_container .search-btn:active {
    transform: translateY(1px);

    box-shadow:
        inset 0 3px 7px rgba(0, 0, 0, .55),
        0 0 10px rgba(230, 160, 178, .34);
}

/* =========================================
   LOGO
========================================= */

.bonanza_logo img {
    display: block;
    width: 140px;
    max-width: 100%;
    height: auto;
}

.logo-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.logo-img {
    display: block;
    width: auto;
    height: 40px;

    filter:
        drop-shadow(0 0 7px rgba(244, 199, 106, .62))
        drop-shadow(0 0 13px rgba(230, 160, 178, .24));

    transition:
        transform .30s ease,
        filter .30s ease;
}

.logo-link:hover .logo-img {
    transform: translateY(-2px) scale(1.06);

    filter:
        drop-shadow(0 0 9px rgba(244, 199, 106, .88))
        drop-shadow(0 0 17px rgba(230, 160, 178, .58));
}

/* Efek kilat halus pada logo */
.logo-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;

    width: 35%;
    height: 100%;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255, 255, 255, .65),
            transparent
        );

    transform: skewX(-22deg);
    opacity: 0;

    transition:
        left .65s ease,
        opacity .25s ease;

    pointer-events: none;
}

.logo-link:hover::after {
    left: 135%;
    opacity: 1;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    .header_search_container .search-btn {
        min-height: 39px;
        padding: 7px 11px;
        font-size: 18px;
    }

    .bonanza_logo img {
        width: 118px;
    }

    .logo-img {
        height: 34px;
    }
}
