/* ==========================================================================
   Hesap, giriş, sipariş takibi, iade, içerik sayfaları, alt bilgi ve çerez
   bildirimi (C2). Her sayfada yüklenir; sınıflar "acc-", "cms", "contact-",
   "footer-", "fav-" ve "cookie-" önekleriyle diğer iş akışlarından ayrılır.

   İçindekiler
   1.  Sayfa iskeleti ve başlıklar
   2.  Form öğeleri
   3.  Uyarılar, rozetler, kartlar
   4.  Giriş / üyelik / takip kartı
   5.  Hesabım düzeni ve menü
   6.  Siparişler, sipariş ayrıntısı, iade
   7.  Adresler
   8.  Favoriler ve favori kalbi
   9.  İçerik sayfaları ve iletişim
   10. Alt bilgi eklemeleri
   11. Çerez bildirimi
   ========================================================================== */

:root {
    --acc-field-line: #cdbfae;
    --acc-error: #a3392b;
    --acc-error-soft: #fbeeeb;
    --acc-success: #3f6a45;
    --acc-success-soft: #eef4ec;
    --acc-warning: #8a5a12;
    --acc-warning-soft: #fbf1df;
    --acc-info: #3d5a73;
    --acc-info-soft: #edf2f6;
}

/* 1. Sayfa iskeleti ve başlıklar
   ========================================================================== */

.acc-page {
    max-width: calc(1180px + 2 * var(--page-inset));
    margin-inline: auto;
    padding: 40px var(--page-inset) 80px;
}

.acc-page--narrow {
    max-width: calc(860px + 2 * var(--page-inset));
}

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

.acc-head__eyebrow {
    color: var(--copper-text);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.acc-head__title {
    margin-top: 4px;
    font: 400 clamp(28px, 3.4vw, 38px)/1.25 var(--font-display);
    overflow-wrap: anywhere;
}

.acc-head__title--code {
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: .02em;
}

.acc-head__hello {
    margin-top: 6px;
    color: var(--muted-deep);
}

.acc-intro {
    margin-bottom: 24px;
    color: var(--muted-deep);
    max-width: 68ch;
}

.acc-muted {
    margin-top: 12px;
    color: var(--muted-deep);
    font-size: 13px;
    line-height: 1.6;
}

.acc-center {
    text-align: center;
}

.acc-mono {
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
}

.acc-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;
}

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

button.acc-link {
    font-size: inherit;
}

.acc-link--danger {
    color: var(--acc-error);
}

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

.acc-back .acc-link {
    text-decoration: none;
}

.acc-back .acc-link:hover {
    text-decoration: underline;
}

.acc-stack {
    display: grid;
    gap: 20px;
}

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

.acc-form {
    display: grid;
    gap: 18px;
}

.acc-form--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
}

.acc-form__wide {
    grid-column: 1 / -1;
}

.acc-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.acc-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.acc-form__legal {
    color: var(--muted-deep);
    font-size: 12.5px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .acc-form--grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .acc-form__actions .btn {
        flex: 1 1 100%;
    }
}

.acc-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.acc-field--spaced {
    margin-top: 20px;
}

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

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

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

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

.acc-input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--acc-field-line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font: 400 15px/1.45 var(--font-body);
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}

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

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

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

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

.acc-input:disabled {
    background: var(--soft);
    color: var(--muted);
    cursor: not-allowed;
}

/* iOS, 16px altındaki alana odaklanınca sayfayı yakınlaştırır. */
@media (max-width: 1100px) {
    .acc-input {
        font-size: 16px;
    }
}

.acc-textarea {
    min-height: 96px;
    resize: vertical;
}

.acc-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;
}

.acc-select--qty {
    width: 140px;
}

/* Onay kutusu ve seçenek düğmesi: gerçek giriş görünmez değil, yalnızca görsel kutunun altında kalır. */
.acc-check,
.acc-radio {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    cursor: pointer;
    line-height: 1.5;
}

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

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

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

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

.acc-check__box {
    border-radius: 4px;
}

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

.acc-radio__dot {
    border-radius: 50%;
}

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

.acc-check__input:checked + .acc-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);
}

.acc-radio__input:checked + .acc-radio__dot {
    border-color: var(--ink);
}

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

.acc-check__input:focus-visible + .acc-check__box,
.acc-radio__input:focus-visible + .acc-radio__dot {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

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

.acc-radios {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
}

@media (max-width: 640px) {
    .acc-radios {
        grid-template-columns: minmax(0, 1fr);
    }
}

.acc-legend {
    float: left;
    width: 100%;
}

.acc-legend + * {
    clear: both;
}

/* 3. Uyarılar, rozetler, kartlar
   ========================================================================== */

.acc-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border-left: 3px solid currentColor;
    font-size: 14px;
    line-height: 1.55;
}

.acc-alert--success {
    background: var(--acc-success-soft);
    color: var(--acc-success);
}

.acc-alert--error {
    margin-bottom: 0;
    background: var(--acc-error-soft);
    color: var(--acc-error);
}

.acc-alert--warning {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    background: var(--acc-warning-soft);
    color: var(--acc-warning);
}

.acc-alert--warning p {
    flex: 1 1 320px;
}

.acc-alert__action {
    flex: none;
    min-height: 44px;
    padding-inline: 24px;
}

.acc-badge {
    display: inline-flex;
    align-items: center;
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted-deep);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
}

.acc-badge--lg {
    padding: 6px 14px;
    font-size: 13px;
}

.acc-badge--success { background: var(--acc-success-soft); color: var(--acc-success); }
.acc-badge--danger { background: var(--acc-error-soft); color: var(--acc-error); }
.acc-badge--warning { background: var(--acc-warning-soft); color: var(--acc-warning); }
.acc-badge--info { background: var(--acc-info-soft); color: var(--acc-info); }
.acc-badge--primary { background: #f1e7da; color: var(--copper-text); }
.acc-badge--gray { background: #eeebe7; color: var(--muted-deep); }

.acc-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

@media (max-width: 640px) {
    .acc-card {
        padding: 18px 16px;
    }
}

.acc-section + .acc-section,
.acc-two + .acc-section,
.acc-section + .acc-two,
.acc-addresses + .acc-section,
.acc-intro + .acc-section {
    margin-top: 20px;
}

.acc-card__title {
    margin-bottom: 14px;
    font: 400 20px/1.35 var(--font-display);
}

.acc-section__text {
    color: var(--muted-deep);
    line-height: 1.65;
}

.acc-section__action {
    margin-top: 16px;
}

.acc-dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px 24px;
}

.acc-dl dt {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .04em;
}

.acc-dl dd {
    margin: 2px 0 0;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.acc-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.acc-two .acc-section + .acc-section {
    margin-top: 0;
}

@media (max-width: 720px) {
    .acc-two {
        grid-template-columns: minmax(0, 1fr);
    }
}

.acc-empty {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 32px 24px;
    border: 1px dashed var(--acc-field-line);
    border-radius: var(--radius);
}

.acc-empty__title {
    font: 400 22px/1.35 var(--font-display);
}

.acc-empty__text {
    margin-bottom: 12px;
    color: var(--muted-deep);
}

.acc-disclosure {
    margin-top: 14px;
    border-top: 1px solid var(--line);
}

.acc-disclosure__summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding-top: 12px;
    color: var(--copper-text);
    cursor: pointer;
    font-weight: 500;
    list-style: none;
}

.acc-disclosure__summary::-webkit-details-marker {
    display: none;
}

.acc-disclosure__summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    transition: transform .2s;
}

.acc-disclosure[open] .acc-disclosure__summary::after {
    margin-top: 3px;
    transform: rotate(-135deg);
}

.acc-disclosure__body {
    padding-top: 14px;
}

.acc-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
    margin-top: 28px;
    color: var(--muted-deep);
    font-size: 13px;
}

/* 4. Giriş / üyelik / takip kartı
   ========================================================================== */

.acc-auth {
    display: flex;
    justify-content: center;
    padding: 48px var(--page-inset) 88px;
}

.acc-auth__card {
    width: 100%;
    max-width: 460px;
}

.acc-auth__title {
    font: 400 clamp(30px, 4vw, 40px)/1.2 var(--font-display);
    text-align: center;
}

.acc-auth__lead {
    margin: 10px 0 28px;
    color: var(--muted-deep);
    text-align: center;
}

.acc-auth__alt {
    display: grid;
    gap: 12px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.acc-auth__alt p {
    color: var(--muted-deep);
}

.acc-auth__note {
    margin-top: 24px;
    color: var(--muted-deep);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 640px) {
    .acc-auth {
        padding-block: 32px 64px;
    }
}

/* 5. Hesabım düzeni ve menü
   ========================================================================== */

.acc-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 48px;
}

.acc-nav {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.acc-nav__list {
    display: grid;
    gap: 2px;
    border-left: 1px solid var(--line);
}

.acc-nav__link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    margin-left: -1px;
    padding: 8px 16px;
    border-left: 2px solid transparent;
    color: var(--muted-deep);
    font-size: 14px;
    text-align: left;
    transition: color .2s, border-color .2s;
}

.acc-nav__link:hover {
    color: var(--ink);
}

.acc-nav__link.is-active {
    border-left-color: var(--ink);
    color: var(--ink);
    font-weight: 500;
}

.acc-nav__logout {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
    .acc-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .acc-nav {
        position: static;
        margin-inline: calc(-1 * var(--page-inset));
        overflow-x: auto;
        scrollbar-width: none;
    }

    .acc-nav::-webkit-scrollbar {
        display: none;
    }

    .acc-nav__list {
        display: flex;
        gap: 8px;
        width: max-content;
        padding-inline: var(--page-inset);
        border-left: 0;
    }

    .acc-nav__link {
        min-height: 40px;
        margin-left: 0;
        padding: 8px 16px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: #fff;
        white-space: nowrap;
    }

    .acc-nav__link.is-active {
        border-color: var(--ink);
        background: var(--ink);
        color: var(--ivory);
    }

    .acc-nav__logout {
        margin: 0;
        padding: 0;
        border: 0;
    }
}

/* 6. Siparişler, sipariş ayrıntısı, iade
   ========================================================================== */

.acc-orders {
    display: grid;
    gap: 12px;
}

.acc-order__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.acc-order__link:hover {
    border-color: var(--acc-field-line);
    box-shadow: 0 6px 20px rgba(35, 28, 23, .06);
}

.acc-order__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.acc-order__number {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .02em;
}

.acc-order__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    grid-column: 1;
    color: var(--muted-deep);
    font-size: 13px;
}

.acc-order__total {
    color: var(--ink);
    font-weight: 500;
}

.acc-order__items {
    grid-column: 1;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acc-order__more {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1 / span 3;
    align-items: center;
    align-self: center;
    gap: 2px;
    color: var(--copper-text);
    font-size: 13px;
}

@media (max-width: 520px) {
    .acc-order__link {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .acc-order__more {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }
}

.acc-order-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 24px;
}

.acc-order-head__date {
    margin-top: 4px;
    color: var(--muted-deep);
}

.acc-lines {
    display: grid;
}

.acc-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.acc-line:first-child {
    padding-top: 0;
}

.acc-line--select {
    align-items: center;
}

.acc-line--select:first-child {
    padding-top: 4px;
}

.acc-line__info {
    min-width: 0;
}

.acc-line__name {
    font-weight: 500;
    overflow-wrap: anywhere;
}

.acc-line__meta {
    margin-top: 2px;
    color: var(--muted-deep);
    font-size: 13px;
}

.acc-line__note {
    margin-top: 4px;
    color: var(--copper-text);
    font-size: 12.5px;
}

.acc-line__total {
    flex: none;
    font-weight: 500;
    white-space: nowrap;
}

.acc-line__qty {
    flex: none;
}

@media (max-width: 520px) {
    .acc-line--select {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .acc-select--qty {
        width: 100%;
    }
}

.acc-totals {
    display: grid;
    gap: 6px;
    max-width: 360px;
    margin: 18px 0 0 auto;
}

.acc-totals div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

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

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

.acc-totals__grand {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 16px;
    font-weight: 500;
}

.acc-totals__grand dt {
    color: var(--ink);
}

.acc-timeline {
    display: grid;
    gap: 0;
    padding-left: 4px;
}

.acc-timeline__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 16px;
    padding: 0 0 16px 22px;
    border-left: 1px solid var(--line);
}

.acc-timeline__item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.acc-timeline__item::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -5px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--copper);
    border-radius: 50%;
    background: #fff;
}

.acc-timeline__item:first-child::before {
    border-color: var(--ink);
    background: var(--ink);
}

.acc-timeline__label {
    font-weight: 500;
}

.acc-timeline__date {
    color: var(--muted-deep);
    font-size: 13px;
}

.acc-return {
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.acc-return .acc-muted {
    margin-top: 4px;
}

.acc-return__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

/* 7. Adresler
   ========================================================================== */

.acc-addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.acc-address:has(.acc-disclosure[open]) {
    grid-column: 1 / -1;
}

@media (max-width: 760px) {
    .acc-addresses {
        grid-template-columns: minmax(0, 1fr);
    }
}

.acc-address {
    position: relative;
}

.acc-address__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.acc-address__head .acc-card__title {
    margin-bottom: 0;
}

.acc-address__body {
    color: var(--muted-deep);
    font-style: normal;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.acc-address__body strong {
    color: var(--ink);
    font-weight: 500;
}

.acc-address__delete {
    position: absolute;
    right: 24px;
    bottom: 22px;
}

.acc-address__delete .acc-link {
    min-width: 44px;
    min-height: 44px;
    padding-top: 12px;
    justify-content: flex-end;
}

.acc-address:has(.acc-disclosure[open]) .acc-address__delete {
    position: static;
    margin-top: 12px;
}

@media (max-width: 640px) {
    .acc-address__delete {
        right: 16px;
        bottom: 16px;
    }
}

/* 8. Favoriler ve favori kalbi
   ========================================================================== */

/* Ürün sayfası ve kartlardaki kalp: basılıysa dolu. Görsel yerleşimi kullanan sınıf verir (ör. buy__heart). */
.fav-toggle[aria-pressed="true"] {
    color: var(--copper-text);
}

.fav-toggle[aria-pressed="true"] .icon {
    fill: currentColor;
}

[data-favorite-toggle][aria-busy="true"] {
    opacity: .6;
    pointer-events: none;
}

.acc-favs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 28px 16px;
}

@media (max-width: 520px) {
    .acc-favs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 10px;
    }
}

.acc-fav {
    transition: opacity .25s;
}

.acc-fav.is-removed {
    opacity: .45;
}

.acc-fav__media {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 2px;
    background: var(--soft);
}

.acc-fav__img,
.acc-fav__tone {
    width: 100%;
    height: 100%;
}

.acc-fav__img {
    object-fit: cover;
}

.acc-fav__tone {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .09)), var(--tone, var(--soft));
    color: rgba(35, 28, 23, .55);
}

.acc-fav__heart {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(249, 248, 246, .92);
    color: var(--ink);
    box-shadow: 0 2px 10px rgba(35, 28, 23, .12);
    transition: color .2s, background-color .2s;
}

.acc-fav__heart:hover {
    color: var(--copper-text);
}

.acc-fav__body {
    padding-top: 10px;
}

.acc-fav__name {
    display: block;
    font-size: 14px;
    line-height: 1.45;
}

a.acc-fav__name:hover {
    color: var(--copper-text);
}

.acc-fav__price {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin-top: 4px;
    font-weight: 500;
}

.acc-fav__old {
    color: var(--muted);
    font-weight: 400;
}

.acc-fav__note {
    margin-top: 4px;
    color: var(--muted-deep);
    font-size: 12.5px;
}

/* 9. İçerik sayfaları ve iletişim
   ========================================================================== */

.cms-page__crumbs.crumbs {
    margin-bottom: 18px;
    padding: 0;
    overflow: hidden;
}

.cms-page__head {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.cms-page__head .acc-intro {
    margin: 10px 0 0;
}

.cms-page__updated {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12.5px;
}

.cms {
    max-width: 72ch;
    color: #3b322b;
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.cms > * + * {
    margin-top: 14px;
}

.cms h2 {
    margin-top: 34px;
    color: var(--ink);
    font: 400 23px/1.35 var(--font-display);
}

.cms h3 {
    margin-top: 26px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
}

.cms h4 {
    margin-top: 20px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}

/* Ön Bilgilendirme Formu ve Mesafeli Satış Sözleşmesi sayfaları: en az 12 punto (16px). */
.cms.cms--contract {
    font-size: 16px;
}

.cms.cms--contract h3 {
    font-size: 17px;
}

.cms.cms--contract h4,
.cms.cms--contract .placeholder-missing {
    font-size: 16px;
}

.cms h2 + *,
.cms h3 + *,
.cms h4 + * {
    margin-top: 8px;
}

.cms ul,
.cms ol {
    padding-left: 22px;
}

.cms ul {
    list-style: disc;
}

.cms ol {
    list-style: decimal;
}

.cms li + li {
    margin-top: 6px;
}

.cms li::marker {
    color: var(--copper);
}

.cms a {
    color: var(--copper-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cms a:hover {
    color: var(--ink);
}

.cms strong,
.cms b {
    color: var(--ink);
    font-weight: 500;
}

.cms blockquote {
    padding: 14px 18px;
    border-left: 3px solid var(--copper);
    background: var(--soft);
}

.cms hr {
    margin-block: 28px;
    border: 0;
    border-top: 1px solid var(--line);
}

/* Firma bilgisi girilmemiş yer tutucu: yayında da görünür ki eksik fark edilsin. */
.placeholder-missing {
    padding: 1px 6px;
    border-radius: 3px;
    background: #fbe5cc;
    color: #7a3e00;
    font-size: .92em;
    font-weight: 500;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.contact-card__text {
    font-size: 15px;
    font-style: normal;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-card .acc-muted {
    margin-top: 10px;
}

.contact-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-card__actions .btn {
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    padding-inline: 20px;
    letter-spacing: .02em;
    text-transform: none;
    overflow-wrap: anywhere;
}

/* Uzun kullanıcı adı düğmeyi daraltınca simge 0 px'e çökmesin (QA desktop:UI-01). */
.contact-card__actions .btn .icon {
    flex-shrink: 0;
}

.contact-help {
    margin-top: 20px;
}

/* 10. Alt bilgi eklemeleri (temel stiller vanilla.css 13. bölümde)
   ========================================================================== */

.footer-side {
    display: grid;
    align-content: start;
    gap: 36px;
}

.footer-newsletter__button {
    margin-top: 16px;
    min-height: 46px;
}

.footer-contact__list li {
    color: var(--muted-deep);
    line-height: 20px;
    overflow-wrap: anywhere;
}

.footer-contact__list a {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding-block: 10px;
    transition: color .2s;
}

.footer-contact__list a:hover {
    color: var(--ink);
}

.footer-contact__address {
    padding-block: 10px;
    max-width: 34ch;
}

.footer-links--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    color: var(--muted-deep);
    font-size: 12.5px;
}

.footer-trust .icon {
    flex: none;
    color: var(--copper-text);
}

.site-footer__copy p + p {
    margin-top: 2px;
}

.footer-company {
    color: var(--muted);
    font-size: 11.5px;
}

.footer-trust + .site-footer__bottom {
    margin-top: 16px;
}

@media (max-width: 1100px) {
    .footer-links--wide {
        column-gap: 14px;
    }
}

@media (max-width: 767.98px) {
    .footer-links--wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* vanilla.css'teki "son sütun tam satır" kuralı dört sütunlu düzende geçerli değil. */
    .footer-links--wide .footer-links__column:last-child {
        grid-column: auto;
    }

    .footer-trust {
        margin-top: 30px;
    }
}

/* 11. Çerez bildirimi
   ========================================================================== */

.cookie-notice {
    position: fixed;
    bottom: calc(16px + var(--float-lift));
    left: 16px;
    z-index: calc(var(--z-float) + 1);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: min(460px, calc(100% - 32px));
    padding: 14px 16px 14px 18px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--cream);
    box-shadow: 0 8px 28px rgba(35, 28, 23, .24);
    font-size: 13px;
    line-height: 1.5;
}

.cookie-notice__text {
    flex: 1 1 auto;
}

.cookie-notice__link {
    color: var(--sand);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.cookie-notice__link:hover {
    color: #fff;
}

.cookie-notice__button {
    flex: none;
    min-width: 72px;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background-color .2s;
}

.cookie-notice__button:hover {
    background: var(--sand);
}

/* Entegrasyon: dar ekranlarda bildirim (toast) çerez bildiriminin üstüne binmesin; açıkken yukarı kayar. */
@media (max-width: 959px) {
    .has-cookie-notice .toast,
    .has-cookie-notice .cart-toast {
        bottom: calc(108px + var(--float-lift));
    }
}

.cookie-notice__button:focus-visible,
.cookie-notice__link:focus-visible {
    outline-color: var(--sand);
}

@media (max-width: 520px) {
    .cookie-notice {
        right: 12px;
        bottom: calc(12px + var(--float-lift));
        left: 12px;
        max-width: none;
    }
}

/* Sipariş sayfasında gerçekleşen iadeler (QA admin:ADMIN-07). */
.acc-totals--refunds {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

/* İade formu hata özeti (QA mobile:MOB-02). */
.acc-error-summary {
    margin-bottom: 20px;
}

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

.acc-error-summary__title {
    font-weight: 500;
}

.acc-error-summary__list {
    margin-top: 6px;
    padding-left: 18px;
    list-style: disc;
}

.acc-error-summary__list a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Hata özeti bağlantıları ve odaklanan alanlar etiketleriyle birlikte görünür (QA mobile:MOB-06). */
.acc-page :is(input, select, textarea, fieldset),
.acc-auth :is(input, select, textarea),
.acc-error-summary {
    scroll-margin-top: 48px;
}
