.mainProducts tr {
    cursor: pointer;
}

.zoom-container {
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    background-color: #f8f9fa;
}

.loading-skeleton {
    position: relative;
    overflow: hidden;
    background-color: #f0f2f5;
}

.loading-skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));
    animation: skeleton-pulse 2s infinite;
}

@keyframes skeleton-pulse {
    100% {
        transform: translateX(100%);
    }
}

.zoom-image {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.zoom-container:hover .zoom-image {
    transform: scale(2);
}

.select2-selection__rendered {
    font-weight: bold;
}

.productArticle {
    border: 1px solid #eef2f6 !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    background: #ffffff !important;
}

.productArticle:hover {
    border: 2px solid #9E9E9E;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06) !important;
    border-color: #dee2e6 !important;
}

.productArticle[data-stok="info"]:hover {
    border-color: #0dcaf0 !important; /* YOLDA için mavi (info) */
}

.productArticle[data-stok="danger"]:hover {
    border-color: #dc3545 !important; /* TÜKENDİ için kırmızı (danger) */
}

/* 🌟 Premium Opacity & Motion Effects for Out-of-Stock and On-The-Way Products */
.productArticle.opacity-50,
.productArticle.opacity-75 {
    opacity: 1 !important; /* Kartın kendisi ve çerçevesi opak kalsın */
}

/* Sadece görselleri, başlıkları ve fiyat kartını şeffaflaştır (Rozet ve butonlar opak kalır) */
.productArticle.opacity-50 img,
.productArticle.opacity-50 .card-title,
.productArticle.opacity-50 .rounded-3.p-2.mb-2.border {
    opacity: 0.5;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.productArticle.opacity-75 img,
.productArticle.opacity-75 .card-title,
.productArticle.opacity-75 .rounded-3.p-2.mb-2.border {
    opacity: 0.75;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Resim Zoom Efekti */
.productArticle img {
    transition: transform 0.3s ease-in-out !important;
}

/* Mouse ile üzerine gelindiğinde (Hover) tüm içeriği tekrar canlı/opak yap */
.productArticle:hover img,
.productArticle:hover .card-title,
.productArticle:hover .rounded-3.p-2.mb-2.border {
    opacity: 1 !important;
    transform: scale(1.06);
}

/* Durum rozetindeki küçük nokta simgesine sürekli bir nabız (pulsing) hareketi ver */
@keyframes status-dot-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.productArticle[data-stok="danger"] .ti-point-filled,
.productArticle[data-stok="info"] .ti-point-filled {
    display: inline-block !important;
    animation: status-dot-pulse 1.8s infinite ease-in-out;
}

/* --- Arama Filtre Alanı (Mobilde Gizle) --- */
@media (max-width: 991px) {
    #searchFilterArea {
        display: none !important;
    }
}

/* Detay Butonu Yazısı Dar Ekranlarda Gizleme */
@media (max-width: 1450px) and (min-width: 1200px) {
    .productArticle .btn-detay-text {
        display: none !important;
    }
}

@media (max-width: 1150px) and (min-width: 992px) {
    .productArticle .btn-detay-text {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .productArticle .btn-detay-text {
        display: none !important;
    }
}

/* Ürün Listesi: 1750px altı 5 sütun, üstü 6 sütun düzeni */
@media (min-width: 1400px) and (max-width: 1749.98px) {
    #urunList.row-cols-xxl-6 > * {
        flex: 0 0 auto !important;
        width: 20% !important;
    }
}

@media (min-width: 1750px) {
    #urunList.row-cols-xxl-6 > * {
        flex: 0 0 auto !important;
        width: 16.666667% !important;
    }
}

.flying-product {
    position: fixed;
    z-index: 10000;
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 10px;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.42, 0, 0.58, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    background: #fff;
}

@keyframes cart-shake {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2) rotate(10deg);
    }

    50% {
        transform: scale(1.2) rotate(-10deg);
    }

    75% {
        transform: scale(1.2) rotate(5deg);
    }

    100% {
        transform: scale(1);
    }
}

.cart-animate {
    animation: cart-shake 0.5s ease-in-out;
}

.swal2-backdrop-show,
.swal2-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.swal2-container.swal2-top-end,
.swal2-container.swal2-top-right {
    margin-top: 80px !important;
}

.swal2-popup.swal2-toast {
    padding: 8px 16px !important;
    width: auto !important;
    min-width: 250px;
    font-size: 0.85rem !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.swal2-popup.swal2-toast .swal2-icon {
    margin: 0 !important;
    transform: none !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swal2-popup.swal2-toast .swal2-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
}

.swal2-popup.swal2-toast .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: #4b5563 !important;
}

.swal2-popup.swal2-toast .swal2-actions {
    margin: 0 0 0 auto !important;
    padding: 0 !important;
}

/* Bootstrap modal performance: faster open/close for all modals */
.modal.fade {
    transition: opacity 0.08s linear !important;
}

.modal.fade .modal-dialog {
    transition: transform 0.08s ease-out !important;
}

.modal-backdrop.fade {
    transition: opacity 0.08s linear !important;
}

.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.cursor-pointer {
    cursor: pointer;
}

/* --- Premium Design System (Consolidated) --- */
:root {
    --premium-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Page Containers */
.premium-page-container {
    padding: 2rem 0;
    animation: fadeIn 0.8s ease-out;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07) !important;
}

/* Gradients */
.avatar-title-gradient {
    background: var(--premium-gradient) !important;
    color: white !important;
}

/* Form Elements */
.form-control-premium {
    background: rgba(243, 244, 246, 0.6) !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.form-control-premium:focus {
    background: #fff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
    transform: translateY(-2px);
}

/* Buttons */
.btn-premium {
    background: var(--premium-gradient) !important;
    color: white !important;
    border: none !important;
    padding: 0.8rem 2rem !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3) !important;
    color: white !important;
}

/* Map & Iframes */
.premium-map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* SweetAlert2 Premium */
.swal-premium-popup {
    border-radius: 20px !important;
    padding: 2rem !important;
}

.swal-premium-title {
    font-weight: 700 !important;
    color: #1f2937 !important;
}

.swal-premium-confirm {
    padding: 0.8rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}

/* List Items (Contact/Service) */
.premium-info-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.premium-info-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: #6366f1;
}

/* Navigation Pills */
.nav-pills-premium .nav-link {
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
    color: #4b5563;
    padding: 0.8rem 1rem;
}

.nav-pills-premium .nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.nav-pills-premium .nav-link.active {
    background: var(--premium-gradient) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Alerts */
.info-alert-premium {
    background: rgba(99, 102, 241, 0.05) !important;
    border-left: 5px solid #6366f1 !important;
    border-radius: 15px !important;
}

/* Tables (FixPower) */
.table-premium {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-premium tr {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    border-radius: 15px;
}

.table-premium tr:hover {
    transform: scale(1.01);
    background: #fdfdff;
}

.table-premium td {
    border: none;
    padding: 1rem !important;
}

.table-premium td:first-child {
    border-radius: 15px 0 0 15px;
}

.table-premium td:last-child {
    border-radius: 0 15px 15px 0;
}

.premium-battery-img {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 5px;
    background: white;
    border: 1px solid #eee;
}

/* --- End Premium Design System --- */

/* Unified Action Group (Quantity + Add to Cart) */
.premium-action-group {
    background: #fff;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.premium-action-group:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.premium-action-group .btn-light {
    background: #f8f9fa;
    color: #4b5563;
    transition: all 0.2s ease;
}

.premium-action-group .btn-light:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.premium-action-group .sepetEkleBtn {
    background: var(--premium-gradient) !important;
    border: none !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

.premium-action-group .sepetEkleBtn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}


/* Social Share Buttons (.u-btn) */
.u-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.u-btn i {
    font-size: 1.1rem;
}

.u-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    color: #fff !important;
    border-color: transparent;
}

.u-btn.s-f:hover {
    background: #1877f2;
}

.u-btn.s-w:hover {
    background: #25D366;
}

.u-btn.s-c:hover {
    background: #6c757d;
}

/* --- Siparişlerim Sayfası Stilleri --- */
.siparis-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    transition: .25s;
}

.text-xxs {
    font-size: .65rem;
}

.urun-link {
    text-decoration: none;
    color: inherit;
}

.urun-satiri {
    transition: .25s;
    border-radius: 10px;
}

.urun-link:hover .urun-satiri {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}

.urun-link:hover .siparis-img {
    transform: scale(1.05);
}

.popover {
    --bs-popover-border-color: var(--bs-primary);
    --bs-popover-header-bg: var(--bs-primary);
    --bs-popover-header-color: var(--bs-white);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.accordion-ok-simgesi {
    transition: .3s;
}

.siparis-header {
    cursor: pointer;
}

/* Payment Wizard Styles */
.btn-check:checked+.btn {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.icon-wrapper {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Cookie Consent Banner --- */
#cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 24px;
    z-index: 10050;
    display: none;
    animation: cookieSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-content {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

.cookie-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.btn-cookie-accept {
    background: var(--premium-gradient);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    color: white;
}

.btn-cookie-decline {
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-cookie-decline:hover {
    background: #e5e7eb;
    color: #374151;
}

.cookie-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--premium-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

@media (max-width: 576px) {
    #cookie-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        padding: 20px;
    }
}

/* --- Utility Animations --- */
@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.2); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.animate-pulse {
    animation: pulse-red 2s infinite;
    display: inline-block;
    border-radius: 50px;
}

/* --- Search & Typeahead Fixes --- */
.twitter-typeahead {
    width: 100% !important;
    display: block !important;
}

.tt-menu {
    width: 100%;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: 8px;
    padding: 8px 0;
}

.app-search {
    position: relative;
}

.app-search .app-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
}

@media (max-width: 991.98px) {
    .mobile-fullwidth-dropdown {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        position: fixed !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 991px) {
    .app-search {
        margin: 10px 0;
    }
    .app-topbar {
        height: auto !important;
    }
    .topbar-menu {
        padding-top: 10px;
    }
    /* Sadece header'dan sonra gelen içeriği aşağı itiyoruz */
    header.app-topbar + .container-fluid,
    header.topnav + .container-fluid,
    .wrapper {
        margin-top: 40px !important;
    }
}

/* --- Topbar Elemanları --- */
.topbar-item {
    display: flex !important;
    align-items: center !important;
    height: 40px;
}

.nav-user .dropdown,
.nav-user .topbar-link {
    height: 100%;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   SWEETALERT2 CUSTOM PREMIUM STYLING (Soft & Polite Design)
   ========================================================================== */
.swal2-popup {
    border-radius: 20px !important;
    padding: 1.75rem !important;
    font-family: inherit !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.swal2-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 0.5rem !important;
}

.swal2-html-container,
.swal2-html-container * {
    font-size: 0.925rem !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

/* Force all SweetAlert2 texts (title, body, buttons, close controls, lists, etc.) to be bold */
.swal2-container,
.swal2-container *,
.swal2-popup,
.swal2-popup * {
    font-weight: 700 !important;
}

/* Beautiful custom class for small notifications */
.swal-kucuk {
    width: 380px !important;
    border-radius: 16px !important;
    padding: 1.25rem !important;
}

/* Style the buttons to be polite and soft */
.swal2-actions {
    margin-top: 1.5rem !important;
    gap: 10px !important;
}

/* Override default sweetalert buttons globally or when using bootstrap buttons */
.swal2-popup .btn, 
.swal2-styled {
    padding: 0.55rem 1.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.2s ease-in-out !important;
    letter-spacing: 0.2px !important;
    border: none !important;
    box-shadow: none !important;
}

/* Bootstrap buttons override inside SweetAlert */
.swal2-popup .btn-primary, 
.swal2-styled.swal2-confirm {
    background: #0d6efd !important;
    color: #fff !important;
}
.swal2-popup .btn-primary:hover, 
.swal2-styled.swal2-confirm:hover {
    background: #0b5ed7 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2) !important;
}

.swal2-popup .btn-danger, 
.swal2-styled.swal2-cancel {
    background: #f8d7da !important;
    color: #842029 !important;
}
.swal2-popup .btn-danger:hover, 
.swal2-styled.swal2-cancel:hover {
    background: #f5c2c7 !important;
    color: #842029 !important;
    transform: translateY(-1px);
}

.swal2-popup .btn-secondary {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}
.swal2-popup .btn-secondary:hover {
    background: #e5e7eb !important;
    color: #1f2937 !important;
    transform: translateY(-1px);
}

/* Success and error icon adjustments to be gentler - only for modals, not toasts */
.swal2-popup:not(.swal2-toast) div:where(.swal2-icon) {
    margin: 1.25rem auto 0.75rem !important;
    transform: scale(0.85) !important;
}

/* Receipt-like breakdown design for payment validation popup */
.swal-summary-card {
    background: rgba(248, 249, 250, 0.75) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 14px !important;
    padding: 1.15rem !important;
    margin: 0.75rem 0 !important;
    text-align: left !important;
}

.swal-summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.4rem 0 !important;
    font-size: 0.9rem !important;
}

.swal-summary-row .label {
    font-weight: 500 !important;
    color: #6b7280 !important;
    display: flex !important;
    align-items: center !important;
}

.swal-summary-row .value {
    font-weight: 700 !important;
    color: #1f2937 !important;
}

.swal-summary-divider {
    height: 1px !important;
    background: rgba(0, 0, 0, 0.06) !important;
    margin: 0.4rem 0 !important;
}

.swal-summary-row.total-row {
    font-size: 1rem !important;
    padding-top: 0.4rem !important;
}

.swal-summary-row.total-row .label {
    color: #111827 !important;
    font-weight: 700 !important;
}

.swal-summary-row.total-row .value {
    font-size: 1.1rem !important;
}

/* ==========================================================================
   SELECT2 CUSTOM PREMIUM STYLING (Bootstrap 5 Alignment & Visual Fix)
   ========================================================================== */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
    position: relative !important;
}

/* If the original select has bg-light or border-0 classes */
.select2-container.bg-light .select2-selection--single {
    background-color: #f8f9fa !important;
}
.select2-container.border-0 .select2-selection--single {
    border: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #212529 !important;
    font-size: 0.875rem !important;
    padding-left: 12px !important;
    padding-right: 36px !important;
    font-weight: normal !important;
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d !important;
}

/* Hide the default ugly border-triangle */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

/* Style the arrow container to show a beautiful chevron */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute !important;
    height: 100% !important;
    top: 0 !important;
    right: 12px !important;
    width: 16px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px !important;
    transition: transform 0.2s ease-in-out !important;
}

/* Rotate the chevron when the dropdown is open */
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: rotate(180deg) !important;
}

/* Dropdown list styling */
.select2-container--default .select2-dropdown {
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05) !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    padding: 4px !important;
    z-index: 10000 !important;
}

.select2-container--default .select2-results__option {
    border-radius: 0.25rem !important;
    padding: 6px 12px !important;
    font-size: 0.875rem !important;
    color: #212529 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd !important;
    color: white !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e9ecef !important;
    color: #212529 !important;
    font-weight: 600 !important;
}

/* Tabler Icon Alignment Fixes */
.ti {
    vertical-align: middle;
    position: relative;
    top: -1px; /* Subtle adjustment to make it visually centered with surrounding text */
}

/* Flex items with icons shouldn't need top adjustment */
.d-flex .ti,
.d-inline-flex .ti,
.align-items-center .ti {
    top: 0;
}

/* ==========================================================================
   FOOTER — Sosyal Medya Butonları
   ========================================================================== */
.social-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f3f5;
    color: #555;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    color: #fff;
}

.social-btn.facebook:hover  { background: #1877f2; }
.social-btn.twitter:hover   { background: #000; }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.social-btn.youtube:hover   { background: #ff0000; }

@media (max-width: 576px) {
    .social-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

.footer-link {
    color: #8a90a2;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 12px;
}

.footer-link:hover {
    color: #fff;
}

/* ==========================================================================
   ÇEREZ BANNER — Banner, Yüzen Buton, Switch
   ========================================================================== */
.cerez-banner {
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08) !important;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

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

#cerezYuzenTetikleyici {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

#cerezYuzenTetikleyici:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

#cerezYuzenTetikleyici:hover i {
    color: #0d6efd !important;
}

.cerez-grup .form-check-input {
    cursor: pointer;
}

.cerez-grup .form-check-input:focus {
    box-shadow: none;
}

/* ==========================================================================
   MÜŞTERİ HESAP SAYFALARI (PROFİL, HAREKETLERİM, SİPARİŞLERİM)
   ========================================================================== */

/* ── Genel Kartlar & Formlar ── */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card {
    transition: all 0.2s ease;
    border: 1px solid #edf2f9;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: #0d6efd;
    font-weight: 600;
}

.btn-soft-primary {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border: none;
}

.btn-soft-primary:hover {
    background-color: #0d6efd;
    color: #fff;
}

.btn-soft-dark {
    background-color: rgba(33, 37, 41, 0.1);
    color: #212529;
    border: none;
}

.btn-soft-dark:hover {
    background-color: #212529;
    color: #fff;
}

.is-invalid {
    animation: shake 0.2s;
    border-color: #dc3545 !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
}

.bg-gray {
    background-color: #f8f9fa !important;
    opacity: 0.8;
}

.swal-kucuk {
    width: 300px !important;
    padding: 1rem !important;
}

/* ── Liste Satırları (Sipariş & Hareket) ── */
.hareket-satiri, .siparis-satiri {
    border-left: 4px solid #eee;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    animation: fadeInUp 0.2s ease both;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.hareket-satiri:hover, .siparis-satiri:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.hareket-satiri:active, .siparis-satiri:active {
    transform: scale(0.98);
    background-color: #f8f9fa;
}

.border-left-success { border-left-color: #198754 !important; }
.border-left-danger { border-left-color: #dc3545 !important; }
.border-left-primary { border-left-color: #0d6efd !important; }
.border-left-warning { border-left-color: #ffc107 !important; }
.border-left-info { border-left-color: #0dcaf0 !important; }
.border-left-secondary { border-left-color: #6c757d !important; }

/* ── Filtre Şeridi (Yatay Kaydırılabilir) ── */
.filtre-kaydirma-alani {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    margin-bottom: -8px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filtre-kaydirma-alani::-webkit-scrollbar {
    display: none;
}

.filtre-chip {
    flex: 0 0 auto;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #f0f0f0;
    background: #fff;
    color: #6c757d;
    transition: all 0.2s ease;
}

.filtre-chip:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

.filtre-chip.active {
    color: #fff !important;
    border-color: transparent !important;
    background-color: #0d6efd;
}

.filtre-chip[data-tip="satis"].active { background-color: #198754 !important; }
.filtre-chip[data-tip="iade"].active { background-color: #dc3545 !important; }
.filtre-chip[data-tip="odeme"].active { background-color: #0d6efd !important; }
.filtre-chip[data-tip="virman"].active { background-color: #6c757d !important; }
.filtre-chip[data-tip="prim"].active { background-color: #6c757d !important; }

.filtre-chip[data-tip=""].active { background: linear-gradient(135deg, #0d6efd 0%, #00d2ff 100%); }
.filtre-chip[data-tip="satis"].active { background: linear-gradient(135deg, #198754 0%, #20c997 100%); }
.filtre-chip[data-tip="odeme"].active { background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%); }
.filtre-chip[data-tip="iade"].active { background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%); }
.filtre-chip[data-tip="virman"].active { background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%); }

@media (max-width: 767.98px) {
    .filtre-kaydirma-alani { gap: 6px; }
    .filtre-chip { padding: 5px 14px; font-size: 0.75rem; }
}

/* ── Bakiye Kartları ── */
.bakiye-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .bakiye-grid.has-3 { grid-template-columns: 1.2fr 1fr 1fr; }
    .bakiye-grid.has-2 { grid-template-columns: 1fr 1fr; }
}

.bakiye-kart {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
}

.bakiye-kart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    border-color: #dee2e6;
}

.bakiye-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.bakiye-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bakiye-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.bakiye-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* ── Başlıklar & Etiketler ── */
.tarih-baslik {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #edf2f9;
}

.urun-toggle {
    cursor: pointer;
}

.urun-miktar-badge {
    font-size: 0.55rem;
    padding: 0.08em 0.2em;
    z-index: 2;
    font-weight: 700;
    line-height: 1;
}

.siparis-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}

/* ── Mobil Layout ── */
.hareket-sol-kolon {
    min-width: 100px;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .hareket-sol-kolon, .siparis-sol-kolon {
        min-width: 70px !important;
        font-size: 0.85rem;
    }
    .hareket-satiri .badge, .siparis-satiri .badge {
        min-width: 90px !important;
        font-size: 0.65rem;
        padding: 4px 2px !important;
    }
    .tutar-rakam {
        font-size: 0.95rem;
    }
    .urun-miktar-badge {
        font-size: 0.42rem;
        padding: 0.05em 0.12em;
        transform: translate(-50%, -50%) scale(0.85);
    }
}

/* ── Yükleme (Skeleton) ── */
.skeleton-satir {
    height: 72px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
    border-radius: 4px;
    margin-bottom: 4px;
}

.siparis-satiri ~ .skeleton-satir {
    height: 80px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}