/* ==========================================================================
   Ödeme (C1): ödeme sayfası, sözleşme metinleri, sipariş sonuç sayfaları.
   Her sayfada yüklenir; tüm seçiciler "co-" veya "contract" ön ekiyle sınırlıdır.

   İçindekiler
   1. Sayfa ve başlık
   2. Uyarılar
   3. Yerleşim ve bölümler
   4. Form öğeleri
   5. Adres, fatura ve ödeme seçimleri
   6. Sipariş özeti
   7. Sözleşme onayı ve metinler
   8. Sonuç sayfaları (tamamlandı, havale, başarısız)
   ========================================================================== */

:root {
    --co-field-line: #cdbfae;
    --co-error: #a3392b;
    --co-error-soft: #fbeeeb;
    --co-ok: #3f6a45;
    --co-ok-soft: #eef4ec;
    --co-wait: #8a5a12;
    --co-wait-soft: #fbf1df;
}

/* 1. Sayfa ve başlık
   ========================================================================== */

.co-page {
    padding: 24px var(--page-inset) 64px;
}

.co-page--narrow {
    max-width: calc(980px + 2 * var(--page-inset));
    margin-inline: auto;
}

.co-head {
    margin-bottom: 20px;
}

.co-steps ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    line-height: 18px;
    text-transform: uppercase;
}

.co-steps li {
    display: flex;
    align-items: center;
}

.co-steps li + li::before {
    content: "";
    width: 18px;
    height: 1px;
    margin-inline: 10px;
    background: var(--line);
}

.co-steps [aria-current="step"] {
    color: var(--ink);
    font-weight: 500;
}

.co-steps a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.co-steps a:hover {
    color: var(--copper-text);
}

.co-title {
    margin-top: 10px;
    font: 400 30px/1.25 var(--font-display);
}

.co-back {
    margin-bottom: 18px;
    font-size: 13px;
}

.co-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--copper-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .2s;
}

.co-link:hover {
    color: var(--ink);
}

@media (min-width: 1024px) {
    .co-page {
        padding-top: 40px;
        padding-bottom: 96px;
    }

    .co-title {
        font-size: 40px;
    }

    .co-head {
        margin-bottom: 28px;
    }
}

/* 2. Uyarılar
   ========================================================================== */

.co-notices {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.co-notice {
    padding: 11px 14px;
    border-left: 3px solid var(--copper);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--soft);
    font-size: 13px;
    line-height: 20px;
}

.co-alert {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-left: 3px solid var(--co-error);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--co-error-soft);
    color: var(--co-error);
    font-size: 14px;
    line-height: 1.55;
}

.co-alert:focus {
    outline: 2px solid var(--co-error);
    outline-offset: 2px;
}

.co-alert__title {
    font-weight: 500;
}

.co-alert__list {
    margin-top: 6px;
    padding-left: 18px;
    list-style: disc;
}

.co-alert__list a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 3. Yerleşim ve bölümler
   ========================================================================== */

/* Telefonda: form, sipariş özeti, onay. Masaüstünde özet sağda iki satır boyunca yapışkan durur;
   onay ve "Siparişi Onayla" formun altında kalır, böylece özet hep ekrana sığar. */
.co-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "main"
        "summary"
        "confirm";
    gap: 24px;
}

.co-main {
    grid-area: main;
    min-width: 0;
}

.co-summary {
    grid-area: summary;
}

.co-confirm {
    grid-area: confirm;
    min-width: 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

@media (min-width: 1024px) {
    .co-layout {
        grid-template-columns: minmax(0, 1fr) 400px;
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "main summary"
            "confirm summary";
        gap: 0 56px;
    }

    .co-summary {
        align-self: start;
    }

    .co-summary .co-items {
        max-height: min(44vh, 420px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (min-width: 1280px) {
    .co-layout {
        grid-template-columns: minmax(0, 1fr) 440px;
        column-gap: 80px;
    }
}

.co-section {
    padding: 22px 0 26px;
    border-top: 1px solid var(--line);
}

.co-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.co-section__title {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
    font: 400 22px/1.3 var(--font-display);
}

.co-section__title .co-field__optional {
    font: 400 13px/1.4 var(--font-body);
}

.co-section__num {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--copper);
    border-radius: 50%;
    color: var(--copper-text);
    font: 500 13px/1 var(--font-body);
}

.co-section__hint {
    margin: 0 0 16px;
    color: var(--muted-deep);
    font-size: 13px;
    line-height: 1.6;
}

/* İletişim alanlarının altındaki KVKK bilgilendirme satırı. */
.co-section__hint.co-kvkk {
    margin: 14px 0 0;
}

/* Legend, fieldset içinde ızgaranın üstünde tam genişlik satır olur. */
.co-section > legend {
    float: left;
}

.co-section > legend + * {
    clear: both;
}

/* 4. Form öğeleri
   ========================================================================== */

.co-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .co-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
    }

    .co-field--wide {
        grid-column: 1 / -1;
    }
}

.co-field {
    display: grid;
    gap: 6px;
    min-width: 0;
    align-content: start;
}

.co-field__label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.co-field__optional {
    color: var(--muted);
    font-weight: 400;
}

.co-field__hint {
    color: var(--muted-deep);
    font-size: 12.5px;
    line-height: 1.5;
}

.co-field__error {
    color: var(--co-error);
    font-size: 13px;
    line-height: 1.5;
}

.co-input {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid var(--co-field-line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font: 400 16px/1.45 var(--font-body); /* iOS odakta yakınlaştırmasın */
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}

@media (min-width: 1101px) {
    .co-input {
        font-size: 15px;
    }
}

.co-input::placeholder {
    color: #9a8e82;
    opacity: 1;
}

.co-input:hover {
    border-color: var(--muted);
}

.co-input:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 95, 69, .18);
}

.co-input[aria-invalid="true"] {
    border-color: var(--co-error);
}

.co-input--area {
    min-height: 92px;
    resize: vertical;
}

.co-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23231c17' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 9 6.5 6.5L18.5 9'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    cursor: pointer;
}

/* Onay kutusu: gerçek kutu görsel kutunun altında kalır (klavye ve ekran okuyucu için). */
.co-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    line-height: 1.5;
    cursor: pointer;
}

.co-check--top {
    align-items: flex-start;
}

.co-check__input {
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    transform: translateY(-50%);
    cursor: pointer;
}

.co-check--top .co-check__input {
    top: 2px;
    transform: none;
}

.co-check__box {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--co-field-line);
    border-radius: 4px;
    background: #fff;
    transition: background-color .2s, border-color .2s;
}

.co-check--top .co-check__box {
    margin-top: 2px;
}

.co-check__input:checked + .co-check__box {
    border-color: var(--ink);
    background: var(--ink);
}

.co-check__input:checked + .co-check__box::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6.5px;
    width: 5px;
    height: 10px;
    border: solid var(--ivory);
    border-width: 0 1.6px 1.6px 0;
    transform: rotate(45deg);
}

.co-check__input:focus-visible + .co-check__box {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.co-check__input[aria-invalid="true"] + .co-check__box {
    border-color: var(--co-error);
}

/* 5. Adres, fatura ve ödeme seçimleri
   ========================================================================== */

.co-choices {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

@media (min-width: 640px) {
    .co-choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.co-choice,
.co-method {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.co-choice:hover,
.co-method:hover {
    border-color: var(--co-field-line);
}

.co-choice:has(.co-choice__input:checked),
.co-method:has(.co-choice__input:checked) {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
}

.co-choice--new {
    align-items: center;
}

.co-choice__input {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.co-choice__mark {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1px solid var(--co-field-line);
    border-radius: 50%;
    background: #fff;
}

.co-choice__input:checked + .co-choice__mark {
    border-color: var(--ink);
}

.co-choice__input:checked + .co-choice__mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--ink);
}

.co-choice__input:focus-visible + .co-choice__mark {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.co-choice__body,
.co-method__body {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.5;
}

.co-choice__title,
.co-method__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}

.co-choice__text,
.co-method__text {
    color: var(--muted-deep);
    overflow-wrap: anywhere;
}

.co-choice__badge {
    padding: 1px 8px;
    border-radius: 999px;
    background: #f1e7da;
    color: var(--copper-text);
    font-size: 11px;
    font-weight: 500;
}

.co-methods {
    display: grid;
    gap: 10px;
}

/* Kayıtlı adres seçiliyken yeni adres alanları gizlenir. */
.co-page:has(input[name="address_id"]:checked:not([value="new"])) .co-new-address {
    display: none;
}

/* Fatura türü düğmeleri */
.co-segment {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
    padding: 4px;
    border-radius: 999px;
    background: var(--soft);
}

.co-segment__option {
    position: relative;
    display: block;
    cursor: pointer;
}

.co-segment__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.co-segment__option span {
    display: block;
    min-width: 116px;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 999px;
    color: var(--muted-deep);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: background-color .2s, color .2s, box-shadow .2s;
}

.co-segment__input:checked + span {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 4px rgba(35, 28, 23, .12);
}

.co-segment__input:focus-visible + span {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.co-billing-individual,
.co-billing-corporate {
    margin-bottom: 16px;
}

.co-billing-same {
    margin-bottom: 4px;
}

.co-billing-address {
    margin-top: 14px;
}

.co-page:has(#co-fatura-kurumsal:checked) .co-billing-individual,
.co-page:has(#co-fatura-kurumsal:checked) .co-billing-name,
.co-page:has(#co-fatura-bireysel:checked) .co-billing-corporate,
.co-page:has(#co-fatura-ayni:checked) .co-billing-address {
    display: none;
}

/* 6. Sipariş özeti
   ========================================================================== */

.co-summary {
    padding: 22px 18px;
    border-radius: var(--radius);
    background: var(--soft);
}

@media (min-width: 1024px) {
    .co-summary {
        position: sticky;
        top: calc(var(--header-h) + 24px);
        padding: 28px 28px 26px;
    }
}

.co-summary__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.co-summary__title {
    font: 400 22px/1.3 var(--font-display);
}

.co-summary__head .co-link {
    font-size: 13px;
}

.co-summary__warning {
    margin-top: 12px;
    color: var(--co-error);
    font-size: 13px;
    line-height: 1.5;
}

.co-items {
    margin-top: 18px;
}

.co-item {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.co-thumb {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: var(--ivory);
}

.co-thumb__img,
.co-thumb .slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.co-thumb__img {
    object-fit: cover;
}

.co-item__qty {
    position: absolute;
    top: 4px;
    left: 40px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--ivory);
    font-size: 11px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}

.co-item__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.co-item__name {
    font-size: 13px;
    letter-spacing: .02em;
    line-height: 1.4;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.co-item__meta {
    color: var(--muted-deep);
    font-size: 12.5px;
    line-height: 1.45;
}

.co-item__price {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.co-totals {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}

.co-totals__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    line-height: 22px;
}

.co-totals__row dt {
    min-width: 0;
}

.co-totals__row dd {
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.co-totals__row--discount {
    color: var(--copper-text);
}

.co-totals__row--total {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 17px;
}

.co-totals__row--total dd {
    font-size: 20px;
}

.co-totals__note {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
    text-align: right;
}

/* 7. Sözleşme onayı ve metinler
   ========================================================================== */

.co-agree {
    display: grid;
    gap: 10px;
    font-size: 13px;
}

.co-confirm__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 15px;
}

.co-confirm__total strong {
    font-size: 20px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.co-contract {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ivory);
}

.co-contract__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 14px;
    color: var(--copper-text);
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.co-contract__summary::-webkit-details-marker {
    display: none;
}

.co-contract__chevron {
    flex: none;
    transition: transform .2s;
}

.co-contract[open] .co-contract__chevron {
    transform: rotate(180deg);
}

.co-contract__body {
    max-height: 420px;
    overflow: auto;
    padding: 4px 14px 14px;
    border-top: 1px solid var(--line);
    overscroll-behavior: contain;
}

.co-contract__body:focus-visible {
    outline-offset: -2px;
}

.co-contract__open {
    margin: 8px 14px 12px;
    font-size: 12.5px;
}

.co-submit {
    margin-top: 16px;
}

.co-submit[aria-disabled="true"] {
    opacity: .7;
    cursor: progress;
}

.co-legal {
    margin-top: 10px;
    color: var(--muted-deep);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.co-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--muted-deep);
    font-size: 12px;
    line-height: 18px;
}

/* Sözleşme metni (ödeme sayfası ve sözleşme sayfası). Tüketici sözleşmeleri en az 12 punto
   yazılır: hiçbir sözleşme kuralında yazı 16px'ten küçük olmamalı (ContractFontSizeTest). */
.contract {
    font-size: 16px;
    line-height: 1.65;
}

.contract__title {
    margin: 12px 0 4px;
    font: 400 22px/1.3 var(--font-display);
}

.contract__meta {
    margin-bottom: 10px;
    color: var(--muted-deep);
    font-size: 16px;
}

.contract__heading {
    margin: 20px 0 6px;
    font-size: 17px;
    font-weight: 500;
}

.contract__subheading {
    margin: 12px 0 4px;
    color: var(--copper-text);
    font-size: 16px;
    font-weight: 500;
}

.contract p {
    margin-bottom: 8px;
}

.contract__list {
    margin: 0 0 8px;
}

.contract__list div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px;
    padding: 3px 0;
    border-bottom: 1px solid var(--line);
}

.contract__list dt {
    color: var(--muted-deep);
}

.contract__list dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.contract__missing {
    color: var(--co-error);
    font-weight: 500;
}

.contract__field--pending {
    color: var(--muted);
    font-style: italic;
}

.contract__bullets {
    margin: 0 0 8px;
    padding-left: 18px;
    list-style: disc;
}

.contract__bullets li {
    margin-bottom: 5px;
}

.contract__table-wrap {
    overflow-x: auto;
}

.contract__table {
    width: 100%;
    margin: 6px 0 8px;
    border-collapse: collapse;
    font-size: 16px;
}

.contract__table th,
.contract__table td {
    padding: 6px 4px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.contract__table th {
    color: var(--muted-deep);
    font-weight: 400;
}

.contract__num {
    text-align: right !important;
    white-space: nowrap;
}

.contract__muted {
    color: var(--muted);
    font-size: 16px;
}

.contract__totals {
    max-width: 320px;
    margin: 0 0 6px auto;
}

.contract__totals div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 0;
}

.contract__totals dd {
    margin: 0;
    white-space: nowrap;
}

.contract__grand {
    margin-top: 4px;
    padding-top: 6px !important;
    border-top: 1px solid var(--line);
    font-weight: 500;
}

@media (max-width: 480px) {
    .contract__list div {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
}

.co-document {
    padding: 22px 18px;
    border-radius: var(--radius);
    background: #fff;
}

.co-document .contract {
    font-size: 16px;
}

.co-document .contract__title {
    margin-top: 0;
    font-size: 28px;
}

@media (min-width: 768px) {
    .co-document {
        padding: 36px 40px;
    }
}

/* 8. Sonuç sayfaları
   ========================================================================== */

.co-result__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0 28px;
    text-align: center;
}

.co-result__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--co-ok-soft);
    color: var(--co-ok);
}

.co-result__icon--wait {
    background: var(--co-wait-soft);
    color: var(--co-wait);
}

.co-result__icon--error {
    background: var(--co-error-soft);
    color: var(--co-error);
}

.co-result__eyebrow {
    margin-top: 18px;
    color: var(--copper-text);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.co-result__title {
    margin-top: 6px;
    font: 400 30px/1.25 var(--font-display);
}

.co-result__title:focus {
    outline: none;
}

.co-result__lead {
    max-width: 620px;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.co-result__number {
    font-weight: 500;
    letter-spacing: .04em;
}

.co-result__text {
    max-width: 620px;
    margin-top: 8px;
    color: var(--muted-deep);
    line-height: 1.65;
}

.co-result__reason {
    max-width: 620px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--co-error-soft);
    color: var(--co-error);
    font-size: 14px;
}

.co-result__help {
    max-width: 560px;
    margin-top: 14px;
    color: var(--muted-deep);
    font-size: 13px;
}

.co-result__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.co-result__actions--center {
    margin: 0 0 28px;
}

@media (max-width: 520px) {
    .co-result__actions .btn {
        flex: 1 1 100%;
    }
}

.co-result__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

@media (min-width: 900px) {
    .co-result__grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        align-items: start;
    }

    .co-result__title {
        font-size: 38px;
    }
}

.co-card {
    padding: 22px 18px;
    border-radius: var(--radius);
    background: var(--soft);
}

@media (min-width: 768px) {
    .co-card {
        padding: 26px 26px 22px;
    }
}

.co-card__title {
    font: 400 20px/1.3 var(--font-display);
}

.co-card .co-items {
    margin-top: 14px;
}

.co-address {
    margin-top: 12px;
    font-style: normal;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.co-bank {
    margin-bottom: 28px;
    padding: 22px 18px;
    border: 1px solid var(--copper);
    border-radius: var(--radius);
    background: #fff;
}

@media (min-width: 768px) {
    .co-bank {
        padding: 28px 32px;
    }
}

.co-bank__list {
    margin: 14px 0 0;
}

.co-bank__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.co-bank__row dt {
    color: var(--muted-deep);
    font-size: 12.5px;
}

.co-bank__row dd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    margin: 0;
    font-size: 15px;
}

@media (min-width: 640px) {
    .co-bank__row {
        grid-template-columns: 140px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
    }
}

.co-bank__value {
    min-width: 0;
    overflow-wrap: anywhere;
}

.co-bank__value--mono {
    font-variant-numeric: tabular-nums;
    letter-spacing: .06em;
}

.co-copy {
    flex: none;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--ivory);
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    transition: border-color .2s, background-color .2s;
}

.co-copy:hover {
    border-color: var(--ink);
}

.co-copy.is-copied {
    border-color: var(--co-ok);
    color: var(--co-ok);
}

.co-bank__notes {
    margin-top: 14px;
    padding-left: 18px;
    color: var(--muted-deep);
    font-size: 13px;
    line-height: 1.6;
    list-style: disc;
}

/* Hata özetindeki bağlantılar alanı yapışkan başlığın hemen altına kaydırınca alanın etiketi başlığın
   arkasında kalıyordu; alanlar etiket payı kadar aşağıda durur (QA mobile:MOB-06). */
.co-page :is(input, select, textarea, fieldset, [id^="co-"]) {
    scroll-margin-top: 48px;
}
