.v2-form-wrapper {
    width: 100%;
    position: relative;
    font-family: "Open Sans", sans-serif;
}

.v2-input {
    width: 100%;
    height: 46px;
    padding: 0 90px 0 40px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    transition: .25s;
    box-sizing: border-box;
}

.v2-input:focus {
    border-color: #09B0D4;
    box-shadow: 0 0 0 4px rgba(9,176,212,0.15);
    outline: none;
}

.v2-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    opacity: .6;
    pointer-events: none;
}

.v2-clear-btn {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    display: none;
    padding: 0 4px;
    z-index: 20;
    transition: .2s;
}

.v2-clear-btn:hover {
    color: #000;
}

.v2-submit {
    position: absolute;
    right: 10px;
    width: 50px;
    top: 32px;
    padding: 0 16px;
    height: 34px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #09B0D4, #07a0c3);
    transition: .15s;
}

.v2-content-before,
.v2-content-after {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    z-index: 1000;
    box-sizing: border-box;
}

.v2-dropdown .v2-col-left,
.v2-dropdown .v2-col-right {
    width: 100%;
    padding: 0;
}

.v2-popular-title,
.v2-subtitle,
.v2-history-title,
.v2-results-title {
    font-size: 15px;
    font-weight: 600;
    color: #09B0D4;
    margin-bottom: 12px;
}

.v2-popular-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v2-popular-chip {
    padding: 7px 12px;
    background: #f3f3f7;
    border-radius: 6px;
    font-size: 13px;
}

.v2-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v2-history-item {
    background: #F3F3F7;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.v2-sections-list,
.v2-brands-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-products-grid,
#v2-products-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.v2-product-item,
.v2-search-product {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
    gap: 8px;
}

.v2-prod-img,
.v2-search-img {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.v2-prod-img img,
.v2-search-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.v2-prod-info,
.v2-search-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v2-prod-price,
.v2-search-price {
    font-size: 15px;
    font-weight: 600;
}

.v2-prod-name,
.v2-search-name {
    font-size: 13px;
    line-height: 1.25;
}

.v2-brands-list,
#v2-brands-after {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.v2-brand-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.v2-loader {
    display: none;
    padding: 12px;
    gap: 12px;
}

/* MOBILE BREAKPOINT */
@media (max-width: 480px) {
    .v2-products-grid,
    #v2-products-after {
        grid-template-columns: 1fr;
    }

    .v2-brands-list,
    #v2-brands-after {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2-content-before,
    .v2-content-after {
        padding: 14px;
        border-radius: 12px;
    }

    .v2-input {
        padding: 0 80px 0 38px;
        font-size: 14px;
    }
}
