/* ==========================================================================
   ERTpanel | Mağaza, Hesap, Rezervasyon ve Parça Arama bileşenleri
   Yalnızca tema değişkenlerini kullanır (--wr-*, --theme-*).
   ========================================================================== */

.sh-section { padding-top: 40px; }
.sh-page [hidden] { display: none !important; }

/* Adımlar */
.sh-steps { display: flex; gap: 8px; justify-content: center; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: s; flex-wrap: wrap; }
.sh-steps li { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--wr-soft); color: var(--wr-muted); font-size: 14px; font-weight: 600; }
.sh-steps li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--wr-muted); font-size: 13px; font-weight: 800; }
.sh-steps li.is-current { background: var(--wr-red); color: #fff; }
.sh-steps li.is-current span { color: var(--wr-red); }
.sh-steps li.is-done { color: var(--wr-ink); }
.sh-steps li.is-done span { background: var(--wr-red); color: #fff; }

/* Yerleşim */
.sh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.sh-main { display: grid; gap: 20px; min-width: 0; }
.sh-aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.sh-narrow, .sh-auth { max-width: 520px; margin: 0 auto; }
.sh-stack { display: grid; gap: 16px; }
.sh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sh-grid .is-full, .sh-grid .sh-inline-check { grid-column: 1 / -1; }
.sh-block { width: 100%; }
.sh-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

@media (max-width: 991px) {
    .sh-layout { grid-template-columns: 1fr; }
    .sh-aside { position: static; }
}
@media (max-width: 575px) {
    .sh-grid { grid-template-columns: 1fr; }
}

/* Kart */
.sh-card { padding: 24px; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); background: #fff; }
.sh-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sh-card-head h2, .sh-card h3 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--wr-ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.sh-card h3 { font-size: 16px; margin-bottom: 12px; }
.sh-card-head h2 small { color: var(--wr-muted); font-weight: 600; font-size: 14px; }
.sh-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wr-red); color: #fff; font-size: 13px; }
.sh-meta { margin: 0 0 12px; color: var(--wr-muted); font-size: 14px; }
.is-muted { color: var(--wr-muted) !important; font-weight: 500 !important; }

/* Uyarılar */
.sh-alert { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.sh-alert .wr-button { margin-left: auto; }
.sh-alert.is-error { background: #fdecec; color: #a4161a; }
.sh-alert.is-success { background: #e8f7ee; color: #146c43; }
.sh-alert.is-warning { background: #fff6e0; color: #8a5a00; }
.sh-alert.is-info { background: var(--wr-soft); color: var(--wr-ink); }
.sh-alert a { color: inherit; text-decoration: underline; }

/* Rozet */
.sh-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--wr-soft); color: var(--wr-ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.sh-badge.is-success { background: #e8f7ee; color: #146c43; }
.sh-badge.is-warning { background: #fff6e0; color: #8a5a00; }
.sh-badge.is-danger { background: #fdecec; color: #a4161a; }
.sh-badge.is-info, .sh-badge.is-primary { background: var(--wr-red-tint); color: var(--wr-red); }

/* Butonlar */
.sh-link-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--wr-muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.sh-link-button:hover { color: var(--wr-red); }
.sh-link-button.is-danger:hover { color: #c1121f; }
.sh-link-button.is-end { justify-self: end; }
.wr-button.is-disabled, .wr-button:disabled { opacity: .5; pointer-events: none; }
.wr-button.is-loading { position: relative; color: transparent !important; }
.wr-button.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: sh-spin .7s linear infinite; }
.wr-button-outline.is-loading::after { border-color: var(--wr-red); border-right-color: transparent; }
@keyframes sh-spin { to { transform: rotate(360deg); } }

/* Boş durum / başarı */
.sh-empty, .sh-success { padding: 56px 24px; text-align: center; }
.sh-empty.is-compact { padding: 28px 12px; }
.sh-empty h2, .sh-success h2 { margin: 18px 0 8px; color: var(--wr-ink); font-size: 26px; font-weight: 800; }
.sh-empty h4 { margin: 12px 0 0; color: var(--wr-ink); }
.sh-empty p, .sh-success p { max-width: 520px; margin: 0 auto 24px; color: var(--wr-muted); }
.sh-empty-icon, .sh-success-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--wr-soft); color: var(--wr-red); font-size: 34px; }
.sh-success { margin-bottom: 24px; border-radius: var(--wr-radius-lg); background: var(--wr-soft); }
.sh-success-icon { background: var(--wr-red); color: #fff; }

/* Sepet listesi */
.sh-cart-list, .sh-mini-items ul, .sh-order-items, .sh-mini-list { margin: 0; padding: 0; list-style: none; }
.sh-cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 110px 32px; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--wr-line); transition: opacity .2s; }
.sh-cart-item:first-child { border-top: 0; padding-top: 0; }
.sh-cart-item.is-busy { opacity: .45; pointer-events: none; }
.sh-cart-item.has-error { opacity: .8; }
.sh-thumb { position: relative; display: grid; place-items: center; width: 88px; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--wr-soft); color: var(--wr-muted); font-size: 22px; }
.sh-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-thumb.sm { width: 56px; border-radius: 10px; font-size: 16px; overflow: visible; }
.sh-thumb.sm img { border-radius: 10px; }
.sh-thumb b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--wr-ink); color: #fff; font-size: 11px; }
.sh-cart-info { display: grid; gap: 4px; min-width: 0; }
.sh-cart-name { color: var(--wr-ink); font-weight: 700; line-height: 1.35; }
.sh-cart-name:hover { color: var(--wr-red); }
.sh-cart-variant { color: var(--wr-muted); font-size: 13px; }
.sh-cart-unit { color: var(--wr-ink); font-size: 14px; }
.sh-cart-unit del, .sh-price del { margin-right: 6px; color: var(--wr-muted); font-weight: 500; }
.sh-cart-error { color: #c1121f !important; font-size: 13px; font-weight: 600; }
.sh-cart-total { color: var(--wr-ink); text-align: right; font-size: 16px; }
.sh-remove { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--wr-muted); cursor: pointer; }
.sh-remove:hover { background: var(--wr-soft); color: #c1121f; }
.sh-back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--wr-muted); font-weight: 600; }
.sh-back-link:hover { color: var(--wr-red); }

@media (max-width: 640px) {
    .sh-cart-item { grid-template-columns: 72px minmax(0, 1fr) 28px; grid-template-areas: "img info rm" "img qty total"; gap: 10px 12px; }
    .sh-cart-item .sh-thumb { grid-area: img; width: 72px; }
    .sh-cart-info { grid-area: info; }
    .sh-cart-item .sh-qty { grid-area: qty; }
    .sh-cart-total { grid-area: total; }
    .sh-remove { grid-area: rm; }
}

/* Adet */
.sh-qty { display: inline-flex; align-items: center; height: 46px; border-radius: 999px; background: var(--wr-soft); }
.sh-qty button { display: grid; place-items: center; width: 40px; height: 100%; border: 0; background: transparent; color: var(--wr-ink); font-size: 16px; cursor: pointer; }
.sh-qty button:hover { color: var(--wr-red); }
.sh-qty input { width: 44px; height: 100%; border: 0; background: transparent; color: var(--wr-ink); text-align: center; font-weight: 700; font-size: 15px; -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 { width: 70px; min-height: 38px; border: 1px solid var(--wr-line); border-radius: 10px; text-align: center; }

/* Kupon */
.sh-coupon, .sh-coupon-applied { padding: 18px; border: 1px dashed var(--wr-line); border-radius: var(--wr-radius-lg); background: #fff; }
.sh-coupon label { display: flex; gap: 8px; margin-bottom: 10px; color: var(--wr-ink); font-weight: 700; font-size: 14px; }
.sh-coupon div { display: flex; gap: 8px; }
.sh-coupon input { flex: 1; min-width: 0; min-height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; background: var(--wr-soft); text-transform: uppercase; }
.sh-coupon input:focus { border-color: var(--wr-red); outline: 0; background: #fff; }
.sh-coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-style: solid; border-color: #b7e4c7; background: #f2fbf5; color: #146c43; font-size: 14px; }

/* Özet */
.sh-summary { padding: 24px; border-radius: var(--wr-radius-lg); background: var(--wr-soft); }
.sh-summary h3 { margin: 0 0 16px; color: var(--wr-ink); font-size: 18px; font-weight: 800; }
.sh-summary dl { display: grid; gap: 12px; margin: 0; }
.sh-summary dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sh-summary dt { color: var(--wr-text); font-weight: 500; }
.sh-summary dt small { display: block; color: var(--wr-muted); font-size: 12px; }
.sh-summary dd { margin: 0; color: var(--wr-ink); font-weight: 700; white-space: nowrap; }
.sh-summary .is-discount dt, .sh-summary .is-discount dd { color: #146c43; }
.sh-summary dd.is-free { color: #146c43; }
.sh-summary-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--wr-line); }
.sh-summary-total span { color: var(--wr-ink); font-weight: 700; }
.sh-summary-total strong { color: var(--wr-red); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.sh-free-hint { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--wr-ink); font-size: 13px; }
.sh-trust { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--wr-muted); font-size: 13px; }
.sh-trust i { margin-right: 6px; color: var(--wr-red); }

/* Seçim kartları */
.sh-saved-addresses, .sh-payments { display: grid; gap: 10px; margin-bottom: 18px; }
.sh-saved-addresses { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sh-choice { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--wr-line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.sh-choice:hover { border-color: var(--wr-red); }
.sh-choice:has(input:checked) { border-color: var(--wr-red); background: var(--wr-red-tint); }
.sh-choice input[type="radio"], .sh-choice input[type="checkbox"] { margin-top: 3px; accent-color: var(--wr-red); }
.sh-choice span { display: grid; gap: 2px; }
.sh-choice strong { color: var(--wr-ink); font-size: 15px; }
.sh-choice small { color: var(--wr-muted); font-size: 13px; line-height: 1.45; }
.sh-choice .sh-qty-input { margin-left: auto; }
.sh-payment > i { color: var(--wr-red); font-size: 24px; }
.sh-segment { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 999px; background: var(--wr-soft); }
.sh-segment label { padding: 8px 18px; border-radius: 999px; color: var(--wr-muted); font-weight: 600; font-size: 14px; cursor: pointer; }
.sh-segment input { position: absolute; opacity: 0; pointer-events: none; }
.sh-segment label:has(input:checked) { background: #fff; color: var(--wr-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.sh-inline-check { margin-top: 4px; }
.sh-note-field { margin-top: 6px; }
.sh-terms { padding: 4px 2px; font-size: 13px; }
.sh-terms a { color: var(--wr-red); text-decoration: underline; }
.wr-field small.is-muted { color: var(--wr-muted); font-weight: 400; }

/* Mini ürün listesi */
.sh-mini-items li, .sh-order-items li, .sh-mini-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--wr-line); }
.sh-mini-items li:first-child, .sh-order-items li:first-child, .sh-mini-list li:first-child { border-top: 0; }
.sh-mini-name { display: grid; flex: 1; gap: 2px; min-width: 0; color: var(--wr-ink); font-size: 14px; font-weight: 600; line-height: 1.35; }
.sh-mini-name a { color: inherit; }
.sh-mini-name small { color: var(--wr-muted); font-size: 12px; font-weight: 500; }
.sh-mini-items strong, .sh-order-items strong { color: var(--wr-ink); font-size: 14px; white-space: nowrap; }
.sh-mini-items .sh-link-button { margin-top: 10px; }

/* Sipariş detay */
.sh-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 18px 0 6px; padding: 0; list-style: none; }
.sh-progress li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--wr-muted); font-size: 12px; font-weight: 600; text-align: center; }
.sh-progress li span { position: relative; z-index: 1; width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--wr-line); box-shadow: 0 0 0 2px var(--wr-line); }
.sh-progress li::before { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--wr-line); }
.sh-progress li:first-child::before { display: none; }
.sh-progress li.is-done { color: var(--wr-ink); }
.sh-progress li.is-done span { background: var(--wr-red); box-shadow: 0 0 0 2px var(--wr-red); }
.sh-progress li.is-done::before { background: var(--wr-red); }
.sh-bank-list { display: grid; gap: 10px; }
.sh-bank-item { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--wr-soft); }
.sh-bank-item span { color: var(--wr-muted); font-size: 13px; }
.sh-bank-item code { color: var(--wr-ink); font-size: 15px; font-weight: 700; letter-spacing: .03em; cursor: pointer; }
.sh-bank-checkout { margin-top: 14px; padding: 16px; border: 1px dashed var(--wr-line, #ddd); border-radius: 16px; }
.sh-bank-checkout[hidden] { display: none; }
.sh-bank-note { margin: 0 0 12px; font-size: 13px; color: var(--wr-muted); }
.sh-address-card p { margin: 0 0 16px; color: var(--wr-text); font-size: 14px; line-height: 1.6; }
.sh-return summary { color: var(--wr-ink); font-weight: 700; cursor: pointer; }
.sh-return-form { display: grid; gap: 12px; margin-top: 16px; }
.sh-pay-amount { color: var(--wr-red); font-size: 22px; }

/* Hesap */
.sh-account { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.sh-account-body { display: grid; gap: 20px; min-width: 0; }
.sh-account-nav { position: sticky; top: 100px; padding: 20px; border-radius: var(--wr-radius-lg); background: var(--wr-soft); }
.sh-account-user { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--wr-line); }
.sh-account-user strong { display: block; color: var(--wr-ink); }
.sh-account-user small { color: var(--wr-muted); font-size: 12px; word-break: break-all; }
.sh-avatar { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--wr-red); color: #fff; font-weight: 800; }
.sh-account-nav nav { display: grid; gap: 4px; }
.sh-account-nav a, .sh-account-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--wr-text); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.sh-account-nav a:hover, .sh-account-nav button:hover { background: #fff; color: var(--wr-red); }
.sh-account-nav a.is-active { background: #fff; color: var(--wr-red); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.sh-welcome h2 { margin: 0 0 6px; color: var(--wr-ink); font-size: 26px; font-weight: 800; }
.sh-welcome p { margin: 0; color: var(--wr-muted); }
.sh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sh-stats a { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); color: var(--wr-ink); }
.sh-stats a:hover { border-color: var(--wr-red); }
.sh-stats i { color: var(--wr-red); font-size: 22px; }
.sh-stats strong { font-size: 26px; font-weight: 800; }
.sh-stats span { color: var(--wr-muted); font-size: 13px; }
.sh-table-wrap { overflow-x: auto; }
.sh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sh-table th { padding: 10px 12px; border-bottom: 1px solid var(--wr-line); color: var(--wr-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.sh-table td { padding: 14px 12px; border-bottom: 1px solid var(--wr-line); color: var(--wr-text); vertical-align: middle; white-space: nowrap; }
.sh-table .is-right { text-align: right; }
.sh-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sh-address { padding: 18px; border: 1.5px solid var(--wr-line); border-radius: 16px; }
.sh-address.is-default { border-color: var(--wr-red); }
.sh-address-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--wr-ink); }
.sh-address p { margin: 0 0 12px; color: var(--wr-text); font-size: 14px; line-height: 1.6; }

@media (max-width: 991px) {
    .sh-account { grid-template-columns: 1fr; }
    .sh-account-nav { position: static; }
    .sh-account-nav nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .sh-stats { grid-template-columns: 1fr; }
}

/* Giriş / kayıt */
.sh-auth .sh-card { padding: 32px; }
.sh-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 24px; padding: 4px; border-radius: 999px; background: var(--wr-soft); }
.sh-auth-tabs a { padding: 10px; border-radius: 999px; color: var(--wr-muted); font-weight: 700; text-align: center; }
.sh-auth-tabs a.is-active { background: #fff; color: var(--wr-ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.sh-auth-foot { margin: 18px 0 0; text-align: center; font-size: 14px; }
.sh-auth-foot a { color: var(--wr-muted); }
.sh-auth-foot a:hover { color: var(--wr-red); }
.sh-password { position: relative; }
.sh-password button { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--wr-muted); cursor: pointer; }
.sh-divider { position: relative; margin: 20px 0; text-align: center; }
.sh-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--wr-line); }
.sh-divider span { position: relative; padding: 0 12px; background: #fff; color: var(--wr-muted); font-size: 13px; }

/* Ürün satın alma kutusu */
.sh-buybox { display: grid; gap: 18px; margin-top: 8px; }
.sh-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.sh-price strong { color: var(--wr-red); font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.sh-price del { font-size: 18px; }
.sh-price-from { color: var(--wr-muted); font-size: 14px; }
.sh-discount { padding: 4px 10px; border-radius: 999px; background: var(--wr-red); color: #fff; font-size: 12px; font-weight: 800; }
.sh-tax-note { color: var(--wr-muted); font-size: 12px; }
.sh-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.sh-stock i { font-size: 8px; }
.sh-stock.is-success { color: #198754; }
.sh-stock.is-warning { color: #b7791f; }
.sh-stock.is-danger { color: #c1121f; }
.sh-buy-form { display: grid; gap: 14px; }
.sh-options { margin: 0; padding: 0; border: 0; }
.sh-options legend { margin-bottom: 10px; color: var(--wr-ink); font-size: 14px; font-weight: 700; }
.sh-options legend strong { color: var(--wr-red); }
.sh-options > div { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-option input { position: absolute; opacity: 0; pointer-events: none; }
.sh-option span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1.5px solid var(--wr-line); border-radius: 12px; color: var(--wr-ink); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s; }
.sh-option span:hover { border-color: var(--wr-ink); }
.sh-option input:checked + span { border-color: var(--wr-red); background: var(--wr-red); color: #fff; }
.sh-option input:focus-visible + span { outline: 2px solid var(--wr-red); outline-offset: 2px; }
.sh-option.is-unavailable span { opacity: .45; text-decoration: line-through; }
.sh-buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.sh-add-button { flex: 1; min-width: 200px; min-height: 52px; }
.sh-buy-row .sh-qty { height: 52px; }
.sh-perks { display: grid; gap: 10px; margin: 0; padding: 16px 18px; border-radius: var(--wr-radius); background: var(--wr-soft); list-style: none; color: var(--wr-text); font-size: 14px; }
.sh-perks i { margin-right: 8px; color: var(--wr-red); }
.sh-sku { margin: 0; color: var(--wr-muted); font-size: 13px; }

/* Ürün sekmeleri */
.sh-detail-tabs { margin-top: 56px; }
.sh-detail-tabs nav { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 24px; border-bottom: 1px solid var(--wr-line); }
.sh-detail-tabs nav button { position: relative; flex: none; padding: 14px 18px; border: 0; background: none; color: var(--wr-muted); font-weight: 700; font-size: 15px; cursor: pointer; }
.sh-detail-tabs nav button.is-active { color: var(--wr-ink); }
.sh-detail-tabs nav button.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--wr-red); }
.sh-tab-panel { color: var(--wr-text); line-height: 1.75; }
.sh-tab-panel h4 { margin: 18px 0 12px; color: var(--wr-ink); font-size: 16px; font-weight: 800; }
.sh-tab-panel h4:first-child { margin-top: 0; }
.sh-rich img { max-width: 100%; height: auto; border-radius: 12px; }
.sh-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sh-spec-table th, .sh-spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--wr-line); text-align: left; vertical-align: top; }
.sh-spec-table th { width: 32%; color: var(--wr-ink); font-weight: 700; }
.sh-spec-table thead th { width: auto; background: var(--wr-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
/* Editörde tablo olarak girilen teknik özellik içeriği */
.sh-spec-table td figure { margin: 0; }
.sh-spec-table td table { width: 100%; border-collapse: collapse; border: 1px solid var(--wr-line); border-radius: 6px; overflow: hidden; }
.sh-spec-table td table th, .sh-spec-table td table td { padding: 9px 12px; border-bottom: 1px solid var(--wr-line); width: auto; font-size: 13.5px; }
.sh-spec-table td table tr:last-child > * { border-bottom: 0; }
.sh-spec-table td table tbody tr > :first-child { color: var(--wr-ink); font-weight: 600; width: 38%; }
.sh-spec-table td p { margin: 0 0 6px; } .sh-spec-table td p:last-child { margin-bottom: 0; }
.sh-spec-table td ul, .sh-spec-table td ol { margin: 0; padding-left: 18px; }
.sh-code-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-code { display: inline-grid; padding: 8px 14px; border: 1px solid var(--wr-line); border-radius: 10px; color: var(--wr-ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.sh-code small { color: var(--wr-muted); font-family: var(--wr-font); font-size: 11px; font-weight: 600; }
.sh-info-list, .sh-doc-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sh-info-list li { display: flex; gap: 14px; }
.sh-info-list i { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--wr-soft); color: var(--wr-red); font-size: 20px; }
.sh-info-list p { margin: 2px 0 0; color: var(--wr-muted); }
.sh-doc-list a { display: inline-flex; gap: 8px; color: var(--wr-ink); font-weight: 600; }

/* Mini sepet çekmecesi */
.sh-drawer { position: fixed; inset: 0; z-index: 2000; visibility: hidden; }
.sh-drawer.is-open { visibility: visible; }
.sh-drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s; }
.sh-drawer.is-open .sh-drawer-backdrop { opacity: 1; }
.sh-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: #fff; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.sh-drawer.is-open .sh-drawer-panel { transform: none; }
.sh-drawer-panel header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--wr-line); }
.sh-drawer-panel header h3 { margin: 0; color: var(--wr-ink); font-size: 18px; font-weight: 800; }
.sh-drawer-panel header small { color: var(--wr-muted); font-weight: 600; }
.sh-drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.sh-drawer-panel footer { display: grid; gap: 10px; padding: 18px 20px; border-top: 1px solid var(--wr-line); background: var(--wr-soft); }
.sh-drawer-panel footer .sh-summary-total { margin: 0 0 6px; padding: 0; border: 0; }
.sh-drawer-panel footer .sh-free-hint { margin: 0; }
body.sh-lock { overflow: hidden; }

/* Toast */
.sh-toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 2100; display: grid; gap: 10px; }
.sh-toast { display: flex; align-items: center; gap: 10px; max-width: 360px; padding: 14px 18px; border-radius: 14px; background: var(--wr-ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, .2); opacity: 0; transform: translateY(10px); transition: all .25s; }
.sh-toast.is-visible { opacity: 1; transform: none; }
.sh-toast.is-error { background: #c1121f; }
.sh-toast i { font-size: 18px; }

/* Header sepet sayacı */
.wr-cart-count.is-empty { display: none; }

/* ==========================================================================
   Rezervasyon (tur / araç / hizmet) ve parça arama
   ========================================================================== */
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.bk-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); background: #fff; color: var(--wr-ink); transition: transform .2s, box-shadow .2s; }
.bk-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); color: var(--wr-ink); }
.bk-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wr-soft); }
.bk-card-media img { width: 100%; height: 100%; object-fit: cover; }
.bk-card-media .wr-media-empty { display: grid; place-items: center; height: 100%; color: var(--wr-muted); font-size: 32px; }
.bk-card-badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--wr-ink); font-size: 12px; font-weight: 700; }
.bk-card-body { display: grid; flex: 1; gap: 10px; padding: 20px; }
.bk-card-body h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; }
.bk-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--wr-muted); font-size: 13px; }
.bk-card-meta i { margin-right: 4px; color: var(--wr-red); }
.bk-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--wr-line); }
.bk-card-foot small { display: block; color: var(--wr-muted); font-size: 12px; }
.bk-card-foot strong { color: var(--wr-red); font-size: 22px; font-weight: 800; }
.bk-detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.bk-gallery { display: grid; gap: 10px; }
.bk-gallery-main { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--wr-radius-lg); background: var(--wr-soft); }
.bk-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.bk-gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.bk-gallery-thumbs button { aspect-ratio: 1; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; }
.bk-gallery-thumbs button.is-active { border-color: var(--wr-red); }
.bk-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bk-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 24px 0; }
.bk-feature { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: var(--wr-soft); }
.bk-feature small { color: var(--wr-muted); font-size: 12px; }
.bk-feature strong { color: var(--wr-ink); font-size: 15px; }
.bk-section { margin-top: 32px; }
.bk-section h2 { margin: 0 0 14px; color: var(--wr-ink); font-size: 22px; font-weight: 800; }
.bk-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bk-lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bk-lists li { display: flex; gap: 8px; color: var(--wr-text); }
.bk-lists .is-in i { color: #198754; }
.bk-lists .is-out i { color: #c1121f; }
.bk-form { position: sticky; top: 100px; display: grid; gap: 14px; padding: 24px; border: 1px solid var(--wr-line); border-radius: var(--wr-radius-lg); background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .06); }
.bk-form h3 { margin: 0; color: var(--wr-ink); font-size: 20px; font-weight: 800; }
.bk-form-price strong { color: var(--wr-red); font-size: 30px; font-weight: 800; }
.bk-form-price small { color: var(--wr-muted); }
.bk-dates { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; }
.bk-dates .sh-choice small b { color: var(--wr-red); }
.bk-dates .sh-choice.is-full { opacity: .5; pointer-events: none; }
.bk-quote { padding: 14px; border-radius: 12px; background: var(--wr-soft); font-size: 14px; }
.bk-quote div { display: flex; justify-content: space-between; }
.bk-quote strong { color: var(--wr-ink); }
.bk-quote .is-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--wr-line); }
.bk-quote .is-total strong { color: var(--wr-red); font-size: 20px; }
.bk-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 32px; padding: 20px; border-radius: var(--wr-radius-lg); background: var(--wr-soft); }
.bk-filter .wr-field { flex: 1; min-width: 160px; }
.bk-filter .wr-field input, .bk-filter .wr-field select { background: #fff; }

@media (max-width: 991px) {
    .bk-detail { grid-template-columns: 1fr; }
    .bk-form { position: static; }
    .bk-lists { grid-template-columns: 1fr; }
}

/* Parça arama */
.pt-search { display: grid; gap: 16px; padding: 28px; border-radius: var(--wr-radius-lg); background: var(--wr-ink); color: #fff; }
.pt-search h2 { margin: 0; color: #fff; font-size: 24px; font-weight: 800; }
.pt-search p { margin: 0; color: rgba(255, 255, 255, .7); }
.pt-search-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); width: max-content; }
.pt-search-tabs button { padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .75); font-weight: 700; cursor: pointer; }
.pt-search-tabs button.is-active { background: #fff; color: var(--wr-ink); }
.pt-search form { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-search input, .pt-search select { flex: 1; min-width: 160px; min-height: 52px; padding: 0 18px; border: 0; border-radius: 14px; background: #fff; color: var(--wr-ink); font-size: 15px; }
.pt-search .wr-button { min-height: 52px; }
.pt-results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 32px 0 20px; }
.pt-results-head h3 { margin: 0; color: var(--wr-ink); font-size: 20px; font-weight: 800; }
.pt-match { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pt-match span { padding: 3px 8px; border-radius: 6px; background: var(--wr-red-tint); color: var(--wr-red); font-size: 12px; font-weight: 700; font-family: ui-monospace, monospace; }

/* Mağaza / hesap sayfalarında kompakt başlık bandı */
.sh-page .wr-banner { height: clamp(150px, 15vw, 200px); }
.sh-page .wr-banner-inner { padding-bottom: 28px; }
.sh-page .wr-banner .wr-banner-title, .sh-page .wr-banner h1 { font-size: clamp(26px, 3vw, 38px); }

/* Footer: sütun sayısı modüllere göre değişir */
.wr-footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(auto-fit, minmax(160px, 1fr)); }
@media (max-width: 767px) { .wr-footer-grid { grid-template-columns: 1fr 1fr; } .wr-footer-brand { grid-column: 1 / -1; } }
.wr-hero + .wr-section { margin-top: 28px; }

/* Az sayıda kategori olduğunda kartlar aşırı büyümesin */
.wr-category-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.bk-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bk-grid > .bk-card { max-width: 420px; }

/* Favoriler */
.wr-product-card { position: relative; }
.sh-wish {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(0,0,0,.06); background: rgba(255,255,255,.92);
    color: var(--theme-heading, #2b2f32); font-size: 18px; cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.08); transition: transform .15s ease, color .15s ease;
}
.sh-wish:hover { transform: scale(1.08); color: var(--theme-primary, #da2032); }
.sh-wish.is-active { color: var(--theme-primary, #da2032); }
.sh-wish[disabled] { opacity: .6; }
.sh-wish-inline { position: static; flex: 0 0 auto; width: 52px; height: 52px; box-shadow: none; border-color: var(--wr-line, #e5e7eb); background: #fff; }
.sh-wish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }

/* Sadakat puanı */
.sh-points-badge { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--wr-primary, #c8102e) 10%, transparent); color: var(--wr-ink, #111); font-size: 13.5px; }
.sh-points-badge i, .sh-points-hint i { color: var(--wr-primary, #c8102e); }

/* ---------- Araç kiralama: müsaitlik, ödeme seçimi (6.6) ---------- */
.bk-avail-badge { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: #16a34a; box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }
.bk-avail-badge.is-busy { background: #dc2626; }
.bk-card.is-busy .bk-card-media img { filter: grayscale(.55); }
.bk-avail-next { color: #b45309; font-weight: 600; }
.bk-avail { font-weight: 700; }
.bk-avail.is-free { color: #16a34a; }
.bk-avail.is-busy { color: #dc2626; }
.bk-pay-options { display: grid; gap: 10px; }
.bk-pay-options .sh-choice small { display: block; margin-top: 2px; }
.bk-terms { font-size: 13px; }
.bk-terms summary { cursor: pointer; font-weight: 600; }
.bk-terms > div { max-height: 220px; overflow: auto; margin-top: 8px; }
.bk-filter .wr-check { white-space: nowrap; }
