body.woocommerce-cart {
    --pv-blue: #0f73df;
    --pv-blue-dark: #0759af;
    --pv-navy: #062f55;
    --pv-text: #557087;
    --pv-line: #d8e6f2;
    --pv-soft: #f5f9fc;
    --pv-shadow: 0 18px 48px rgba(17, 61, 98, .08);
}

body.woocommerce-cart .woocommerce {
    max-width: 1240px;
    margin: 0 auto;
    padding: 54px 24px 72px;
}

body.woocommerce-cart .pv-cart-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 0 28px;
    padding: 28px 32px;
    border: 1px solid var(--pv-line);
    border-radius: 20px;
    background: linear-gradient(135deg, #fbfdff, #f1f7fc);
}

body.woocommerce-cart .pv-cart-intro-copy > span,
body.woocommerce-cart .pv-cart-summary-head > span {
    display: block;
    margin-bottom: 7px;
    color: var(--pv-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.woocommerce-cart .pv-cart-intro h2 {
    margin: 0 0 6px;
    color: var(--pv-navy);
    font-size: 31px;
    line-height: 1.2;
}

body.woocommerce-cart .pv-cart-intro p {
    margin: 0;
    color: var(--pv-text);
}

body.woocommerce-cart .pv-cart-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

body.woocommerce-cart .pv-cart-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7890a3;
    font-size: 13px;
    font-weight: 700;
}

body.woocommerce-cart .pv-cart-step:not(:last-child)::after {
    width: 22px;
    height: 1px;
    margin-left: 4px;
    background: #c7d8e6;
    content: '';
}

body.woocommerce-cart .pv-cart-step-number {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #c9dbe8;
    border-radius: 50%;
    background: #fff;
}

body.woocommerce-cart .pv-cart-step.is-active { color: var(--pv-navy); }
body.woocommerce-cart .pv-cart-step.is-active .pv-cart-step-number {
    border-color: var(--pv-blue);
    background: var(--pv-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 115, 223, .22);
}

body.woocommerce-cart .pv-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(330px, .9fr);
    align-items: start;
    gap: 26px;
}

body.woocommerce-cart .pv-cart-products-card,
body.woocommerce-cart .pv-cart-summary {
    overflow: hidden;
    border: 1px solid var(--pv-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--pv-shadow);
}

body.woocommerce-cart .pv-cart-card-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 18px 24px;
    border-bottom: 1px solid var(--pv-line);
    color: #6d8599;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.woocommerce-cart .pv-cart-item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 22px;
    padding: 26px 24px;
}

body.woocommerce-cart .pv-cart-item + .pv-cart-item { border-top: 1px solid var(--pv-line); }

body.woocommerce-cart .pv-cart-item-image {
    display: grid;
    min-height: 118px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pv-line);
    border-radius: 16px;
    background: var(--pv-soft);
}

body.woocommerce-cart .pv-cart-item-image img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

body.woocommerce-cart .pv-cart-item-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
}

body.woocommerce-cart .pv-cart-item-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}
body.woocommerce-cart .pv-cart-item-title a { color: var(--pv-navy); }
body.woocommerce-cart .pv-cart-unit-price,
body.woocommerce-cart .pv-cart-line-total {
    color: var(--pv-navy);
    font-size: 15px;
    font-weight: 800;
}
body.woocommerce-cart .pv-cart-line-total { font-size: 18px; white-space: nowrap; }
body.woocommerce-cart .pv-price-tax-suffix {
    display: block;
    margin-top: 6px;
    color: var(--pv-text);
    font-size: 12px;
    font-weight: 500;
}

body.woocommerce-cart .pv-cart-item-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

body.woocommerce-cart .pv-cart-quantity {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #cbddea;
    border-radius: 11px;
    background: #f8fbfd;
}

body.woocommerce-cart .pv-cart-quantity .quantity { margin: 0 !important; }
body.woocommerce-cart .pv-cart-quantity input.qty {
    width: 48px !important;
    height: 42px !important;
    margin: 0 !important;
    border: 0 !important;
    border-right: 1px solid #d7e5ef !important;
    border-left: 1px solid #d7e5ef !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--pv-navy);
    text-align: center;
}
body.woocommerce-cart .pv-cart-qty-button {
    width: 38px;
    border: 0;
    background: transparent;
    color: var(--pv-blue);
    font-size: 18px;
    cursor: pointer;
}
body.woocommerce-cart .pv-cart-remove {
    color: #ba3f49;
    font-size: 13px;
    font-weight: 750;
}

body.woocommerce-cart .pv-cart-form-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-top: 1px solid var(--pv-line);
    background: #fbfdff;
}
body.woocommerce-cart .pv-cart-coupon label {
    display: block;
    margin-bottom: 7px;
    color: var(--pv-navy);
    font-size: 12px;
    font-weight: 750;
}
body.woocommerce-cart .pv-cart-coupon-row { display: flex; gap: 9px; }
body.woocommerce-cart .pv-cart-coupon input {
    width: 210px;
    min-height: 43px;
    border: 1px solid #cbddea;
    border-radius: 10px;
    padding: 0 13px;
}
body.woocommerce-cart .pv-cart-form-actions .button {
    min-height: 43px;
    border: 0;
    border-radius: 10px;
    padding: 0 18px;
    background: #eaf3fb;
    color: var(--pv-blue-dark);
    font-weight: 750;
}
body.woocommerce-cart .pv-cart-form-actions .button[name="apply_coupon"],
body.woocommerce-cart .pv-cart-update { background: var(--pv-blue); color: #fff; }

body.woocommerce-cart .pv-cart-summary { position: sticky; top: 24px; }
body.woocommerce-cart.admin-bar .pv-cart-summary { top: 56px; }
body.woocommerce-cart .pv-cart-summary-head {
    padding: 24px 26px 20px;
    border-bottom: 1px solid var(--pv-line);
    background: linear-gradient(135deg, #fbfdff, #f4f9fd);
}
body.woocommerce-cart .pv-cart-summary-head h2 {
    margin: 0;
    color: var(--pv-navy);
    font-size: 22px;
    line-height: 1.25;
}
body.woocommerce-cart .pv-cart-summary-body { padding: 10px 26px 4px; }
body.woocommerce-cart .pv-cart-summary-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    color: var(--pv-text);
    font-size: 14px;
}
body.woocommerce-cart .pv-cart-summary-row + .pv-cart-summary-row { border-top: 1px solid #e7eef4; }
body.woocommerce-cart .pv-cart-summary-row strong {
    color: var(--pv-navy);
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}
body.woocommerce-cart .pv-cart-summary-row--discount strong { color: #198754; }
body.woocommerce-cart .pv-cart-summary-row--total {
    margin-top: 4px;
    padding: 18px 0 10px;
    border-top: 1px solid #cddde9 !important;
    color: var(--pv-navy);
    font-size: 17px;
    font-weight: 800;
}
body.woocommerce-cart .pv-cart-summary-row--total strong {
    color: var(--pv-blue-dark);
    font-size: 21px;
}
body.woocommerce-cart .pv-cart-tax-note,
body.woocommerce-cart .pv-cart-summary-note {
    margin: 8px 0 16px;
    color: #7b91a3;
    font-size: 12px;
    line-height: 1.5;
}
body.woocommerce-cart .pv-cart-summary-actions {
    padding: 20px 26px 24px;
    border-top: 1px solid var(--pv-line);
}
body.woocommerce-cart .pv-cart-summary-actions .checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #1581ed, #0864c7) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 26px rgba(15, 115, 223, .23);
}

body.woocommerce-cart .pv-cart-help { display: none; }

body.woocommerce-cart .pv-cart-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}
body.woocommerce-cart .pv-cart-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 18px;
    border: 1px solid var(--pv-line);
    border-radius: 15px;
    background: #fbfdff;
}
body.woocommerce-cart .pv-cart-trust-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 11px;
    background: #e7f3ff;
    color: var(--pv-blue);
    font-size: 18px;
    font-weight: 800;
}
body.woocommerce-cart .pv-cart-trust-item strong,
body.woocommerce-cart .pv-cart-trust-item small { display: block; }
body.woocommerce-cart .pv-cart-trust-item strong { color: var(--pv-navy); font-size: 13px; }
body.woocommerce-cart .pv-cart-trust-item small { margin-top: 3px; color: #7a90a2; font-size: 11px; }

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info {
    margin-bottom: 20px;
    border-radius: 12px;
}

body.woocommerce-cart .pv-cart-mobile-checkout { display: none; }

@media (max-width: 991px) {
    body.woocommerce-cart .pv-cart-layout { grid-template-columns: 1fr; }
    body.woocommerce-cart .pv-cart-summary { position: static; }
    body.woocommerce-cart .pv-cart-trust { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    body.woocommerce-cart .woocommerce { padding: 28px 16px 110px; }
    body.woocommerce-cart .pv-cart-intro { display: block; padding: 22px 20px; }
    body.woocommerce-cart .pv-cart-intro h2 { font-size: 24px; }
    body.woocommerce-cart .pv-cart-steps { margin-top: 20px; }
    body.woocommerce-cart .pv-cart-step:not(:last-child)::after { width: 10px; }
    body.woocommerce-cart .pv-cart-card-heading { display: none; }
    body.woocommerce-cart .pv-cart-item { grid-template-columns: 82px minmax(0, 1fr); gap: 15px; padding: 20px 16px; }
    body.woocommerce-cart .pv-cart-item-image { min-height: 82px; }
    body.woocommerce-cart .pv-cart-item-image img { width: 62px; height: 62px; }
    body.woocommerce-cart .pv-cart-item-main { display: block; }
    body.woocommerce-cart .pv-cart-line-total { margin-top: 10px; }
    body.woocommerce-cart .pv-cart-form-actions { display: block; padding: 18px 16px; }
    body.woocommerce-cart .pv-cart-coupon-row { display: grid; grid-template-columns: 1fr auto; }
    body.woocommerce-cart .pv-cart-coupon input { width: 100%; }
    body.woocommerce-cart .pv-cart-update { width: 100%; margin-top: 12px; }
    body.woocommerce-cart .pv-cart-summary-head,
    body.woocommerce-cart .pv-cart-summary-body,
    body.woocommerce-cart .pv-cart-summary-actions { padding-right: 20px; padding-left: 20px; }
    body.woocommerce-cart .pv-cart-mobile-checkout {
        position: fixed;
        z-index: 9998;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--pv-line);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -10px 30px rgba(17, 61, 98, .12);
        backdrop-filter: blur(12px);
    }
    body.woocommerce-cart .pv-cart-mobile-total span,
    body.woocommerce-cart .pv-cart-mobile-total strong { display: block; }
    body.woocommerce-cart .pv-cart-mobile-total span { color: #758b9d; font-size: 11px; }
    body.woocommerce-cart .pv-cart-mobile-total strong { color: var(--pv-navy); font-size: 17px; }
    body.woocommerce-cart .pv-cart-mobile-checkout > a {
        display: flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        border-radius: 11px;
        padding: 0 20px;
        background: var(--pv-blue);
        color: #fff;
        font-weight: 800;
    }
}

/* =========================================================
   PROVIEW Sepet Başlık Alanı Kompakt Düzen v3.1
   Yalnızca WooCommerce sepet sayfasını etkiler.
   ========================================================= */
body.woocommerce-cart .pv-page-title-bar {
    padding: 12px 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}

body.woocommerce-cart .pv-page-title-bar h1 {
    font-size: 26px !important;
    line-height: 1.15 !important;
}

body.woocommerce-cart .pv-page-title-bar h1::after {
    width: 42px;
    height: 3px;
    margin-top: 9px;
}

body.woocommerce-cart .woocommerce {
    padding-top: 24px;
}

@media (max-width: 920px) {
    body.woocommerce-cart .pv-page-title-bar {
        padding: 10px 0 !important;
    }

    body.woocommerce-cart .pv-page-title-bar h1 {
        font-size: 22px !important;
    }

    body.woocommerce-cart .woocommerce {
        padding-top: 18px;
    }
}

/* =========================================================
   PROVIEW Sepet Adet Kontrolü Final v3.2
   Tarayıcı sayı oklarını kaldırır ve − | adet | + düzenini sabitler.
   ========================================================= */
body.woocommerce-cart .pv-cart-quantity {
    display: inline-grid !important;
    grid-template-columns: 44px 52px 44px;
    align-items: stretch !important;
    width: 140px;
    min-width: 140px;
    height: 46px;
    overflow: hidden;
    border: 1px solid #cbddea !important;
    border-radius: 12px !important;
    background: #f8fbfd !important;
}

body.woocommerce-cart .pv-cart-quantity .quantity {
    display: block !important;
    width: 52px !important;
    min-width: 52px !important;
    height: 44px !important;
    margin: 0 !important;
}

body.woocommerce-cart .pv-cart-quantity input.qty {
    display: block !important;
    box-sizing: border-box !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1px solid #d7e5ef !important;
    border-left: 1px solid #d7e5ef !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--pv-navy) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 44px !important;
    text-align: center !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
    box-shadow: none !important;
}

body.woocommerce-cart .pv-cart-quantity input.qty::-webkit-inner-spin-button,
body.woocommerce-cart .pv-cart-quantity input.qty::-webkit-outer-spin-button {
    margin: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

body.woocommerce-cart .pv-cart-qty-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f8fbfd !important;
    color: var(--pv-blue) !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
}

body.woocommerce-cart .pv-cart-qty-button:hover,
body.woocommerce-cart .pv-cart-qty-button:focus-visible {
    background: #edf6ff !important;
    color: var(--pv-blue-dark) !important;
}

body.woocommerce-cart .pv-cart-qty-button:focus-visible {
    position: relative;
    z-index: 2;
    outline: 2px solid rgba(8, 120, 232, .3) !important;
    outline-offset: -2px;
}

@media (max-width: 480px) {
    body.woocommerce-cart .pv-cart-quantity {
        grid-template-columns: 40px 48px 40px;
        width: 128px;
        min-width: 128px;
        height: 44px;
    }

    body.woocommerce-cart .pv-cart-quantity .quantity,
    body.woocommerce-cart .pv-cart-quantity input.qty {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 42px !important;
        min-height: 42px !important;
        line-height: 42px !important;
    }

    body.woocommerce-cart .pv-cart-qty-button {
        width: 40px !important;
        min-width: 40px !important;
        height: 42px !important;
        min-height: 42px !important;
    }
}

/* =========================================================
   PROVIEW Sepet Adet Kontrolü Kesin Final v3.3
   Accounting temasının eklediği ikincil dikey +/- kontrolünü devre dışı bırakır.
   ========================================================= */
body.woocommerce-cart .pv-cart-quantity {
    display: grid !important;
    grid-template-columns: 44px 52px 44px !important;
    align-items: center !important;
    width: 140px !important;
    min-width: 140px !important;
    height: 46px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #cbddea !important;
    border-radius: 12px !important;
    background: #f8fbfd !important;
}

body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-button,
body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-input,
body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-value {
    box-sizing: border-box !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
}

body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-input,
body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-value {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1px solid #d7e5ef !important;
    border-left: 1px solid #d7e5ef !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--pv-navy) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 44px !important;
    text-align: center !important;
    box-shadow: none !important;
    outline: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
}

body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f8fbfd !important;
    color: var(--pv-blue) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

/* Ana tema veya eklentilerin sonradan eklediği tüm ikincil adet düğmelerini gizle. */
body.woocommerce-cart .pv-cart-quantity .quantity,
body.woocommerce-cart .pv-cart-quantity .plus,
body.woocommerce-cart .pv-cart-quantity .minus,
body.woocommerce-cart .pv-cart-quantity button.plus,
body.woocommerce-cart .pv-cart-quantity button.minus,
body.woocommerce-cart .pv-cart-quantity input::-webkit-inner-spin-button,
body.woocommerce-cart .pv-cart-quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
}

body.woocommerce-cart .pv-cart-quantity .quantity,
body.woocommerce-cart .pv-cart-quantity .plus,
body.woocommerce-cart .pv-cart-quantity .minus,
body.woocommerce-cart .pv-cart-quantity button.plus,
body.woocommerce-cart .pv-cart-quantity button.minus {
    display: none !important;
}

@media (max-width: 480px) {
    body.woocommerce-cart .pv-cart-quantity {
        grid-template-columns: 40px 48px 40px !important;
        width: 128px !important;
        min-width: 128px !important;
        height: 44px !important;
    }

    body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-button {
        width: 40px !important;
        min-width: 40px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-input,
    body.woocommerce-cart .pv-cart-quantity > .pv-cart-qty-value {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 42px !important;
        min-height: 42px !important;
        line-height: 42px !important;
    }
}
