/* =========================================================================
   ElityCMS — Varsayılan tema mağaza stilleri (Modül B)
   Tema değişkenleri: --c-primary --c-primary-2 --c-accent --c-text --c-muted --c-bg
                      --c-surface --c-border --radius --font-heading --container
   Tüm sınıflar "sh-" önekli; tema CSS'iyle çakışmaz.
   ========================================================================= */
:root {
  --sh-primary: var(--c-primary, #1d4ed8);
  --sh-text: var(--c-text, #0f172a);
  --sh-muted: var(--c-muted, #64748b);
  --sh-bg: var(--c-bg, #fff);
  --sh-surface: var(--c-surface, #f8fafc);
  --sh-border: var(--c-border, #e2e8f0);
  --sh-radius: var(--radius, 12px);
  --sh-success: #16a34a;
  --sh-danger: #dc2626;
  --sh-warning: #d97706;
  --sh-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .18);
  --sh-shadow-lg: 0 20px 50px -20px rgba(15, 23, 42, .35);
}

.sh-container { width: 100%; max-width: var(--container, 1200px); margin: 0 auto; padding: 0 20px; }
.sh-page { padding-top: 28px; padding-bottom: 64px; }
.sh-narrow { max-width: 880px; }
.sh-title { font-family: var(--font-heading, inherit); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; margin: 0 0 8px; color: var(--sh-text); letter-spacing: -.01em; }
.sh-section-title { font-family: var(--font-heading, inherit); font-size: 1.35rem; margin: 0 0 18px; }
.sh-lead { color: var(--sh-muted); margin: 0; max-width: 680px; }
.sh-muted { color: var(--sh-muted); }
.sh-center { text-align: center; }
.sh-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .02em; }
.sh-r { text-align: right; }
.sh-grow { flex: 1; }
.sh-stack { display: flex; flex-direction: column; gap: 16px; }
.sh-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sh-link { color: var(--sh-primary); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; display: inline-block; margin-top: 10px; }
.sh-link:hover { text-decoration: underline; }
.sh-only-mobile { display: none !important; }

/* ---------- Kırıntı & bildirim ---------- */
.sh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--sh-muted); margin-bottom: 18px; }
.sh-crumbs a { color: inherit; text-decoration: none; } .sh-crumbs a:hover { color: var(--sh-primary); }
.sh-crumbs [aria-current] { color: var(--sh-text); font-weight: 500; }
.sh-alerts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.sh-alert { padding: 12px 16px; border-radius: var(--sh-radius); border: 1px solid; font-size: .95rem; margin-bottom: 12px; }
.sh-alerts .sh-alert { margin: 0; }
.sh-alert ul { margin: 6px 0 0; padding-left: 18px; }
.sh-alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.sh-alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.sh-alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.sh-alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* ---------- Butonlar & form ---------- */
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: calc(var(--sh-radius) * .75); border: 1px solid transparent; font: 600 .95rem/1 inherit; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s, box-shadow .15s, opacity .15s; white-space: nowrap; }
.sh-btn:active { transform: translateY(1px); }
.sh-btn:disabled, .sh-btn.is-loading { opacity: .6; cursor: not-allowed; }
.sh-btn-primary { background: var(--sh-primary); color: #fff; box-shadow: 0 6px 16px -8px var(--sh-primary); }
.sh-btn-primary:hover { filter: brightness(1.08); color: #fff; }
.sh-btn-soft { background: color-mix(in srgb, var(--sh-primary) 10%, transparent); color: var(--sh-primary); }
.sh-btn-soft:hover { background: color-mix(in srgb, var(--sh-primary) 16%, transparent); }
.sh-btn-ghost { background: transparent; color: var(--sh-muted); border-color: var(--sh-border); }
.sh-btn-sm { height: 34px; padding: 0 12px; font-size: .85rem; }
.sh-btn-lg { height: 52px; padding: 0 26px; font-size: 1.02rem; }
.sh-btn-block { width: 100%; }
.sh-btn .sh-spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sh-spin .7s linear infinite; }
@keyframes sh-spin { to { transform: rotate(360deg); } }

.sh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sh-field > label, .sh-label { font-size: .875rem; font-weight: 600; color: var(--sh-text); }
.sh-input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--sh-border); border-radius: calc(var(--sh-radius) * .7); background: var(--sh-bg); color: var(--sh-text); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
textarea.sh-input { height: auto; padding: 10px 14px; resize: vertical; min-height: 80px; }
select.sh-input { padding-right: 32px; }
.sh-input:focus { outline: 0; border-color: var(--sh-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sh-primary) 18%, transparent); }
.sh-input.is-invalid { border-color: var(--sh-danger); }
.sh-error { color: var(--sh-danger); font-size: .82rem; }
.sh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 16px; }
.sh-full { grid-column: 1 / -1; }
.sh-input-group { display: flex; gap: 8px; }
.sh-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.sh-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--sh-primary); flex: none; }

.sh-box { background: var(--sh-bg); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 22px; }
.sh-box h2 { font-size: 1.1rem; margin: 0 0 16px; }
.sh-box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sh-box-head .sh-link { margin: 0; }
.sh-box + .sh-box { margin-top: 16px; }

/* ---------- Katalog ---------- */
.sh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.sh-count { color: var(--sh-muted); font-size: .9rem; white-space: nowrap; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.sh-chip { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--sh-border); color: var(--sh-text); text-decoration: none; font-size: .9rem; background: var(--sh-bg); }
.sh-chip:hover { border-color: var(--sh-primary); color: var(--sh-primary); }
.sh-chip small { color: var(--sh-muted); }
.sh-catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.sh-filters { position: sticky; top: 96px; }
.sh-filter-form { display: flex; flex-direction: column; gap: 20px; background: var(--sh-surface); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 18px; }
.sh-filter-form .sh-btn-block + .sh-btn-block { margin-top: -10px; }
.sh-cat-list, .sh-cat-list ul { list-style: none; margin: 0; padding: 0; }
.sh-cat-list ul { padding-left: 14px; border-left: 1px solid var(--sh-border); margin: 4px 0 4px 6px; }
.sh-cat-list a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; color: var(--sh-text); text-decoration: none; font-size: .93rem; }
.sh-cat-list a:hover { background: var(--sh-bg); }
.sh-cat-list a.is-active { background: color-mix(in srgb, var(--sh-primary) 12%, transparent); color: var(--sh-primary); font-weight: 600; }
.sh-cat-list small { color: var(--sh-muted); }
.sh-range { display: flex; align-items: center; gap: 6px; }
.sh-range .sh-input { height: 40px; padding: 0 10px; }
.sh-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 16px; }
.sh-sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--sh-muted); }
.sh-sort .sh-input { height: 38px; width: auto; }

.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.sh-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Ürün kartı ---------- */
.sh-card { display: flex; flex-direction: column; background: var(--sh-bg); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.sh-card:hover { box-shadow: var(--sh-shadow-lg); transform: translateY(-3px); border-color: transparent; }
.sh-card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--sh-surface); overflow: hidden; }
.sh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sh-card:hover .sh-card-media img { transform: scale(1.05); }
.sh-card.is-out .sh-card-media img { filter: grayscale(.7); opacity: .75; }
.sh-card-ph { display: grid; place-items: center; width: 100%; height: 100%; color: color-mix(in srgb, var(--sh-muted) 60%, transparent); background: var(--sh-surface); }
.sh-card-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.sh-tag { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 99px; font-size: .74rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--sh-text); backdrop-filter: blur(6px); letter-spacing: .01em; }
.sh-meta .sh-tag { background: var(--sh-surface); border: 1px solid var(--sh-border); }
.sh-tag-sale { background: var(--sh-danger); color: #fff; }
.sh-tag-out { background: #334155; color: #fff; }
.sh-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.sh-card-cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sh-muted); text-decoration: none; font-weight: 600; }
.sh-card-title { font-size: 1rem; line-height: 1.35; margin: 0; font-weight: 600; }
.sh-card-title a { color: var(--sh-text); text-decoration: none; }
.sh-card-title a:hover { color: var(--sh-primary); }
.sh-card-meta { font-size: .85rem; color: var(--sh-muted); }
.sh-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }

.sh-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sh-price-now { font-weight: 800; font-size: 1.08rem; color: var(--sh-text); }
.sh-price-old { color: var(--sh-muted); font-size: .88rem; }
.sh-price-from { color: var(--sh-muted); font-size: .8rem; margin-left: -6px; }
.sh-price-quote { font-size: .9rem; font-weight: 600; color: var(--sh-primary); }
.sh-price-lg .sh-price-now { font-size: 1.9rem; color: var(--sh-primary); letter-spacing: -.01em; }
.sh-price-lg .sh-price-old { font-size: 1.1rem; }
.sh-price-tax { color: var(--sh-muted); font-size: .8rem; }

.sh-pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.sh-pager a, .sh-pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--sh-border); text-decoration: none; color: var(--sh-text); padding: 0 10px; }
.sh-pager a:hover { border-color: var(--sh-primary); color: var(--sh-primary); }
.sh-pager .is-active { background: var(--sh-primary); border-color: var(--sh-primary); color: #fff; font-weight: 700; }
.sh-pager .sh-pager-gap { border: 0; }

.sh-empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--sh-border); border-radius: var(--sh-radius); color: var(--sh-muted); }
.sh-empty svg { color: color-mix(in srgb, var(--sh-primary) 50%, transparent); margin-bottom: 8px; }
.sh-empty h2 { color: var(--sh-text); margin: 0 0 6px; font-size: 1.25rem; }
.sh-empty p { margin: 0 0 18px; }

/* ---------- Ürün detay ---------- */
.sh-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-bottom: 48px; }
.sh-gallery { position: sticky; top: 96px; }
.sh-gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--sh-radius); overflow: hidden; background: var(--sh-surface); border: 1px solid var(--sh-border); }
.sh-gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.sh-gallery-badge { position: absolute; top: 14px; left: 14px; }
.sh-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.sh-thumb { aspect-ratio: 1 / 1; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--sh-surface); }
.sh-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-thumb.is-active { border-color: var(--sh-primary); }
.sh-info { display: flex; flex-direction: column; gap: 16px; }
.sh-info .sh-title { margin: 0; }
.sh-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .88rem; color: var(--sh-muted); }
.sh-short { color: var(--sh-muted); margin: 0; line-height: 1.65; }
.sh-stock { font-size: .9rem; font-weight: 600; }
.sh-stock-in { color: var(--sh-success); } .sh-stock-in::before { content: '● '; }
.sh-stock-low { color: var(--sh-warning); font-weight: 600; font-size: .85rem; }
.sh-stock-out { color: var(--sh-danger); }
.sh-buy { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; border-top: 1px solid var(--sh-border); }
.sh-options { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.sh-option { border: 0; margin: 0; padding: 0; }
.sh-option legend { font-size: .9rem; color: var(--sh-muted); margin-bottom: 8px; padding: 0; }
.sh-option legend strong { color: var(--sh-text); }
.sh-option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-swatch { position: relative; cursor: pointer; }
.sh-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.sh-swatch span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--sh-border); border-radius: 10px; font-size: .92rem; font-weight: 500; transition: .15s; background: var(--sh-bg); }
.sh-swatch:hover span { border-color: var(--sh-text); }
.sh-swatch input:checked + span { border-color: var(--sh-primary); background: color-mix(in srgb, var(--sh-primary) 9%, transparent); color: var(--sh-primary); font-weight: 700; }
.sh-swatch input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sh-primary) 25%, transparent); }
.sh-swatch.is-unavailable span { text-decoration: line-through; opacity: .45; }
.sh-buy-row { display: flex; gap: 12px; align-items: stretch; }
.sh-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--sh-border); border-radius: calc(var(--sh-radius) * .75); overflow: hidden; height: 52px; background: var(--sh-bg); }
.sh-qty button { width: 44px; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; color: var(--sh-text); }
.sh-qty button:hover { background: var(--sh-surface); }
.sh-qty input { width: 52px; border: 0; text-align: center; font: 600 1rem inherit; color: var(--sh-text); background: transparent; -moz-appearance: textfield; }
.sh-qty input::-webkit-outer-spin-button, .sh-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sh-qty input:focus { outline: 0; }
.sh-qty-sm { height: 38px; } .sh-qty-sm button { width: 34px; font-size: 1.05rem; } .sh-qty-sm input { width: 40px; }
.sh-perks { list-style: none; padding: 0; margin: 0; color: var(--sh-muted); font-size: .88rem; }
.sh-perks li::before { content: '✓ '; color: var(--sh-success); font-weight: 700; }

.sh-tabs { border-top: 1px solid var(--sh-border); margin-bottom: 56px; }
.sh-tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--sh-border); overflow-x: auto; }
.sh-tab-nav button { background: none; border: 0; padding: 16px 18px; font: 600 .98rem inherit; color: var(--sh-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.sh-tab-nav button.is-active { color: var(--sh-text); border-bottom-color: var(--sh-primary); }
.sh-tab-panel { display: none; padding: 26px 0; }
.sh-tab-panel.is-active { display: block; }
.sh-prose { line-height: 1.75; max-width: 820px; }
.sh-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.sh-prose h2, .sh-prose h3 { font-family: var(--font-heading, inherit); }
.sh-quote-form { max-width: 720px; }
.sh-related { margin-top: 12px; }

/* ---------- Sepet ---------- */
.sh-cart, .sh-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; margin-top: 18px; }
.sh-lines { list-style: none; margin: 0; padding: 0; border: 1px solid var(--sh-border); border-radius: var(--sh-radius); background: var(--sh-bg); }
.sh-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 110px 36px; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--sh-border); transition: opacity .2s; }
.sh-line:last-child { border-bottom: 0; }
.sh-line.is-busy { opacity: .5; pointer-events: none; }
.sh-line-img { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--sh-surface); display: block; }
.sh-line-img img { width: 100%; height: 100%; object-fit: cover; }
.sh-line-info { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; min-width: 0; }
.sh-line-name { font-weight: 600; color: var(--sh-text); text-decoration: none; font-size: 1rem; }
.sh-line-name:hover { color: var(--sh-primary); }
.sh-line-total { text-align: right; font-weight: 700; }
.sh-line-remove { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--sh-muted); cursor: pointer; display: grid; place-items: center; }
.sh-line-remove:hover { background: #fef2f2; color: var(--sh-danger); }

.sh-summary { position: sticky; top: 96px; background: var(--sh-surface); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.sh-summary h2 { font-size: 1.15rem; margin: 0; }
.sh-totals { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.sh-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.sh-totals > div[hidden] { display: none; }
.sh-totals dt { color: var(--sh-muted); } .sh-totals dd { margin: 0; font-weight: 600; text-align: right; }
.sh-totals .sh-plus { color: var(--sh-success); }
.sh-totals .sh-total { border-top: 1px solid var(--sh-border); padding-top: 12px; margin-top: 4px; font-size: 1.2rem; }
.sh-totals .sh-total dt { color: var(--sh-text); font-weight: 700; } .sh-totals .sh-total dd { font-weight: 800; }
.sh-free-ship { margin: 0; font-size: .86rem; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--sh-success) 10%, transparent); color: #166534; }
.sh-coupon { border-top: 1px dashed var(--sh-border); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.sh-coupon .sh-input { height: 42px; }
.sh-coupon-applied { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.sh-coupon-applied .sh-link { margin: 0; color: var(--sh-danger); }

/* ---------- Ödeme ---------- */
.sh-checkout-main { display: flex; flex-direction: column; gap: 16px; }
.sh-checkout-main .sh-box + .sh-box { margin-top: 0; }
.sh-checkout-main .sh-form-grid { margin-bottom: 0; }
.sh-login-hint { background: color-mix(in srgb, var(--sh-primary) 6%, var(--sh-bg)); font-size: .93rem; padding: 14px 18px; }
.sh-pay-methods { display: flex; flex-direction: column; gap: 10px; }
.sh-pay { display: flex; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--sh-border); border-radius: calc(var(--sh-radius) * .8); cursor: pointer; transition: .15s; }
.sh-pay:hover { border-color: color-mix(in srgb, var(--sh-primary) 50%, var(--sh-border)); }
.sh-pay:has(input:checked) { border-color: var(--sh-primary); background: color-mix(in srgb, var(--sh-primary) 6%, transparent); }
.sh-pay input { margin-top: 3px; accent-color: var(--sh-primary); width: 17px; height: 17px; flex: none; }
.sh-pay-body { display: flex; flex-direction: column; gap: 2px; }
.sh-pay-body small { color: var(--sh-muted); }
.sh-mini-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sh-mini-lines li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .92rem; }
.sh-mini-img { position: relative; width: 52px; height: 52px; border-radius: 9px; background: var(--sh-bg); border: 1px solid var(--sh-border); }
.sh-mini-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.sh-mini-img b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--sh-text); color: var(--sh-bg); font-size: .72rem; display: grid; place-items: center; }
.sh-mini-name { display: flex; flex-direction: column; min-width: 0; }
.sh-mini-name a { color: var(--sh-text); }
.sh-mini-name small { color: var(--sh-muted); }
.sh-agree { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; border-top: 1px solid var(--sh-border); padding-top: 14px; }
.sh-agree details { background: var(--sh-bg); border: 1px solid var(--sh-border); border-radius: 10px; }
.sh-agree summary { padding: 10px 12px; cursor: pointer; font-weight: 600; }
.sh-agree-text { max-height: 260px; overflow-y: auto; padding: 0 14px 12px; font-size: .84rem; }
.sh-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; margin: 0; }

/* ---------- Sipariş ---------- */
.sh-thanks { text-align: center; padding: 20px 0 26px; }
.sh-thanks-icon { width: 68px; height: 68px; border-radius: 50%; background: color-mix(in srgb, var(--sh-success) 14%, transparent); color: var(--sh-success); display: inline-grid; place-items: center; margin-bottom: 14px; animation: sh-pop .4s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes sh-pop { from { transform: scale(.4); opacity: 0; } }
.sh-progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 10px 0 24px; counter-reset: st; }
.sh-progress li { position: relative; text-align: center; font-size: .82rem; color: var(--sh-muted); padding-top: 38px; counter-increment: st; }
.sh-progress li::before { content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sh-surface); border: 2px solid var(--sh-border); font-weight: 700; z-index: 1; }
.sh-progress li::after { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--sh-border); }
.sh-progress li:first-child::after { display: none; }
.sh-progress li.is-done { color: var(--sh-text); font-weight: 600; }
.sh-progress li.is-done::before { background: var(--sh-primary); border-color: var(--sh-primary); color: #fff; content: '✓'; }
.sh-progress li.is-done::after { background: var(--sh-primary); }
.sh-progress li.is-current::before { box-shadow: 0 0 0 5px color-mix(in srgb, var(--sh-primary) 20%, transparent); }
.sh-pay-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-color: var(--sh-primary); margin-bottom: 16px; }
.sh-pay-cta p { margin: 4px 0 0; }
.sh-bank { margin-bottom: 16px; background: color-mix(in srgb, var(--sh-primary) 4%, var(--sh-bg)); }
.sh-bank-accounts { background: var(--sh-bg); border: 1px dashed var(--sh-border); border-radius: 10px; padding: 14px; font-size: .92rem; white-space: pre-wrap; margin: 0; }
.sh-order-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin: 16px 0 28px; align-items: start; }
.sh-order-grid .sh-box + .sh-box { margin-top: 0; }
.sh-order-grid .sh-totals { margin-top: 18px; border-top: 1px solid var(--sh-border); padding-top: 14px; }
.sh-kv { display: grid; grid-template-columns: 76px 1fr; gap: 10px 12px; margin: 0; font-size: .92rem; }
.sh-kv dt { color: var(--sh-muted); } .sh-kv dd { margin: 0; }
.sh-timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--sh-border); display: flex; flex-direction: column; gap: 12px; font-size: .9rem; }
.sh-timeline li { position: relative; }
.sh-timeline li::before { content: ''; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--sh-primary); }
.sh-download { display: inline-block; margin-top: 4px; font-size: .85rem; font-weight: 600; color: var(--sh-primary); }
.sh-paytr { background: var(--sh-bg); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); overflow: hidden; margin: 18px 0; }

/* ---------- Hesap ---------- */
.sh-auth { max-width: 480px; }
.sh-auth .sh-box { padding: 32px; box-shadow: var(--sh-shadow); }
.sh-auth form { margin: 18px 0; }
.sh-auth .sh-form-grid { margin: 0; }
.sh-account { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 16px; }
.sh-account-nav { display: flex; flex-direction: column; gap: 2px; background: var(--sh-surface); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 10px; position: sticky; top: 96px; }
.sh-account-hello { padding: 8px 10px 12px; font-size: .9rem; color: var(--sh-muted); border-bottom: 1px solid var(--sh-border); margin-bottom: 6px; }
.sh-account-hello strong { color: var(--sh-text); display: block; }
.sh-account-nav a { padding: 9px 12px; border-radius: 8px; color: var(--sh-text); text-decoration: none; font-size: .94rem; }
.sh-account-nav a:hover { background: var(--sh-bg); }
.sh-account-nav a.is-active { background: var(--sh-primary); color: #fff; font-weight: 600; }
.sh-account-main { min-width: 0; }
.sh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.sh-stat { background: var(--sh-bg); border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.sh-stat span { color: var(--sh-muted); font-size: .85rem; } .sh-stat strong { font-size: 1.3rem; }
.sh-table-wrap { overflow-x: auto; }
.sh-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sh-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sh-muted); padding: 8px 10px; border-bottom: 1px solid var(--sh-border); }
.sh-table td { padding: 12px 10px; border-bottom: 1px solid var(--sh-border); vertical-align: middle; }
.sh-table tr:last-child td { border-bottom: 0; }
.sh-status { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: var(--sh-surface); }
.sh-status-pending { background: #fef3c7; color: #92400e; }
.sh-status-processing { background: #dbeafe; color: #1e40af; }
.sh-status-shipped { background: #ede9fe; color: #5b21b6; }
.sh-status-completed { background: #dcfce7; color: #166534; }
.sh-status-cancelled { background: #fee2e2; color: #991b1b; }
.sh-status-refunded { background: #ffedd5; color: #9a3412; }

/* ---------- Mini sepet bildirimi (toast) ---------- */
.sh-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 36px); }
.sh-toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 12px; background: #0f172a; color: #fff; box-shadow: var(--sh-shadow-lg); font-size: .93rem; animation: sh-in .25s ease; min-width: 260px; }
.sh-toast.is-error { background: #991b1b; }
.sh-toast a { color: #fff; font-weight: 700; margin-left: auto; white-space: nowrap; }
.sh-toast.is-hide { opacity: 0; transform: translateY(8px); transition: .25s; }
@keyframes sh-in { from { opacity: 0; transform: translateY(10px); } }
[data-cart-count] { transition: transform .2s; }
[data-cart-count].is-bump { animation: sh-bump .4s; }
@keyframes sh-bump { 40% { transform: scale(1.35); } }

/* ---------- Duyarlı ---------- */
@media (max-width: 1024px) {
  .sh-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-cart, .sh-checkout { grid-template-columns: 1fr; }
  .sh-summary { position: static; }
  .sh-product { gap: 28px; }
}
@media (max-width: 860px) {
  .sh-catalog, .sh-product, .sh-order-grid, .sh-account { grid-template-columns: 1fr; }
  .sh-gallery, .sh-account-nav { position: static; }
  .sh-filters { position: static; display: none; }
  .sh-filters.is-open { display: block; }
  .sh-only-mobile { display: inline-flex !important; }
  .sh-toolbar { justify-content: space-between; }
  .sh-account-nav { flex-direction: row; flex-wrap: wrap; }
  .sh-account-hello { width: 100%; }
}
@media (max-width: 600px) {
  .sh-container { padding: 0 14px; }
  .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sh-card-body { padding: 10px 12px 12px; }
  .sh-card-foot .sh-btn span { display: none; }
  .sh-form-grid { grid-template-columns: 1fr; }
  .sh-line { grid-template-columns: 64px minmax(0, 1fr) 30px; grid-template-areas: "img info rm" "img qty total"; gap: 8px 12px; }
  .sh-line-img { width: 64px; height: 64px; grid-area: img; }
  .sh-line-info { grid-area: info; } .sh-line .sh-qty { grid-area: qty; justify-self: start; }
  .sh-line-total { grid-area: total; } .sh-line-remove { grid-area: rm; }
  .sh-stats { grid-template-columns: 1fr 1fr; }
  .sh-progress li { font-size: .7rem; }
  .sh-pay-cta { flex-direction: column; align-items: stretch; }
  .sh-buy-row { flex-wrap: wrap; }
  .sh-head { flex-direction: column; align-items: flex-start; }
}
@media print {
  .sh-filters, .sh-toolbar, .sh-related, .sh-toasts { display: none !important; }
}
