/* ========== Arama sayfası - Hızlı Ara paneli ========== */
.search-sidebar {
    position: sticky;
    top: 100px;
}
.search-panel {
    background: #fff;
    border: 1px solid #e8eae9;
    border-radius: 12px;
    padding: 1.35rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.search-panel h4 {
    margin: 0 0 1.1rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-panel h4 i {
    color: #059669;
    font-size: 1rem;
}
.dhg-search-tabs {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 1.15rem 0;
    background: #f8faf9;
    border-radius: 10px;
    padding: 5px;
}
.dhg-search-tabs .nav-item { margin: 0; }
.dhg-search-tabs .nav-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.dhg-search-tabs .nav-link:hover {
    color: #059669;
    background: rgba(5,150,105,0.08);
}
.dhg-search-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 2px 6px rgba(5,150,105,0.3);
}
.dhg-search-tabs .nav-link.active i {
    opacity: 1;
}
.search-panel .form-group {
    margin-bottom: 1.05rem;
}
.search-panel .form-group.filter-section-divider {
    padding-top: 0.9rem;
    margin-top: 0.5rem;
    border-top: 1px solid #f0f2f1;
}
.search-panel .form-group.filter-chip-section {
    margin-bottom: 0.85rem;
}
.search-panel .form-group.filter-chip-section label {
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
}
.search-panel label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: #374151;
    letter-spacing: 0.01em;
}
.search-panel .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-panel .form-control:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
    outline: none;
}
.search-panel .form-row {
    margin-left: -6px;
    margin-right: -6px;
}
.search-panel .form-row .form-group {
    padding: 0 6px;
}
.search-panel .form-row .form-control {
    padding: 9px 12px;
}
.search-panel select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.search-panel .btn_1.full-width {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 0.35rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(5,150,105,0.25);
    transition: opacity 0.2s, transform 0.05s;
}
.search-panel .btn_1.full-width:hover {
    opacity: 0.95;
}
.search-panel .btn_1.full-width:active {
    transform: scale(0.98);
}
.search-panel .small.text-muted {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
/* Filtre çipleri - minimal */
.search-panel .filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.search-panel .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 9px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fafbfa;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.15s ease;
}
.search-panel .filter-chip:hover {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}
.search-panel .filter-chip.selected {
    border-color: #059669;
    background: #d1fae5;
    color: #047857;
}
.search-panel .filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.sidebar-links {
    margin-top: 1rem;
}
.sidebar-links .btn_1.outline.full-width {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #059669;
    color: #059669;
    background: #fff;
    transition: all 0.2s;
}
.sidebar-links .btn_1.outline.full-width:hover {
    background: #ecfdf5;
}
.search-sidebar .cart-card {
    border: 1px solid #e8eae9;
    border-radius: 12px;
    padding: 1.15rem;
    margin-top: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.search-sidebar .cart-card h4 {
    margin: 0 0 0.85rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

/* Ürün kartları grid */
.search-results-header {
    margin-bottom: 1.5rem;
}
.search-results-header h2 {
    font-size: 1.25rem;
    margin: 0;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}
.product-card-img {
    position: relative;
    height: 165px;
    background: linear-gradient(145deg, #f8f9fa 0%, #f0f1f3 100%);
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f5f6f8 0%, #ebedf0 100%);
    color: #b8bcc4;
    font-size: 2.75rem;
}
.product-card-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.95);
    color: #374151;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.product-card-label i {
    margin-right: 4px;
    color: #2d7a3e;
    font-size: 0.75em;
}
.product-card-location {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(45,122,62,0.9);
    color: #fff;
    padding: 6px 10px;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 6px;
    letter-spacing: 0.01em;
}
.product-card-location i {
    margin-right: 5px;
    opacity: 0.95;
}
.product-promo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}
.product-card-body {
    padding: 1rem 1.15rem;
}
.product-seller-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
}
.product-seller-meta .seller-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-weight: 600;
}
.product-seller-meta .seller-rating i {
    font-size: 0.9em;
}
.product-seller-meta .seller-rating small {
    font-weight: 500;
    color: #9ca3af;
    margin-left: 1px;
}
.product-seller-meta .rating-empty {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.85em;
}
.product-seller-meta .seller-reviews {
    color: #6b7280;
    font-size: 0.85em;
}
.product-card-body h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2937;
}
.product-desc {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0 0 0.6rem 0;
    line-height: 1.45;
}
.product-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.75rem;
}
.product-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.85rem;
    padding: 6px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}
.product-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #6b7280;
}
.product-stat-item i {
    color: #9ca3af;
    font-size: 0.9em;
}
.product-stat-item.fav-count-badge i {
    color: #f472b6;
}
.product-stats .btn-favorite {
    margin-left: auto;
    padding: 4px 8px;
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}
.product-stats .btn-favorite:hover {
    color: #f472b6;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.product-price {
    color: #059669;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.product-card-footer .add_cart_form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-card-footer .cart_qty_input {
    width: 48px;
    padding: 8px 6px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}
.product-card-footer .btn_add_to_cart {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.05s;
    box-shadow: 0 2px 4px rgba(5,150,105,0.25);
}
.product-card-footer .btn_add_to_cart:hover {
    opacity: 0.95;
}
.product-card-footer .btn_add_to_cart:active {
    transform: scale(0.98);
}

.search-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}
.search-empty i {
    display: block;
    margin-bottom: 1rem;
}
.search-empty h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
