.wrapper-header{
    min-height: 70px !important;
}
#header .nav-icon .nav-icon-item .text {
    font-size: 13px !important;
}
#header .box-nav-ul .item-link {
    font-size: 14px !important;
}
#header .header-bottom .box-right .phone {
    font-size: 23px;
    line-height: 25px;
}
#header .header-bottom .tf-list-categories .categories-title {
    min-width: 206px;
    font-size: 14px !important;
}
.pagination-new{
    grid-column: 1 / -1;
    width: 100%;
}

#price-max-value{
    width: 89px !important;
}
.hover-img .img-style img {
    width: 100%;
    /* max-height: 107px; */
}

.ad-t-cart-btn{
    justify-content: center;
    border: 1px solid var(--line-2);
    font-size: 12px;
    line-height: 42px;
    font-weight: 700;
    background-color: var(--white);
    padding: 0 10px;
    border-radius: 999px;
}
.card-product-grid{
    margin-bottom: 30px;
    border-radius: 11px;
    
}
.card-product-grid .product-img {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    align-items: stretch;
}
.card-product-grid .card-product-wrapper {
    border-radius: 10px 10px 0px 0px;
}
.card-product .card-product-info {
    padding: 10px;
}
.card-product-grid .card-product-wrapper img {
    background-color: transparent;
}
.card-product-grid .card-product-wrapper .img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.card-product-grid .card-product-wrapper img {
    display: block;
    height: 100%;
    width: 100%;
    /* object-fit: cover; */
    object-fit: contain;
    object-position: center;
    transition: opacity 0.5s ease, transform 2s cubic-bezier(0, 0, 0.44, 1.18);
}

.card-product-grid .card-product-wrapper {
    aspect-ratio: 1 / 1;
}

.card-product-grid .card-product-info .tf-btn {
    justify-content: center;
    border: 1px solid var(--line-2);
    font-size: 12px;
    line-height: 42px;
    font-weight: 700;
    background-color: var(--white);
    padding: 0 10px;
    border-radius: 999px;
}
.features_des_item{
    font-size: 13px !important;
    color: #666666 !important;
    line-height: 18px !important;
    margin-bottom: 5px !important;
    list-style: disc !important;
    margin-left: 20px;
    text-align: left;
}
.badges span{
    color: #666666;
    margin-right: 5px;
}
.product-youtube-video{
    margin-top: 0px !important;
}

nav.btf-sub-nav-desktop-tabs.persistent-header {
    display: none !important;
}

.card-product .card-product-wrapper .on-sale-wrap .on-sale-item {
    padding: 0 10px;
    min-width: 46px;
    font-size: 10px;
    line-height: 22px;
}

.card-product .card-product-info .title {
    font-size: 13px;
}

.tf-product-info-title h5{
    font-size: 22px;
    font-weight: 600;
}
.price-on-sale{
    position: relative;
}

.tf-product-info-price {
    margin-bottom: 10px !important;
    margin-top: 37px;
}

.price-status {
    position: absolute;
    top: -25px;
    right: -38px;
}

.tf-form-search .search-suggests-results {
    box-shadow: none;
}

.variant-picker-item .color-btn.activetest {
    border-color: var(--main) !important;
    box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.1019607843);
}

.thumbs-slider {
    height: 500px !important;
}
.tf-product-media-main .item img{
    object-fit: contain;
}

.hover-img .img-style img {
    max-height: 400px;
    object-fit: unset;
}

.home-category-image{
    height: 120px !important;
    object-fit: cover !important;
}

.features_des {
    max-height: 150px;           
    overflow-y: scroll;          
    padding-right: 8px;
    box-sizing: border-box;
    scrollbar-width: none;       
    -ms-overflow-style: none;    
}

.features_des::-webkit-scrollbar {
    width: 6px;
    opacity: 0;                  
    transition: opacity 0.3s ease;
}

.features_des:hover::-webkit-scrollbar {
    opacity: 1;                 
}

.features_des::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.features_des::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.features_des:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
}

.color-primary-3 {
    --primary: #000000 !important;
}

        .user-avatar {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border: 2px solid #ddd;
        }
        .dropdown-user-img {
            width: 40px;
            height: 40px;
            object-fit: cover;
        }
        .dropdown-menu {
            width: 250px;
        }
        .user-info {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .header_pro::after{
            color: #fff;
        }
        .user-pro-nav li{
            font-size: 12px;
        }
    
/* Dropdown Container */
.search-dropdown {
    position: absolute;
    top: 27px;
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0px 12px 28px rgba(0,0,0,0.12);
    border: 1px solid #f0f0f0;
    display: none;
    z-index: 9999;
}

/* Search Box Field */
.search-box-field {
    position: relative;
}

/* Premium Input */
.premium-search-input {
    width: 100%;
    padding: 12px 48px 12px 16px !important;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.25s ease;
}

.premium-search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

/* Search Button Inside Input */
.premium-search-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    /* background: #007bff; */
    background-color: var(--primary);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.25s ease;
}

/* Search Result List */
.search-result-list {
    list-style: none;
    /* margin-top: 12px; */
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
    /* border-top: 1px solid #eee; */
}

.search-result-list li {
    padding: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.25s ease;
}

.search-result-list li img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
}

.search-result-list li:hover {
    background: #f8f9ff;
}
.premium-search-input:focus {
    box-shadow: none;
}

.modal-newleter .modal-content .modal-top {
    border-radius: 5px !important;
}

 .tf-upload-wrapper { margin-top: 10px; }

    .upload-area {
        border: 2px dashed #ccc;
        border-radius: 16px;
        padding: 40px 20px;
        text-align: center;
        background: #fdfdff;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
    }

    .upload-area:hover,
    .upload-area.dragover {
        border-color: #6e4fff;
        background: #f8f4ff;
    }

    .media-preview-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
        margin-top: 20px;
        display: none;
    }

    .preview-item {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        background: #000;
    }

    .preview-item img,
    .preview-item video {
        width: 100%;
        height: 130px;
        object-fit: cover;
        display: block;
    }

    .preview-item video {
        object-fit: contain;
        background: #000;
    }

    .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 44px;
        height: 44px;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        pointer-events: none;
    }

    .remove-media {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        background: rgba(0,0,0,0.7);
        color: white;
        border: none;
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer;
        z-index: 10;
    }


.wa-chat-btn {
    position: fixed;
    bottom: 161px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
}

/* Chat Box */
.wa-chat-box {
    position: fixed;
    bottom: 230px;
    right: 50px;
    width: 320px;
    background: #e5ddd5;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

/* Header */
.wa-chat-header {
    background: #075E54;
    color: #fff;
    padding: 12px;
    display: flex;
    justify-content: space-between;
}

/* Body */
.wa-chat-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Bubbles */
.bubble {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

/* Agent bubble */
.bubble.agent {
    background: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
}

/* User bubble */
.bubble.user {
    background: #dcf8c6;
    align-self: flex-end;
    border-top-right-radius: 0;
}

/* Typing dots */
.bubble.typing {
    background: #fff;
    width: 50px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.bubble.typing span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.5s infinite;
}

.bubble.typing span:nth-child(2) {
    animation-delay: .2s;
}
.bubble.typing span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes typing {
    0% { opacity: .3; }
    50% { opacity: 1; }
    100% { opacity: .3; }
}

/* Footer */
.wa-chat-footer {
    background: #f0f0f0;
    padding: 10px;
    text-align: center;
}

.wa-chat-footer a {
    background: #25D366;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}
.icon-star {
    font-size: 16px;
    color: #f5c518 !important;
    position: relative;
}

/* Empty star */
.star-empty {
    color: #ddd !important;
}

/* Half star */
.star-half {
    color: #ddd !important;
}


.star-half {
    background: linear-gradient(
        90deg,
        #f5c518 50%,
        #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



@supports (scrollbar-width: thin) {
    .features_des {
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
        transition: scrollbar-color 0.3s ease;
    }
    .features_des:hover {
        scrollbar-color: rgba(0, 0, 0, 0.5) transparent;
    }
}

@media (max-width: 576px) {

    .wa-chat-btn {
    position: fixed;
    bottom: 161px;
    right: 16px;
    width: 60px;
    height: 60px;
}

/* Chat Box */
.wa-chat-box {
    position: fixed;
    bottom: 130px;
    right: 40px;
    width: 320px;
}
    .collection-item-v4.style-2 .collection-image {
        height: 188px !important;
    }
    .slider-gaming-accessories .hover-img .img-style img {
        max-height: 150px !important;
    }
    .collection-item-v4.style-2 .collection-image {
        height: 188px !important;
    }
    .slider-gaming-accessories > img {
        height: 230px;
    }
    .flat-spacing-5 {
        padding-bottom: 0;
    }
}