/*
Theme Name: Druco Child 2 - Custom Search
Theme URI: https://demo.theme-sky.com/druco/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: Druco child theme with custom product search that filters GLP products
Template: druco
Version: 1.4.0
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: druco-child
*/

/* DESKTOP ONLY - Custom Search Styling to Match Theme */
.wc-rbpv-search-container {
    max-width: none;
}

.wc-rbpv-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.wc-rbpv-search-input {
    flex: 1;
    height: 50px;
    padding: 0 60px 0 20px;
    border: 1px solid #e5e5e5;
    border-radius: 25px;
    font-size: 14px;
    background: #fff;
}

.wc-rbpv-search-form .wc-rbpv-search-button {
    position: absolute;
    right: 5px;
    top: 1px;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    border-radius: 50% !important;
    background: #006d77;
    border: none;
    color: #fff;
    font-size: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0;
}

.wc-rbpv-search-button::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.wc-rbpv-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Gift Cards My Account Page - Normal Styling */
body.woocommerce-account .woocommerce-MyAccount-content h2 {
    font-size: 24px !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    margin-top: 30px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content h2:first-child {
    margin-top: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    margin-top: 20px !important;
}

body.woocommerce-account .woocommerce-Giftcards.woocommerce-MyAccount-Giftcards-balance-amount,
body.woocommerce-account div.woocommerce-MyAccount-Giftcards-balance-amount {
    font-size: 32px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    color: #006d77 !important;
}

body.woocommerce-account div.woocommerce-MyAccount-Giftcards-form,
body.woocommerce-account .woocommerce-Giftcards.woocommerce-MyAccount-Giftcards-form {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

body.woocommerce-account .woocommerce-MyAccount-Giftcards-form input[type="text"] {
    flex: 1 !important;
    min-width: 250px !important;
    max-width: 400px !important;
    padding: 10px 15px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

body.woocommerce-account .woocommerce-MyAccount-Giftcards-form button {
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    height: auto !important;
    line-height: 1.4 !important;
    min-width: auto !important;
    width: auto !important;
    max-width: 200px !important;
}
