﻿/* ================================
   FLOATING SEARCH BUTTON (Mobile)
   ================================ */
/* FIX — Reset desktop search-input style inside popup */
.floating-search-popup .search-input {
    width: 100% !important;
    opacity: 1 !important;
    position: relative !important;
    right: 0 !important;
    left: 0 !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #000 !important;
    height: 35px !important;
}

.floating-search-btn {
    position: fixed;
    top: 92px;
    right: 22px;
    background: #f9d970;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3a0710;
    font-size: 16px;
    z-index: 2000;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ================================
   POPUP CONTAINER
   ================================ */
.floating-search-popup {
    position: fixed;
    top: 140px; /* floats above button */
    right: 20px;
    width: 90%;
    max-width: 380px;
    background: #2b1214;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    padding: 15px;
    z-index: 3000;
    display: none;
    animation: slideUp 0.3s ease-out;
}

/* Slide animation */
@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-inner {
    width: 100%;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: #fff;
    font-size: 16px;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.popup-form {
    width: 100%;
}

.floating-search-popup input {
    background: #fff !important;
}

.floating-search-popup button {
    background: #b22222;
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 6px;
}

@media (min-width: 992px) {
    /* Hidden on desktop */
    .floating-search-btn,
    .floating-search-popup {
        display: none !important;
    }
}
