.elementor-2637 .elementor-element.elementor-element-e43a3f8{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-2637 .elementor-element.elementor-element-063223c > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}#elementor-popup-modal-2637 .dialog-widget-content{animation-duration:1.2s;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-2637{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-2637 .dialog-message{width:100vw;height:100vh;align-items:center;}#elementor-popup-modal-2637 .dialog-close-button{display:flex;}/* Start custom CSS for dbd_ajax_search, class: .elementor-element-063223c *//* ==========================================================================
   ویجت جستجوی هوشمند و مدرن آژاکسی (Mobile Search Modal)
   ========================================================================== */
.dbd-search-modal-inner {
    direction: rtl;
    text-align: right;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 16px;
    box-sizing: border-box;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* باکس اینپوت ورودی */
.dbd-search-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 14px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.dbd-search-input-wrapper:focus-within {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.dbd-search-input-wrapper .search-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.dbd-search-input {
    width: 100%;
    height: 48px;
    border: none !important;
    background: transparent !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    outline: none !important;
    box-shadow: none !important;
}

.dbd-search-clear {
    background: #e5e7eb;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    cursor: pointer;
    flex-shrink: 0;
}

/* لودینگ اسپینر */
.dbd-search-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: dbd-search-spin 0.6s linear infinite;
    flex-shrink: 0;
}

@keyframes dbd-search-spin {
    to { transform: rotate(360deg); }
}

/* وضعیت‌های اولیه و خالی */
.dbd-search-placeholder,
.dbd-search-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
}

.dbd-search-placeholder svg {
    margin-bottom: 12px;
}

/* منطقه اسکرول نتایج */
.dbd-search-results-container {
    flex-grow: 1;
    overflow-y: auto;
    margin-top: 16px;
    padding-left: 4px;
}

.dbd-results-group {
    margin-bottom: 20px;
}

.group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f3f4f6;
}

.group-count {
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
}

/* الف) کارت‌های فروشگاه */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.store-card-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.store-card-item:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
}

.store-banner {
    width: 100%;
    height: 48px;
    object-fit: cover;
    background: #f3f4f6;
}

.store-info {
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
}

.store-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.store-name {
    font-size: 11px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ب) لیست محصولات */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.product-search-item:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.prod-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.prod-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.prod-title {
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prod-vendor {
    font-size: 10px;
    color: #6b7280;
}

.stock-tag {
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
}

.stock-tag.in-stock {
    background: #ecfdf5;
    color: #059669;
}

.stock-tag.out-stock {
    background: #fef2f2;
    color: #dc2626;
}

.prod-price {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    flex-shrink: 0;
    text-align: left;
}

.prod-price del {
    font-size: 10px;
    color: #9ca3af;
    display: block;
}

.prod-price ins {
    text-decoration: none;
}/* End custom CSS */