/* ============================================
   GENEL BUTONLAR VE BİLDİRİMLER
   Sadeleştirilmiş ve Optimize Edilmiş Versiyon
   ============================================ */

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface);
}

/* ============================================
   BUTTON LOADING STATE
   ============================================ */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    top: 50%;
    left: 50%;
    margin-left: -7px;
    margin-top: -7px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   BUTTONS - GLOBAL
   ============================================ */

.tti-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.tti-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-alpha-30);
}

.tti-btn-submit:active {
    transform: translateY(0);
}

.tti-btn-submit.security {
    background: var(--gradient-warning);
}

.tti-btn-submit.security:hover {
    box-shadow: 0 4px 12px var(--warning-alpha-30);
}

.tti-btn-submit i {
    font-size: 16px;
}

/* Loading State */
.tti-btn-submit.loading {
    color: transparent;
    pointer-events: none;
}

.tti-btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-remove-cart {
    background: none;
    border: none;
    color: var(--critical);
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
}

.btn-remove-cart:hover {
    background: var(--critical-alpha-10);
    transform: scale(1.1);
}

.btn-remove-cart .icon-close {
    font-size: 14px;
}

.tti-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
}

.tti-btn-primary,
.btn-outline-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px var(--primary-alpha-30);
}

.tti-btn-primary:hover,
.btn-outline-primary:hover {
    background: var(--main);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--primary-alpha-40);
    color: var(--white);
}

.tti-btn-secondary {
    background: var(--white);
    color: var(--main);
    border: 2px solid var(--line);
}

.tti-btn-secondary:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
}

.tti-btn-small {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 6px;
}

.tti-btn-outline-primary {
    background: var(--white) !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    box-shadow: none;
}

.tti-btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

.tti-btn-outline-secondary {
    background: var(--white);
    color: var(--secondary);
    border: 2px solid var(--line);
}

.tti-btn-outline-secondary:hover {
    background: var(--surface);
    border-color: var(--main);
    color: var(--main);
}

/* ============================================
   MİNİ SOSYAL KANIT - KAYAN MESAJLAR
   ============================================ */
.product-social-proof-mini-container {
    position: relative;
    min-height: 18px;
    overflow: hidden;
}

.product-social-proof-mini {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 0px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--main);
    line-height: 1;
    white-space: nowrap;
    animation: miniSlideInUp 0.5s ease-out;
}

.product-social-proof-mini.slide-out {
    animation: miniSlideOutUp 0.5s ease-in;
}

.product-social-proof-mini i {
    font-size: 12px;
    color: var(--primary);
    flex-shrink: 0;
    animation: miniIconPulse 2s ease-in-out infinite;
}

/* Animasyonlar */
@keyframes miniIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes miniSlideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes miniSlideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Icon renklerine göre özelleştirme */
.product-social-proof-mini .fa-shopping-cart {
    color: var(--success);
}

.product-social-proof-mini .fa-users {
    color: var(--blue);
}

.product-social-proof-mini .fa-fire {
    color: var(--warning);
}

.product-social-proof-mini .fa-star {
    color: var(--warning);
}

.product-social-proof-mini .fa-heart {
    color: var(--pink);
}

/* ============================================
   TOAST BİLDİRİMLER - SOL ALT (DESKTOP)
   ============================================ */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    min-width: 320px;
    max-width: 420px;
    z-index: 99999;
    animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-notification.removing {
    animation: slideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-450px);
    }
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.toast-success {
    border-left-color: var(--success);
}

.toast-success .toast-icon {
    background: var(--success-alpha-10);
    color: var(--success);
}

.toast-error {
    border-left-color: var(--critical);
}

.toast-error .toast-icon {
    background: var(--critical-alpha-10);
    color: var(--critical);
}

.toast-warning {
    border-left-color: var(--warning);
}

.toast-warning .toast-icon {
    background: var(--warning-alpha-10);
    color: var(--warning);
}

.toast-info {
    border-left-color: var(--blue);
}

.toast-info .toast-icon {
    background: rgba(12, 116, 214, 0.1);
    color: var(--blue);
}

.toast-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--main);
    line-height: 1.5;
}

/* ============================================
   MİNİMAL PAGE HEADER
   ============================================ */
.minimal-page-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}

.mini-breadcrumb {
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.mini-breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.mini-breadcrumb a:hover {
    color: var(--primary);
}

.mini-breadcrumb span {
    margin: 0 8px;
    color: var(--line);
}

.mini-breadcrumb .current {
    color: var(--main);
    font-weight: 600;
}

.page-title-minimal {
    font-size: 24px;
    font-weight: 700;
    color: var(--main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title-minimal i {
    color: var(--primary);
    font-size: 22px;
}

.count-box-minimal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--line);
}

.count-label,
.count-text {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 500;
}

.count-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    background-color: var(--white);
}

/* ============================================
   RESPONSIVE - MOBİL
   ============================================ */
@media (max-width: 767px) {
    .card-product .wishlist {
        display: flex !important;
    }

    /* Mini Sosyal Kanıt */
    .product-social-proof-mini-container {
        min-height: 16px;
    }

    .product-social-proof-mini {
        font-size: 12px;
        padding: 2px 6px;
    }

    .product-social-proof-mini i {
        font-size: 12px;
    }

    /* Grid Layout Mobile */
    .tf-grid-layout.tf-col-2,
    .tf-grid-layout.tf-col-3,
    .tf-grid-layout.tf-col-4,
    .tf-grid-layout.tf-col-6,
    .tf-grid-layout.tf-col-8,
    .tf-grid-layout.lg-col-3,
    .tf-grid-layout.xl-col-3 {
        max-width: 100%;
        overflow-x: hidden;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Toast Notification - MOBİLDE ÜSTTE */
    .toast-notification {
        top: 80px; /* Header altında */
        bottom: auto; /* Alt pozisyonu kaldır */
        left: 16px;
        right: 16px;
        min-width: auto;
        max-width: calc(100vw - 32px);
        width: calc(100vw - 32px);
        animation: slideInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 14px 18px;
    }

    .toast-notification.removing {
        animation: slideOutUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    /* Mobil için yukarıdan gelen animasyon */
    @keyframes slideInDown {
        from {
            transform: translateY(-100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Mobil için yukarı çıkan animasyon */
    @keyframes slideOutUp {
        to {
            opacity: 0;
            transform: translateY(-100px);
        }
    }

    .toast-message {
        font-size: 13px;
    }

    .toast-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    /* Page Header */
    .minimal-page-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .page-title-minimal {
        font-size: 20px;
    }

    .count-box-minimal {
        width: 100%;
        justify-content: center;
    }
}

/* BOŞ SEPET MESAJI DÜZELTMESİ */
.empty-cart-message {
    text-align: center;
    padding: 60px 30px;
}

.empty-cart-message .empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--surface), var(--line-alpha-30));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px dashed var(--line);
}

.empty-cart-message .empty-icon i {
    font-size: 40px;
    color: var(--secondary-2);
}

.empty-cart-message h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 10px;
}

.empty-cart-message p {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 24px;
}

/* ============================================
   ÜRÜN KARTLARI - VARYANT SEÇİCİ
   ============================================ */

.card-product .tf-sw-variants {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    touch-action: pan-x;
    position: relative;
}

.card-product .tf-sw-variants::before,
.card-product .tf-sw-variants::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.9;
}

.card-product .tf-sw-variants::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.card-product .tf-sw-variants::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.card-product .tf-sw-variants .swiper-wrapper {
    align-items: center;
}

.card-product .tf-sw-variants .swiper-slide {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-right: 6px !important;
}

.card-product .tf-sw-variants .swiper-slide:last-child {
    margin-right: 0 !important;
}

.card-product .tf-sw-variants .variant-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    color: var(--secondary);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}

.card-product .tf-sw-variants .variant-item:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-product .tf-sw-variants .variant-item.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-alpha-20);
}

.card-product .tf-sw-variants .variant-item.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    pointer-events: none;
}

.card-product .card-product-info {
    overflow: hidden;
}

/* Responsive Ayarlar */
@media (max-width: 767px) {
    .card-product .tf-sw-variants .variant-item {
        height: 28px;
        padding: 0 8px;
        font-size: 13px;
        max-width: 100px;
    }
}

@media (max-width: 575px) {
    .card-product .tf-sw-variants .variant-item {
        height: 26px;
        padding: 0 7px;
        font-size: 13px;
        max-width: 90px;
    }
}


.product-price-value {
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
      MODAL HEADER - BELİRGİN VE ESTETİK
      ============================================ */
.modal-header {
    background: linear-gradient(135deg, var(--white) 0%, var(--surface) 100%);
    border-bottom: 2px solid var(--line);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modal-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.modal-header .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header .icon-bag2 {
    font-size: 24px;
    color: var(--primary);
}

.modal-header .modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

/* ✅ COUNT BADGE - HEADER İÇİNDE */
.modal-header .cart-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 2px 6px var(--primary-alpha-30);
    animation: fadeInScale 0.3s ease;
}

.modal-header .cart-count-badge.updated {
    animation: pulse-badge 0.6s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 3px 10px var(--primary-alpha-40);
    }
}

/* CLOSE BUTTON */
.modal-header .btn-close-modal {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.modal-header .btn-close-modal:hover {
    background: var(--critical-alpha-10);
    border-color: var(--critical);
    transform: rotate(90deg);
}

.modal-header .btn-close-modal .icon-close {
    font-size: 14px;
    color: var(--main);
}

.modal-header .btn-close-modal:hover .icon-close {
    color: var(--critical);
}

/* ============================================
   OFFCANVAS HEADER - BELİRGİN VE ESTETİK
   ============================================ */
.offcanvas-header {
    background: linear-gradient(135deg, var(--white) 0%, var(--surface) 100%);
    border-bottom: 2px solid var(--line);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.offcanvas-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.offcanvas-header .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offcanvas-header .icon-bag2,
.offcanvas-header .icon-heart,
.offcanvas-header .icon-gitDiff {
    font-size: 24px;
    color: var(--primary);
}

.offcanvas-header .offcanvas-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--main);
    margin: 0;
    line-height: 1;
}

/* ✅ COUNT BADGE - OFFCANVAS HEADER */
.offcanvas-header .cart-count-badge,
.offcanvas-header .wishlist-count-badge,
.offcanvas-header .compare-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 2px 6px var(--primary-alpha-30);
    animation: fadeInScale 0.3s ease;
}

.offcanvas-header .wishlist-count-badge {
    background: linear-gradient(135deg, var(--critical) 0%, #d63031 100%);
    box-shadow: 0 2px 6px var(--critical-alpha-30);
}

.offcanvas-header .compare-count-badge {
    background: linear-gradient(135deg, var(--blue) 0%, #0984e3 100%);
    box-shadow: 0 2px 6px rgba(12, 116, 214, 0.3);
}

/* CLOSE BUTTON - OFFCANVAS */
.offcanvas-header .btn-close-offcanvas {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.offcanvas-header .btn-close-offcanvas:hover {
    background: var(--critical-alpha-10);
    border-color: var(--critical);
    transform: rotate(90deg);
}

.offcanvas-header .btn-close-offcanvas .icon-close {
    font-size: 14px;
    color: var(--main);
}

.offcanvas-header .btn-close-offcanvas:hover .icon-close {
    color: var(--critical);
}

/* ============================================
   MODAL BACKDROP - DAHA KOYU
   ============================================ */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-backdrop.show {
    opacity: 0.6;
}

/* OFFCANVAS BACKDROP */
.offcanvas-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}

.offcanvas-backdrop.show {
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .modal-header,
    .offcanvas-header {
        padding: 14px 16px;
    }

    .modal-header .icon-bag2,
    .offcanvas-header .icon-bag2,
    .offcanvas-header .icon-heart,
    .offcanvas-header .icon-gitDiff {
        font-size: 20px;
    }

    .modal-header .modal-title,
    .offcanvas-header .offcanvas-title {
        font-size: 16px;
    }

    .modal-header .cart-count-badge,
    .offcanvas-header .cart-count-badge,
    .offcanvas-header .wishlist-count-badge,
    .offcanvas-header .compare-count-badge {
        min-width: 22px;
        height: 22px;
        font-size: 11px;
        padding: 0 6px;
    }

    .modal-header .btn-close-modal,
    .offcanvas-header .btn-close-offcanvas {
        width: 32px;
        height: 32px;
    }

    .modal-header .btn-close-modal .icon-close,
    .offcanvas-header .btn-close-offcanvas .icon-close {
        font-size: 12px;
    }
}

/* ============================================
   BADGE UPDATE ANIMATION
   ============================================ */
.cart-count-badge.updated,
.wishlist-count-badge.updated,
.compare-count-badge.updated {
    animation: pulse-badge 0.6s ease;
}

/* ============================================
 ULTRA COMPACT SEPET TASARIMI - DİNAMİK RENKLER
 ============================================ */
.cart-item-compact {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: background 0.2s ease;
    min-height: 88px;
}

.cart-item-compact:hover {
    background: var(--surface);
}

.cart-item-compact:last-child {
    border-bottom: none;
}

/* GÖRSEL - BÜYÜTÜLMÜŞ */
.cart-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    position: relative;
    flex-shrink: 0;
    display: block;
}

.cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-compact:hover .cart-image img {
    transform: scale(1.08);
}

/* BODY - İKİ SATIRLI */
.cart-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* INFO - İLK SATIR */
.cart-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding-right: 28px;
}

/* ÜRÜN ADI - BÜYÜTÜLMÜŞ */
.cart-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--main);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.cart-title:hover {
    color: var(--primary);
}


/* ============================================
CART META - VARYANT VE KAMPANYA
============================================ */

.cart-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 3px;
    font-size: 10px;
}

/* Varyant Badge */
.cart-meta .variant-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 9px;
    color: var(--secondary);
}

.cart-meta .variant-badge i {
    font-size: 8px;
}

/* Kampanya Badge */
.cart-meta .campaign-highlight {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
}

.cart-meta .campaign-highlight i {
    font-size: 8px;
}

/* Yeşil - Standart Çoklu İndirim */
.campaign-highlight.campaign-standard {
    background: var(--success-alpha-10);
    color: var(--success);
    border: 1px solid var(--success-alpha-20);
    animation: pulseGreen 2.5s ease-in-out infinite;
}

/* Turuncu - X Al Y Öde */
.campaign-highlight.campaign-xaly {
    background: var(--orange-alpha-10);
    color: var(--orange);
    border: 1px solid var(--orange-alpha-20);
    animation: pulseOrange 2.5s ease-in-out infinite;
}

/* Primary - 2. Ürün Sabit Fiyat */
.campaign-highlight.campaign-second {
    background: var(--primary-alpha-10);
    color: var(--primary);
    border: 1px solid var(--primary-alpha-20);
    animation: pulsePrimary 2.5s ease-in-out infinite;
}

/* Pulse Animasyonları */
@keyframes pulseGreen {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--success-alpha-30);
    }
    50% {
        box-shadow: 0 0 0 3px var(--success-alpha-8);
    }
}

@keyframes pulseOrange {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--orange-alpha-30);
    }
    50% {
        box-shadow: 0 0 0 3px var(--orange-alpha-8);
    }
}

@keyframes pulsePrimary {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--primary-alpha-30);
    }
    50% {
        box-shadow: 0 0 0 3px var(--primary-alpha-8);
    }
}

/* Mobil */
@media (max-width: 767px) {
    .cart-meta {
        font-size: 9px;
        gap: 4px;
    }

    .cart-meta .variant-badge,
    .cart-meta .campaign-highlight {
        font-size: 8px;
        padding: 1px 3px;
    }

    .cart-meta .variant-badge i,
    .cart-meta .campaign-highlight i {
        font-size: 7px;
    }
}

/* Animasyon İptal */
@media (prefers-reduced-motion: reduce) {
    .campaign-highlight {
        animation: none;
    }
}

/* ACTIONS - İKİNCİ SATIR (YAN YANA) */
.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* MİKTAR SEÇİCİ */
.qty-selector {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    height: 32px;
    background: var(--white);
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--white);
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    border-radius: 0;
}

.qty-selector .qty-btn:first-child {
    border-radius: 5px 0 0 5px;
}

.qty-selector .qty-btn:last-child {
    border-radius: 0 5px 5px 0;
}

.qty-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    z-index: 1;
}

.qty-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: var(--surface);
}

.qty-value {
    min-width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--main);
    background: var(--surface);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 0 6px;
}

.qty-fixed {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    padding: 5px 12px;
    background: var(--surface);
    border-radius: 6px;
    border: 1px solid var(--line);
}

/* FİYAT GRUBU */
.cart-price-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.price-main {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ÜSTÜ ÇİZİLİ FİYAT */
.price-old {
    font-size: 11px;
    color: var(--secondary-2);
    text-decoration: line-through;
    font-weight: 500;
}

/* YENİ FİYAT */
.price-new {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

/* TOPLAM FİYAT */
.price-total {
    font-size: 16px;
    font-weight: 800;
    color: var(--main);
    line-height: 1;
}

.price-total small {
    font-size: 12px;
    font-weight: 600;
    margin-left: 1px;
}

.cart-gift {
    font-size: 13px;
    font-weight: 700;
    color: var(--success);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: var(--success-alpha-10);
    border-radius: 6px;
    border: 1px solid var(--success-alpha-20);
}

/* SİL BUTONU */
.cart-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--critical-alpha-8);
    border: 1px solid var(--critical-alpha-15);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    color: var(--critical);
    z-index: 10;
}

.cart-remove:hover {
    background: var(--critical);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--critical);
}

.cart-remove i {
    font-size: 9px;
}

/* ============================================
   ÖZET BÖLÜMÜ
   ============================================ */
.modal-cart-summary {
    background: var(--surface);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
}

.modal-cart-summary .summary-row.summary-discount {
    background: transparent;
    border: none;
    padding: 5px 8px;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px dashed var(--line);
}

.modal-cart-summary .summary-row.summary-discount:last-of-type {
    border-bottom: none;
}

/* ============================================
   GENEL TOPLAM - BELİRGİN
   ============================================ */

.modal-cart-summary .summary-total {
    margin-top: 5px;
    padding: 8px 10px !important;
    background: linear-gradient(135deg, var(--primary-alpha-8), var(--primary-alpha-5)) !important;
    border-radius: 6px !important;
    border: 1px solid var(--primary-alpha-20) !important;
}

.modal-cart-summary .summary-total .summary-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--main) !important;
}

.modal-cart-summary .summary-total .summary-value {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
}

.modal-cart-summary .summary-row.summary-discount .summary-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.modal-cart-summary .summary-row.summary-discount .summary-label i {
    font-size: 12px;
}

.modal-cart-summary .summary-row.summary-discount .summary-value {
    font-size: 13px;
    font-weight: 700;
}

/* Hover efekti */
.modal-cart-summary .summary-row.summary-discount:hover {
    background: var(--surface);
    border-radius: 5px;
}

/* Summary label renkleri */
.summary-label.campaign-label-standard i {
    color: var(--success);
}

.summary-label.campaign-label-xaly i {
    color: var(--kampanya-turuncu);
}

.summary-label.campaign-label-second i {
    color: var(--primary);
}

/* Kampanya değeri renkleri */
.modal-cart-summary .summary-row.summary-discount .summary-value {
    font-weight: 800;
    color: var(--success);
}

.modal-cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    font-size: 12px;
}

.modal-cart-summary .summary-row:not(:last-child) {
    border-bottom: 1px dashed var(--line);
}

.modal-cart-summary .summary-label {
    color: var(--secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-cart-summary .summary-label i {
    font-size: 10px;
}

.modal-cart-summary .summary-value {
    color: var(--main);
    font-weight: 600;
    font-size: 13px;
}

.modal-cart-summary .summary-total {
    margin-top: 3px;
    padding: 8px 10px;
    background: linear-gradient(135deg, var(--primary-alpha-8), var(--primary-alpha-5));
    border-radius: 6px;
    border: 1px solid var(--primary-alpha-20);
}

.modal-cart-summary .summary-total .summary-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--main);
}

.modal-cart-summary .summary-total .summary-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

/* İndirim Satırı */
.modal-cart-summary .summary-row.summary-discount {
    background: linear-gradient(135deg, var(--success-alpha-8), var(--success-alpha-5));
    border-radius: 5px;
    padding: 5px 8px;
    margin: 3px 0;
    border: 1px solid var(--success-alpha-20);
}

.modal-cart-summary .summary-row.summary-discount .summary-label {
    color: var(--success);
    font-weight: 600;
    font-size: 12px;
}

.modal-cart-summary .summary-row.summary-discount .summary-value {
    color: var(--success);
    font-weight: 700;
    font-size: 13px;
}

/* ============================================
   KAMPANYA BANNER
   ============================================ */
.campaign-info-banner {
    background: linear-gradient(135deg, var(--primary-alpha-8), var(--primary-alpha-5));
    border: 1px solid var(--primary-alpha-20);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.campaign-info-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
}

.campaign-info-banner:hover {
    background: linear-gradient(135deg, var(--primary-alpha-15), var(--primary-alpha-8));
    transform: translateX(2px);
}

.campaign-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px var(--primary-alpha-30);
}

.campaign-icon i {
    font-size: 18px;
    color: var(--white);
}

.campaign-content {
    flex: 1;
    min-width: 0;
}

.campaign-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: -5px;
}

.campaign-badge {
    background: var(--primary);
    color: var(--white);
    padding: 2px 7px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.campaign-text {
    font-size: 11px;
    color: var(--secondary);
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.campaign-arrow {
    font-size: 13px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.campaign-info-banner:hover .campaign-arrow {
    transform: translateX(3px);
}

/* ============================================
   BOŞ SEPET
   ============================================ */
.empty-cart-message {
    text-align: center;
    padding: 60px 30px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--surface), var(--line));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--line);
}

.empty-icon i {
    font-size: 36px;
    color: var(--secondary-2);
}

.empty-cart-message h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 10px;
}

.empty-cart-message p {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 24px;
}

.empty-cart-message .btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 7px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 3px 10px var(--primary-alpha-30);
}

.empty-cart-message .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px var(--primary-alpha-40);
}

/* ============================================
   SCROLL OPTİMİZASYONU
   ============================================ */
.tf-mini-cart-sroll {
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
}

.tf-mini-cart-sroll::-webkit-scrollbar {
    width: 4px;
}

.tf-mini-cart-sroll::-webkit-scrollbar-track {
    background: transparent;
}

.tf-mini-cart-sroll::-webkit-scrollbar-thumb {
    background: var(--secondary-2);
    border-radius: 2px;
}

.tf-mini-cart-sroll::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ============================================
   BUTONLAR
   ============================================ */
.tf-mini-cart-view-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.tf-mini-cart-bottom .tf-btn {
    padding: 11px 16px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.tf-mini-cart-bottom .btn-fill {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 3px 10px var(--primary-alpha-30);
}

.tf-mini-cart-bottom .btn-fill:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px var(--primary-alpha-40);
}

.tf-mini-cart-bottom .btn-white {
    background: var(--white);
    color: var(--main);
    border: 1.5px solid var(--line);
}

.tf-mini-cart-bottom .btn-white:hover {
    border-color: var(--primary);
    background: var(--primary-alpha-5);
}

.tf-mini-cart-bottom .link {
    font-size: 11px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
}

.tf-mini-cart-bottom .link:hover {
    color: var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .cart-item-compact {
        grid-template-columns: 56px 1fr;
        gap: 10px;
        padding: 10px;
        min-height: 80px;
    }

    .cart-image {
        width: 56px;
        height: 56px;
    }

    .cart-title {
        font-size: 13px;
    }

    .cart-meta {
        font-size: 10px;
    }

    .qty-selector {
        height: 30px;
    }

    .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .qty-value {
        min-width: 34px;
        height: 30px;
        font-size: 12px;
    }

    .price-new {
        font-size: 13px;
    }

    .price-total {
        font-size: 15px;
    }

    .price-old {
        font-size: 10px;
    }

    .campaign-info-banner {
        padding: 8px 10px;
        margin-bottom: 8px;
    }

    .campaign-icon {
        width: 32px;
        height: 32px;
    }

    .campaign-icon i {
        font-size: 16px;
    }

    .campaign-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .campaign-text {
        font-size: 10px;
    }

    .modal-cart-summary {
        padding: 8px 10px;
        margin-bottom: 10px;
    }

    .modal-cart-summary .summary-row {
        font-size: 11px;
        padding: 4px 0;
    }

    .modal-cart-summary .summary-total {
        padding: 7px 8px;
    }

    .modal-cart-summary .summary-total .summary-label {
        font-size: 12px;
    }

    .modal-cart-summary .summary-total .summary-value {
        font-size: 15px;
    }

    .tf-mini-cart-view-checkout {
        gap: 6px;
    }

    .tf-mini-cart-bottom .tf-btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .cart-remove {
        width: 20px;
        height: 20px;
        top: 8px;
        right: 8px;
    }

    .cart-remove i {
        font-size: 8px;
    }

    .cart-meta .campaign-highlight {
        font-size: 10px;
        padding: 1px 5px;
    }

    .summary-label i {
        font-size: 11px;
    }
}

/* ============================================
   ANIMASYONLAR
   ============================================ */
.cart-item-compact.removing {
    animation: slideOutLeft 0.3s ease forwards;
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-15px);
    }
}

.cart-item-compact.adding {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.cart-remove:focus-visible,
.qty-btn:focus-visible,
.tf-mini-cart-bottom .tf-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================
   FAVORİ MODAL - SEPET GİBİ KOMPAKT TASARIM
   ============================================ */

/* FAVORİ MODAL HEADER */
#wishlist .header {
    background: linear-gradient(135deg, var(--white) 0%, var(--surface) 100%);
    border-bottom: 2px solid var(--line);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#wishlist .header .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#wishlist .header .title::before {
    content: '❤️';
    font-size: 20px;
}

#wishlist .icon-close-popup {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

#wishlist .icon-close-popup:hover {
    background: var(--critical-alpha-10);
    border-color: var(--critical);
    color: var(--critical);
    transform: rotate(90deg);
}

/* ============================================
   FAVORİ ÜRÜN SATIRI - KOMPAKT TASARIM
   ============================================ */
.wishlist-item-compact {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: background 0.2s ease;
    min-height: 88px;
}

.wishlist-item-compact:hover {
    background: var(--surface);
}

.wishlist-item-compact:last-child {
    border-bottom: none;
}

/* GÖRSEL */
.wishlist-item-compact .wishlist-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    position: relative;
    flex-shrink: 0;
    display: block;
}

.wishlist-item-compact .wishlist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-item-compact:hover .wishlist-image img {
    transform: scale(1.08);
}

/* BODY */
.wishlist-item-compact .wishlist-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding-right: 28px;
}

/* ÜRÜN BİLGİSİ */
.wishlist-item-compact .wishlist-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wishlist-item-compact .wishlist-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--main);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.wishlist-item-compact .wishlist-title:hover {
    color: var(--primary);
}

/* VARYANT BİLGİSİ */
.wishlist-item-compact .wishlist-variant {
    font-size: 11px;
    color: var(--secondary);
    font-weight: 500;
}

/* STOK UYARISI */
.wishlist-item-compact .stock-warning {
    font-size: 11px;
    color: var(--critical);
    font-weight: 600;
    background: var(--critical-alpha-8);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
}

/* ACTIONS */
.wishlist-item-compact .wishlist-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

/* BUTONLAR */
.wishlist-item-compact .wishlist-btn-group {
    display: flex;
    gap: 6px;
}

.wishlist-item-compact .btn-wishlist {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--main);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.wishlist-item-compact .btn-wishlist.primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.wishlist-item-compact .btn-wishlist.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px var(--primary-alpha-30);
}

.wishlist-item-compact .btn-wishlist:not(.primary):hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-alpha-5);
}

.wishlist-item-compact .btn-wishlist:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--surface);
    color: var(--primary)
}

/* FİYAT */
.wishlist-item-compact .wishlist-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.wishlist-item-compact .wishlist-price small {
    font-size: 12px;
    margin-left: 1px;
}

/* SİL BUTONU */
.wishlist-item-compact .wishlist-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--critical-alpha-8);
    border: 1px solid var(--critical-alpha-15);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    color: var(--critical);
    z-index: 10;
}

.wishlist-item-compact .wishlist-remove:hover {
    background: var(--critical);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--critical);
}

.wishlist-item-compact .wishlist-remove i {
    font-size: 9px;
}

/* ============================================
   BOŞ FAVORİ
   ============================================ */
.empty-wishlist-message {
    text-align: center;
    padding: 60px 30px;
}

.empty-wishlist-message .empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--critical-alpha-8), var(--critical-alpha-5));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--critical-alpha-20);
}

.empty-wishlist-message .empty-icon i {
    font-size: 36px;
    color: var(--critical);
}

.empty-wishlist-message h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 10px;
}

.empty-wishlist-message p {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 24px;
}

.empty-wishlist-message .btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 7px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 3px 10px var(--primary-alpha-30);
}

.empty-wishlist-message .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px var(--primary-alpha-40);
}

/* ============================================
   FAVORİ BOTTOM BUTTONS
   ============================================ */
#wishlist .tf-mini-cart-bottom {
    padding: 16px;
    border-top: 2px solid var(--line);
    background: var(--surface);
}

#wishlist .view-all-wishlist {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 7px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    box-shadow: 0 3px 10px var(--primary-alpha-30);
    display: block;
    margin-bottom: 10px;
}

#wishlist .view-all-wishlist:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px var(--primary-alpha-40);
}

#wishlist .text-btn-uppercase {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

#wishlist .text-btn-uppercase:hover {
    color: var(--primary);
}

/* ============================================
   SCROLL OPTİMİZASYONU
   ============================================ */
#wishlist .tf-mini-cart-sroll {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
}

#wishlist .tf-mini-cart-sroll::-webkit-scrollbar {
    width: 4px;
}

#wishlist .tf-mini-cart-sroll::-webkit-scrollbar-track {
    background: transparent;
}

#wishlist .tf-mini-cart-sroll::-webkit-scrollbar-thumb {
    background: var(--secondary-2);
    border-radius: 2px;
}

#wishlist .tf-mini-cart-sroll::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ============================================
   ANIMASYONLAR
   ============================================ */
.wishlist-item-compact.removing {
    animation: slideOutLeft 0.3s ease forwards;
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-15px);
    }
}

.wishlist-item-compact.adding {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    #wishlist .header {
        padding: 14px 16px;
    }

    #wishlist .header .title {
        font-size: 16px;
    }

    #wishlist .icon-close-popup {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .wishlist-item-compact {
        grid-template-columns: 56px 1fr;
        gap: 10px;
        padding: 10px;
        min-height: 80px;
    }

    .wishlist-item-compact .wishlist-image {
        width: 56px;
        height: 56px;
    }

    .wishlist-item-compact .wishlist-title {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }

    .wishlist-item-compact .wishlist-variant {
        font-size: 10px;
    }

    .wishlist-item-compact .stock-warning {
        font-size: 10px;
    }

    .wishlist-item-compact .btn-wishlist {
        padding: 5px 10px;
        font-size: 11px;
    }

    .wishlist-item-compact .wishlist-price {
        font-size: 14px;
    }

    .wishlist-item-compact .wishlist-remove {
        width: 20px;
        height: 20px;
        top: 8px;
        right: 8px;
    }

    .wishlist-item-compact .wishlist-remove i {
        font-size: 8px;
    }

    #wishlist .tf-mini-cart-bottom {
        padding: 12px;
    }

    #wishlist .view-all-wishlist {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.wishlist-remove:focus-visible,
.btn-wishlist:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .wishlist-item-compact,
    .wishlist-image img,
    .wishlist-remove,
    .btn-wishlist {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================
   MASAÜSTÜ MODAL GENİŞLİK AYARI
   ============================================ */
@media (min-width: 768px) {
    .modal.fullRight .modal-dialog {
        max-width: 450px !important;
        width: 450px !important;
    }

    .modal.fullRight .modal-content {
        width: 450px !important;
        max-width: 450px !important;
    }
}

/* Büyük ekranlarda biraz daha dar */
@media (min-width: 1200px) {
    .modal.fullRight .modal-dialog {
        max-width: 500px !important;
        width: 500px !important;
    }

    .modal.fullRight .modal-content {
        width: 500px !important;
        max-width: 500px !important;
    }
}

/* ========== NAV-ACCOUNT POSİTİON FİX ========== */
.nav-account {
    position: relative !important;
}

/* ========== USER DROPDOWN BASE ========== */
.dropdown-account {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    min-width: 280px !important;
    max-width: 320px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    border: 1px solid #e9e9e9 !important;
    pointer-events: none !important;
}

/* ✅ HOVER DURUMU - HER İKİ DROPDOWN İÇİN */
.nav-account:hover .dropdown-account,
.nav-account:hover .dropdown-user-menu,
.nav-account:hover .dropdown-login {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* DROPDOWN İÇERİĞİNE HOVER YAPILINCA AÇIK KALSIN */
.dropdown-account:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* ========== DROPDOWN SECTIONS ========== */
.dropdown-account .sub-top {
    padding: 20px;
    border-bottom: 1px solid #e9e9e9;
}

.dropdown-account .sub-mid {
    padding: 10px 0;
}

.dropdown-account .sub-bot {
    padding: 15px 20px;
    border-top: 1px solid #e9e9e9;
}

/* ========== USER INFO (GİRİŞ YAPMIŞ) ========== */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-header {
    flex-shrink: 0;
}

.user-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9e9e9;
}

.user-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #5c3cbb), #7c5ce0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(92, 60, 187, 0.2);
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #181818;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    display: block;
    font-size: 13px;
    color: #a0a0a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== MENU ITEMS ========== */
.account-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #181818;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.account-menu-item:hover {
    background: #f7f7f7;
    color: var(--primary-color, #5c3cbb);
    padding-left: 24px;
}

.account-menu-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.account-menu-item:hover i {
    transform: scale(1.1);
}

/* ========== LOGOUT BUTTON ========== */
.btn-logout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    color: #181818;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: #fee;
    border-color: #f03e3e;
    color: #f03e3e;
}

.btn-logout i {
    font-size: 16px;
}

/* ========== LOGIN DROPDOWN (GİRİŞ YAPMAYAN) ========== */
.dropdown-login .tf-btn {
    padding: 12px 24px;
    font-weight: 500;
}

.dropdown-login .sub-top {
    padding: 20px;
}

.dropdown-login .sub-bot {
    text-align: center;
}

.dropdown-login .sub-bot a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.dropdown-login .sub-bot a:hover {
    color: var(--primary-color, #5c3cbb) !important;
}

.dropdown-login .sub-bot a i {
    font-size: 18px;
}

/* ========== MOBİL RESPONSIVE ========== */
@media (max-width: 1199px) {
    .dropdown-account {
        min-width: 260px !important;
    }
}

/* ============================================
      MODAL GENEL AYARLAR - KOMPAKT
      ============================================ */
.modal-search .modal-xl {
    max-width: 1200px;
}

.modal-search .modal-dialog {
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
}

.modal-search .modal-content {
    padding: 20px;
    border-radius: 12px;
    border: none;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Tüm içeriği kontrol altına al - SADECE YATAY TAŞMAYI ÖNLE */
.modal-search .modal-content * {
    box-sizing: border-box;
    max-width: 100%;
}

.modal-search .icon-close-popup {
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.modal-search .icon-close-popup:hover {
    color: var(--primary);
}

.modal-search .d-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.modal-search h5 {
    margin: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 600;
}

/* ============================================
   ARAMA FORMU - KOMPAKT
   ============================================ */
.form-search {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
}

.form-search fieldset {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    width: 100%;
}

.form-search input {
    width: 100%;
    max-width: 100%;
    padding: 12px 60px 12px 18px;
    border: 2px solid var(--line);
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background: var(--white);
    box-sizing: border-box;
}

.form-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-alpha-10);
}

.form-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.form-search button:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

.form-search button svg path {
    stroke: var(--white);
}

/* ============================================
   ARAMA SONUÇLARI CONTAINER - GENİŞLETİLMİŞ
   ============================================ */
.search-results-container {
    display: none;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    max-height: 600px;
    margin-bottom: 15px;
}

.search-results-container.show {
    display: block;
}

/* ============================================
   POPÜLER ARAMALAR - KOMPAKT
   ============================================ */
.popular-searches,
.recently-viewed {
    border-top: 1px solid var(--line);
    padding-top: 15px;
    margin-top: 10px;
    width: 100%;
    overflow-x: hidden;
    flex-shrink: 0;
}

.popular-searches h6,
.recently-viewed h6 {
    font-size: 15px;
    font-weight: 600;
    color: var(--main);
    margin-bottom: 10px;
}

.list-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.list-tags li {
    flex-shrink: 0;
}

.list-tags li a {
    display: inline-block;
    padding: 6px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 60px;
    color: var(--main);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.list-tags li a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}


/* ============================================
   ÜRÜN KARTLARI - KÜÇÜLTÜLMÜŞ
   ============================================ */
.modal-search .card-product {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.modal-search .card-product-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.modal-search .card-product-info {
    width: 100%;
    overflow-x: hidden;
    padding: 10px;
}

.modal-search .title {
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modal-search .price {
    font-size: 14px;
}

.modal-search .old-price {
    font-size: 12px;
}

/* Butonları küçült */
.modal-search .box-icon {
    width: 32px;
    height: 32px;
}

.modal-search .box-icon .icon {
    font-size: 14px;
}

.modal-search .btn-main-product {
    padding: 10px;
    font-size: 13px;
}

/* ============================================
   FADE IN ANİMASYONU - BASİT
   ============================================ */
@keyframes simpleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-search .card-product {
    animation: simpleFadeIn 0.4s ease-out forwards;
    opacity: 0;
}

/* Her ürün için sıralı animasyon */
.modal-search .card-product:nth-child(1) { animation-delay: 0.05s; }
.modal-search .card-product:nth-child(2) { animation-delay: 0.1s; }
.modal-search .card-product:nth-child(3) { animation-delay: 0.15s; }
.modal-search .card-product:nth-child(4) { animation-delay: 0.2s; }
.modal-search .card-product:nth-child(5) { animation-delay: 0.25s; }
.modal-search .card-product:nth-child(6) { animation-delay: 0.3s; }
.modal-search .card-product:nth-child(7) { animation-delay: 0.35s; }
.modal-search .card-product:nth-child(8) { animation-delay: 0.4s; }
.modal-search .card-product:nth-child(9) { animation-delay: 0.45s; }
.modal-search .card-product:nth-child(10) { animation-delay: 0.5s; }
.modal-search .card-product:nth-child(11) { animation-delay: 0.55s; }
.modal-search .card-product:nth-child(12) { animation-delay: 0.6s; }
.modal-search .card-product:nth-child(13) { animation-delay: 0.65s; }
.modal-search .card-product:nth-child(14) { animation-delay: 0.7s; }
.modal-search .card-product:nth-child(15) { animation-delay: 0.75s; }

/* ============================================
   LOADING & NO RESULTS - KOMPAKT
   ============================================ */
.search-loading,
.search-no-result {
    text-align: center;
    padding: 40px 20px;
    color: var(--secondary);
    width: 100%;
    box-sizing: border-box;
}

.search-loading .spinner-border {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 3px;
    border-color: var(--primary);
    border-right-color: transparent;
}

.search-loading p {
    margin-top: 0.75rem;
    color: var(--secondary);
    font-size: 14px;
}

.search-no-result i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
    color: var(--secondary-2);
}

.search-no-result p {
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 991px) {
    .modal-search .modal-dialog {
        margin: 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    .modal-search .modal-content {
        padding: 18px;
        max-height: 85vh;
    }

    .form-search input {
        padding: 10px 55px 10px 16px;
        font-size: 14px;
    }

    .form-search button {
        width: 42px;
        height: 42px;
    }

    .popular-searches,
    .recently-viewed {
        padding-top: 12px;
        margin-top: 8px;
    }

    .popular-searches h6,
    .recently-viewed h6 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .search-results-container {
        max-height: 500px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 575px) {
    .modal-search .modal-dialog {
        margin: 8px;
        max-width: calc(100% - 16px);
    }

    .modal-search .modal-content {
        padding: 15px;
        max-height: 92vh;
        border-radius: 8px;
    }

    .modal-search .d-flex.mb-3 {
        margin-bottom: 12px !important;
    }

    .modal-search h5 {
        font-size: 18px;
    }

    .form-search {
        margin-bottom: 12px;
    }

    .form-search input {
        padding: 10px 50px 10px 14px;
        font-size: 14px;
    }

    .form-search button {
        width: 40px;
        height: 40px;
    }

    .form-search button svg {
        width: 18px;
        height: 18px;
    }

    .popular-searches,
    .recently-viewed {
        padding-top: 10px;
        margin-top: 8px;
    }

    .popular-searches h6,
    .recently-viewed h6 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .list-tags {
        gap: 6px;
    }

    .list-tags li a {
        padding: 5px 12px;
        font-size: 12px;
    }

    .search-loading,
    .search-no-result {
        padding: 30px 15px;
    }

    .search-loading .spinner-border {
        width: 2rem;
        height: 2rem;
    }

    .search-no-result i {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .search-no-result p {
        font-size: 13px;
    }

    .search-results-container {
        max-height: 450px;
        margin-bottom: 12px;
    }



    .modal-search .card-product-info {
        padding: 8px;
    }

    .modal-search .title {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .modal-search .price {
        font-size: 13px;
    }

    /* Mobilde daha hızlı animasyon */
    .modal-search .card-product {
        animation-duration: 0.3s;
    }

    .modal-search .card-product:nth-child(n+7) {
        animation-delay: 0.3s;
    }
}

/* ============================================
   ÇOK KÜÇÜK EKRANLAR (iPhone SE vb.)
   ============================================ */
@media (max-width: 375px) {
    .modal-search .modal-dialog {
        margin: 6px;
        max-width: calc(100% - 12px);
    }

    .modal-search .modal-content {
        padding: 12px;
    }

    .form-search input {
        padding: 8px 45px 8px 12px;
        font-size: 13px;
    }

    .form-search button {
        width: 36px;
        height: 36px;
    }

    .list-tags li a {
        padding: 4px 10px;
        font-size: 11px;
    }

    .tf-grid-layout {
        gap: 6px !important;
    }

    .search-results-container {
        max-height: 400px;
    }

    .modal-search .card-product-info {
        padding: 6px;
    }

    .modal-search .title {
        font-size: 10px;
    }

    .modal-search .price {
        font-size: 12px;
    }
}
.badge-mb {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: var(--primary-color, #5c3cbb);
    margin-left: 8px;
}

/* ============================================
       GLOBAL CURSOR FOLLOWER - DİNAMİK RENKLER
       ============================================ */
.cursor-follower {
    --cursor-color: var(--primary);
    --cursor-color-rgb: var(--primary-rgb, 92, 60, 187);
    --cursor-dot-size: 8px;
    --cursor-ring-size: 40px;

    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
}

/* Ana nokta */
.cursor-dot {
    position: fixed;
    width: var(--cursor-dot-size);
    height: var(--cursor-dot-size);
    background: var(--cursor-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
            transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
            width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            background 0.25s ease,
            border-radius 0.25s ease;
    z-index: 99999;
    box-shadow: 0 0 10px rgba(var(--cursor-color-rgb), 0.3);
}

/* Halka */
.cursor-ring {
    position: fixed;
    width: var(--cursor-ring-size);
    height: var(--cursor-ring-size);
    border: 1.5px solid var(--cursor-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
            transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
            width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            border-color 0.25s ease,
            opacity 0.25s ease,
            background 0.25s ease;
    opacity: 0.6;
    z-index: 99998;
}

/* ============================================
   HOVER DURUMLARI
   ============================================ */

/* Link/Buton hover */
.cursor-follower.link-hover .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    box-shadow: 0 0 15px rgba(var(--cursor-color-rgb), 0.5);
}

.cursor-follower.link-hover .cursor-ring {
    width: 55px;
    height: 55px;
    background: rgba(var(--cursor-color-rgb), 0.1);
    border-color: var(--cursor-color);
    opacity: 0.8;
}

/* Tıklama durumu */
.cursor-follower.clicking .cursor-dot {
    transform: translate(-50%, -50%) scale(0.6);
}

.cursor-follower.clicking .cursor-ring {
    width: 35px;
    height: 35px;
    opacity: 1;
    border-width: 2px;
}

/* Text input hover */
.cursor-follower.text-hover .cursor-dot {
    width: 3px;
    height: 22px;
    border-radius: 2px;
    background: var(--cursor-color);
    box-shadow: none;
}

.cursor-follower.text-hover .cursor-ring {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

/* Disabled/Blocked durumu */
.cursor-follower.disabled .cursor-dot {
    background: var(--secondary-2);
}

.cursor-follower.disabled .cursor-ring {
    border-color: var(--secondary-2);
    opacity: 0.3;
}

/* ============================================
   ÖZEL ELEMENT HOVER'LARI
   ============================================ */

/* Kart hover */
.cursor-follower.card-hover .cursor-ring {
    width: 70px;
    height: 70px;
    background: rgba(var(--cursor-color-rgb), 0.05);
    border-style: dashed;
}

/* Görsel hover */
.cursor-follower.image-hover .cursor-dot {
    width: 50px;
    height: 50px;
    background: rgba(var(--cursor-color-rgb), 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(var(--cursor-color-rgb), 0.3);
}

.cursor-follower.image-hover .cursor-dot::after {
    content: '🔍';
    position: absolute;
    font-size: 16px;
}

.cursor-follower.image-hover .cursor-ring {
    opacity: 0;
}

/* Video hover */
.cursor-follower.video-hover .cursor-dot {
    width: 60px;
    height: 60px;
    background: rgba(var(--cursor-color-rgb), 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-follower.video-hover .cursor-dot::after {
    content: '';
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 3px;
}

.cursor-follower.video-hover .cursor-ring {
    opacity: 0;
}

/* ============================================
   GİZLEME DURUMLARI
   ============================================ */
.cursor-follower.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* ============================================
   RESPONSIVE & TOUCH
   ============================================ */
@media (max-width: 991px) {
    .cursor-follower {
        display: none !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .cursor-follower {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-dot,
    .cursor-ring {
        transition: none !important;
    }
}

/* ============================================
   ÇEREZ BANNER - KOMPAKT & MOBİL UYUMLU
   ============================================ */

/* Banner Ana Yapı */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white, #ffffff);
    border-top: 1px solid var(--line, #e9e9e9);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    padding: 14px 20px;
    animation: cookieSlideUp 0.3s ease-out;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.cookie-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 14px;
    color: var(--main, #181818);
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--primary, #e43131);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

/* Butonlar */
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
    line-height: 1.2;
}

.cookie-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-btn-settings {
    background: transparent;
    border: 1px solid var(--line, #e9e9e9);
    color: var(--secondary, #4d4e4f);
}

.cookie-btn-settings:hover:not(:disabled) {
    border-color: var(--primary, #e43131);
    color: var(--primary, #e43131);
}

.cookie-btn-reject {
    background: var(--surface, #f7f7f7);
    color: var(--main, #181818);
}

.cookie-btn-reject:hover:not(:disabled) {
    background: var(--line, #e9e9e9);
}

.cookie-btn-accept {
    background: var(--primary, #e43131);
    color: var(--white, #ffffff);
}

.cookie-btn-accept:hover:not(:disabled) {
    background: var(--primary-dark, #c42828);
}

/* ============================================
   ÇEREZ MODAL
   ============================================ */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.cookie-modal-content {
    position: relative;
    background: var(--white, #ffffff);
    border-radius: 14px;
    max-width: 440px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalIn 0.25s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@keyframes modalIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cookie-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line, #e9e9e9);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--main, #181818);
}

/* ✅ KAPATMA BUTONU - DÜZELTİLDİ */
.cookie-modal-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border: none;
    background: var(--surface, #f7f7f7);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: var(--secondary, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
    flex-shrink: 0;
}

.cookie-modal-close:hover {
    background: var(--critical-alpha-10, rgba(240, 62, 62, 0.1));
    color: var(--critical, #f03e3e);
}

.cookie-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-desc {
    font-size: 13px;
    color: var(--secondary, #666);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

/* Kategori Satırları */
.cookie-category {
    padding: 14px 0;
    border-bottom: 1px solid var(--line, #eee);
}

.cookie-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cookie-category-info {
    flex: 1;
    min-width: 0;
}

.cookie-category-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--main, #181818);
    margin-bottom: 2px;
}

.cookie-category-info span {
    font-size: 12px;
    color: var(--secondary-2, #999);
}

.cookie-category-desc {
    font-size: 12px;
    color: var(--secondary, #666);
    line-height: 1.4;
    margin: 8px 0 0 0;
}

/* Toggle Switch */
.cookie-toggle input {
    display: none;
}

.cookie-toggle label {
    width: 44px;
    height: 24px;
    background: var(--line, #ddd);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
    display: block;
    flex-shrink: 0;
}

.cookie-toggle label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white, #fff);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.cookie-toggle input:checked + label {
    background: var(--primary, #e43131);
}

.cookie-toggle input:checked + label::after {
    transform: translateX(20px);
}

.cookie-toggle.disabled label {
    background: var(--success, #3dab25);
    cursor: not-allowed;
    opacity: 0.85;
}

.cookie-toggle.disabled label::after {
    transform: translateX(20px);
}

/* Modal Footer */
.cookie-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--line, #eee);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background: var(--surface, #fafafa);
}

.cookie-modal-footer .cookie-btn {
    padding: 10px 18px;
}

/* ============================================
   TABLET (768px ve altı)
   ============================================ */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 12px 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 12px;
    }

    .cookie-banner-text {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .cookie-banner-text p {
        font-size: 13px;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .cookie-modal {
        padding: 16px;
    }

    .cookie-modal-content {
        max-width: 400px;
    }
}

/* ============================================
   MOBİL (480px ve altı) - BUTONLAR YAN YANA
   ============================================ */
@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px 14px;
    }

    .cookie-banner-content {
        gap: 10px;
    }

    .cookie-banner-text {
        gap: 8px;
    }

    .cookie-icon {
        font-size: 20px;
    }

    .cookie-banner-text p {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Butonlar yan yana - okunabilir boyutta */
    .cookie-banner-actions {
        gap: 8px;
    }

    .cookie-btn {
        padding: 9px 12px;
        font-size: 12px;
        border-radius: 6px;
        flex: 1;
        text-align: center;
    }

    /* Modal */
    .cookie-modal {
        padding: 12px;
    }

    .cookie-modal-content {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 12px;
    }

    .cookie-modal-header {
        padding: 14px 16px;
    }

    .cookie-modal-header h3 {
        font-size: 16px;
    }

    /* ✅ MOBİLDE DE DÜZELTİLDİ */
    .cookie-modal-close {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        font-size: 18px;
    }

    .cookie-modal-body {
        padding: 14px 16px;
    }

    .cookie-modal-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .cookie-category {
        padding: 12px 0;
    }

    .cookie-category-info strong {
        font-size: 13px;
    }

    .cookie-category-info span {
        font-size: 11px;
    }

    .cookie-category-desc {
        font-size: 11px;
        margin-top: 6px;
    }

    .cookie-toggle label {
        width: 40px;
        height: 22px;
        border-radius: 11px;
    }

    .cookie-toggle label::after {
        width: 18px;
        height: 18px;
    }

    .cookie-toggle input:checked + label::after,
    .cookie-toggle.disabled label::after {
        transform: translateX(18px);
    }

    /* Modal Footer - Butonlar yan yana */
    .cookie-modal-footer {
        padding: 12px 16px;
        gap: 8px;
    }

    .cookie-modal-footer .cookie-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* ============================================
   KÜÇÜK EKRANLAR (380px ve altı)
   ============================================ */
@media (max-width: 380px) {
    .cookie-banner {
        padding: 10px 12px;
    }

    .cookie-banner-text p {
        font-size: 11px;
    }

    .cookie-btn {
        padding: 8px 10px;
        font-size: 11px;
    }

    .cookie-modal-header h3 {
        font-size: 15px;
    }

    .cookie-category-info strong {
        font-size: 12px;
    }

    .cookie-category-info span,
    .cookie-category-desc {
        font-size: 10px;
    }

    .cookie-modal-footer .cookie-btn {
        padding: 9px 10px;
        font-size: 11px;
    }
}
/* ============================================
   SÖZLEŞME MODAL - GENEL
   ============================================ */
.sozlesme-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sozlesme-modal.active {
    display: flex;
}

.sozlesme-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: sozlesmeOverlayIn 0.2s ease;
}

@keyframes sozlesmeOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sozlesme-modal-container {
    position: relative;
    background: var(--white, #ffffff);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: sozlesmeModalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

@keyframes sozlesmeModalIn {
    from { transform: scale(0.95) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Header */
.sozlesme-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--line, #e9e9e9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface, #f9f9f9);
    flex-shrink: 0;
}

.sozlesme-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--main, #181818);
    line-height: 1.3;
    flex: 1;
    padding-right: 16px;
}

/* ✅ KAPATMA BUTONU - DÜZELTİLDİ */
.sozlesme-modal-close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: none;
    background: var(--white, #ffffff);
    border-radius: 50%;
    cursor: pointer;
    color: var(--secondary, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0;
    line-height: 1;
}

.sozlesme-modal-close svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sozlesme-modal-close:hover {
    background: var(--critical, #f03e3e);
    color: var(--white, #ffffff);
    transform: rotate(90deg);
}

.sozlesme-modal-close:hover svg {
    stroke: var(--white, #ffffff);
}

/* Body */
.sozlesme-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 200px;
}

/* Sözleşme İçerik Stilleri */
.sozlesme-modal-body h1,
.sozlesme-modal-body h2,
.sozlesme-modal-body h3,
.sozlesme-modal-body h4 {
    color: var(--main, #181818);
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.sozlesme-modal-body h1:first-child,
.sozlesme-modal-body h2:first-child,
.sozlesme-modal-body h3:first-child {
    margin-top: 0;
}

.sozlesme-modal-body h2 {
    font-size: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-alpha-20, rgba(228, 49, 49, 0.2));
}

.sozlesme-modal-body h3 {
    font-size: 17px;
    color: var(--primary, #e43131);
}

.sozlesme-modal-body h4 {
    font-size: 15px;
}

.sozlesme-modal-body p {
    margin: 0 0 14px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--secondary, #4d4e4f);
}

.sozlesme-modal-body ul,
.sozlesme-modal-body ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.sozlesme-modal-body li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--secondary, #4d4e4f);
    margin-bottom: 8px;
}

.sozlesme-modal-body strong {
    color: var(--main, #181818);
    font-weight: 600;
}

.sozlesme-modal-body a {
    color: var(--primary, #e43131);
    text-decoration: none;
}

.sozlesme-modal-body a:hover {
    text-decoration: underline;
}

.sozlesme-modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.sozlesme-modal-body th,
.sozlesme-modal-body td {
    padding: 10px 12px;
    border: 1px solid var(--line, #e9e9e9);
    text-align: left;
}

.sozlesme-modal-body th {
    background: var(--surface, #f7f7f7);
    font-weight: 600;
    color: var(--main, #181818);
}

.sozlesme-modal-body hr {
    border: none;
    border-top: 1px solid var(--line, #e9e9e9);
    margin: 24px 0;
}

/* Loading */
.sozlesme-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--secondary, #666);
}

.sozlesme-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--line, #e9e9e9);
    border-top-color: var(--primary, #e43131);
    border-radius: 50%;
    animation: sozlesmeSpin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes sozlesmeSpin {
    to { transform: rotate(360deg); }
}

.sozlesme-loading p {
    margin: 0;
    font-size: 14px;
}

/* Error */
.sozlesme-error {
    text-align: center;
    padding: 40px 20px;
    color: var(--critical, #f03e3e);
}

.sozlesme-error svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.sozlesme-error p {
    margin: 0;
    font-size: 15px;
}

/* Footer */
.sozlesme-modal-footer {
    padding: 14px 24px;
    border-top: 1px solid var(--line, #e9e9e9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface, #f9f9f9);
    flex-shrink: 0;
}

.sozlesme-date {
    font-size: 12px;
    color: var(--secondary-2, #999);
}

.sozlesme-footer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sozlesme-fullpage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--secondary, #666);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sozlesme-fullpage:hover {
    background: var(--line, #e9e9e9);
    color: var(--main, #181818);
}

/* ✅ KAPAT BUTONU - DÜZELTİLDİ */
.sozlesme-btn-close {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: var(--primary, #e43131);
    color: var(--white, #ffffff);
    transition: all 0.2s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sozlesme-btn-close:hover {
    background: var(--primary-dark, #c42828);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .sozlesme-modal {
        padding: 12px;
    }

    .sozlesme-modal-container {
        max-height: 90vh;
        border-radius: 12px;
    }

    .sozlesme-modal-header {
        padding: 14px 18px;
    }

    .sozlesme-modal-header h3 {
        font-size: 16px;
    }

    .sozlesme-modal-close {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }

    .sozlesme-modal-close svg {
        width: 16px;
        height: 16px;
    }

    .sozlesme-modal-body {
        padding: 18px;
    }

    .sozlesme-modal-body h2 {
        font-size: 18px;
    }

    .sozlesme-modal-body h3 {
        font-size: 15px;
    }

    .sozlesme-modal-body p,
    .sozlesme-modal-body li {
        font-size: 13px;
    }

    .sozlesme-modal-footer {
        padding: 12px 18px;
        flex-direction: column;
        gap: 10px;
    }

    .sozlesme-date {
        order: 2;
    }

    .sozlesme-footer-actions {
        width: 100%;
        justify-content: space-between;
        order: 1;
    }

    .sozlesme-btn-close {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .sozlesme-modal {
        padding: 8px;
    }

    .sozlesme-modal-container {
        max-height: 92vh;
    }

    .sozlesme-modal-header {
        padding: 12px 14px;
    }

    .sozlesme-modal-header h3 {
        font-size: 15px;
    }

    .sozlesme-modal-body {
        padding: 14px;
    }

    .sozlesme-modal-body h2 {
        font-size: 16px;
    }

    .sozlesme-modal-body p,
    .sozlesme-modal-body li {
        font-size: 12px;
        line-height: 1.6;
    }

    .sozlesme-modal-footer {
        padding: 10px 14px;
    }

    .sozlesme-fullpage {
        font-size: 12px;
        padding: 6px 10px;
    }

    .sozlesme-btn-close {
        padding: 9px 16px;
        font-size: 13px;
    }
}