.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

/* Search icon */
.nina-search-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #800000;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    flex-shrink: 0;
}

/* Magnifier inside circle */
.nina-search-icon .circle {
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.nina-search-icon .circle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: white;
    transform: rotate(45deg);
    top: 50%;
    left: 50%;
    transform-origin: top left;
    margin-left: 6px;
    margin-top: 6px;
}

/* Cross icon when open */
.nina-search-icon.open::after {
    content: '×';
    color: white;
    font-size: 24px;
}

/* Hide magnifier when open */
.nina-search-icon.open .circle {
    display: none;
}

/* Search box */
.brxe-search {
    width: 0;
    overflow: hidden;
    transition: width 0.4s ease;
    margin-left: -1px; /* merge with icon */
    border-radius: 25px;
    background-color: #800000;
}

.brxe-search input {
    width: 0;
    padding: 8px 12px;
    border: none;
    outline: none;
    font-size: 16px;
    color: white;
    background: transparent;
    transition: width 0.4s ease, padding 0.4s ease;
}

/* Open state */
.brxe-search.open {    width: 250px;   }
.brxe-search.open input {    width: 100%;    }
form.bricks-search-form label {    display: none;  }