:root {
  --highlight-color: #155dfc;
  --light-text-color1: #6a7282;
  --light-text-color2: #99a1af;
  --tw-shadow: 0 20px 50px #00000026;
}

/* Voice Search Button */
.tapsp-voice-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0.3rem 0.2rem;
    padding: 0;
    color: var(--light-text-color1);
    transition: color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}
.tapsp-voice-btn:hover {
    color: var(--highlight-color);
    background: #f0f4ff;
}
.tapsp-voice-btn.tapsp-voice-listening {
    color: #e53e3e;
    animation: tapsp-voice-pulse 1s ease-in-out infinite;
}
@keyframes tapsp-voice-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.15); }
}
.tapsp-search-box{
max-width:550px;
}
.tapsp-search-box {
    position: relative;
    line-height: 100%;
    display: block;
    min-width: auto;
    width: 100%;
    text-align: left;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    align-items: center;
    display: flex;
}

.tapsp-search-form{
    margin: 0;
    padding: 0;
    width: 100%;
}

.tapsp-from-wrap{
display:flex;
background:#fff;
border-radius:2rem;
position: relative;
border: 1px solid;
border-color:#e7f5ff;
z-index: 9999999!important

}
.tapsp-search-autocomplete:focus{
        outline: 0;
}
#tapsp-search-button {
background: #111;
    width: 70px;
    height:36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius:17px;
    padding: 0;
    border: 0;
   margin:0.3rem;
   color: #fff;
   word-break: initial;
}

#tapsp-search-button:hover{
background:#888;
}
.tapsp-search-form .tapsp-search-autocomplete {
min-height:35px;
line-height:35px;
border:none!important;
font-size: 14px;
width: 100%;
padding: 0.3rem 0.8rem;
margin: 0;
border-radius:2rem!important;
background: transparent;
}


.tapsp-autocomplete-suggestions {
    border: 1px solid #eee; background: #FFF; 
    overflow: auto; 
    border-radius: 1rem;
    margin-top: 9px;
    /*box-shadow: 0 0 #000, 0 0 #000, 0 0 #000, 0 0 #000, var(--tw-shadow);*/
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: color-mix(in oklab, #FFF 20%, transparent);
    background-color: #FFF!important;
    z-index: 9999997!important;
}
.tapsp-autocomplete-suggestion { padding: 0.5rem; overflow: hidden;margin:0;}
/*.tapsp-autocomplete-selected { background: #f0f0f166; }*/
.tapsp-autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.tapsp-autocomplete-group { padding: 0.5rem; }
.tapsp-autocomplete-group strong { display: block; border-bottom: 1px solid #000; 
}
.tapsp-autocomplete-suggestion { 
    cursor: pointer;
}
#tapsp-search-button .th-icon{
    font-size:25px;
}
.tapsp-autocomplete-suggestion{
display:flex;
}


.tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-img,
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-img {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    margin-right: 0;
    box-shadow: 0px 0px 2px 0 #b9b9b9;
}
.tapsp-suggestion-product .tapsp-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 16px;
    transition: alL .2s linear;
}
.tapsp-suggestion-wrap .tapsp-img{
    width: 32px;
    height: auto;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 0;
    box-shadow: 0px 0px 2px 0 #b9b9b9;
}
.tapsp-suggestion-wrap .tapsp-img img{
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: alL .2s linear;
}
.tapsp-suggestion-heading .tapsp-title{
color:#555;
font-size: .875rem;
    text-transform: uppercase;
font-weight:normal;
}
.tapsp-suggestion-heading{
border-bottom:1px solid #e7f5ff;
border: 0;
margin-bottom: 0.5rem;
pointer-events: none;
}

.tapsp-suggestion-taxonomy-post-cat .tapsp-title,.tapsp-suggestion-taxonomy-product-cat .tapsp-title{
font-size:0.89rem;
}
.tapsp-suggestion-taxonomy-product-cat,.tapsp-suggestion-taxonomy-post-cat{
padding: 0.5rem;
}
 .tapsp-title{
    color:var(--light-text-color1);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.tapsp-suggestion-heading .tapsp-title strong{
color: #555;
    font-size: .875rem;
    text-transform: uppercase;
    font-weight: normal;
}

.tapsp-suggestion-more strong{
color: #333;
    font-size: 1rem;
    font-weight: bold;
}
.tapsp-content-wrapp{
line-height:normal;
}
.tapsp-price del{
color:#949494;
margin-right:0.3rem;
opacity: 0.5;
font-size: .75rem;
font-weight: 600;
letter-spacing: .0295rem;
}
.tapsp-price ins{
text-decoration:none;
}
.nonce_result_show{
opacity:0.5;
pointer-events: none;
}

.tapsp-preloader{
height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 45px;
    z-index: 1;
    background:none;
    display: none;

}
.tapsp-preloader.tapsp-loading{
    display:block;
}
.tapsp-loading .tapsp_loader-css {
    height: 0;
    width: 0;
    padding: 10px;
    border: 3px solid #cccccc6e;
    border-right-color: #8888887a;
    border-radius: 50%;
    -webkit-animation: rotate 1s infinite linear;
    position: absolute;
    top: 9px;
        right: 10px;
}
.tapsp-preloader img{

    padding: 0.3rem;
    max-width: 100%;
}

.submit-no-active .tapsp-from-wrap .th-icon, 
.bar_style .th-icon,
.icon_style .tapsp-from-wrap .th-icon{
position:absolute;
left:0.5rem;
}
.submit-no-active .tapsp-from-wrap .th-icon{
      color: #111;  
}
.submit-no-active .tapsp-search-autocomplete,.bar_style .tapsp-search-autocomplete,.icon_style .tapsp-search-autocomplete{
padding: 0.3rem 0.3rem 0.3rem 2.8rem;
}
.submit-no-active .tapsp-from-wrap, .bar_style .tapsp-from-wrap,.icon_style .tapsp-from-wrap{
    align-items: center;
}
.tapsp-suggestion-more{
background:#eee;
text-align:center;
margin:0;
}
.tapsp-suggestion-more .tapsp-content-wrapp {
    line-height: normal;
    text-align: center;
    width: 100%;
}
.tapsp-suggestion-more .tapsp-title{
font-size:.89rem;
}
.tapsp-autocomplete-suggestion .tapsp-title{
display:inline-block;
margin-right: 0.6rem;
}
.tapsp-autocomplete-suggestion .tapsp-price{
display: block;
font-size: 14px;
font-weight: 600;
display: block;
color: #101828 !important;
letter-spacing: 0;
}
.tapsp-sku{
font-size: 10px;
    font-weight: 400;
    color: var(--light-text-color2);
    opacity: .7;
}
.tapsp-desc{
font-size: 11px;
    line-height: 1.25;
    display: block;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%;
    color: var(--light-text-color1);
}

.tapsp-content-wrapp {
    line-height: normal;
    display: flex;
    justify-content: space-between;
    flex-grow: 2;
    align-items: center;
    width: 100%;
}

.tapsp-suggestion-more .tapsp-content-wrapp {

    justify-content: center;
}

.icon_style .tapsp-search-form {
    opacity:0;
    display:none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 500px;
    z-index: 1;
}
.icon_style.tapsp-box-open .tapsp-search-form{
    opacity:1;
    display:block;
}

.icon_style .click-icon{
    height: auto;
    cursor: pointer;
}
.tapsp-box-open .tapsp-icon-arrow {
    display: block;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 5;
    width: 15px;
    height: 15px;
    background: #fff;
        border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    -webkit-transform: rotate(
45deg
);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(
45deg
);
}

.tapsp-sale{
    background: #111;
    color: #fff;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-transform: capitalize;
}

.tapsp-featured::before {
    content: "\f155";
    font-family: Dashicons;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    text-indent: 0px;
    font-size:0.867rem;
    color:#dab257;
    margin-right:0.3rem;
}

.tapsp-stock{
    font-size: 9px;
    display: block;
    margin-top: 3px;
    font-weight: 700;
    text-transform: capitalize;
    opacity: .5;
}
.th-traditional .tapsp-stock{
    margin: 0 0 9px 0;
}
.tapsp-suggestion-wrap{
    border-radius: 1rem;
}
.th-normal .tapsp-suggestion-wrap{
    margin: 0 18px 2px 18px!important;
}
.tapsp-trending-wrapper .tapsp-suggestion-wrap{
    margin: 0!important;
}
.tapsp-suggestion-wrap.tapsp-suggestion-product.cart-btn-show{
display:flex;
align-items: center;
}
.tapsp-suggestion-wrap.tapsp-suggestion-product.cart-btn-show a.tapsp-autocomplete-suggestion{
width:86%;
}
.tapsp-cart-button span{
font-size:0;
}
.tapsp-cart-button:before{
content:'|';
margin:0 0.5rem;
color:#e7f5ff;
font-size:1.5rem;
}

.tapsp-cart-button.ajax_add_to_cart span:before{
content: "\f174";
display: inline-block;
-webkit-font-smoothing: antialiased;
font: normal 20px/1 'dashicons';
font-size:1rem;
}

.tapsp-suggestion-product:hover,
.tapsp-suggestion-more:hover,.nonce_result_show:hover,.tapsp-suggestion-wrap:hover{
background: #f0f0f166
}
.tapsp-cart-button.add_to_cart_button.loading span {
    height: 12px;
    width: 12px;
    border: 3px solid #cccccc6e;
    border-right-color: #8888887a;
    border-radius: 50%;
    -webkit-animation: rotate 1s infinite linear;
    position: absolute;
        top: 50%;
}


@keyframes rotate{
  0%{transform: rotate(0deg);}
  100%{transform: rotate(360deg);}
}

.tapsp-cart-button.add_to_cart_button.added{
opacity: 0.5;

}
.tapsp-cart-button.add_to_cart_button{
    position: relative;
}
.cart-btn-show .added_to_cart{
display: none!important;
}

.tapsp-cart-button span:before {
content: "\f174";
    content: "\f543";
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 20px/1 'dashicons';
    font-size: 1rem;
}
.cart-btn-show .added_to_cart:before{
content:'|';
margin:0 0.5rem;
color:#e7f5ff;
font-size:1.5rem;
}
.tapsp-cart-button.add_to_cart_button.loading span:before{
display:none;
}

.tapsp-suggestion-taxonomy-product-cat .tapsp-autocomplete-suggestion,
.tapsp-suggestion-taxonomy-post-cat .tapsp-autocomplete-suggestion{
padding:0;
}

.submit-active #tapsp-search-button .th-icon {
    color: #fff;
}

.bar_style .th-icon, .icon_style .th-icon{
    color:#111;
}

.tapsp-search-box .th-icon{
font-size:1.62rem;
-webkit-font-smoothing: subpixel-antialiased;
}


[type="search"].tapsp-search-autocomplete::-ms-clear {
    display: none;
}

[type="search"].tapsp-search-autocomplete::-webkit-search-decoration {
    -webkit-appearance: none;
}

[type="search"].tapsp-search-autocomplete::-webkit-search-cancel-button {
    display: none;
}

.tapsp-search-form.voice-search-wrapper .voice-search-mic svg {
    width: 80%;
    height: 80%;
}


/* category filter  style*/
.tapsp-search-form .filter-divide {
    height: 32px;
    background: #ddd;
    padding: 0.5px;
    flex-shrink: 0;
}

.tapsp-from-wrap{
align-items: center;
}

/* === Custom Category Dropdown === */
.tapsp-custom-cat-select {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.tapsp-cat-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem 0.5rem 0.3rem 0.8rem;
    font-size: 14px;
    white-space: nowrap;
    min-height: 35px;
    line-height: 1;
    outline: none;
    font-family: inherit;

    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

.tapsp-cat-toggle:focus {
    outline: none;
    box-shadow: none;
}

.tapsp-cat-label {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    font-weight: 600;
    color: #4a5565;
}

.tapsp-cat-arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: #666;
}

.tapsp-custom-cat-select.tapsp-cat-open .tapsp-cat-arrow {
    transform: rotate(180deg);
}

/* Chrome, Edge, Safari scrollbar CSS STARTS*/
.tapsp-cat-list::-webkit-scrollbar,
.tapsp-autocomplete-suggestions::-webkit-scrollbar {
    width: 6px;
}

.tapsp-cat-list::-webkit-scrollbar-track,
.tapsp-autocomplete-suggestions::-webkit-scrollbar-track {
    background: transparent;
    margin-block: 6px; /* top-bottom gap for smooth curve */
}

.tapsp-cat-list::-webkit-scrollbar-thumb,
.tapsp-autocomplete-suggestions::-webkit-scrollbar-thumb {
    background-color: #e9e4e6;
    
    /* One-sided smooth blending */
    border-radius: 0 1rem 1rem 0;

    /* spacing from edges */
    border: 1px solid transparent;
    background-clip: content-box;

    transition: background 0.2s ease;
}

.tapsp-cat-list::-webkit-scrollbar-thumb:hover,
.tapsp-autocomplete-suggestions::-webkit-scrollbar-thumb:hover {
    background-color: #e3e2e3;
}

.tapsp-cat-list {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 180px;
    z-index: 99999;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all .25s linear;
}

/* Open state */
.tapsp-custom-cat-select.tapsp-cat-open .tapsp-cat-list {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 9px);
/*    animation: bounceDrop 0.35s ease;*/
/*    animation: bounceDrop 0.45s cubic-bezier(.34,1.56,.64,1);*/
}

/* Bounce animation */
@keyframes bounceDrop {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }
    80% {
        transform: translateY(2px); /* thoda neeche */
    }
    100% {
        transform: translateY(0);
    }
}

.tapsp-cat-item {
    padding: 9px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.12s;
    line-height: 1.4;
    color: #364153;
}
.tapsp-cat-item.active{
    color: #FFF;
}
.tapsp-cat-item.active {
    /* colors set dynamically */
}

/* === Focus Panel: Trending & Recent section titles === */
.tapsp-focus-section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 12px 12px 6px;
    pointer-events: none;
    line-height: 1;
}

.tapsp-focus-section-title svg{
     color: var(--highlight-color);
     width: 18px;
     flex-shrink: 0;
}


/* === Recent search items === */
.tapsp-suggestion-recent {
    border: none;
}

.tapsp-suggestion-recent a.tapsp-autocomplete-suggestion {
    display: flex !important;
    align-items: center;
    padding: 9px 16px;
    font-size: 14px;
}

/* Search icon shown inside bar when category filter + submit button are both active */
.tapsp-cat-search-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 0.5rem;
    color: #888;
    pointer-events: none;
}

.tapsp-search-box.bar_style #tapsp-search-button{
width:35px;
height:35px;
line-height:35px;
background:none;
cursor:pointer;
}

.tapsp-search-box.bar_style #thaps-search-button .th-icon{
color:#111;
}

.tapsp-search-box.bar_style .tapsp-search-autocomplete{
padding:0.3rem;
}

#tapsp-search-button:focus{
outline:none;
}

#tapsp-search-button:hover{
cursor:pointer;
}
/***************************/
/* traditional layout  */
/***************************/
.th-traditional .tapsp-products-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 14px;
    box-sizing: border-box;
    justify-content: start;

}

/* 🔹 Product item wrapper */
.th-traditional .tapsp-products-wrapper .tapsp-suggestion-wrap.tapsp-suggestion-product {
    border: 1px solid #f6f3f4;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    padding: 8px;
    width: calc(33.33% - 14px);
}

.th-traditional .tapsp-suggestion-wrap.tapsp-suggestion-product a{
    display:block;
    padding: 0;
}
.th-traditional .tapsp-suggestion-wrap.tapsp-suggestion-product a.added_to_cart{
    display:none!important;
}
.th-traditional .tapsp-products-wrapper .tapsp-img {
  width: 100%;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  display: block;
  margin-right: 0;
  margin-bottom: 12px;
}

.th-traditional .tapsp-content-wrapp{
    padding: 0!important;
}
.th-traditional .tapsp-sale{
    margin-top: 0;
    margin-bottom: 9px;
}
.th-traditional .tapsp-suggestion-wrap:hover{
    background: transparent;
    box-shadow: 0px 2px 7px 0px #e4e4e4
}
.th-traditional .tapsp-products-wrapper .tapsp-img img {
 max-width: 100%;
    width: 100%;
    height: 100%;
  transition: transform 0.3s ease;
  border-radius: .75rem;
}

.th-traditional .tapsp-products-wrapper .tapsp-cart-button:before{
    content:'';
}
/* SVG cart icon — global */
.tapsp-cart-svg {
    display: none; /* hidden by default; shown in supported layouts */
}
.tapsp-cart-text:before,
.th-traditional .tapsp-cart-button:before {
    display: none !important; /* suppress dashicons pseudo on new HTML */
}
/* Traditional layout — show SVG, hide text */
.th-traditional .tapsp-cart-button .tapsp-cart-svg,
.th-modern .tapsp-cart-button .tapsp-cart-svg {
    display: block;
}
.th-traditional .tapsp-cart-button .tapsp-cart-text,
.th-modern .tapsp-cart-button .tapsp-cart-text {
    display: none;
}
.th-modern .tapsp-products-wrapper{ 
    display:flex; 
    flex-wrap:wrap; 
    gap: 12px;
    padding: 20px 15px;
    box-sizing: border-box;
    background: #f9f9f9;
    justify-content: space-between;
}
.th-modern .tapsp-suggestion-product{
border: 1px solid;
    border-color: rgb(246, 243, 244);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-basis: 48%; 
    flex-grow: 2;
    padding: 12px;
    background: #FFF;

}
.th-modern .tapsp-suggestion-wrap:hover {
    background: #eff6ff80;
    border-color: #dbeafe;
}
.th-modern .tapsp-suggestion-product .tapsp-autocomplete-suggestion{
/*    width: 80px;*/
    flex-shrink: 0;
    padding: 0;
}
.th-modern .tapsp-suggestion-product .tapsp-content-wrapp .tapsp-autocomplete-suggestion{
    width: initial;
}
.th-modern .tapsp-autocomplete-suggestion .tapsp-img{
    height: auto;
}

.th-modern .tapsp-products-wrapper .tapsp-title,
.th-modern .tapsp-products-wrapper .tapsp-desc{
   margin-bottom: 0;
   display:block;
}

.th-modern .tapsp-suggestion-product .tapsp-img{
    margin-right: 0.5rem;
}

/* 🔹 Product Content Area */
.tapsp-products-wrapper .tapsp-content-wrapp {
 padding: 0px 4px 0px 4px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: baseline;
}

.th-traditional .tapsp-products-wrapper .tapsp-title,
.th-traditional .tapsp-products-wrapper .tapsp-sku,
.th-traditional .tapsp-products-wrapper .tapsp-desc{
   margin: 0 0 9px 0;
   display:block;
   white-space: break-spaces;
}
.th-traditional .tapsp-products-wrapper .tapsp-content-right,
.th-modern .tapsp-products-wrapper .tapsp-content-right{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.th-traditional .tapsp-cart-button.add_to_cart_button,
.th-modern .tapsp-cart-button.add_to_cart_button{
    margin: 0;
}
.th-modern .tapsp-cart-button:before{
    display: none;
} 
.tapsp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    z-index: 1000008;
}

.tapsp-search-form,
.tapsp-autocomplete-suggestions {
    position: relative;
    animation: bounceDrop .05s linear;
/*    animation: bounceDrop .1s cubic-bezier(.34,1.56,.64,1);*/*/
}
.tapsp-from-wrap:focus-within{
    box-shadow: 0px 0px 2px 1px var(--highlight-color);
    border: 1px solid var(--highlight-color);
}
.tapsp-trending-wrapper{
    display:flex;
    flex-wrap: wrap;
    padding:0rem 0.5rem 0.5rem;
}
.tapsp-trending-wrapper .tapsp-suggestion-wrap:hover{
    background:none;
}
.tapsp-trending-wrapper .tapsp-suggestion-wrap a{
    margin-right:0.5rem;
    margin-top:0.5rem;
    margin-bottom:0.5rem;
    border-radius: 29px;
    background: #f6f6f6;
    padding:0.5rem 0.9rem;
}

.tapsp-trending-wrapper .tapsp-suggestion-wrap a:hover{
    background:#ececec;;
}
.tapsp-trending-wrapper .tapsp-suggestion-wrap  .tapsp-title{
    margin-right:0;
}
/* scroll bar css */
.tapsp-autocomplete-suggestions {
    overflow-y: auto;
}

/* icon style change css */
.logged-in .tapsp-search-box-top{
   top:32px; 
}
.tapsp-search-box-top {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 18px 15px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.12);
    transition:top 0.35s ease;
    opacity:0;
    text-align: -webkit-center;
    visibility: hidden;
    z-index: 999;
}

.tapsp-search-box-top.tapsp-popup-open {
    opacity:1;
    visibility:visible;
    
}
.tapsp-search-box-top .tapsp-search-form{
   max-width:550px;
}
.tapsp-scroll-up {
    top: -100px !important;
}

.tapsp-search-box-inner{
    align-items: center;
    display: flex;
    flex-direction: row;
    min-height: 80px;
    padding-left: 0;
    padding-right: 0;}

.tapsp-search-theme-logo{
    width:18%;
}
.tapsp-search-theme-logo img{
    max-width:100%;
    height:auto;
}
.tapsp-search-form-wrap{
    width:100%;
}
.tapsp-search-box.icon_style{
    max-width:none;
}
@media screen and (max-width: 768px){
.th-modern .tapsp-products-wrapper .tapsp-content-wrapp{
    padding:0;
}
.th-modern .tapsp-suggestion-product{
    width:100%;
}
.tapsp-search-box-inner{
    flex-direction: column;
    gap: 15px;
}
.tapsp-search-theme-logo{
    width:100%;
}
.tapsp-search-form-wrap{
    width:100%;
}
.tapsp-autocomplete-suggestions{
    margin-top: 21px;
}
}

/* ==========================================================
 * DEFAULT LIST STYLE — matches the clean list design
 * Uses > (direct child) to avoid affecting th-traditional
 * and th-modern which wrap products in .tapsp-products-wrapper
 * ========================================================== */

/* --- Section heading "PRODUCT RESULTS" --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-heading {
    padding: 12px 16px 6px;
    background: transparent;
    pointer-events: none;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-heading a {
    padding: 0;
    background: none !important;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-heading .tapsp-title,
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-heading .tapsp-title strong {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* --- Product row --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product {
    border-bottom-width: 0;
    border-bottom-style: solid;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product:last-of-type {
    border-bottom: none;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product a.tapsp-autocomplete-suggestion,
.tapsp-autocomplete-suggestion {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    gap: 16px;
}

/* --- Product image --- */


.tapsp-suggestion-product:hover .tapsp-img img,
.tapsp-suggestion-wrap:hover .tapsp-img img  {
    transform: scale(1.12);
    transition: alL .2s linear;
}
/* --- Content area --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-content-wrapp {
    flex: 1;
    min-width: 0;
    align-items: center;
    padding: 0;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-content-left {
    flex: 1;
    min-width: 0;
}

/* --- Title --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-title,
.tapsp-suggestion-wrap .tapsp-title{
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .029px;
    line-height: 1.425;
    display: inline;
    margin-right: 4px;
    text-transform: capitalize;
    color: #101828!important;
}

/* --- SKU inline next to title --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-sku {
    font-size: 10px;
    display: inline;
    font-weight: 400;
    color: var(--light-text-color2);
    opacity: .7;
}

/* --- Description --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-desc {
    font-size: 11px;
    line-height: 1.25;
    display: block;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    color: var(--light-text-color1);
}

/* --- Stock --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-stock {
    font-size: 9px;
    display: block;
    margin-top: 3px;
    font-weight: 500;
}

/* --- Price (right side, large & bold) --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-product .tapsp-content-right {
    flex-shrink: 0;
    margin-left: 9px;
}


/* --- Cart button — boxed icon (default list only) --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.cart-btn-show {
    align-items: center;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.cart-btn-show > a.tapsp-autocomplete-suggestion {
    flex: 1;
    width: auto;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.cart-btn-show .tapsp-cart-button,
.tapsp-cart-button.add_to_cart_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 12px !important;
    border-color: #f6f3f4;
    margin-right: 14px;
    margin-left: 4px;
    flex-shrink: 0;
    padding: 0 !important;
    text-decoration: none;
    background: #FFF;
    color: #040404;
}
.tapsp-cart-button svg{
    color: inherit;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.cart-btn-show .tapsp-cart-button:before {
    display: none !important;
}
/* Hide text, show SVG icon */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.cart-btn-show .tapsp-cart-button .tapsp-cart-text {
    display: none !important;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.cart-btn-show .tapsp-cart-button .tapsp-cart-text:before {
    display: none !important;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.cart-btn-show .tapsp-cart-button .tapsp-cart-svg {
    display: block;
    flex-shrink: 0;
}
/* Loading state */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.cart-btn-show .tapsp-cart-button.loading .tapsp-cart-svg {
    display: none;
}

/* --- "See All Results" link --- */
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-more {
    border-top-width: 1px;
    border-top-style: solid;
    border-color: #f6f3f4 !important;
    padding: 9px 16px;
    text-align: center;
    position: sticky;
    bottom: 0;
    margin: 0 !important;
    border-radius: 0;
    background: #FFF!important;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-more a.tapsp-autocomplete-suggestion {
    justify-content: center;
    padding: 9px 0;
    color: var(--highlight-color);
    border-radius: .75rem;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-more a.tapsp-autocomplete-suggestion:hover {
    background: var(--highlight-color);
    color: #FFF;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-more a.tapsp-autocomplete-suggestion *{
    color: inherit!important;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-more .tapsp-title,
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-more .tapsp-title strong {
    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;
    letter-spacing: -.5px;
}
.tapsp-suggestion-wrap.tapsp-suggestion-more .tapsp-title:after{
    content: "\003E";
    position: relative;
    margin-left: 16px;
}
.tapsp-autocomplete-suggestions > .tapsp-suggestion-wrap.tapsp-suggestion-more a.tapsp-autocomplete-suggestion:hover .tapsp-title:after {
    margin-left: 18px;
}
/*.tapsp-autocomplete-suggestions{
    display: block!important;
    visibility: visible;
    opacity: 1;
    position: absolute;
    max-height: 341px;
    z-index: 9999;
    top: 352px;
    left: 128px;
    width: 550px;
}*/
/*.tapsp-autocomplete-suggestions{
  z-index: 9999997!important;
}
*/
