/* Container Wrapper */
.rmt-amazon-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 48px; /* Fixed height for that 'thick' bar look */
    background-color: #fff;
    border-radius: 50px; /* Force capsule shape */
    border: 1px solid #e1e1e1;
    overflow: hidden; /* Clips the internal blocks to the radius */
    box-sizing: border-box;
}

/* 1. Left Part: Category Dropdown */
.rmt-cat-col {
    background-color: #E9ECEF; /* Light gray from your requirement */
    display: flex;
    align-items: center;
    position: relative;
    border-right: 1px solid #ddd;
    width: 90px; /* Changed from min-width to width for control */
}

.rmt-cat-col select {
    appearance: none;
    -webkit-appearance: none;
    border: none !important;
    background-color: transparent !important;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    height: 100%;
    line-height: normal !important;
    display: block;
    outline: none !important;
    box-shadow: none !important;
}

/* Custom Dropdown Icon */
.rmt-dropdown-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
}

/* 2. Middle Part: Search Input */
.rmt-input-col {
    flex: 1;
    border: none !important;
    padding: 0 15px;
    font-size: 15px;
    background-color: #ffffff;
    outline: none !important;
    box-shadow: none !important;
    height: 100%;
}

.rmt-input-col::placeholder {
    color: #a0a0a0;
}

/* 3. Right Part: Submit Button */
.rmt-btn-col {
    background-color: #1A202C; /* Dark Blue from your requirement */
    color: #ffffff;
    border: none !important;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    height: 100%;
}

.rmt-btn-col:hover {
    background-color: #2d3748;
}

.rmt-btn-col i, 
.rmt-btn-col svg {
    font-size: 18px;
    fill: #fff;
    width: 18px;
    height: 18px;
}

/* Elementor Override: Remove any default margins from the widget */
.elementor-widget-woo-category-search .elementor-widget-container {
    line-height: 0;
}