/* Vitrinon Style Modern Search */
.modern-search {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-search form {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.vitrinon-search-container {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1001;
}

.modern-search.open .vitrinon-search-container {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.vitrinon-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.modern-search.open .vitrinon-search-container::before {
    border-radius: 8px 8px 0 0;
}

.vitrinon-search-input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    outline: none;
    color: #333;
    transition: all 0.3s ease;
}

.modern-search.open .vitrinon-search-input {
    border-radius: 8px;
}

.vitrinon-search-input::placeholder {
    color: #999;
    font-size: 16px;
}



.vitrinon-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-search.open .vitrinon-search-overlay {
    display: block;
    opacity: 1;
}

.vitrinon-search-dropdown {
    display: none;
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 850px;
    overflow: hidden;
    padding-top: 70px;
}

.modern-search.open .vitrinon-search-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.vitrinon-dropdown-content {
    display: flex;
    flex-direction: column;
    min-height: 600px;
    max-height: 850px;
    margin-top: 10px;
    cursor: default;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.vitrinon-dropdown-content-wrapper {
    display: flex;
    flex: 1;
    min-height: 0;
}

.vitrinon-dropdown-left {
    flex: 1;
    padding: 24px 28px;
    border-right: 2px solid #e9ecef;
    max-height: 750px;
    overflow-y: auto;
    overflow-x: hidden;
    cursor: default;
    scroll-behavior: smooth;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}


    /* Scroll bar sadece mouse üzerindeyken görünsün */
    .vitrinon-dropdown-left::-webkit-scrollbar {
        width: 8px;
    }

    .vitrinon-dropdown-left::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .vitrinon-dropdown-left::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #fc5021, #e65a2b);
        border-radius: 4px;
        transition: background 0.2s ease;
    }

    .vitrinon-dropdown-left:hover::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #e65a2b, #d14a1f);
    }

    .vitrinon-dropdown-left::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #d14a1f, #c03f15);
    }

.vitrinon-dropdown-right {
    width: 320px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    max-height: 750px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    border-left: 2px solid #e9ecef;
}


    .vitrinon-dropdown-right::-webkit-scrollbar {
        width: 8px;
    }

    .vitrinon-dropdown-right::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .vitrinon-dropdown-right::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #fc5021, #e65a2b);
        border-radius: 4px;
        transition: background 0.2s ease;
    }

    .vitrinon-dropdown-right:hover::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #e65a2b, #d14a1f);
    }

    .vitrinon-dropdown-right::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #d14a1f, #c03f15);
    }

.vitrinon-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.vitrinon-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #fc5021, #ff6b35);
    border-radius: 2px;
}

.vitrinon-clear-link {
    color: #fc5021;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vitrinon-clear-link:hover {
    background: #fff5f2;
    color: #e65a2b;
    transform: translateX(2px);
}

.vitrinon-clear-link::before {
    content: '\f2ed';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

/* Geçmiş Aramalar */
.vitrinon-search-history {
    margin-bottom: 20px;
    min-height: 50px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    scroll-behavior: smooth;
}

.vitrinon-search-history::-webkit-scrollbar {
    width: 6px;
}

.vitrinon-search-history::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.vitrinon-search-history::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fc5021, #e65a2b);
    border-radius: 3px;
}

.vitrinon-search-history::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e65a2b, #d14a1f);
}

.vitrinon-history-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin-bottom: 6px;
    background: #f8f9fa;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 32px;
}

.vitrinon-history-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #fc5021, #ff6b35);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.vitrinon-history-item:hover {
    background: linear-gradient(90deg, #fff5f2 0%, #ffffff 100%);
    border-color: #ffe0d6;
    transform: translateX(6px);
    box-shadow: 0 2px 8px rgba(252, 80, 33, 0.12);
    padding-left: 16px;
}

.vitrinon-history-item:hover::before {
    transform: scaleY(1);
}

.vitrinon-history-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    color: #fc5021;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.vitrinon-history-item:hover .vitrinon-history-icon {
    opacity: 1;
    transform: scale(1.05);
}

.vitrinon-history-text {
    font-size: 12px;
    color: #333;
    flex: 1;
    font-weight: 400;
    transition: color 0.3s ease;
}

.vitrinon-history-item:hover .vitrinon-history-text {
    color: #fc5021;
    font-weight: 500;
}

/* Popüler Aramalar */
.vitrinon-popular-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid #e9ecef;
    flex-shrink: 0;
    min-height: 100px;
}

.vitrinon-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    max-height: 110px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.vitrinon-popular-tags::-webkit-scrollbar {
    width: 6px;
}

.vitrinon-popular-tags::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.vitrinon-popular-tags::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fc5021, #e65a2b);
    border-radius: 3px;
}

.vitrinon-popular-tags::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e65a2b, #d14a1f);
}

.vitrinon-popular-tag {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1.5px solid #e9ecef;
    border-radius: 18px;
    padding: 6px 12px;
    font-size: 11px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.vitrinon-popular-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 80, 33, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.vitrinon-popular-tag:hover {
    background: linear-gradient(135deg, #fc5021 0%, #ff6b35 100%);
    color: #fff;
    border-color: #fc5021;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(252, 80, 33, 0.3);
}

.vitrinon-popular-tag:hover::before {
    width: 300px;
    height: 300px;
}

.vitrinon-popular-tag span {
    position: relative;
    z-index: 1;
}

/* Son Gezilen Ürünler */
.vitrinon-recent-products {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vitrinon-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e9ecef;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.vitrinon-product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fc5021, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.vitrinon-product-item:hover {
    background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
    border-color: #fc5021;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(252, 80, 33, 0.2);
}

.vitrinon-product-item:hover::before {
    transform: scaleX(1);
}

.vitrinon-product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.vitrinon-product-item:hover .vitrinon-product-image {
    border-color: #fc5021;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(252, 80, 33, 0.2);
}

.vitrinon-product-info {
    flex: 1;
    min-width: 0;
}

.vitrinon-product-badge {
    background: linear-gradient(135deg, #fc5021, #ff6b35);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    margin-bottom: 6px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(252, 80, 33, 0.3);
}

.vitrinon-product-title {
    font-size: 12px;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
    transition: color 0.3s ease;
}

.vitrinon-product-item:hover .vitrinon-product-title {
    color: #fc5021;
}

.vitrinon-product-price {
    font-size: 13px;
    font-weight: 700;
    color: #fc5021;
    margin-bottom: 0;
    background: linear-gradient(135deg, #fc5021, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Empty History State */
.vitrinon-empty-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    min-height: 200px;
}

.vitrinon-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.vitrinon-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.vitrinon-empty-message {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    max-width: 300px;
}

/* Popüler Ürünler Bölümü */
.vitrinon-popular-products-section {
    width: 100%;
    padding: 16px 24px;
    background: #ffffff;
    border-top: 2px solid #e9ecef;
    flex-shrink: 0;
}

.vitrinon-popular-products-section .vitrinon-section-title {
    margin-bottom: 12px;
    font-size: 14px;
}

.vitrinon-popular-products {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 8px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}


.vitrinon-popular-products::-webkit-scrollbar {
    height: 6px;
}

.vitrinon-popular-products::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.vitrinon-popular-products::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #fc5021, #ff6b35);
    border-radius: 3px;
}

.vitrinon-popular-products::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #e65a2b, #d14a1f);
}

.vitrinon-popular-product-card {
    flex: 0 0 120px;
    min-width: 120px;
    background: #ffffff;
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.vitrinon-popular-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #fc5021, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.vitrinon-popular-product-card:hover {
    border-color: #fc5021;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 80, 33, 0.15);
}

.vitrinon-popular-product-card:hover::before {
    transform: scaleX(1);
}

.vitrinon-popular-product-image {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.vitrinon-popular-product-card:hover .vitrinon-popular-product-image {
    transform: scale(1.03);
}

.vitrinon-popular-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vitrinon-popular-product-name {
    font-size: 11px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 28px;
}

.vitrinon-popular-product-card:hover .vitrinon-popular-product-name {
    color: #fc5021;
}

.vitrinon-popular-product-price {
    font-size: 12px;
    font-weight: 700;
    color: #fc5021;
    background: linear-gradient(135deg, #fc5021, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vitrinon-no-popular-products {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.vitrinon-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vitrinon-rating-stars {
    color: #ffa500;
    font-size: 12px;
}

.vitrinon-rating-text {
    font-size: 11px;
    color: #666;
}

/* Desktop'ta mobile modal'ı gizle */
@media (min-width: 769px) {
    .vitrinon-mobile-search-modal {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .vitrinon-dropdown-content-wrapper {
        flex-direction: column;
    }

    .vitrinon-dropdown-left {
        border-right: none;
        border-bottom: 2px solid #e9ecef;
        max-height: 400px;
    }

    .vitrinon-dropdown-right {
        width: 100%;
        background: #fff;
        max-height: 300px;
        border-left: none;
        border-top: 2px solid #e9ecef;
    }

    .vitrinon-popular-products-section {
        border-top: 2px solid #e9ecef;
    }

    .vitrinon-search-dropdown {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .modern-search form {
        max-width: 100%;
    }

    .vitrinon-search-input {
        padding: 14px 16px;
        font-size: 14px;
    }

    /* Desktop view gizle */
    .vitrinon-desktop-view {
        display: none !important;
    }

    /* Mobilde asıl input'u gizle, modal açıldığında göster */
    .vitrinon-search-container {
        position: relative;
        z-index: 1001;
    }

    /* Mobil modal açıkken asıl input'u tamamen gizle */
    .modern-search.open .vitrinon-search-container,
    .modern-search.open .vitrinon-search-container .vitrinon-search-input {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
    
    /* Mobil modal açıkken form'u da gizle */
    .modern-search.open form {
        display: none !important;
    }

    /* Mobile search modal */
    .vitrinon-mobile-search-modal {
        display: flex;
        flex-direction: column;
        height: 100vh;
        width: 100%;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        animation: slideInFromTop 0.3s ease-out;
    }

    @keyframes slideInFromTop {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Mobile search header */
    .mobile-search-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .mobile-search-back {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        color: #333;
        font-size: 18px;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .mobile-search-back:hover {
        background: #f5f5f5;
    }

    .mobile-search-back:active {
        background: #e8e8e8;
        transform: scale(0.95);
    }

    .mobile-search-back i {
        color: #333;
    }

    .mobile-search-input-wrapper {
        flex: 1;
        position: relative;
        display: flex;
        align-items: center;
    }

    .mobile-search-input {
        width: 100%;
        padding: 12px 45px 12px 16px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        font-family: inherit;
        background: #f8f8f8;
        color: #333;
        outline: none;
        transition: all 0.2s ease;
    }

    .mobile-search-input:focus {
        border-color: var(--primary-color, #fc5021);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(252, 80, 33, 0.1);
    }

    .mobile-search-input::placeholder {
        color: #999;
        font-size: 16px;
    }

    .mobile-search-clear {
        position: absolute;
        right: 12px;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        color: #999;
        font-size: 14px;
        transition: all 0.2s ease;
        z-index: 5;
    }

    .mobile-search-clear:hover {
        background: #f0f0f0;
        color: #333;
    }

    /* Mobile search content */
    .mobile-search-content {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 20px 16px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .mobile-search-content::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-search-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .mobile-search-content::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 3px;
    }

    .mobile-search-content::-webkit-scrollbar-thumb:hover {
        background: #bbb;
    }

    /* Mobile popular section */
    .mobile-popular-section {
        margin-bottom: 32px;
    }

    .mobile-section-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0 0 16px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-section-title i {
        color: var(--primary-color, #fc5021);
        font-size: 14px;
    }

    .mobile-popular-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .mobile-popular-tag {
        background: #f8f8f8;
        border: 1px solid #e0e0e0;
        border-radius: 20px;
        padding: 10px 16px;
        font-size: 14px;
        color: #666;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 40px;
    }

    .mobile-popular-tag i {
        font-size: 12px;
        color: #999;
    }

    .mobile-popular-tag:hover {
        background: var(--primary-color, #fc5021);
        color: #fff;
        border-color: var(--primary-color, #fc5021);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(252, 80, 33, 0.2);
    }

    .mobile-popular-tag:hover i {
        color: #fff;
    }

    /* Mobile search history */
    .mobile-search-history-section {
        margin-top: 24px;
    }

    .mobile-section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    .mobile-clear-link {
        color: var(--primary-color, #fc5021);
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-clear-link:hover {
        text-decoration: underline;
    }

    .mobile-search-history {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-history-item {
        display: flex;
        align-items: center;
        padding: 12px;
        background: #f8f8f8;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        gap: 12px;
    }

    .mobile-history-item:hover {
        background: #f0f0f0;
    }

    .mobile-history-item i {
        color: #999;
        font-size: 14px;
        flex-shrink: 0;
    }

    .mobile-history-text {
        font-size: 14px;
        color: #333;
        flex: 1;
    }

    .mobile-history-item:hover .mobile-history-text {
        color: var(--primary-color, #fc5021);
    }

    /* Mobile search results */
    .mobile-search-results {
        display: flex;
        flex-direction: column;
        gap: 24px;
        max-height: calc(100vh - 250px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .mobile-search-results::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-search-results::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .mobile-search-results::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #fc5021, #e65a2b);
        border-radius: 3px;
    }

    .mobile-search-results::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #e65a2b, #d14a1f);
    }

    /* Mobile suggestions section */
    .mobile-suggestions-section {
        margin-bottom: 24px;
    }

    .mobile-suggestions-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-suggestion-item {
        display: flex;
        align-items: center;
        padding: 12px;
        background: #f8f8f8;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        gap: 12px;
        text-decoration: none;
        color: inherit;
    }

    .mobile-suggestion-item:hover {
        background: #f0f0f0;
        transform: translateX(4px);
    }

    .mobile-suggestion-item i {
        color: #999;
        font-size: 14px;
        flex-shrink: 0;
    }

    .mobile-suggestion-item .fa-magnifying-glass {
        color: var(--primary-color, #fc5021);
    }

    .mobile-suggestion-text {
        font-size: 14px;
        color: #333;
        flex: 1;
    }

    .mobile-suggestion-icon {
        color: #999;
        font-size: 12px;
    }

    .mobile-suggestion-item:hover .mobile-suggestion-text {
        color: var(--primary-color, #fc5021);
    }

    /* Mobile quick results section */
    .mobile-quick-results-section {
        margin-top: 24px;
    }

    .mobile-quick-results-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-quick-result-item {
        display: flex;
        align-items: center;
        padding: 12px;
        background: #f8f8f8;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        gap: 12px;
        text-decoration: none;
        color: inherit;
    }

    .mobile-quick-result-item:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .mobile-product-image {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        background: #fff;
        border: 1px solid #e0e0e0;
    }

    .mobile-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-product-info {
        flex: 1;
        min-width: 0;
    }

    .mobile-product-name {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        margin-bottom: 4px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-product-price {
        font-size: 16px;
        font-weight: 600;
        color: var(--primary-color, #fc5021);
        margin-bottom: 4px;
    }

    .mobile-product-category {
        font-size: 12px;
        color: #999;
    }

    .mobile-product-action {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-color, #fc5021);
        border-radius: 50%;
        color: #fff;
        font-size: 12px;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .mobile-quick-result-item:hover .mobile-product-action {
        background: #e65a2b;
        transform: scale(1.1);
    }

    /* Dropdown styles for mobile */
    .vitrinon-search-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        max-height: none;
        z-index: 10000;
        padding: 0;
        overflow: hidden;
    }

    .modern-search.open .vitrinon-search-dropdown {
        transform: none;
        display: block;
    }

    .vitrinon-search-overlay {
        display: none !important;
    }

    .vitrinon-dropdown-content {
        display: none;
    }

    /* Mobile no results */
    .mobile-no-results {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        text-align: center;
        color: #999;
        gap: 12px;
    }

    .mobile-no-results i {
        font-size: 32px;
        color: #ccc;
    }

    .mobile-no-results span {
        font-size: 14px;
        color: #666;
    }
}

@media (max-width: 480px) {
    .vitrinon-search-input {
        padding: 12px 45px 12px 14px;
        font-size: 14px;
    }

    .vitrinon-search-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .vitrinon-popular-tags {
        gap: 6px;
    }

    .vitrinon-popular-tag {
        padding: 4px 10px;
        font-size: 11px;
    }
}