.rc-search-container-9662 {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: inherit;
}

.rc-search-toggle-9662 {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.rc-search-toggle-9662:hover {
    opacity: 0.8;
}

.rc-search-container-9662.is-open .rc-search-toggle-9662 {
    opacity: 0;
    pointer-events: none;
}

.rc-search-input-wrapper-9662 {
    position: absolute;
    right: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.rc-search-container-9662.is-open .rc-search-input-wrapper-9662 {
    /* Width is controlled by Elementor CSS var or inline style */
    opacity: 1;
    overflow: visible;
}

.rc-search-input-9662 {
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 12px 40px 12px 20px !important;
    font-size: 16px;
    outline: none !important;
    box-shadow: none !important;
    color: #333;
}

.rc-search-input-9662:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.rc-search-close-9662 {
    position: absolute;
    right: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.rc-search-container-9662.is-open .rc-search-close-9662 {
    opacity: 1;
    pointer-events: auto;
}

.rc-search-close-9662:hover {
    color: #333;
}

.rc-search-close-9662 svg {
    width: 18px;
    height: 18px;
}

/* Results Dropdown */
.rc-search-results-9662 {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 100%;
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
}

.rc-search-results-9662.has-results {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rc-search-result-item-9662 {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.rc-search-result-item-9662:last-child {
    border-bottom: none;
}

.rc-search-result-item-9662:hover {
    background-color: #fafafa;
}

.rc-result-image-9662 {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
    background: #f5f5f5;
}

.rc-result-content-9662 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rc-result-brand-9662 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 3px;
    line-height: 1.2;
}

.rc-result-title-9662 {
    font-size: 14px;
    color: #111;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.3;
}

.rc-result-price-9662 {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}
.rc-result-price-9662 del {
    color: #aaa;
    font-weight: normal;
    font-size: 12px;
    margin-right: 5px;
}

.rc-search-no-results-9662 {
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

/* Loader */
.rc-search-loader-9662 {
    position: absolute;
    right: 40px;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: rc-spin-9662 1s linear infinite;
    opacity: 0;
    visibility: hidden;
}

.rc-search-container-9662.is-loading .rc-search-loader-9662 {
    opacity: 1;
    visibility: visible;
}

@keyframes rc-spin-9662 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 767px) {
    .rc-search-container-9662.is-open .rc-search-input-wrapper-9662 {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        width: auto !important;
        z-index: 9999;
    }
}