/* ==========================================================================
   SEPET (SHOPPING CART) MODÜLÜ STİLLERİ — Naturalis Premium Tasarım Sistemi
   ========================================================================== */

.bg-f2f2f2 {
    background: transparent !important;
}

.kp-sepet-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 36px auto;
}

/* Header & Checkout Progress Steps */
.kp-sepet-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #064e3b 100%);
    border-radius: 18px;
    padding: 26px 30px;
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.22);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.kp-sepet-header::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kp-sepet-header-content {
    flex: 1;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.kp-sepet-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6ee7b7;
    margin-bottom: 10px;
}

.kp-sepet-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.kp-sepet-subtitle {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.kp-checkout-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.kp-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

.kp-step-item.active {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.kp-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.kp-step-item.active .kp-step-num {
    background: #ffffff;
    color: #059669;
}

.kp-step-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* Cart Item Card (.basket-list--bg) */
.basket-list--bg {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
    transition: all 0.2s ease;
}

.basket-list--bg:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.09);
}

.basket-list--bg img {
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    padding: 6px;
    max-height: 100px;
    object-fit: contain;
}

.basket-list--title,
.basket-list--price {
    min-height: 92px;
    height: auto !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.basket-list--title .tttt {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.35;
}

.basket-list--title .tttt a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.basket-list--title .tttt a:hover {
    color: #059669 !important;
}

.basket-list--title span:last-child {
    position: static !important;
    margin-top: 10px;
}

.basket-list--title a.urun-sil {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626 !important;
    font-size: 12.5px !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.18s ease;
    width: fit-content;
}

.basket-list--title a.urun-sil:hover {
    background: #fee2e2;
    color: #b91c1c !important;
}

/* Quantity Stepper (.urun-adet, .qtyplus2, .qtyminus2) */
.basket-list--price {
    align-items: flex-end;
    gap: 10px;
}

.urun-adet {
    height: 42px !important;
    width: 56px !important;
    border: 1px solid #cbd5e1 !important;
    border-right: none !important;
    border-radius: 10px 0 0 10px;
    padding: 0 8px !important;
    background: #ffffff !important;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.qtyplus2,
.qtyminus2 {
    height: 21px !important;
    width: 30px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.qtyplus2 {
    border-radius: 0 10px 0 0;
    border-bottom: none !important;
}

.qtyminus2 {
    border-radius: 0 0 10px 0;
}

.qtyplus2:hover,
.qtyminus2:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.cn--price {
    position: static !important;
    font-size: 16px !important;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
    text-align: right;
}

.cn--price i.pl-0 {
    display: inline-block;
    padding-left: 8px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
    font-size: 13px;
}

.basket-list--price span:last-child {
    position: static !important;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    text-align: right;
}

/* Summary Card (.product-cart) */
.product-cart {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px !important;
    box-shadow: 0 10px 26px -6px rgba(15, 23, 42, 0.07);
}

.cart-tt {
    font-weight: 800 !important;
    font-size: 16px !important;
    color: #0f172a;
    letter-spacing: 0.03em;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px !important;
}

.product-cart ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px !important;
    font-size: 13.5px !important;
    color: #475569;
}

.product-cart ul li span:last-child {
    font-weight: 700;
    color: #0f172a;
}

.product-cart ul li:last-child {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 14px !important;
}

.product-cart > .d-flex.justify-content-between {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 14px;
}

.product-cart > .d-flex.justify-content-between span:first-child {
    font-size: 14px;
    font-weight: 700;
    color: #065f46;
}

.product-cart > .d-flex.justify-content-between span:last-child {
    font-size: 20px;
    font-weight: 800;
    color: #059669;
}

/* Action Buttons (.primary-button, .primary-button-b) */
.primary-button:not(.d-none),
a.primary-button:not(.d-none) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px -3px rgba(16, 185, 129, 0.35);
    transition: all 0.2s ease;
    flex: 1;
}

.primary-button.d-none,
a.primary-button.d-none,
.primary-button-b.d-none,
a.primary-button-b.d-none {
    display: none !important;
}

.primary-button:hover,
a.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -3px rgba(16, 185, 129, 0.45);
    color: #ffffff !important;
}

.primary-button-b:not(.d-none),
a.primary-button-b:not(.d-none) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex: 1;
}

.primary-button-b:hover,
a.primary-button-b:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .kp-sepet-header {
        padding: 22px 24px;
    }
}

@media (max-width: 768px) {
    .kp-sepet-header {
        padding: 18px 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .kp-checkout-steps {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .kp-step-item {
        white-space: nowrap;
    }

    .basket-list--title,
    .basket-list--price {
        min-height: auto;
    }

    .basket-list--price {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px dashed #e2e8f0;
    }

    .basket-list--title span:last-child {
        position: static !important;
    }
}

@media (max-width: 480px) {
    .kp-sepet-title {
        font-size: 18px;
    }

    .basket-list--bg {
        padding: 14px !important;
    }

    .product-cart {
        padding: 18px !important;
    }
}
