/* Tony Çoklu Alım İndirimi - Tony Shoes Minimal Tasarım */
/* Logo renklerine uygun minimal palet */

:root {
    --tony-primary: #D32F2F;          /* Tony Shoes kırmızı (koyu, minimal) */
    --tony-secondary: #212121;        /* Siyah (logo rengi) */
    --tony-dark: #424242;             /* Koyu gri - metinler */
    --tony-light: #F5F5F5;            /* Açık gri - arka plan */
    --tony-success: #388E3C;          /* Yeşil - başarı mesajları */
    --tony-text: #616161;             /* Orta gri - alt metinler */
    --tony-border: #E0E0E0;           /* Border - minimal */
    --tony-gradient-start: #D32F2F;   /* Gradient başlangıç */
    --tony-gradient-end: #B71C1C;     /* Gradient bitiş (daha koyu kırmızı) */
}

/* Font Inheritance - Sitenin fontlarını kullan */
.tpd-product-banner,
.tpd-product-banner *,
.tpd-cart-banner,
.tpd-cart-banner *,
.tpd-discount-info-row,
.tpd-discount-info-row * {
    font-family: inherit !important;
}

/* ===================================
   ÜRÜN SAYFASI BANNER - MİNİMAL
   =================================== */

.tpd-product-banner {
    margin: 15px 0; /* Daha küçük margin */
    animation: tpdFadeIn 0.4s ease-out;
    clear: both;
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

@keyframes tpdFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tpd-product-banner-inner {
    background: #FFFFFF;
    border: 1px solid var(--tony-border); /* Border küçült */
    border-radius: 8px; /* Daha az radius */
    padding: 12px 16px; /* ÇOOK küçük padding */
    box-shadow: 0 1px 4px rgba(0,0,0,0.04); /* Minimal shadow */
    transition: all 0.3s ease;
    max-width: 500px; /* Daha dar */
}

.tpd-product-banner-inner:hover {
    border-color: var(--tony-primary);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.12);
}

.tpd-banner-main {
    display: flex;
    align-items: center;
    gap: 10px; /* Minimal gap */
    margin-bottom: 10px; /* Minimal margin */
    padding-bottom: 10px; /* Minimal padding */
    border-bottom: 1px solid var(--tony-border);
}

.tpd-banner-icon {
    flex-shrink: 0;
    width: 32px; /* Daha küçük */
    height: 32px;
    background: linear-gradient(135deg, var(--tony-primary) 0%, var(--tony-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px; /* Küçük emoji */
}

.tpd-banner-text {
    flex: 1;
}

.tpd-banner-title {
    margin: 0 0 2px 0;
    font-size: 13px; /* Küçük font */
    font-weight: 700;
    color: var(--tony-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.tpd-banner-subtitle {
    margin: 0;
    font-size: 11px; /* Mini font */
    color: var(--tony-text);
    opacity: 0.75;
    line-height: 1.2;
}

/* Discount Grid */
.tpd-discount-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Daha küçük gap */
    flex-wrap: wrap;
}

.tpd-discount-item {
    position: relative;
    background: var(--tony-light);
    border: 1px solid transparent; /* Daha ince border */
    border-radius: 6px; /* Daha az radius */
    padding: 8px 10px; /* ÇOOK küçük padding */
    text-align: center;
    min-width: 65px; /* Daha dar */
    transition: all 0.3s ease;
}

.tpd-discount-item:hover {
    transform: translateY(-1px); /* Minimal lift */
    border-color: var(--tony-secondary);
    background: #FFF;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.12);
}

.tpd-discount-best {
    background: linear-gradient(135deg, var(--tony-primary) 0%, var(--tony-secondary) 100%);
    border-color: var(--tony-primary);
    color: white;
    transform: scale(1.02); /* Minimal scale */
}

.tpd-discount-best:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.tpd-discount-badge {
    position: absolute;
    top: -6px; /* Daha küçük */
    right: -6px;
    background: var(--tony-primary);
    color: white;
    font-size: 8px; /* Daha küçük */
    font-weight: 800;
    padding: 3px 6px; /* Küçük padding */
    border-radius: 8px; /* Küçük radius */
    letter-spacing: 0.3px;
    box-shadow: 0 1px 4px rgba(211, 47, 47, 0.4);
}

.tpd-discount-count {
    font-size: 16px; /* ÇOOK küçült */
    font-weight: 700;
    margin-bottom: 2px;
    color: inherit;
    line-height: 1;
}

.tpd-discount-best .tpd-discount-count {
    color: white;
}

.tpd-discount-label {
    font-size: 9px; /* Mini font */
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.7;
}

.tpd-discount-best .tpd-discount-label {
    opacity: 0.9;
    color: white;
}

.tpd-discount-value {
    font-size: 18px; /* ÇOOK küçült: 24px → 18px */
    font-weight: 800;
    color: var(--tony-primary);
    line-height: 1;
}

.tpd-discount-best .tpd-discount-value {
    color: #FFD700;
}

.tpd-discount-divider {
    color: var(--tony-text);
    opacity: 0.3;
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tpd-product-banner {
        margin: 12px 0; /* Mobilde daha kompakt */
    }
    
    .tpd-product-banner-inner {
        padding: 10px 12px; /* ÇOOK küçük padding */
    }
    
    .tpd-banner-main {
        flex-direction: row;
        text-align: left;
        padding-bottom: 8px; /* Minimal */
        margin-bottom: 8px;
        gap: 8px;
    }
    
    .tpd-banner-icon {
        width: 40px;
        height: 40px;
    }
    
    .tpd-banner-title {
        font-size: 14px; /* Daha kompakt: 15px → 14px */
        line-height: 1.3;
    }
    
    .tpd-banner-subtitle {
        font-size: 12px; /* Daha kompakt: 13px → 12px */
    }
    
    .tpd-discount-grid {
        gap: 8px;
        justify-content: space-around;
    }
    
    .tpd-discount-item {
        min-width: 70px; /* Daha kompakt: 75px → 70px */
        padding: 10px 12px; /* Daha kompakt: 12px 14px → 10px 12px */
        flex: 1;
        max-width: 85px; /* Daha kompakt: 90px → 85px */
    }
    
    .tpd-discount-count {
        font-size: 18px; /* Daha kompakt: 20px → 18px */
    }
    
    .tpd-discount-label {
        font-size: 9px;
    }
    
    .tpd-discount-value {
        font-size: 20px; /* Daha kompakt: 16px → 20px (ama mobilde küçük gözükmüş, biraz büyütüyorum) */
    }
    
    .tpd-discount-divider {
        display: none;
    }
    
    .tpd-discount-best {
        transform: scale(1);
    }
    
    .tpd-discount-badge {
        font-size: 8px;
        padding: 3px 6px;
        top: -6px;
        right: -6px;
    }
}

/* Tablet Responsive (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .tpd-product-banner-inner {
        padding: 22px;
    }
    
    .tpd-banner-title {
        font-size: 17px;
    }
    
    .tpd-banner-subtitle {
        font-size: 13px;
    }
    
    .tpd-discount-item {
        min-width: 85px;
        padding: 14px 18px;
    }
    
    .tpd-discount-count {
        font-size: 22px;
    }
    
    .tpd-discount-value {
        font-size: 18px;
    }
}

/* Küçük Mobile (max 480px) */
@media (max-width: 480px) {
    .tpd-product-banner {
        margin: 20px 0 25px 0; /* Küçük ekranda daha kompakt */
    }
    
    .tpd-product-banner-inner {
        padding: 16px 12px;
    }
    
    .tpd-banner-main {
        gap: 10px;
    }
    
    .tpd-banner-icon {
        width: 36px;
        height: 36px;
    }
    
    .tpd-banner-title {
        font-size: 14px;
    }
    
    .tpd-banner-subtitle {
        font-size: 12px;
    }
    
    .tpd-discount-grid {
        gap: 6px;
    }
    
    .tpd-discount-item {
        min-width: 65px;
        max-width: 80px;
        padding: 10px 12px;
    }
    
    .tpd-discount-count {
        font-size: 18px;
    }
    
    .tpd-discount-label {
        font-size: 8px;
    }
    
    .tpd-discount-value {
        font-size: 14px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .tpd-product-banner-inner {
        padding: 16px 20px;
    }
    
    .tpd-banner-main {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .tpd-discount-item {
        padding: 10px 16px;
    }
}


/* ===================================
   SEPET SAYFASI BANNER - MİNİMAL
   =================================== */

.tpd-cart-banner {
    background: #FFFFFF;
    border: 1px solid var(--tony-border); /* İnce border */
    border-radius: 8px; /* Küçük radius */
    padding: 12px 16px; /* Küçük padding */
    margin-bottom: 16px; /* Küçük margin */
    box-shadow: 0 1px 4px rgba(0,0,0,0.04); /* Minimal shadow */
}

/* Başarı Kutusu */
.tpd-cart-success-box {
    display: flex;
    align-items: center;
    gap: 12px; /* Küçük gap */
    padding: 10px 12px; /* Küçük padding */
    background: linear-gradient(135deg, rgba(56, 142, 60, 0.08) 0%, rgba(56, 142, 60, 0.04) 100%);
    border-left: 3px solid var(--tony-success); /* İnce border */
    border-radius: 6px; /* Küçük radius */
    margin-bottom: 12px; /* Küçük margin */
}

.tpd-success-badge {
    flex-shrink: 0;
    width: 32px; /* Küçük badge */
    height: 32px;
    background: var(--tony-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tpd-success-text {
    flex: 1;
}

.tpd-success-title {
    margin: 0 0 2px 0; /* Minimal margin */
    font-size: 13px; /* Küçük font */
    font-weight: 600;
    color: var(--tony-dark);
    line-height: 1.3;
}

.tpd-success-subtitle {
    margin: 0;
    font-size: 11px; /* Mini font */
    font-size: 13px;
    color: var(--tony-text);
}

.tpd-highlight {
    color: var(--tony-primary);
    font-weight: 700;
}

.tpd-money-highlight {
    color: var(--tony-primary);
    font-weight: 800;
    font-size: 115%; /* Para miktarı daha büyük */
    white-space: nowrap;
}

/* Maksimum İndirim Kutusu */
.tpd-cart-max-box {
    padding: 16px;
    background: linear-gradient(135deg, rgba(56, 142, 60, 0.08) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 2px solid var(--tony-success);
    border-radius: 8px;
    text-align: center;
}

.tpd-max-text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--tony-dark);
    line-height: 1.5;
}

/* Step badge - EN İYİ */
.tpd-step-badge {
    position: absolute;
    top: -12px;
    font-size: 8px;
    font-weight: 800;
    background: var(--tony-primary);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    animation: tpdPulseBadge 2s ease-in-out infinite;
}

@keyframes tpdPulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Progress Kutusu */
.tpd-cart-progress-box {
    padding: 12px; /* Küçük padding */
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.04) 0%, rgba(33, 33, 33, 0.04) 100%);
    border: 1px dashed var(--tony-primary); /* İnce border */
    border-radius: 6px; /* Küçük radius */
}

.tpd-progress-header {
    display: flex;
    align-items: center;
    gap: 8px; /* Küçük gap */
    margin-bottom: 10px; /* Küçük margin */
}

.tpd-progress-icon {
    font-size: 18px; /* Küçük icon */
    animation: tpdPulseIcon 2s ease-in-out infinite;
}

@keyframes tpdPulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); } /* Daha subtle pulse */
}

.tpd-progress-text {
    margin: 0;
    font-size: 12px; /* Küçük font */
    font-weight: 600;
    color: var(--tony-dark);
    flex: 1;
    line-height: 1.3;
}

/* Progress Track */
.tpd-progress-track {
    position: relative;
    width: 100%;
    height: 6px; /* Daha ince bar */
    background: var(--tony-light);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px; /* Küçük margin */
}

.tpd-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--tony-primary) 0%, var(--tony-secondary) 100%);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.3); /* Tony kırmızısı */
    will-change: width; /* Performance */
}

/* Progress Steps */
.tpd-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tpd-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; /* Küçük gap */
    opacity: 0.4;
    transition: all 0.3s ease;
    position: relative; /* Badge için */
}

.tpd-progress-step.active {
    opacity: 1;
}

.tpd-step-circle {
    width: 28px; /* Küçük circle */
    height: 28px;
    border: 1px solid var(--tony-border); /* İnce border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px; /* Küçük font */
    font-weight: 700;
    color: var(--tony-text);
    background: white;
    transition: all 0.3s ease;
}

.tpd-progress-step.active .tpd-step-circle {
    background: linear-gradient(135deg, var(--tony-primary) 0%, var(--tony-secondary) 100%);
    border-color: var(--tony-primary);
    color: white;
    transform: scale(1.05); /* Minimal scale */
}

.tpd-step-text {
    font-size: 10px; /* Mini font */
    font-weight: 700;
    color: var(--tony-text);
}

.tpd-progress-step.active .tpd-step-text {
    color: var(--tony-primary);
}

/* ===================================
   SEPET TOPLAM BİLGİSİ - MİNİMAL
   =================================== */

.tpd-discount-info-row {
    border-top: 1px solid var(--tony-border) !important;
    border-bottom: 1px solid var(--tony-border) !important;
}

.tpd-discount-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(67, 160, 71, 0.08) 0%, rgba(67, 160, 71, 0.04) 100%);
    border-radius: 6px;
    margin: 8px 0;
}

.tpd-summary-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--tony-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.tpd-summary-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.tpd-summary-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--tony-dark);
}

.tpd-summary-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--tony-primary);
}

/* ===================================
   SEPETEreplikE EKLE BUTON ÖZELLEŞTİRME
   =================================== */

.single-product .cart .single_add_to_cart_button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.single-product .cart .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

/* ===================================
   RESPONSIVE TASARIM - CART BANNER
   =================================== */

@media (max-width: 768px) {
    .tpd-cart-banner {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .tpd-cart-success-box {
        padding: 14px;
        gap: 12px;
        flex-direction: row;
    }
    
    .tpd-success-badge {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
    
    .tpd-success-title {
        font-size: 14px;
    }
    
    .tpd-success-subtitle {
        font-size: 12px;
    }
    
    .tpd-cart-progress-box {
        padding: 16px;
    }
    
    .tpd-progress-header {
        gap: 10px;
        margin-bottom: 14px;
    }
    
    .tpd-progress-icon {
        font-size: 20px;
    }
    
    .tpd-progress-text {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .tpd-progress-track {
        height: 6px;
        margin-bottom: 14px;
    }
    
    .tpd-progress-steps {
        gap: 8px;
    }
    
    .tpd-step-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .tpd-step-text {
        font-size: 11px;
    }
    
    .tpd-discount-summary {
        flex-direction: row;
        text-align: left;
        padding: 10px;
    }
    
    .tpd-summary-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .tpd-summary-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .tpd-summary-label {
        font-size: 12px;
    }
    
    .tpd-summary-value {
        font-size: 13px;
    }
}

/* Tablet - Cart Banner */
@media (min-width: 769px) and (max-width: 1024px) {
    .tpd-cart-banner {
        padding: 18px;
    }
    
    .tpd-cart-success-box,
    .tpd-cart-progress-box {
        padding: 18px;
    }
    
    .tpd-success-title,
    .tpd-progress-text {
        font-size: 14px;
    }
    
    .tpd-step-circle {
        width: 34px;
        height: 34px;
    }
}

/* Küçük Mobile - Cart Banner */
@media (max-width: 480px) {
    .tpd-cart-banner {
        padding: 12px;
    }
    
    .tpd-cart-success-box {
        padding: 12px;
        gap: 10px;
    }
    
    .tpd-success-badge {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .tpd-success-title {
        font-size: 13px;
    }
    
    .tpd-success-subtitle {
        font-size: 11px;
    }
    
    .tpd-cart-progress-box {
        padding: 12px;
    }
    
    .tpd-progress-text {
        font-size: 12px;
    }
    
    .tpd-progress-steps {
        gap: 4px;
    }
    
    .tpd-step-circle {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .tpd-step-text {
        font-size: 10px;
    }
}

/* Landscape Mobile - Cart Banner */
@media (max-width: 768px) and (orientation: landscape) {
    .tpd-cart-banner {
        padding: 14px 18px;
    }
    
    .tpd-cart-success-box,
    .tpd-cart-progress-box {
        padding: 14px;
    }
}

/* ===================================
   MOBİL İYİLEŞTİRMELER
   =================================== */

/* Touch-friendly yapı */
@media (hover: none) and (pointer: coarse) {
    .tpd-discount-item,
    .tpd-step-circle,
    .tpd-success-badge {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .tpd-discount-item:active {
        transform: scale(0.95);
    }
    
    .tpd-product-banner-inner:hover,
    .tpd-discount-item:hover {
        transform: none;
    }
}

/* Mobil performans optimizasyonu */
@media (max-width: 768px) {
    .tpd-product-banner-inner,
    .tpd-cart-banner,
    .tpd-discount-item,
    .tpd-progress-bar {
        will-change: auto;
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Animasyonları azalt */
    .tpd-discount-item,
    .tpd-step-circle {
        transition: all 0.2s ease;
    }
}

/* Safe area için padding (iPhone X ve sonrası) */
@media (max-width: 768px) {
    .tpd-product-banner,
    .tpd-cart-banner {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Metin seçimini engelle (mobilde yanlışlıkla seçim) */
.tpd-discount-count,
.tpd-discount-label,
.tpd-discount-value,
.tpd-step-circle {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mobil'de scroll sırasında fixed pozisyon sorunlarını önle */
@media (max-width: 768px) {
    .tpd-product-banner,
    .tpd-cart-banner {
        position: relative;
        z-index: 1;
    }
}

/* Daha iyi okunabilirlik için minimum boyutlar */
@media (max-width: 480px) {
    .tpd-banner-title,
    .tpd-success-title,
    .tpd-progress-text {
        line-height: 1.4;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Retina display optimizasyonu */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tpd-product-banner-inner,
    .tpd-cart-banner {
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    }
}

/* ===================================
   XSTORE TEMA ÖZEL DÜZELTMELER
   =================================== */

/* XStore summary wrapper düzeltmesi */
.product-type-simple .summary .tpd-product-banner,
.product-type-variable .summary .tpd-product-banner {
    max-width: 100% !important;
    width: 100% !important;
}

/* XStore flex container düzeltmesi */
.summary-inner .tpd-product-banner {
    order: 3; /* Fiyattan sonra, form öncesi */
}

/* XStore cart wrapper düzeltmesi */
.cart-wrapper .tpd-cart-banner,
.woocommerce-cart .tpd-cart-banner {
    max-width: 100% !important;
}

@keyframes tpdGentlePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Ripple Efekti */
.tpd-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    width: 20px;
    height: 20px;
    animation: tpdRipple 0.6s ease-out;
    pointer-events: none;
}

@keyframes tpdRipple {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Notification */
.tpd-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--tony-dark);
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--tony-success);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    font-weight: 600;
}

.tpd-notification-show {
    transform: translateX(0);
}

.tpd-notification-error {
    border-left-color: var(--tony-primary);
}

/* ===================================
   DARK MODE DESTEĞİ
   =================================== */

@media (prefers-color-scheme: dark) {
    .tpd-product-banner-inner,
    .tpd-cart-banner {
        background: #1a1a1a;
        border-color: #333;
    }
    
    .tpd-banner-title,
    .tpd-success-title,
    .tpd-progress-text {
        color: #fff;
    }
    
    .tpd-banner-subtitle,
    .tpd-success-subtitle {
        color: #ccc;
    }
    
    .tpd-discount-item {
        background: #2a2a2a;
    }
    
    .tpd-step-circle {
        background: #2a2a2a;
        border-color: #444;
    }
}

/* ===================================
   PRINT STİLLERİ
   =================================== */

@media print {
    .tpd-product-banner,
    .tpd-cart-banner {
        display: none !important;
    }
}

/* ===================================
   ACCESSİBİLİTY
   =================================== */

.tpd-product-banner:focus-within,
.tpd-cart-banner:focus-within {
    outline: 2px solid var(--tony-primary);
    outline-offset: 2px;
}

/* Screen reader only */
.tpd-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===================================
   İOS SAFARI VE MOBİL BROWSER UYUMLULUĞU
   =================================== */

/* iOS Safari bounce scroll düzeltmesi */
.tpd-product-banner,
.tpd-cart-banner {
    -webkit-overflow-scrolling: touch;
}

/* iOS Safari için border-radius düzeltmesi */
@supports (-webkit-appearance: none) {
    .tpd-product-banner-inner,
    .tpd-cart-banner,
    .tpd-discount-item,
    .tpd-step-circle {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }
}

/* Safari için gradient düzeltmesi */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .tpd-banner-icon,
        .tpd-progress-bar,
        .tpd-discount-best {
            -webkit-transform: translateZ(0);
        }
    }
}

/* Android Chrome için */
@media (max-width: 768px) {
    .tpd-product-banner-inner,
    .tpd-cart-banner {
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }
}

/* Samsung Internet Browser için */
@supports (-webkit-touch-callout: none) {
    .tpd-discount-item,
    .tpd-step-circle {
        -webkit-touch-callout: none;
    }
}

/* Firefox Mobile için performans */
@-moz-document url-prefix() {
    @media (max-width: 768px) {
        .tpd-progress-bar {
            will-change: width;
        }
    }
}

/* Mobil için notification konumu */
@media (max-width: 768px) {
    .tpd-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* ===================================
   YÜKSEK KONTRAST MOD DESTEĞİ
   =================================== */

@media (prefers-contrast: high) {
    .tpd-product-banner-inner,
    .tpd-cart-banner {
        border-width: 3px;
    }
    
    .tpd-discount-item,
    .tpd-step-circle {
        border-width: 3px;
    }
}

/* ===================================
   ANİMASYONLARI AZALTMA TERCİHİ
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .tpd-progress-bar {
        transition: none;
    }
}
