/* ProLisans – Hesabım paneli & Giriş/Üye ol
   Yalnızca hesap sayfasında yüklenir. Tema değişkenlerini (--c, --ink, --line …) kullanır. */

body.pl-acc { --pl-r: 14px; --pl-r-sm: 10px; --pl-shadow: 0 1px 2px rgba(15,30,47,.05), 0 6px 20px rgba(15,30,47,.06); }

/* Sayfa başlığı: erişilebilirlik için kalır, görsel olarak gizli (paneller kendi başlığını taşır) */
body.pl-acc .page-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; margin: 0; }
body.pl-acc .entry { background: transparent; border: 0; padding: 0; box-shadow: none; }
body.pl-acc .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body.pl-acc .woocommerce-notices-wrapper:empty { display: none; }
body.pl-acc .pl-i { flex: none; }

/* ───────── Düğmeler ───────── */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1.5px solid transparent; font: inherit; font-size: .9rem; font-weight: 700; line-height: 1; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.pl-btn:focus-visible, .pl-nav a:focus-visible, .pl-tabs button:focus-visible, .pl-row:focus-visible, .pl-quick a:focus-visible { outline: 3px solid rgba(11,110,153,.35); outline-offset: 2px; }
.pl-btn--primary { background: var(--c); color: #fff; box-shadow: 0 2px 8px rgba(11,110,153,.25); }
.pl-btn--primary:hover { background: var(--c2); color: #fff; }
.pl-btn--primary.is-done { background: var(--green); }
.pl-btn--ghost { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.pl-btn--ghost:hover { border-color: var(--c); color: var(--c); }
.pl-btn--danger { background: #fff; color: #b91c1c; border-color: #fecaca; }
.pl-btn--danger:hover { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.pl-btn--light { background: #fff; color: var(--c-dark, #085273); }
.pl-btn--light:hover { background: #eef7fc; color: var(--c2); }
.pl-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.pl-btn--outline-light:hover { background: rgba(255,255,255,.14); color: #fff; }

.pl-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pl-badge--ok { background: #dcfce7; color: #166534; }
.pl-badge--info { background: #dbeafe; color: #1e40af; }
.pl-badge--warn { background: #fef3c7; color: #92400e; }
.pl-badge--bad { background: #fee2e2; color: #991b1b; }
.pl-badge--mute { background: #e2e8f0; color: #475569; }

/* ───────── Giriş / Üye ol ───────── */
.pl-auth { display: grid; grid-template-columns: 1fr; max-width: 980px; margin: 8px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.pl-auth__intro { padding: 22px 20px; color: #fff; background: linear-gradient(145deg, var(--c-dark, #085273) 0%, var(--c) 100%); }
.pl-auth__logo { display: flex; justify-content: center; align-items: center; margin: 0 0 22px; color: #fff; text-decoration: none; }
.pl-auth__logo:hover { color: #fff; }
.pl-auth__logo .brand-logo { height: 64px; width: auto; max-width: 100%; filter: none; }
.pl-auth__logo .brand-mark { height: 64px; width: 64px; filter: none; }
.pl-auth__logo .brand-name { font-weight: 800; font-size: 2rem; color: #fff; }
.pl-auth__logo .brand-name b { color: #7dd3fc; }
.pl-auth__intro .bm-w1 { fill: #fff; } .pl-auth__intro .bm-w2 { fill: #7dd3fc; }
.pl-auth__intro h2 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 800; color: #fff; }
.pl-auth__intro p { margin: 0 0 14px; color: rgba(255,255,255,.85); font-size: .92rem; }
.pl-auth__intro ul { list-style: none; margin: 0; padding: 0; display: none; gap: 12px; }
.pl-auth__intro li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .93rem; }
.pl-auth__intro li svg { padding: 7px; box-sizing: content-box; width: 20px; height: 20px; border-radius: 10px; background: rgba(255,255,255,.14); }
.pl-auth__panel { padding: 22px 18px 26px; }
.pl-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; background: #f1f5f9; border-radius: 12px; }
.pl-tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 700; font-size: .95rem; color: var(--mut); cursor: pointer; transition: background .15s, color .15s; }
.pl-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,30,47,.12); }
.pl-pane[hidden] { display: none; }
.pl-pane__title { margin: 0 0 18px; font-size: 1.3rem; font-weight: 800; }

.pl-form .form-row, .pl-form p.form-row { margin: 0 0 16px; padding: 0; }
.pl-form label { margin-bottom: 6px; }
.pl-form input[type=text], .pl-form input[type=email], .pl-form input[type=password] { min-height: 46px; font-size: 1rem; /* iOS yakınlaştırmasını engeller */ }
.pl-form__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 2px 0 18px; }
.pl-check { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.pl-check input { width: 18px !important; height: 18px !important; margin: 0 !important; accent-color: var(--c); }
.pl-link { font-weight: 600; font-size: .9rem; color: var(--c); }
.pl-link:hover { text-decoration: underline; }
.pl-submit { width: 100%; min-height: 48px; font-size: 1rem !important; font-weight: 800 !important; border-radius: 10px !important; }
.pl-form.is-busy .pl-submit { opacity: .7; pointer-events: none; }
.pl-hint { display: block; margin-top: 6px; color: var(--mut); font-size: .82rem; }
.pl-form .woocommerce-privacy-policy-text { margin: 4px 0 16px; }

/* Bot tuzağı: ekran dışı (display:none değil, botlar yine doldurur) */
.pl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Parola gözü: emoji yerine SVG */
.pl-acc .password-input .show-password-input::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--pl-eye) center / contain no-repeat; mask: var(--pl-eye) center / contain no-repeat; font-size: 0; }
.pl-acc .password-input .show-password-input.display-password::after { -webkit-mask-image: var(--pl-eye-off); mask-image: var(--pl-eye-off); }
.pl-acc { --pl-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); --pl-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 6.1A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3.2 4.2M6.6 6.6A17 17 0 0 0 2 12s3.6 7 10 7a10 10 0 0 0 4.4-1'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E"); }
.pl-acc .password-input .show-password-input { width: 40px; height: 40px; right: 3px; }

.pl-meter { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pl-meter[hidden] { display: none; }
.pl-meter__bar { flex: 1; height: 6px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.pl-meter__bar i { display: block; height: 100%; width: 0; background: #ef4444; border-radius: inherit; transition: width .2s, background .2s; }
.pl-meter small { min-width: 64px; font-weight: 700; font-size: .78rem; color: var(--mut); }
.pl-meter[data-level="2"] .pl-meter__bar i { background: #f59e0b; }
.pl-meter[data-level="3"] .pl-meter__bar i { background: #22c55e; }
.pl-meter[data-level="4"] .pl-meter__bar i { background: #059669; }

/* Parola sıfırlama sayfaları */
.pl-acc.woocommerce-account:not(.woocommerce-logged-in) .woocommerce-ResetPassword,
.pl-acc.woocommerce-account:not(.woocommerce-logged-in) form.lost_reset_password { max-width: 480px; margin: 8px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; box-shadow: var(--shadow-lg); }
.pl-acc .lost_reset_password .form-row-first, .pl-acc .lost_reset_password .form-row-last { width: 100%; float: none; }
.pl-acc .lost_reset_password > p:first-child { color: var(--mut); }

/* ───────── Panel yerleşimi ───────── */
.pl-acc.woocommerce-logged-in .entry > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.pl-acc .woocommerce-MyAccount-content { background: transparent; border: 0; box-shadow: none; padding: 0; overflow: visible; min-width: 0; }
.pl-acc .woocommerce-MyAccount-content > * + * { margin-top: 18px; }
.pl-acc .woocommerce-MyAccount-content > .pl-head + * { margin-top: 0; }
.pl-head { margin: 0 0 4px; }
.pl-head h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.pl-head p { margin: 0; color: var(--mut); font-size: .93rem; }

/* Menü: mobilde yatay kaydırılan sekmeler, masaüstünde yan menü */
.pl-nav { background: transparent; }
.pl-nav__user { display: none; }
.pl-acc .pl-nav .pl-nav__list { list-style: none; margin: 0; padding: 4px 2px; display: flex; flex-direction: row; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pl-nav__list::-webkit-scrollbar { display: none; }
.pl-acc .pl-nav .pl-nav__list li { flex: none; scroll-snap-align: start; margin: 0; }
.pl-acc .pl-nav .pl-nav__list a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.pl-acc .pl-nav .pl-nav__list a:hover { background: var(--c-light); color: var(--c); border-color: #bcdcec; }
.pl-acc .pl-nav .pl-nav__list .is-active a, .pl-acc .pl-nav .pl-nav__list a[aria-current="page"] { background: var(--c); border-color: var(--c); color: #fff; }
.pl-acc .pl-nav .pl-nav__list .woocommerce-MyAccount-navigation-link--customer-logout a { color: #b91c1c; }
.pl-acc .pl-nav .pl-nav__list .woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Karşılama kartı */
.pl-hero { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--c-dark, #085273) 0%, var(--c) 100%); box-shadow: 0 10px 28px rgba(11,110,153,.22); }
.pl-hero h2 { margin: 0 0 4px; font-size: 1.4rem; font-weight: 800; color: #fff; overflow-wrap: anywhere; }
.pl-hero p { margin: 0; color: rgba(255,255,255,.86); font-size: .94rem; max-width: 52ch; }
.pl-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* İstatistikler */
.pl-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pl-stat { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r); box-shadow: var(--pl-shadow); min-width: 0; }
.pl-stat__ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--c-light); color: var(--c); }
.pl-stat__ic.is-ok { background: #dcfce7; color: #15803d; }
.pl-stat__ic.is-warn { background: #fef3c7; color: #b45309; }
.pl-stat div { min-width: 0; display: flex; flex-direction: column; }
.pl-stat strong { font-size: 1.15rem; font-weight: 800; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.pl-stat span:not(.pl-stat__ic) { color: var(--mut); font-size: .8rem; }

/* Paneller */
.pl-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r); box-shadow: var(--pl-shadow); padding: 16px; min-width: 0; }
.pl-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pl-panel__head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.pl-panel__head a { font-size: .88rem; font-weight: 600; color: var(--c); }
.pl-grid2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }

/* Satırlar (son siparişler) */
.pl-rows { list-style: none; margin: 0; padding: 0; }
.pl-rows li + li { border-top: 1px solid var(--line); }
.pl-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "main badge" "total total"; gap: 6px 12px; align-items: center; padding: 12px 4px; color: var(--ink); border-radius: 8px; }
.pl-row:hover { background: #f8fafc; }
.pl-row__main { grid-area: main; display: flex; flex-direction: column; }
.pl-row__main small { color: var(--mut); font-size: .82rem; }
.pl-row .pl-badge { grid-area: badge; justify-self: end; }
.pl-row__total { grid-area: total; font-weight: 700; font-size: .92rem; }

/* Lisans kartları */
.pl-lic-list { display: grid; gap: 14px; }
.pl-lic { border: 1px solid var(--line); border-radius: var(--pl-r); background: #fff; padding: 14px; }
.pl-panel .pl-lic { background: #f8fafc; }
.pl-lic[hidden] { display: none; }
.pl-lic__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pl-lic__head h3 { margin: 0 0 3px; font-size: .98rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pl-lic__head p { margin: 0; color: var(--mut); font-size: .83rem; }
.pl-lic__head a { color: var(--c); font-weight: 600; }
.pl-lic__wait { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .88rem; }
.pl-lic__guide { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .86rem; font-weight: 600; color: var(--c); }
.pl-key { display: flex; flex-direction: column; gap: 10px; padding: 12px; margin-bottom: 8px; background: #0f1e2f; border: 1px dashed #38bdf8; border-radius: 12px; }
.pl-key__text { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; font-weight: 700; color: #6ee7b7; background: transparent; padding: 0; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all; transition: filter .15s; }
.pl-key__text.is-hidden { filter: blur(7px); user-select: none; -webkit-user-select: none; }
.pl-key__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-key__actions .pl-btn { min-height: 38px; padding: 0 12px; font-size: .84rem; }
.pl-key__actions .pl-btn--ghost { background: transparent; color: #e2e8f0; border-color: rgba(226,232,240,.4); }
.pl-key__actions .pl-btn--ghost:hover { border-color: #fff; color: #fff; }
.pl-key__actions .pl-btn--primary { background: var(--green); box-shadow: none; }

.pl-toolbar { display: flex; flex-direction: column; gap: 10px; }
.pl-toolbar input[type=search] { min-height: 46px; font-size: 1rem; }
.pl-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--mut); font-size: .86rem; line-height: 1.5; }
.pl-note svg { margin-top: 2px; }
.pl-empty-filter { text-align: center; color: var(--mut); }

.pl-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 26px 14px; color: var(--mut); }
.pl-empty svg { color: var(--c); opacity: .7; }
.pl-empty p { margin: 0; max-width: 40ch; }

/* Hızlı bağlantılar */
.pl-quick { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pl-quick a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r-sm); color: var(--ink); font-weight: 600; transition: border-color .15s, color .15s; }
.pl-quick a:hover { border-color: var(--c); color: var(--c); }

/* Güvenlik sekmesi */
.pl-dl { margin: 0 0 14px; display: grid; gap: 2px; }
.pl-dl dt { color: var(--mut); font-size: .82rem; margin-top: 8px; }
.pl-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pl-sessions { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.pl-sessions li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.pl-sessions li > svg { color: var(--c); margin-top: 2px; }
.pl-sessions strong { display: block; font-size: .92rem; }
.pl-sessions small { color: var(--mut); }
.pl-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pl-tips li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.pl-tips svg { color: var(--c); margin-top: 2px; }
.pl-panel .pl-btn { margin-top: 4px; }

.pl-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; color: var(--mut); font-size: .9rem; }

/* ───────── Siparişlerim tablosu ───────── */
.pl-acc table.pl-orders { margin: 0; border-radius: var(--pl-r); box-shadow: var(--pl-shadow); }
.pl-acc table.pl-orders .woocommerce-button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; margin: 0 6px 0 0; border-radius: 8px; font-size: .84rem; font-weight: 700; }
.pl-acc table.pl-orders .woocommerce-button.view { background: var(--c); color: #fff; }
.pl-acc table.pl-orders .woocommerce-button.pay { background: var(--green); color: #fff; }
.pl-acc table.pl-orders .woocommerce-button.cancel { background: #fff; color: #b91c1c; border: 1px solid #fecaca; box-shadow: none; }
.pl-acc table.pl-orders td a:not(.button) { font-weight: 700; color: var(--c); }

@media (max-width: 759px) {
  .pl-acc table.pl-orders, .pl-acc table.pl-orders tbody, .pl-acc table.pl-orders tr, .pl-acc table.pl-orders td { display: block; width: 100%; }
  .pl-acc table.pl-orders { background: transparent; border: 0; box-shadow: none; }
  .pl-acc table.pl-orders thead { position: absolute; left: -9999px; }
  .pl-acc table.pl-orders tr { margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r); box-shadow: var(--pl-shadow); overflow: hidden; }
  .pl-acc table.pl-orders td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #f1f5f9; text-align: right; }
  .pl-acc table.pl-orders td:last-child { border-bottom: 0; background: #f8fafc; justify-content: flex-start; flex-wrap: wrap; }
  .pl-acc table.pl-orders td::before { content: attr(data-title); color: var(--mut); font-size: .82rem; font-weight: 600; text-align: left; }
  .pl-acc table.pl-orders td.woocommerce-orders-table__cell-order-actions::before { display: none; }
}

/* ───────── Sipariş detayı ───────── */
.pl-acc .woocommerce-MyAccount-content > p:not([class]) { margin: 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r-sm); }
.pl-acc .woocommerce-MyAccount-content mark { background: #e0f2fe; color: #075985; padding: 1px 7px; border-radius: 6px; font-weight: 700; }
.pl-acc .woocommerce-order-details__title, .pl-acc .woocommerce-column__title, .pl-acc .woocommerce-order-downloads__title { font-size: 1.05rem; font-weight: 800; margin: 0 0 10px; }
.pl-acc .woocommerce-table--order-details { margin: 0; }
.pl-acc .woocommerce-table--order-details td, .pl-acc .woocommerce-table--order-details th { overflow-wrap: anywhere; }
.pl-acc .woocommerce-customer-details address { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r-sm); font-style: normal; line-height: 1.6; }
.pl-acc .woocommerce-columns--addresses { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.pl-acc .woocommerce-columns--addresses .woocommerce-column { width: 100%; float: none; }
.pl-acc .pl-lotus-license-delivery, .pl-acc .pl-lotus-license-delivery * { max-width: 100%; }
.pl-acc .pl-lotus-license-delivery { margin: 0 !important; }

/* ───────── Adresler ───────── */
.pl-acc .woocommerce-Addresses { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.pl-acc .woocommerce-Addresses .woocommerce-Address { width: 100%; float: none; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r); box-shadow: var(--pl-shadow); }
.pl-acc .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pl-acc .woocommerce-Address-title h2, .pl-acc .woocommerce-Address-title h3 { margin: 0; font-size: 1.02rem; font-weight: 800; }
.pl-acc .woocommerce-Address-title a.edit { font-size: .85rem; font-weight: 700; color: var(--c); }
.pl-acc .woocommerce-Address address { font-style: normal; color: #334155; line-height: 1.6; }

/* ───────── Formlar (hesap bilgileri, adres düzenleme, parola) ───────── */
.pl-acc form.woocommerce-EditAccountForm, .pl-acc .woocommerce-address-fields { padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r); box-shadow: var(--pl-shadow); }
.pl-acc .woocommerce-address-fields__field-wrapper { display: grid; gap: 0 14px; grid-template-columns: minmax(0, 1fr); }
.pl-acc .woocommerce-EditAccountForm .form-row, .pl-acc .woocommerce-address-fields .form-row { width: 100%; float: none; margin: 0 0 16px; padding: 0; }
.pl-acc .woocommerce-EditAccountForm input, .pl-acc .woocommerce-address-fields input, .pl-acc .woocommerce-address-fields select { min-height: 46px; font-size: 1rem; }
.pl-acc .woocommerce-EditAccountForm fieldset { margin: 22px 0 6px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); }
.pl-acc .woocommerce-EditAccountForm legend { padding: 0 10px 0 0; font-weight: 800; font-size: 1.02rem; }
.pl-acc .woocommerce-EditAccountForm em { color: var(--mut); font-size: .82rem; }
.pl-acc .woocommerce-EditAccountForm .woocommerce-Button, .pl-acc .woocommerce-address-fields .button, .pl-acc .woocommerce-Address-title + * .button { width: 100%; min-height: 48px; font-weight: 800; border-radius: 10px; }

/* Bildirimler küçük ekranda taşmasın */
.pl-acc .woocommerce-message, .pl-acc .woocommerce-info, .pl-acc .woocommerce-error { overflow-wrap: anywhere; }

/* ───────── Geniş ekran ───────── */
@media (min-width: 560px) {
  .pl-hero { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px; }
  .pl-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-stat { flex-direction: column; align-items: flex-start; }
  .pl-quick { grid-template-columns: repeat(3, 1fr); }
  .pl-toolbar { flex-direction: row; }
  .pl-toolbar input[type=search] { flex: 1; }
  .pl-key { flex-direction: row; align-items: center; justify-content: space-between; }
  .pl-key__text { flex: 1; min-width: 0; }
  .pl-key__actions { flex: none; }
  .pl-row { grid-template-columns: 1fr auto auto; grid-template-areas: "main badge total"; padding: 12px 10px; }
  .pl-row__total { text-align: right; min-width: 90px; }
  .pl-acc .woocommerce-columns--addresses, .pl-acc .woocommerce-Addresses { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .pl-auth { grid-template-columns: 5fr 6fr; }
  .pl-auth__intro { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
  .pl-auth__intro h2 { font-size: 1.6rem; }
  .pl-auth__intro ul { display: grid; }
  .pl-auth__panel { padding: 36px 34px; }
  .pl-grid2 { grid-template-columns: 1fr 1fr; }
  .pl-acc .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr 1fr; }
  .pl-acc .woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
  .pl-acc .woocommerce-EditAccountForm .woocommerce-Button, .pl-acc .woocommerce-address-fields .button { width: auto; min-width: 200px; }
}
@media (min-width: 900px) {
  /* Menü her ekranda yatay ve sabit değil: içerik tam genişlikte okunur */
  .pl-acc.woocommerce-logged-in .entry > .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pl-nav { position: static; background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r); box-shadow: var(--pl-shadow); padding: 10px; }
  .pl-acc .pl-nav .pl-nav__list { flex-wrap: wrap; overflow: visible; gap: 6px; padding: 0; }
  .pl-acc .pl-nav .pl-nav__list a { border-color: transparent; background: transparent; }
  .pl-acc .pl-nav .pl-nav__list a:hover { background: var(--c-light); }
  .pl-acc .pl-nav .pl-nav__list .is-active a, .pl-acc .pl-nav .pl-nav__list a[aria-current="page"] { background: var(--c); color: #fff; }
  .pl-acc .pl-nav .pl-nav__list .woocommerce-MyAccount-navigation-link--customer-logout { margin-left: auto; }
  .pl-hero h2 { font-size: 1.6rem; }
  .pl-panel { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) { .pl-acc * { transition: none !important; scroll-behavior: auto !important; } }

/* ───────── Sipariş detayı ───────── */
.pl-ohead { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--pl-r); overflow: hidden; box-shadow: var(--pl-shadow); }
.pl-ohead > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; background: #fff; min-width: 0; }
.pl-ohead span:not(.pl-badge) { color: var(--mut); font-size: .8rem; }
.pl-ohead strong { font-size: 1rem; font-weight: 800; overflow-wrap: anywhere; }

.pl-delivery { display: grid; gap: 14px; }
.pl-delivery__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.1rem; font-weight: 800; }
.pl-delivery__title svg { color: var(--c); }
.pl-lic--order { padding: 16px; box-shadow: var(--pl-shadow); }
.pl-lic--order .pl-lic__head { margin-bottom: 10px; }

/* Adım adım kurulum: dikkat çeken kart */
.pl-guide { margin-top: 14px; border: 2px solid var(--c); border-radius: var(--pl-r); overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(11,110,153,.14); }
.pl-guide__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, var(--c-dark, #085273), var(--c)); }
.pl-guide__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.18); }
.pl-guide__head h4 { margin: 0; font-size: 1.08rem; font-weight: 800; color: #fff; }
.pl-guide__head p { margin: 2px 0 0; font-size: .86rem; color: rgba(255,255,255,.88); }
.pl-steps { list-style: none; margin: 0; padding: 18px 16px 6px; counter-reset: none; }
.pl-steps__item { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.pl-steps__item:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: #bcdcec; }
.pl-steps__n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 0 0 4px var(--c-light); }
.pl-steps__main { min-width: 0; padding-top: 5px; line-height: 1.55; }
.pl-steps__main > strong { display: block; font-size: 1rem; color: var(--ink); }
.pl-steps__body { margin-top: 4px; color: #334155; font-size: .92rem; overflow-wrap: anywhere; }
.pl-steps__body p { margin: 4px 0; }
.pl-steps__body ol, .pl-steps__body ul { margin: 6px 0 0; padding-left: 20px; }
.pl-steps__body a { color: var(--c); font-weight: 600; text-decoration: underline; }
.pl-guide__links { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 16px 16px; background: #f8fafc; border-top: 1px solid var(--line); }
.pl-guide__links .pl-btn { margin: 0; }

/* Sipariş güncellemeleri: zaman çizelgesi */
.pl-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.pl-timeline li { position: relative; padding: 0 0 16px 22px; }
.pl-timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--c-light); }
.pl-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.pl-timeline time { display: block; color: var(--mut); font-size: .82rem; font-weight: 600; }
.pl-timeline__text { margin-top: 3px; color: #1e293b; line-height: 1.55; overflow-wrap: anywhere; }
.pl-timeline__text p { margin: 0 0 6px; }

/* Sipariş detayları tablosu */
.pl-acc .woocommerce-order-details { background: #fff; border: 1px solid var(--line); border-radius: var(--pl-r); box-shadow: var(--pl-shadow); padding: 16px; }
.pl-acc .woocommerce-order-details table.shop_table { border: 0; box-shadow: none; margin: 0; border-radius: 0; }
.pl-acc .woocommerce-table--order-details th, .pl-acc .woocommerce-table--order-details td { padding: 12px 8px; font-size: .92rem; }
.pl-acc .woocommerce-table--order-details thead th { background: transparent; color: var(--mut); font-size: .8rem; font-weight: 700; border-bottom: 2px solid var(--line); }
.pl-acc .woocommerce-table--order-details tfoot th { background: transparent; font-weight: 600; color: #475569; }
.pl-acc .woocommerce-table--order-details tfoot tr:last-child th, .pl-acc .woocommerce-table--order-details tfoot tr:last-child td { font-size: 1.05rem; font-weight: 800; color: var(--ink); border-bottom: 0; }
.pl-acc .woocommerce-table--order-details .product-name a { font-weight: 700; color: var(--ink); }
.pl-acc p.order-again { margin: 0; }
.pl-acc p.order-again .button { min-height: 44px; border-radius: 10px; font-weight: 700; }
.pl-acc .woocommerce-customer-details .woocommerce-column__title { margin-top: 0; }

@media (min-width: 640px) {
  .pl-ohead { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-guide__head { padding: 16px 22px; }
  .pl-steps { padding: 22px 22px 8px; }
  .pl-guide__links { padding: 14px 22px 18px; }
}
@media (max-width: 559px) {
  .pl-acc .woocommerce-table--order-details thead { display: none; }
  .pl-acc .woocommerce-table--order-details tr, .pl-acc .woocommerce-table--order-details td, .pl-acc .woocommerce-table--order-details tfoot th { display: block; width: 100%; }
  .pl-acc .woocommerce-table--order-details tbody td.product-total { text-align: left; font-weight: 700; padding-top: 0; }
  .pl-acc .woocommerce-table--order-details tfoot tr { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
  .pl-acc .woocommerce-table--order-details tfoot th, .pl-acc .woocommerce-table--order-details tfoot td { width: auto; border: 0; }
}
