/* custom-woocommerce-search.css */

/* Custom styles to ensure overrides for input and buttons, as per image */
#modalSearchInput {
    border: none !important;
    border-bottom: 2px solid #D1D5DB !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    padding-right: 2.5rem !important;
}
#modalSearchInput:focus {
    border-bottom-color: #000 !important;
}

#clearModalSearch {
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    right: 0.75rem !important;
}
#clearModalSearch svg {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Specific overrides for the initial search icon button */
.open-search-modal-btn-class { /* Changed selector from #openSearchModalBtn */
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important; /* Ensure white color */

    padding: 0.75rem !important; /* Increased padding for larger touch target */
    display: flex; /* Ensure flex for centering SVG */
    align-items: center; /* Center SVG vertically */
    justify-content: center; /* Center SVG horizontally */
    width: auto; /* Allow content to dictate width, padding adds size */
    height: auto; /* Allow content to dictate height, padding adds size */
    min-width: 44px; /* Recommended minimum touch target size */
    min-height: 44px; /* Recommended minimum touch target size */
    border-radius: 50%; /* Optional: make it circular for better visual if needed, even if transparent */
}
.open-search-modal-btn-class svg {
    background-color: transparent !important;
    padding: 0 !important;
    display: block; /* Ensure SVG behaves like a block element */
}

/* --- Tab Button Styling --- */
.tab-button {
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #718096 !important;
    font-size: 1.125rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-right: 1.5rem !important;
    cursor: pointer;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* Active Tab Styling (Black text, black underline) */
.active-tab-style {
    border-color: #000000 !important;
    color: #1a202c !important;
    font-weight: 600 !important;
}

/* --- Price Colors --- */
.sale-price-color {
    color: #ff2e74 !important; /* PINK color for discount price */
}
.regular-price-color {
    color: #1a202c !important; /* BLACK color for current price (when not on sale) */
}
.original-price-strikethrough {
    color: #6B7280 !important; /* text-gray-500 equivalent */
    text-decoration: line-through !important;
}

/* Custom scrollbar for webkit browsers (Chrome, Safari, Edge) */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Inter font for consistency, applied globally */
body {
    font-family: 'Inter', sans-serif;
}

/* Hide default scrollbar in some browsers (IE, Edge, Firefox) */
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Ensure smooth transitions for interactive elements */
input, button, .result-item {
    transition: all 0.2s ease-in-out;
}