/* Müşteri hesabı sayfaları ortak bileşenleri */
.ox-accp { --acc-ink: #111827; --acc-muted: #6b7280; --acc-line: #eef0f3; --acc-soft: #f9fafb; --acc-red: #e30613; color: var(--acc-ink); font-size: 14px; }
.ox-accp a { text-decoration: none; }

.ox-accp-head { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; margin-bottom: 16px; }
.ox-accp-head h2 { color: var(--acc-ink); font-size: 20px; font-weight: 700; margin: 0 0 2px; }
.ox-accp-head p { color: var(--acc-muted); font-size: 13.5px; margin: 0; }

.ox-accp-card { background: #fff; border: 1px solid var(--acc-line); border-radius: 14px; margin-bottom: 16px; padding: 20px; }
.ox-accp-card > h3, .ox-accp-section > h3 { color: var(--acc-ink); font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.ox-accp-hint { color: var(--acc-muted); font-size: 13px; margin: 0 0 14px; }
.ox-accp-section + .ox-accp-section { border-top: 1px solid var(--acc-line); margin-top: 18px; padding-top: 18px; }
.ox-accp-note { background: #fff8eb; border: 1px solid #f7e0ae; border-radius: 10px; color: #7a4d00; font-size: 13px; line-height: 1.45; margin-bottom: 16px; padding: 10px 14px; }
.ox-accp-note i { margin-right: 6px; }

.ox-accp .form-group { margin-bottom: 12px; }
.ox-accp .form-group label, .ox-accp .form-label { color: #374151; display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.ox-accp .form-control { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: none; color: var(--acc-ink); font-size: 14px; height: 42px; padding: 8px 12px; width: 100%; }
.ox-accp textarea.form-control { height: auto; min-height: 96px; resize: vertical; }
.ox-accp input[type="file"].form-control { height: auto; }
.ox-accp .form-control:focus { border-color: var(--acc-red); outline: none; }
.ox-accp-req { color: var(--acc-red); }
.ox-accp-help { color: var(--acc-muted); font-size: 12px; margin-top: 4px; }
.ox-accp-footer { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 4px; }

.ox-accp-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 16px; }
.ox-accp-stat { background: #fff; border: 1px solid var(--acc-line); border-radius: 14px; color: var(--acc-ink); display: block; padding: 14px 16px; }
a.ox-accp-stat:hover { border-color: var(--acc-red); }
.ox-accp-stat small { color: var(--acc-muted); display: block; font-size: 12px; margin-bottom: 4px; }
.ox-accp-stat strong { display: block; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }

.ox-accp-links { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ox-accp-link { align-items: center; background: #fff; border: 1px solid var(--acc-line); border-radius: 14px; color: var(--acc-ink); display: flex; gap: 12px; padding: 14px 16px; }
.ox-accp-link:hover { border-color: var(--acc-red); color: var(--acc-red); }
.ox-accp-link i { align-items: center; background: #fff0f1; border-radius: 10px; color: var(--acc-red); display: flex; flex: 0 0 38px; height: 38px; justify-content: center; }
.ox-accp-link span { font-weight: 600; }

/* Favoriler */
.ox-accp-favs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ox-accp-fav { background: #fff; border: 1px solid var(--acc-line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; }
.ox-accp-fav-media { background: var(--acc-soft); display: block; position: relative; }
.ox-accp-fav-media img { aspect-ratio: 1 / 1; display: block; object-fit: contain; width: 100%; }
.ox-accp-fav-remove { align-items: center; background: #fff; border: 1px solid var(--acc-line); border-radius: 8px; color: var(--acc-muted); display: flex; height: 32px; justify-content: center; position: absolute; right: 8px; top: 8px; width: 32px; }
.ox-accp-fav-remove:hover { border-color: var(--acc-red); color: var(--acc-red); }
.ox-accp-fav-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.ox-accp-fav-name { color: var(--acc-ink); font-weight: 600; line-height: 1.35; }
.ox-accp-fav-name:hover { color: var(--acc-red); }
.ox-accp-fav-code { color: var(--acc-muted); font-size: 12px; }
.ox-accp-fav-price { font-size: 16px; font-weight: 700; margin-top: auto; padding-top: 8px; }
.ox-accp-fav .ox-acc-btn { justify-content: center; margin-top: 8px; width: 100%; }
.ox-accp-out { color: #b91c1c; font-size: 12px; font-weight: 600; }

/* Adresler */
.ox-accp-addrs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ox-accp-addr { background: #fff; border: 1px solid var(--acc-line); border-radius: 14px; display: flex; flex-direction: column; padding: 16px; }
.ox-accp-addr h3 { align-items: center; color: var(--acc-ink); display: flex; font-size: 15px; font-weight: 700; gap: 8px; margin: 0 0 8px; }
.ox-accp-addr h3 i { color: var(--acc-red); }
.ox-accp-addr p { color: #374151; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.ox-accp-addr-phone { color: var(--acc-muted); font-size: 13px; margin-top: 6px; }
.ox-accp-addr-actions { border-top: 1px solid var(--acc-line); display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.ox-accp-addr-body { margin-bottom: 12px; }

/* Ödeme ve havale */
.ox-accp-narrow { max-width: 560px; }
.ox-accp-2col { align-items: start; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) 300px; }
.ox-accp-bank { border-top: 1px solid var(--acc-line); padding: 12px 0; }
.ox-accp-bank:first-of-type { border-top: 0; padding-top: 0; }
.ox-accp-bank strong { display: block; font-size: 14px; font-weight: 600; }
.ox-accp-iban { align-items: center; display: flex; gap: 8px; justify-content: space-between; margin-top: 4px; }
.ox-accp-iban code { background: none; color: #374151; font-family: inherit; font-size: 12.5px; overflow-wrap: anywhere; padding: 0; }
.ox-accp-copy { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; color: #374151; flex: 0 0 auto; font-size: 12px; padding: 3px 8px; }
.ox-accp-copy:hover { border-color: var(--acc-red); color: var(--acc-red); }
.ox-accp-contact { color: #374151; display: block; font-size: 13px; padding: 4px 0; overflow-wrap: anywhere; }
.ox-accp-contact:hover { color: var(--acc-red); }
.ox-accp-contact i { color: var(--acc-muted); margin-right: 6px; width: 16px; }

/* Bakiye satırları */
.ox-accp .ox-acc-table td { white-space: nowrap; }
.ox-accp .ox-acc-table td.is-wrap { min-width: 200px; white-space: normal; }

@media (max-width: 1199px) {
    .ox-accp-2col { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
    .ox-accp-narrow { max-width: none; }
    .ox-accp-card { padding: 16px; }
    .ox-accp-footer .ox-acc-btn { flex: 1 1 auto; justify-content: center; }
}
