/* Sepet (plan 8.5), adres ve onay, ödeme formu ve sonuç (plan 8.6) — Vitrin V6 (docs/B2C_STORE_REDESIGN_PLAN.md §6.4).
   Çerçeveli kartlar (1.5 px), Bricolage başlıklar, siyah birincil düğme, ana ticaret eylemi (Ödemeye geç) vurgu
   renginde.
   Mini sepet stilleri store.css'te; burada yalnız sepet / ödeme sayfalarına kapsamlı kurallar. */
@layer pages {
    /* ================================================================ başlık ve adımlar */
    #cart .page-head { align-items: center; margin-block: var(--sp-4) var(--sp-6); }
    #cart .page-head h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-4xl);
        line-height: 1; }
    .h-count { display: inline-flex; align-items: center; height: 32px; padding-inline: 14px;
        border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2);
        font: 600 14px/1 var(--font-body); letter-spacing: 0; }
    .h-count:empty { display: none; }
    .co-steps, [data-cart-full] > .steps { max-width: 880px; margin: 0 auto var(--sp-7); }

    /* ================================================================ sepet */
    /* Dolu sepette satırlar ve özet cart.js ile çizilir; o ana dek sayfa ekran boyu tutulur, alt bilgi ekranın altında kalır (kayma olmaz). */
    #cart:has(> [data-cart-full]:not([hidden])) { min-height: 100svh; }
    .cart { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--sp-8); align-items: start; }
    @media (max-width: 1023.98px) { .cart { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); } }
    .cart-main { display: grid; gap: var(--sp-4); min-width: 0; }
    [data-cart-alerts] { display: grid; gap: 10px; }
    [data-cart-alerts]:empty { display: none; }

    /* ---- ücretsiz kargo çubuğu: dolarken yay eğrisiyle uzar (cart.js yerinde günceller, çubuk yeniden kurulmaz) */
    .cart-meter { padding: 18px 20px; border-radius: var(--r-lg); }
    .cmeter { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 16px; }
    .cmeter-ic { display: grid; place-items: center; grid-row: span 2; width: 46px; height: 46px;
        border-radius: var(--r-md); background: var(--acc-soft); color: var(--acc-text); --ic: 23px;
        transition: background var(--t-med), color var(--t-med); }
    .cmeter-text { font-size: 15px; line-height: 22px; color: var(--text-2); }
    .cmeter-text b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
    .cmeter-bar { height: 8px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; }
    .cmeter-bar > i { display: block; width: calc(var(--p, 0) * 1%); height: 100%; border-radius: inherit;
        background: var(--acc);
        transition: width var(--dur-spring-soft) var(--ease-spring-soft), background var(--t-med); }
    .cmeter.is-done .cmeter-ic { background: var(--success-soft); color: var(--success); }
    .cmeter.is-done .cmeter-bar > i { background: var(--success); }

    /* ---- satır kartları: her satır çerçeveli kart; silinince yüksekliği, boşluğu ve opaklığı birlikte kapanır,
       altındakiler yukarı kayar */
    .clines { margin: 0; padding: 0; list-style: none; }
    .cline { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 8px 20px; margin-bottom: 12px;
        padding: 16px; border: 1.5px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
        transition: border-color var(--t-med) var(--ease); }
    .cline:last-child { margin-bottom: 0; }
    .cline:hover { border-color: var(--border-2); }
    .cline .cline-img { width: 112px; border-radius: var(--r-md); }
    .cline-info { display: grid; align-content: start; gap: 5px; min-width: 0; }
    .cline .cline-name { font-size: 16px; font-weight: 600; line-height: 1.35; }
    .cline-side { display: grid; justify-items: end; align-content: space-between; gap: 12px; }
    .cline-total { text-align: right; border-radius: var(--r-sm); padding: 2px 4px; margin: -2px -4px; }
    .cline-total .price { justify-content: flex-end; flex-wrap: wrap; }
    .cline-total .price-now { font-size: 20px; font-weight: 700; }
    .cline-total .price-now small { font-size: .62em; }
    .cline-acts { display: flex; align-items: center; gap: 6px; }
    .cline-rm { color: var(--text-3); }
    .cline-rm:hover { color: var(--danger); background: var(--danger-soft); }
    .cline.is-out { border-style: dashed; }
    .cline.is-out .cline-img, .cline.is-out .cline-info, .cline.is-out .cline-total { opacity: .55; }
    .cline.is-out .qty { display: none; }
    .cline.is-collapsing { overflow: hidden; pointer-events: none; }
    .cline-gift .cline-img::after { content: "Hediye"; position: absolute; left: 6px; top: 6px; padding: 2px 8px;
        border-radius: 4px;
        background: var(--success); color: var(--on-status);
        font: 700 11px/16px var(--font-head); }
    .cline-gift .cline-noimg { color: var(--success); --ic: 30px; }
    .cart-tools { display: flex; justify-content: flex-end; margin-top: var(--sp-3); }
    .cart-tools .btn { color: var(--text-3); }
    .cart-tools .btn:hover { color: var(--danger); }
    @media (max-width: 639.98px) {
        .cline { grid-template-columns: 88px minmax(0, 1fr); gap: 8px 14px; padding: 12px; }
        .cline .cline-img { width: 88px; }
        /* dar ekranda (320) tutar sığmazsa adet seçicinin altına iner */
        .cline-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center;
            justify-content: space-between; gap: 8px 12px; padding-top: 10px; border-top: 1px solid var(--border); }
        .cline-total { order: 2; margin-left: auto; }
    }

    /* ---- özet kartı */
    .csum { position: sticky; top: calc(var(--hdr-sticky) + 20px); display: grid; gap: var(--sp-4);
        scroll-margin-top: calc(var(--hdr-sticky) + 12px); }
    .csum-card { padding: var(--sp-6); border-radius: var(--r-xl); }
    .csum-card > h2, .csum h2 { font-size: var(--fs-2xl); line-height: 1; margin-bottom: 4px; }
    :is(.csum, .co-sum) .srows { gap: 12px; margin-top: 4px; }
    :is(.csum, .co-sum) .srow { font-size: 15px; }
    :is(.csum, .co-sum) .srow.total { align-items: flex-end; margin-top: 6px; padding-top: 18px;
        border-top: 1.5px solid var(--border); }
    :is(.csum, .co-sum) .srow.total dt { font-size: 15px; font-weight: 600; color: var(--text-2); }
    :is(.csum, .co-sum) .srow.total dd { font: 800 clamp(30px, 1.2vw + 22px, 38px)/1 var(--font-head);
        letter-spacing: -.035em; }
    .saving { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-md); --ic: 18px; }
    .csum-card .btn-acc { --btn-h: var(--ctl-xl); --btn-fs: 17px; font-family: var(--font-head); font-weight: 800;
        letter-spacing: -.01em; }
    .csum-secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px;
        color: var(--text-3); text-align: center; --ic: 16px; }
    .csum-pay { display: flex; justify-content: center; gap: 6px; }
    .csum-pay img { height: 24px; width: auto; border-radius: 4px; }
    a[aria-disabled] { opacity: .5; cursor: not-allowed; }
    @media (max-width: 1023.98px) {
        .csum { position: static; }
        .csum .btn[data-checkout] { display: none; }
    }

    /* ---- kupon / hediye çeki */
    .codes { display: grid; gap: 10px; }
    .code-acc { border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--surface);
        transition: border-color var(--t-fast); }
    .code-acc:hover, .code-acc[open] { border-color: var(--border-2); }
    .code-acc > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding-inline: 14px;
        font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; --ic: 19px; }
    .code-acc > summary::-webkit-details-marker { display: none; }
    .code-acc > summary > .icon:first-child { color: var(--acc-text); }
    .code-acc > summary .chev { margin-left: auto; color: var(--text-3);
        transition: transform var(--t-med) var(--ease); }
    .code-acc[open] > summary .chev { transform: rotate(180deg); }
    .code-chip { padding: 2px 9px; border-radius: 4px; background: var(--success-soft); color: var(--success);
        font: 700 12px/18px var(--font-head); letter-spacing: .04em; }
    .code-chip.is-bad { background: var(--warning-soft); color: var(--warning); }
    .code-row { display: flex; align-items: flex-start; gap: 8px; padding: 0 14px 14px; }
    .code-row .input { text-transform: uppercase; letter-spacing: .04em; }
    .code-row .input::placeholder { text-transform: none; letter-spacing: 0; }
    .code-row .btn { --btn-bg: var(--ink); --btn-fg: var(--ink-text); --btn-bd: transparent;
        --btn-bg-h: color-mix(in oklab, var(--ink), var(--bg) 16%);
        --btn-bg-a: color-mix(in oklab, var(--ink), var(--bg) 28%); }
    .code-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 14px 14px;
        padding: 6px 6px 6px 12px; border-radius: var(--r-md); background: var(--success-soft);
        transform-origin: left center; }
    .code-applied:has(.is-bad) { background: var(--warning-soft); }
    /* yeni uygulanan kod yay eğrisiyle "pop" eder (cart.js .is-new verir; azaltılmış harekette süre 0) */
    .code-applied.is-new { animation: code-pop var(--dur-spring) var(--ease-spring) both; }
    @keyframes code-pop { from { opacity: 0; scale: .86; } }
    .code-tag { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--success);
        font-size: 14px; --ic: 18px; }
    .code-tag b { font-family: var(--font-head); font-weight: 800; letter-spacing: .04em; }
    .code-tag em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
    .code-tag.is-bad { color: var(--warning); }
    .code-err { padding: 0 14px 14px; }

    /* ---- boş sepet: resimsiz, iri mesaj + tek eylem; altında son gezilenler */
    .cart-empty { display: grid; justify-items: center; gap: var(--sp-4); max-width: 640px;
        margin: var(--sp-8) auto var(--sp-9); text-align: center; }
    .cart-empty h2 { font-size: var(--fs-display); line-height: .92; letter-spacing: -.05em; }
    .cart-empty p { max-width: 46ch; color: var(--text-2); font-size: 17px; line-height: 1.55; }
    .cart-empty .btn { margin-top: var(--sp-2); }

    /* ---- mobil alt çubuk */
    .mbar { gap: 14px; border-top-width: 1.5px; }
    .mbar-total { display: grid; gap: 0; text-align: left; }
    .mbar-total span { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: var(--text-3); --ic: 14px; }
    .mbar-total b { font: 800 22px/1.1 var(--font-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
    .mbar .btn { --btn-h: var(--ctl-xl); font-family: var(--font-head); font-weight: 800; }

    /* ================================================================ adres ve onay */
    .co { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: var(--sp-8); align-items: start; }
    @media (max-width: 1023.98px) { .co { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); } }
    .co-main { display: grid; gap: var(--sp-4); min-width: 0; }
    .co-sec { padding: var(--sp-6); border-radius: var(--r-xl); }
    .co-sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-5); }
    .co-sec-h h2 { font-size: var(--fs-xl); }
    .co-sec-h .n { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
        background: var(--ink); color: var(--ink-text); font: 800 14px/1 var(--font-head); letter-spacing: 0;
        transition: background var(--t-med); }
    .co-sec-h .tools { margin-left: auto; }
    .co-sec.is-ok .co-sec-h .n { background: var(--success); color: var(--on-status); }

    /* adres kartları: seçili kart vurgu halkası alır */
    .acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
    .acard { position: relative; display: grid; gap: 4px; align-content: start; min-height: 140px; padding: 16px 18px;
        border: 1.5px solid var(--border); border-radius: var(--r-lg);
        background: var(--surface); cursor: pointer;
            transition: border-color var(--t-fast), box-shadow var(--t-med) var(--ease), background var(--t-fast); }
    .acard:hover { border-color: var(--text-3); }
    .acard input { position: absolute; opacity: 0; pointer-events: none; }
    .acard:has(input:checked) { border-color: var(--acc);
        background: color-mix(in oklab, var(--acc) 5%, var(--surface)); box-shadow: 0 0 0 3px var(--acc-ring); }
    .acard:has(input:focus-visible) { outline: 2px solid var(--acc-text); outline-offset: 3px; }
    .acard-top { display: flex; align-items: center; gap: 8px; padding-right: 64px; }
    .acard-top strong { font: 700 16px/1.25 var(--font-head); letter-spacing: -.02em; }
    .acard-mark { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 24px;
        height: 24px; border-radius: 50%; border: 1.5px solid var(--border-2); color: transparent; --ic: 14px;
        transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast),
                scale var(--dur-spring-snappy) var(--ease-spring-snappy); }
    .acard:has(input:checked) .acard-mark { background: var(--acc); border-color: var(--acc); color: var(--acc-ink);
        scale: 1.08; }
    .acard p { font-size: 13px; line-height: 1.45; color: var(--text-2); }
    .acard .who { color: var(--text); font-weight: 600; }
    .acard .corp { font-size: 12px; color: var(--text-3); }
    .acard-edit { position: absolute; right: 44px; top: 10px; }
    .acard-new { border-radius: var(--r-lg); min-height: 140px; }
    .co-billing { display: flex; align-items: center; justify-content: space-between; gap: 12px;
        margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1.5px solid var(--border); }
    .co-note summary { display: inline-flex; align-items: center; gap: 6px; color: var(--acc-text); font-size: 14px;
        font-weight: 600; cursor: pointer; list-style: none; --ic: 16px; }
    .co-note summary::-webkit-details-marker { display: none; }
    .co-note .textarea { margin-top: 10px; }
    .co-terms { display: grid; gap: 8px; }
    .co-terms .check { font-size: 14px; }
    .co-terms a { color: var(--acc-text); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
    .co-terms.is-invalid .check input { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }

    /* özet (sepet özetiyle aynı kart dili) */
    .co-sum { position: sticky; top: calc(var(--hdr-sticky) + 20px); display: grid; gap: var(--sp-4); }
    .co-items { display: grid; gap: 14px; max-height: 320px; overflow: auto; margin: 0 calc(var(--sp-6) * -1);
        padding: 4px var(--sp-6); list-style: none; scrollbar-width: thin; }
    .co-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
    .co-item .cline-img { width: 60px; border-radius: var(--r-md); }
    .co-item .qty-badge { position: absolute; right: -6px; top: -6px; z-index: 1; min-width: 22px; height: 22px;
        padding-inline: 6px; border-radius: 11px; background: var(--ink); color: var(--ink-text);
        border: 2px solid var(--surface);
        font: 800 11px/1 var(--font-head); display: grid; place-items: center; }
    .co-item-wrap { position: relative; }
    .co-item .nm { font-size: 14px; font-weight: 600; line-height: 1.3; }
    .co-item .vr { font-size: 12px; color: var(--text-3); }
    .co-item .pr { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right;
        white-space: nowrap; }
    .co-item .pr s { display: block; font-size: 11px; font-weight: 400; color: var(--text-3); }
    .co-sum-m { display: none; }
    @media (max-width: 1023.98px) {
        .co-sum { position: static; }
        .co-sum .co-pay-btn { display: none; }
        .co-sum-m { display: block; padding: 0; overflow: hidden; border-radius: var(--r-lg); }
        .co-sum-m > summary { display: flex; align-items: center; gap: 10px; min-height: 56px; padding-inline: 16px;
            font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; --ic: 18px; }
        .co-sum-m > summary::-webkit-details-marker { display: none; }
        .co-sum-m > summary b { margin-left: auto; font: 800 18px/1 var(--font-head); letter-spacing: -.02em;
            font-variant-numeric: tabular-nums; }
        .co-sum-m > summary .chev { color: var(--text-3); transition: transform var(--t-med) var(--ease); }
        .co-sum-m[open] > summary .chev { transform: rotate(180deg); }
        .co-sum-m > div { padding: 4px 16px 16px; }
        .co > .co-sum { order: 2; }
        .co-sum-desk { display: none; }
    }

    /* ================================================================ ödeme formu */
    /* iyzico formunun kendi renkleri değiştirilemez: kart zemini iki temada da açık ve sabit renkli (bilinçli, plan
       8.6) */
    .pay-card { padding: var(--sp-6); border-radius: var(--r-xl); color-scheme: light; background: #fff; color: #1d2026;
        border-color: #e6e6e6; }
    .pay-card h2 { color: #1d2026; }
    .pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
        margin-bottom: var(--sp-4); }
    .pay-head h2 { font-size: var(--fs-xl); }
    .pay-head .csum-pay { justify-content: flex-end; }
    .pay-skel { display: grid; gap: 12px; }
    .pay-skel i { display: block; height: 44px; border-radius: 10px;
        background: linear-gradient(90deg, #f1f1f1 25%, #e7e7e7 37%, #f1f1f1 63%); background-size: 400% 100%;
        animation: skel 1.3s ease infinite; }
    .pay-skel i:nth-child(1) { width: 60%; height: 20px; }
    .pay-skel .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .pay-note { display: flex; gap: 8px; margin-top: var(--sp-4); font-size: 13px; color: #5d6470; --ic: 16px; }
    @keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
    @media (prefers-reduced-motion: reduce) { .pay-skel i { animation: none; } }
    /* test ödeme kuruluşunun formu (yalnız geliştirme) */
    .test-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px;
        border: 1px dashed #c9c9c9; border-radius: 12px; background: #fafafa; }
    .test-pay p { flex-basis: 100%; font-size: 14px; }
    .test-pay button { min-height: 44px; padding-inline: 18px; border-radius: 10px; border: 1px solid #d5d5d5;
        background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
    .test-pay button[value="success"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
    #iyzipay-checkout-form:has(iframe, form) + .pay-skel,
            #iyzipay-checkout-form:not(:empty) ~ .pay-skel { display: none; }

    /* ================================================================ sonuç */
    .res { max-width: 760px; margin: 0 auto; display: grid; gap: var(--sp-5); }
    .res-card { position: relative; isolation: isolate; padding: var(--sp-9) var(--sp-6) var(--sp-8);
        border-radius: var(--r-xl); text-align: center; display: grid; justify-items: center; gap: 12px; }
    .res-card h1 { font-size: var(--fs-4xl); line-height: 1; }
    .res-card p { color: var(--text-2); max-width: 52ch; }

    /* onay işareti: halka çizilir, dolar, tik çizilir; arkasından bir dalga ve sekiz nokta açılır. Hepsi süs
       (aria-hidden). */
    .res-badge { position: relative; width: 96px; height: 96px; margin-bottom: 10px; }
    .res-badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
        border: 2px solid var(--success); opacity: 0;
        animation: res-ripple .9s var(--ease) .55s forwards; }
    .res-badge.is-fail::before { display: none; }
    .res-ic { position: relative; width: 96px; height: 96px; overflow: visible; }
    .res-ic circle { fill: var(--success); fill-opacity: 0; stroke: var(--success); stroke-width: 3;
        stroke-dasharray: 260; stroke-dashoffset: 260;
        animation: res-draw .6s var(--ease) forwards, res-fill .3s ease-out .5s forwards; }
    .res-ic path { fill: none; stroke: var(--on-status); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
        stroke-dasharray: 60; stroke-dashoffset: 60; animation: res-draw .45s var(--ease) .72s forwards; }
    .res-ic.is-fail circle { fill: var(--danger); stroke: var(--danger); }
    .res-badge > i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
        border-radius: 50%; background: var(--acc); opacity: 0;
        animation: res-spark .85s var(--ease) .78s forwards; }
    .res-badge > i:nth-of-type(even) { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--success); }
    .res-badge > i:nth-of-type(1) { --a: 0deg; }
    .res-badge > i:nth-of-type(2) { --a: 45deg; }
    .res-badge > i:nth-of-type(3) { --a: 90deg; }
    .res-badge > i:nth-of-type(4) { --a: 135deg; }
    .res-badge > i:nth-of-type(5) { --a: 180deg; }
    .res-badge > i:nth-of-type(6) { --a: 225deg; }
    .res-badge > i:nth-of-type(7) { --a: 270deg; }
    .res-badge > i:nth-of-type(8) { --a: 315deg; }
    @keyframes res-draw { to { stroke-dashoffset: 0; } }
    @keyframes res-fill { to { fill-opacity: 1; } }
    @keyframes res-ripple { from { opacity: .55; scale: .8; } to { opacity: 0; scale: 1.7; } }
    @keyframes res-spark {
        from { opacity: 1; transform: rotate(var(--a)) translateY(-52px) scale(.5); }
        70% { opacity: 1; }
        to { opacity: 0; transform: rotate(var(--a)) translateY(-84px) scale(1); }
    }
    @media (prefers-reduced-motion: reduce) {
        .res-ic circle, .res-ic path { animation: none; stroke-dashoffset: 0; fill-opacity: 1; }
        .res-badge::before, .res-badge > i { display: none; }
    }

    /* sipariş no: kesik çizgili "fiş" kutusu, kopyalanır */
    .res-no { display: inline-flex; align-items: center; gap: 14px; margin-top: 4px; padding: 8px 8px 8px 20px;
        border: 1.5px dashed var(--border-2); border-radius: var(--r-lg); background: var(--surface-2); }
    .res-no > span { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
        color: var(--text-3); }
    .res-no b { font: 800 24px/1 var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
    .res-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
    .res-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--sp-5); padding: var(--sp-6);
        border-radius: var(--r-xl); text-align: left; }
    .res-grid h2 { font-size: var(--fs-lg); margin-bottom: 10px; }
    .res-addr { font-size: 14px; line-height: 1.5; color: var(--text-2); }
    .res-addr strong { color: var(--text); }
    @media (max-width: 767.98px) {
        .res-grid { grid-template-columns: 1fr; }
        .res-card { padding: var(--sp-7) var(--sp-4); }
        .res-no b { font-size: 20px; }
    }
    .res-reason { display: flex; gap: 10px; align-items: flex-start; max-width: 520px; padding: 12px 14px; border-radius: var(--r-md); background: var(--danger-soft); color: var(--danger); font-size: 14px; text-align: left; --ic: 18px; }

    /* ---- hediye paketi */
    .co-gift { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-lg);
        border: 1.5px solid var(--border); background: var(--surface-2);
        transition: border-color var(--t-fast), background var(--t-fast); }
    .co-gift .switch > span:last-child { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; --ic: 18px; }
    .co-gift .switch .icon { color: var(--acc-text); }
    .co-gift:has(#gift-wrap:checked) { border-color: var(--acc-line); background: var(--acc-soft); }
    .co-gift-note .textarea { background: var(--surface); }
    .co-gift-note .hint { margin-top: 4px; }
}
