.sh-tabs-wrap .sh-tabs::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 200%;
    height: 200%;
    box-sizing: border-box;
    border: 1.5px solid var(--market-header-logo-blue);
    border-radius: 999px;
    transform: scale(.5);
    transform-origin: top left;
    pointer-events: none;
}

.sh-tabs .sh-tab--active {
    background-color: rgb(233 244 251 / 80%);
    /* Keep the selected fill inset without shrinking the clickable tab. */
    box-shadow: inset 0 0 0 4px #fff;
}

/* Include the 10px top gap in the painted strip. */
#sooq-header + .sh-tabs-wrap {
    padding-block-start: 18px;
    min-height: 64px;
}

.sh-tabs-wrap .sh-tabs {
    position: relative;
    background-color: #fff;
    border-color: transparent;
    min-height: 0;
    align-self: center;
}

.sh-tabs .sh-tab {
    align-self: stretch;
    padding-block: 0;
}

@media (min-width: 769px) {
    .sh-tabs-wrap .sh-tabs {
        height: var(--market-header-control-height);
        padding-block: 1px;
    }

}

@media (max-width: 768px) {
    /* The mobile search row has one line, 8px input padding and 6px form padding per side. */
    .sh-tabs-wrap .sh-tabs {
        font-size: var(--home-action, 16px);
        box-sizing: content-box;
        height: calc(1.5em + 16px);
        padding-block: 6px;
    }
}
