:root {
  color-scheme: light;
  --page: #f6f6f6;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --ink: #22252a;
  --muted: #000000;
  --line: #e5e7eb;
  --brand: #f27a1a;
  --brand-dark: #d95f08;
  --brand-soft: #fff3e8;
  --accent: #d93025;
  --warning: #a65f09;
  --shadow: 0 14px 36px rgba(34, 37, 42, 0.1);
  --radius: 13px;
  --site-content-max: 1200px;
  --future-ad-rails-total: 280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(var(--site-content-max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .05);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 68px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -0.02em; font-size: 1.08rem; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 0; box-shadow: none; }
.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav a { padding: 9px 12px; border-radius: 8px; color: #3d4147; font-weight: 700; font-size: .86rem; }
.nav a:hover { background: var(--surface); }
.nav .primary { background: var(--brand); color: white; }
.nav .primary:hover { background: var(--brand-dark); }
.hero { padding: 46px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center; }
.eyebrow { color: var(--brand); font-size: 0.82rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -0.035em; margin-top: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3.8rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
h3 { font-size: 1.05rem; }
.lead { color: var(--muted); font-size: 1rem; max-width: 720px; }
.hero-card { background: linear-gradient(145deg, #f58a35, #d95f08); color: white; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.hero-card .number { font-size: 3rem; font-weight: 900; letter-spacing: -0.06em; }
.hero-card p { color: rgba(255,255,255,.8); }
.notice { border: 1px solid #f3c7c7; background: #fff5f5; border-radius: 16px; padding: 14px 16px; color: #8d1d1d; }
.notice strong { color: var(--accent); }
.search-bar { display: grid; grid-template-columns: 1fr 260px auto; gap: 10px; margin: 28px 0 0; }
.field, input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,104,79,.12); }
textarea { min-height: 120px; resize: vertical; }
label { display: grid; gap: 7px; color: #39463f; font-size: .92rem; font-weight: 700; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 800;
}
.button:hover { background: var(--brand-dark); }
.button.secondary { color: var(--brand); background: var(--brand-soft); }
.button.danger { background: #b42318; }
.button.ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.button.small { min-height: 36px; padding: 7px 11px; font-size: .85rem; }
.section { padding: 32px 0; }
.section-head { display: flex; gap: 20px; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.muted { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 13px rgba(0,0,0,.045); transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image { aspect-ratio: 1 / 1; background: #ecefeb; overflow: hidden; }
.product-image img { width: 100%; height: 100%; padding: 10px; object-fit: contain; background: #fafafa; }
.product-body { padding: 12px; }
.product-body h3 { margin-bottom: 8px; min-height: 2.5em; }
.price { color: var(--brand-dark); font-size: 1.2rem; font-weight: 900; }
.store-line { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.empty { grid-column: 1 / -1; border: 1px dashed #bac7c1; border-radius: var(--radius); padding: 54px 24px; text-align: center; color: var(--muted); background: rgba(255,255,255,.5); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 5px 20px rgba(34,37,42,.055); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
.listing-category-picker { position: relative; display: block; min-width: 0; font-weight: 400; }
.listing-category-toggle { width: 100%; min-height: 43px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; overflow: hidden; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-align: left; }
.listing-category-toggle:hover,
.listing-category-toggle:focus,
.listing-category-picker.open .listing-category-toggle { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242,122,26,.12); outline: none; }
.listing-category-toggle.has-selection { color: var(--ink); font-weight: 750; }
#categoryPickerSelection { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-category-toggle-icon { flex: 0 0 auto; color: var(--brand-dark); font-size: 1.2rem; font-weight: 900; transition: transform .15s ease; }
.listing-category-picker.open .listing-category-toggle-icon { transform: rotate(180deg); }
.listing-category-menu { position: absolute; z-index: 45; top: calc(100% + 6px); right: 0; width: min(560px, calc(100vw - 32px)); max-height: min(610px, 72vh); padding: 10px; display: grid; gap: 8px; overflow: hidden; background: #fff; border: 1px solid #e2a779; border-radius: 11px; box-shadow: 0 18px 42px rgba(72,40,14,.22); }
.listing-category-menu[hidden],
.listing-category-back[hidden],
.listing-category-current[hidden] { display: none; }
.listing-category-search-box { position: relative; display: block; }
.listing-category-search-box::after { position: absolute; top: 50%; right: 13px; color: var(--brand-dark); content: "⌕"; font-size: 1.3rem; line-height: 1; transform: translateY(-50%); pointer-events: none; }
.listing-category-search-box input { padding-right: 40px; border-color: #e7a977; }
.listing-category-toolbar { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.listing-category-toolbar .muted { margin-left: auto; font-size: .72rem; font-weight: 750; text-align: right; }
.listing-category-back { width: auto; padding: 4px 7px; color: var(--brand-dark); background: var(--brand-soft); border: 0; border-radius: 6px; font-size: .72rem; font-weight: 850; }
.listing-category-current { display: block; }
.listing-category-current > button { width: 100%; padding: 9px 10px; display: grid; gap: 2px; color: #7b3c0b; background: #fff5eb; border: 1px solid #ffc89e; border-radius: 8px; text-align: left; }
.listing-category-current strong { font-size: .8rem; }
.listing-category-current small { overflow: hidden; color: #7d6a5b; font-size: .67rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.listing-category-results { min-height: 44px; max-height: min(450px, 56vh); display: grid; gap: 6px; overflow-y: auto; overscroll-behavior: contain; }
.listing-category-row { min-height: 42px; display: flex; align-items: stretch; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.listing-category-row:hover,
.listing-category-row:focus-within { background: #fff8f1; border-color: #f0b487; }
.listing-category-row.selected { background: #fff2e6; border-color: var(--brand); }
.listing-category-choice { min-width: 0; min-height: 42px; flex: 1 1 auto; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; overflow: hidden; color: #22252a !important; -webkit-text-fill-color: #22252a; opacity: 1; visibility: visible; background: #fff; border: 0; text-align: left; font-size: .86rem; font-weight: 800; line-height: 1.25; }
.listing-category-choice.has-children { background: #fff9f4; }
.listing-category-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-category-arrow { flex: 0 0 auto; color: #b84f00; font-size: 1.25rem; font-weight: 900; line-height: 1; }
.listing-category-row:hover .listing-category-choice,
.listing-category-row.selected .listing-category-choice { background: transparent; }
.listing-category-choice:focus { outline: 2px solid var(--brand); outline-offset: -2px; }
.listing-category-empty { display: block; padding: 18px 12px; color: var(--muted); background: var(--surface-soft); border: 1px dashed #c9ced3; border-radius: 8px; font-size: .76rem; font-weight: 650; text-align: center; }
.message { display: none; border-radius: 13px; padding: 12px 14px; margin: 14px 0; }
.message.show { display: block; }
.message.success { color: #0c5a43; background: #e4f4ed; border: 1px solid #b7ddcf; }
.message.error { color: #9b1c1c; background: #fff0f0; border: 1px solid #f1c4c4; }
.tabs { display: flex; gap: 7px; margin-bottom: 18px; flex-wrap: wrap; }
.tab { position: relative; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 9px 12px; color: var(--muted); font-size: .88rem; font-weight: 800; }
.tab.active { background: var(--brand); border-color: var(--brand); color: white; }
.tab-badge { min-width: 20px; height: 20px; margin-left: 5px; padding: 0 5px; display: inline-grid; place-items: center; color: #fff; background: var(--accent); border-radius: 99px; font-size: .68rem; line-height: 1; }
.panel-section { display: none; }
.panel-section.active { display: block; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 18px 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat strong { display: block; font-size: 1.55rem; letter-spacing: -.04em; }
.status { display: inline-flex; align-items: center; border-radius: 99px; padding: 5px 9px; font-size: .76rem; font-weight: 850; background: #edf0ef; color: #52605a; }
.status.approved, .status.active, .status.completed { background: #e3f3eb; color: #08704d; }
.status.pending, .status.inactive { background: #fff4d8; color: #8a5b00; }
.status.on_hold { background: #fff0cf; color: #915f00; }
.status.advertiser-type.individual { color: #195a9b; background: #e8f2ff; }
.status.advertiser-type.corporate { color: #68429a; background: #f1eaff; }
.status.rejected, .status.expired, .status.suspended { background: #ffe8e7; color: #a12620; }
.status.reviewed { background: #e8f0ff; color: #244a91; }
.status.closed { background: #eceeed; color: #525c57; }
.list { display: grid; gap: 12px; }
.list-item { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 15px; }
.list-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 22px; padding: 30px 0; }
.gallery-main { aspect-ratio: 1/1; border-radius: 12px; background: white; border: 1px solid var(--line); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { width: 72px; height: 72px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: white; padding: 0; }
.thumb.active { border-color: var(--brand); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.store-card { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: center; }
.store-card.individual-profile { grid-template-columns: 1fr; }
.store-logo { width: 76px; height: 76px; border-radius: 10px; object-fit: contain; background: var(--brand-soft); border: 1px solid var(--line); }
.store-hero { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 28px 0 22px; }
.store-hero.individual-profile { grid-template-columns: 1fr; }
.store-hero .store-logo { width: 104px; height: 104px; border-radius: 12px; }
.store-logo-button { width: fit-content; padding: 0; overflow: hidden; background: transparent; border: 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); cursor: zoom-in; }
.store-logo-button:hover { box-shadow: 0 0 0 3px rgba(242,122,26,.23); }
.store-logo-button:focus-visible { outline: 3px solid rgba(242,122,26,.38); outline-offset: 3px; }
.store-biography { margin: 0 0 18px; padding: 18px 20px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.store-biography h2 { margin: 3px 0 9px; font-size: 1.25rem; }
.store-biography p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #4b5058; line-height: 1.65; }
.logo-lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 56px 22px 22px; background: rgba(15,18,22,.88); }
.logo-lightbox[hidden] { display: none; }
.logo-lightbox img { max-width: min(900px, 92vw); max-height: 84vh; padding: 12px; object-fit: contain; background: #fff; border-radius: 12px; box-shadow: 0 22px 70px rgba(0,0,0,.42); }
.logo-lightbox-close { position: fixed; top: 16px; right: 20px; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 28px; line-height: 1; }
.lightbox-open { overflow: hidden; }
.footer { margin-top: 60px; border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); }
.footer-inner { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 20px; background: rgba(9, 22, 17, .6); }
.modal.open { display: grid; }
.modal-card { width: min(620px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); border-radius: 13px; padding: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.credential-box { padding: 16px; background: #fff8dc; border: 1px solid #e9cf70; border-radius: 14px; font-family: ui-monospace, monospace; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 44px; }
.password-toggle { position: absolute; top: 50%; right: 7px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; transform: translateY(-50%); color: #555b63; background: transparent; border: 0; border-radius: 7px; line-height: 1; }
.password-toggle:hover,
.password-toggle.visible { color: var(--brand-dark); background: var(--brand-soft); }
.password-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.agreement-box { display: grid; gap: 10px; padding: 12px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 9px; }
.agreement-copy { max-height: 300px; overflow: auto; padding: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; line-height: 1.55; scroll-behavior: smooth; }
.agreement-copy strong { display: block; margin-bottom: 8px; }
.agreement-copy p { margin: 0 0 10px; }
.agreement-copy .agreement-meta { color: var(--muted); font-size: .84rem; }
.agreement-operator-info { margin: 12px 0; padding: 12px; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; }
.agreement-operator-info strong { margin-bottom: 6px; }
.agreement-operator-info p { margin: 2px 0; }
.legal-operator-card { margin-top: 24px; }
.legal-operator-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 8px 18px; margin: 14px 0 0; }
.legal-operator-grid dt { color: var(--muted); font-weight: 700; }
.legal-operator-grid dd { margin: 0; overflow-wrap: anywhere; }
.agreement-section { margin-top: 18px; }
.agreement-section h3 { margin: 0 0 8px; font-size: 1rem; }
.agreement-section p:last-child { margin-bottom: 0; }
.agreement-check { display: flex; align-items: flex-start; gap: 9px; font-weight: 650; }
.agreement-check input { flex: 0 0 auto; width: auto; margin-top: 3px; }
.history-changes { display: grid; gap: 8px; margin-top: 10px; }
.history-change { padding: 9px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.history-old-new { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 9px; align-items: center; margin-top: 6px; }
.history-old-new > div { min-width: 0; }
.history-old-new pre { margin: 3px 0 0; padding: 7px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); background: var(--surface-soft); border-radius: 6px; font: inherit; font-size: .85rem; }
.history-arrow { color: var(--brand-dark); font-size: 1.25rem; font-weight: 800; }
#corporateStoreField[hidden],
.corporate-tax-field[hidden] { display: none; }
.password-settings-card { max-width: 820px; }
.profile-mode-notice { margin: 0 0 16px; padding: 12px 14px; color: #195a9b; background: #eef6ff; border: 1px solid #c9e1fb; border-radius: 9px; }
.profile-corporate-only[hidden],
#individualProfileNotice[hidden],
#individualPhoneHint[hidden],
#individualAddressHint[hidden] { display: none; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 17px; overflow: hidden; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(390px, 100%); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 18px; }
.kv div { padding: 7px 0; border-bottom: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 168px;
  padding: 24px;
  border: 2px dashed #aabbb3;
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.drop-zone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-zone strong { color: var(--brand-dark); font-size: 1.05rem; }
.drop-zone.dragging { border-color: var(--brand); background: var(--brand-soft); transform: scale(1.01); }
.drop-zone.has-files { border-style: solid; border-color: var(--brand); background: #f1faf6; }
.selected-files { color: var(--ink); font-size: .86rem; font-weight: 650; overflow-wrap: anywhere; }
.listing-image-strip { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 5px; }
.listing-image-link { flex: 0 0 auto; width: 92px; height: 92px; display: block; overflow: hidden; background: #fff; border: 2px solid var(--line); border-radius: 9px; transition: border-color .18s ease, transform .18s ease; }
.listing-image-link:hover { border-color: var(--brand); transform: translateY(-2px); }
.listing-image-link img { width: 100%; height: 100%; object-fit: cover; }
.current-product-images { display: grid; gap: 4px; margin-top: 9px; }
.current-product-images[hidden] { display: none; }
.logo-manager-shell { display: grid; gap: 9px; padding: 14px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; }
.logo-manager { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.logo-manager[hidden], #noLogoMessage[hidden] { display: none; }
.logo-manager p { margin: 5px 0 9px; }
.logo-preview-link { width: 132px; height: 132px; display: grid; place-items: center; overflow: hidden; background: #fff; border: 2px solid var(--line); border-radius: 9px; cursor: zoom-in; }
.logo-preview-link:hover { border-color: var(--brand); }
.logo-preview-link img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.logo-upload-field { margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--line); }

/* Bütün site sayfaları masaüstünde ana sayfayla aynı yüzde 90 ölçektedir. */
@media (min-width: 721px) {
  body { zoom: 90%; }
}

@media (min-width: 1400px) {
  .shell { width: min(var(--site-content-max), calc(100% - var(--future-ad-rails-total))); }
}

.page-kicker { margin-bottom: 4px; color: var(--brand); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.page-title { margin: 5px 0 10px; font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.compact-title { margin: 5px 0 10px; font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.public-note { margin: 14px 0 0; font-size: .86rem; }
.listing-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.listing-number { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.store-contact-card { margin-top: 16px; padding: 16px; }
.store-contact-card .actions { margin-top: 10px; }
.store-page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.store-catalogue-toolbar { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.store-category-panel { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.store-category-buttons { display: flex; gap: 7px; flex-wrap: wrap; }
.store-category-button { min-height: 34px; padding: 7px 11px; color: #4f5359; background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: .78rem; font-weight: 750; }
.store-category-button:hover,
.store-category-button.active { color: var(--brand-dark); background: var(--brand-soft); border-color: #ffc89e; }
.store-category-button b { margin-left: 4px; color: var(--brand-dark); }
.catalogue-empty { margin-top: 14px; }

.compact-access-page .hero { padding: 28px 0 16px; }
.compact-access-page .hero h1 { max-width: 760px !important; margin: 5px 0 10px !important; font-size: clamp(1.75rem, 3.7vw, 2.9rem) !important; }
.compact-access-page .hero .lead { max-width: 820px; margin: 0; font-size: .9rem; }
.compact-access-page .section { padding: 18px 0; }
.compact-access-page .access-split { width: min(960px, calc(100% - 32px)); align-items: start; }
.compact-access-page .card { padding: 16px; }
.compact-access-page .card h2 { margin: 4px 0 12px; font-size: 1.3rem; }
.compact-access-page .form-grid { gap: 11px; }
.compact-access-page label { gap: 5px; font-size: .78rem; }
.compact-access-page input,
.compact-access-page select,
.compact-access-page textarea { padding: 8px 10px; font-size: .82rem; }
.compact-access-page textarea { min-height: 78px; }
.compact-access-page .button { min-height: 36px; padding: 8px 12px; font-size: .8rem; }
.compact-access-page .notice { padding: 10px 12px; border-radius: 8px; font-size: .76rem; }
.compact-access-page .muted { font-size: .78rem; }

.admin-alerts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 14px 0 18px; }
.admin-alert {
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #4d5157;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  font-weight: 750;
}
.admin-alert:hover { border-color: #ffc89e; background: var(--brand-soft); }
.admin-alert strong { min-width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 99px; font-size: .78rem; }
.admin-alert.is-clear strong { background: #aeb4b1; }
.admin-live-message { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: min(360px, calc(100% - 36px)); padding: 13px 15px; color: #fff; background: #25272b; border-left: 4px solid var(--brand); border-radius: 9px; box-shadow: 0 15px 45px rgba(0,0,0,.25); font-size: .84rem; font-weight: 700; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.admin-live-message.show { opacity: 1; transform: translateY(0); }

.admin-search { min-width: min(360px, 100%); margin: 0; }
.admin-search input { min-width: min(360px, 100%); }
.advertiser-clickable { cursor: pointer; transition: border-color .16s ease, transform .16s ease; }
.advertiser-clickable:hover, .advertiser-clickable:focus { border-color: var(--orange); transform: translateY(-1px); outline: none; }
.identity-line { font-weight: 800; color: #334155; }
.notice.warning { background: #fff7ed; border-color: #fdba74; color: #9a3412; }
.admin-detail-grid { display: grid; grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr); gap: 0; margin: 16px 0 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.admin-detail-grid dt, .admin-detail-grid dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-detail-grid dt { background: #f8fafc; font-weight: 800; }
.admin-detail-grid dt:last-of-type, .admin-detail-grid dd:last-of-type { border-bottom: 0; }
.history-product { margin: 12px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.history-product > summary, .archive-record > summary { cursor: pointer; padding: 14px 16px; font-weight: 900; }
.history-timeline { padding: 0 16px 16px; display: grid; gap: 10px; }
.history-entry { border-left: 4px solid var(--orange); padding: 10px 12px; border-radius: 8px; background: #fff7ed; display: grid; gap: 5px; }
.history-entry p, .history-entry span { margin: 0; }
.archive-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.archive-unlock-card { max-width: 520px; display: grid; gap: 16px; }
.archive-record { margin: 12px 0; }
.archive-record[open] { padding-bottom: 16px; }
.archive-record > :not(summary) { margin-left: 16px; margin-right: 16px; }
.danger-tab { color: #b91c1c; }
.account-close-card { max-width: 760px; border-color: #fecaca; }

@media (max-width: 700px) {
  .admin-search, .admin-search input { min-width: 100%; width: 100%; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-detail-grid dt { border-bottom: 0; padding-bottom: 3px; }
  .admin-detail-grid dd { padding-top: 3px; }
  .archive-stats { grid-template-columns: 1fr; }
}
.admin-dashboard-intro .lead { font-size: .9rem; }

.application-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.advertiser-admin-group { display: grid; gap: 9px; padding: 12px; background: #f8f8f9; border: 1px solid var(--line); border-radius: 11px; }
.advertiser-admin-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 4px; }
.advertiser-admin-group-head h3 { margin: 0; font-size: 1rem; }
.advertiser-group-empty { padding: 24px 16px; }
.button.warning { color: #7a4b00; background: #ffedbd; }
.button.warning:hover { background: #ffdf8a; }

.admin-login-page .login-shell { padding: 18px; }
.admin-login-page .login-card { padding: 18px; }
.admin-login-page .login-card .brand img { width: 44px; height: 44px; }
.admin-login-page .login-card h1 { font-size: 1.8rem !important; }
.admin-login-page .login-card form { gap: 11px !important; }

/* Yönetim ekranları ana sayfanın turuncu-beyaz kurumsal renklerini kullanır. */
.admin-dashboard-page,
.admin-login-page { background: var(--page); color: var(--ink); }
.admin-dashboard-page .site-header { background: rgba(255, 255, 255, .97); border-bottom-color: var(--line); box-shadow: 0 3px 14px rgba(0,0,0,.05); }
.admin-dashboard-page .brand,
.admin-dashboard-page h1,
.admin-dashboard-page h2,
.admin-dashboard-page h3,
.admin-login-page .brand,
.admin-login-page h1,
.admin-login-page h2,
.admin-login-page h3 { color: var(--ink); }
.admin-dashboard-page .nav a { color: #3d4147; }
.admin-dashboard-page .nav a:hover { background: var(--surface-soft); }
.admin-dashboard-page .eyebrow,
.admin-login-page .eyebrow { color: var(--brand); }
.admin-dashboard-page .lead,
.admin-dashboard-page .muted,
.admin-login-page .muted { color: var(--muted); }
.admin-dashboard-page .stat,
.admin-dashboard-page .list-item,
.admin-dashboard-page .admin-alert,
.admin-dashboard-page table,
.admin-dashboard-page .modal-card,
.admin-login-page .login-card { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: 0 5px 20px rgba(34,37,42,.07); }
.admin-dashboard-page .stat strong { color: var(--ink); }
.admin-dashboard-page .admin-alert { color: #4d5157; }
.admin-dashboard-page .admin-alert:hover { color: var(--brand-dark); background: var(--brand-soft); border-color: #ffc89e; }
.admin-dashboard-page .tab { color: var(--muted); background: var(--surface); border-color: var(--line); }
.admin-dashboard-page .tab:hover { color: var(--brand-dark); background: var(--brand-soft); }
.admin-dashboard-page .tab.active { color: #fff; background: var(--brand); border-color: var(--brand); }
.admin-dashboard-page .button { color: #fff; background: var(--brand); }
.admin-dashboard-page .button:hover { background: var(--brand-dark); }
.admin-dashboard-page .button.secondary { color: var(--brand-dark); background: var(--brand-soft); border-color: #ffc89e; }
.admin-dashboard-page .button.ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.admin-dashboard-page .button.secondary:hover,
.admin-dashboard-page .button.ghost:hover { color: var(--brand-dark); background: #fff1e5; border-color: #ffc89e; }
.admin-dashboard-page .button.danger { color: #fff; background: #b42318; }
.admin-dashboard-page .button.danger:hover { background: #921f16; }
.admin-dashboard-page .button.warning { color: #7a4b00; background: #ffedbd; }
.admin-dashboard-page .button.warning:hover { background: #ffdf8a; }
.admin-dashboard-page input,
.admin-dashboard-page select,
.admin-dashboard-page textarea,
.admin-login-page input { color: var(--ink); background: #fff; border-color: var(--line); }
.admin-dashboard-page label,
.admin-login-page label { color: #39463f; }
.admin-dashboard-page th,
.admin-dashboard-page td { color: var(--ink); border-bottom-color: var(--line); }
.admin-dashboard-page th { color: var(--muted); }
.admin-dashboard-page .notice { color: #8d1d1d; background: #fff5f5; border-color: #f3c7c7; }
.admin-dashboard-page .notice strong { color: var(--accent); }
.admin-dashboard-page .credential-box { color: #5f4300; background: #fff8dc; border-color: #e9cf70; }
.admin-login-page .button.ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.admin-login-page .button.ghost:hover { color: var(--brand-dark); background: var(--brand-soft); border-color: #ffc89e; }

.category-root-drop-zone { margin-bottom: 10px; padding: 11px 13px; color: var(--muted); background: #fff; border: 1px dashed #f2a568; border-radius: 10px; transition: .15s ease; }
.category-root-drop-zone.drop-active { color: var(--brand-dark); background: var(--brand-soft); border-color: var(--brand); box-shadow: 0 0 0 2px rgba(242,122,26,.14); }
.category-help { margin-bottom: 13px; padding: 10px 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: .76rem; }
.category-help #categoryMoveStatus { margin-left: 8px; color: var(--brand-dark); font-weight: 800; }
.category-help #categoryMoveStatus.error { color: #b42318; }
.category-tree { display: grid; gap: 14px; }
.category-group { display: grid; gap: 7px; }
.category-group-head { display: flex; align-items: center; justify-content: space-between; padding: 3px 2px; color: var(--muted); font-size: .78rem; }
.category-group-head h3 { margin: 0; color: var(--ink); font-size: .9rem; }
.category-branch { margin-left: 0; }
.category-children > .category-branch { margin-left: 16px; }
.category-children { display: grid; gap: 7px; margin-top: 7px; }
.category-children[hidden] { display: none; }
.category-row { position: relative; display: flex; align-items: center; gap: 8px; min-height: 45px; padding: 7px 9px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; transition: border-color .12s ease, background .12s ease, opacity .12s ease; }
.category-row.passive { background: #f4f4f5; border-color: #d4d4d8; }
.category-row.dragging { opacity: .42; }
.category-row.drop-inside { background: var(--brand-soft); border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.category-row.drop-before::before,
.category-row.drop-after::after { content: ""; position: absolute; left: 8px; right: 8px; height: 3px; z-index: 2; background: var(--brand); border-radius: 99px; }
.category-row.drop-before::before { top: -3px; }
.category-row.drop-after::after { bottom: -3px; }
.category-order-number { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; color: #111; background: var(--brand-soft); border: 1px solid #ffc89e; border-radius: 50%; font-size: .78rem; font-weight: 900; line-height: 1; }
.category-drag-handle { flex: 0 0 18px; color: var(--muted); cursor: grab; text-align: center; user-select: none; }
.category-drag-handle:active { cursor: grabbing; }
.category-expand { flex: 0 0 26px; width: 26px; min-width: 26px; display: grid; place-items: center; padding: 4px 2px; color: var(--ink); background: transparent; border: 0; font-size: 1rem; }
.category-expand:disabled { cursor: default; }
.category-identity { display: grid; flex: 1 1 240px; min-width: 160px; gap: 2px; }
.category-name { overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.category-meta { overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.category-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.category-actions .button { min-height: 29px; padding: 5px 8px; font-size: .7rem; }
.category-empty { padding: 12px; color: var(--muted); background: #fff; border: 1px dashed #c9ced3; border-radius: 9px; font-size: .78rem; }
.category-delete-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 13px 0; }
.category-delete-summary > strong { display: block; padding: 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 1.05rem; text-align: center; }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .detail-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 22px, 1180px); }
  .header-inner { min-height: 66px; }
  .nav a:not(.primary) { display: none; }
  .hero { padding-top: 45px; }
  .search-bar, .form-grid, .split { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .product-body { padding: 13px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .store-hero { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 0; }
  .compact-access-page .access-split { width: min(100% - 22px, 960px); }
  .admin-alerts { grid-template-columns: 1fr; }
  .category-children > .category-branch { margin-left: 7px; }
  .category-row { align-items: flex-start; flex-wrap: wrap; }
  .category-identity { min-width: calc(100% - 105px); }
  .category-actions { width: 100%; justify-content: flex-start; padding-left: 62px; }
  .logo-manager { grid-template-columns: 1fr; }
  .history-old-new { grid-template-columns: 1fr; }
  .history-arrow { transform: rotate(90deg); text-align: center; }
  .legal-operator-grid { grid-template-columns: 1fr; gap: 3px; }
  .legal-operator-grid dd { margin-bottom: 8px; }
}
@media (max-width: 430px) {
  .brand span { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* V75.0.5: reklam veren kategori seçimi - sağlam kademeli seçim */
.category-cascade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.category-cascade select { width: 100%; min-width: 0; }
.category-cascade select[hidden] { display: none; }
.category-cascade > .muted { grid-column: 1 / -1; padding: 2px 2px 0; font-size: .72rem; font-weight: 700; }
@media (max-width: 720px) { .category-cascade { grid-template-columns: 1fr; } }

/* V75.0.6: referans ZIP mantığı - kategori arama ile seçim */
.category-box { position: relative; display: block; }
.category-results { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); max-height: min(360px, 54vh); padding: 6px; overflow-y: auto; background: #fff; border: 1px solid #e7a977; border-radius: 12px; box-shadow: 0 18px 42px rgba(72, 40, 14, .2); }
.category-results[hidden] { display: none; }
.category-results .listing-category-choice { width: 100%; min-height: 42px; margin: 0 0 5px; border: 1px solid #eef1f4; border-radius: 9px; }
.category-results .listing-category-choice.selected { border-color: var(--brand); background: #fff2e6; }
.category-results .listing-category-name { white-space: normal; }
.category-results .listing-category-empty { margin: 0; }
.category-select-box { display: grid; gap: 8px; }
.category-select-stack { display: grid; gap: 8px; }
.category-level-field { display: grid; gap: 5px; margin: 0; font-weight: 750; }
.category-level-title { color: var(--muted); font-size: .78rem; font-weight: 850; }
.category-level-select { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #dfe4ea; border-radius: 9px; font: inherit; font-weight: 750; }
.category-level-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242,122,26,.12); outline: none; }

#categoryPathText { display: block; margin-top: 6px; }

/* Eski kademeli kategori alanı kalırsa gizli/zararsız durur */
.category-cascade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.category-cascade select { width: 100%; min-width: 0; }
.category-cascade select[hidden] { display: none; }
.category-cascade > .muted { grid-column: 1 / -1; padding: 2px 2px 0; font-size: .72rem; font-weight: 700; }
@media (max-width: 720px) { .category-cascade { grid-template-columns: 1fr; } }

/* V75.0.11: sayfa içi ilan görseli galerisi */
.image-viewer { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: clamp(12px, 4vw, 34px); background: rgba(15, 18, 22, .88); }
.image-viewer[hidden] { display: none; }
.image-viewer-panel { position: relative; width: min(1100px, 100%); height: min(86vh, 820px); display: grid; grid-template-columns: 58px minmax(0, 1fr) 58px; align-items: center; gap: 10px; }
.image-viewer-figure { min-width: 0; height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; }
.image-viewer-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 24px 74px rgba(0,0,0,.38); }
.image-viewer-caption { color: #fff; font-size: .9rem; font-weight: 800; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.image-viewer-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 30px; line-height: 1; }
.image-viewer-nav { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.48); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 42px; line-height: .85; }
.image-viewer-nav[hidden] { display: none; }
.gallery-main { position: relative; }
.gallery-main-button { width: 100%; height: 100%; padding: 0; display: block; background: transparent; border: 0; cursor: zoom-in; }
.gallery-main-button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-step { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 30px; line-height: 1; transform: translateY(-50%); }
.gallery-step.prev { left: 10px; }
.gallery-step.next { right: 10px; }
.gallery-step[hidden] { display: none; }
.listing-image-button { flex: 0 0 auto; width: 92px; height: 92px; display: block; overflow: hidden; background: #fff; border: 2px solid var(--line); border-radius: 9px; padding: 0; transition: border-color .18s ease, transform .18s ease; }
.listing-image-button:hover { border-color: var(--brand); transform: translateY(-2px); }
.listing-image-button img { width: 100%; height: 100%; object-fit: cover; }
.listing-description,
.product-body h3,
.card,
.list-item,
.store-biography,
.notice,
.modal-card { overflow-wrap: anywhere; word-break: break-word; }
.detail-layout { min-width: 0; }
.detail-layout > * { min-width: 0; }

@media (max-width: 720px) {
  .image-viewer { padding: 58px 10px 16px; }
  .image-viewer-panel { height: calc(100dvh - 84px); grid-template-columns: 1fr; gap: 8px; }
  .image-viewer-nav { position: fixed; top: 50%; width: 44px; height: 44px; font-size: 36px; transform: translateY(-50%); }
  .image-viewer-prev { left: 9px; }
  .image-viewer-next { right: 9px; }
  .image-viewer-image { padding: 6px; border-radius: 10px; }
  .image-viewer-caption { font-size: .82rem; }
  .gallery-step { width: 36px; height: 36px; font-size: 26px; }
  .listing-image-strip { scroll-snap-type: x proximity; }
  .listing-image-button { width: 82px; height: 82px; scroll-snap-align: start; }
  .detail-layout { padding: 18px 0; gap: 14px; }
  .card { padding: 15px; }
  .page-title { font-size: clamp(1.55rem, 8vw, 2.15rem); }
  .actions .button { width: 100%; }
  .store-card { grid-template-columns: 1fr; text-align: left; }
  .store-contact-card .actions { display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .thumb { width: 62px; height: 62px; }
  .listing-image-button { width: 74px; height: 74px; }
  .modal-card { padding: 14px; }
}

/* V75.0.13: ilan detay sayfası daha kompakt ve görsel galeri ekrana sığacak şekilde */
.product-detail-page { --site-content-max: 960px; }
.product-detail-page .shell { width: min(960px, calc(100% - 32px)); }
.product-detail-page .detail-layout { grid-template-columns: minmax(0, .9fr) minmax(280px, .85fr); gap: 16px; padding: 18px 0 24px; }
.product-detail-page .gallery-main { aspect-ratio: 4 / 3; max-height: min(58vh, 500px); }
.product-detail-page .thumb { width: 58px; height: 58px; }
.product-detail-page .card { padding: 16px; border-radius: 11px; }
.product-detail-page .page-title { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: 10px; }
.product-detail-page .price { font-size: 1.2rem !important; margin: 8px 0 12px !important; }
.product-detail-page .notice { padding: 10px 12px; border-radius: 12px; }
.product-detail-page .store-logo { width: 64px; height: 64px; }
.product-detail-page .store-contact-card { margin-top: 14px; }
.image-viewer { padding: clamp(10px, 3vw, 24px); }
.image-viewer-panel { width: min(900px, 96vw); height: min(74dvh, 640px); }
.image-viewer-image { max-width: 100%; max-height: 100%; }

@media (max-width: 720px) {
  .product-detail-page .shell { width: min(100% - 20px, 960px); }
  .product-detail-page .detail-layout { padding: 12px 0 18px; gap: 12px; }
  .product-detail-page .gallery-main { max-height: 42dvh; aspect-ratio: 4 / 3; }
  .product-detail-page .thumb { width: 54px; height: 54px; }
  .product-detail-page .card { padding: 13px; }
  .product-detail-page .page-title { font-size: clamp(1.25rem, 6vw, 1.75rem); }
  .image-viewer { padding: 58px 8px 16px; }
  .image-viewer-panel { height: calc(100dvh - 118px); width: min(100%, 96vw); }
}


/* V75.0.15: mobil ilan detayında galeri ve bilgi kartı tek kolon; görsel ekrana sığar */
.product-detail-page .listing-gallery,
.product-detail-page .gallery-main,
.product-detail-page .thumbs,
.product-detail-page .card { min-width: 0; max-width: 100%; }
.product-detail-page .detail-layout { align-items: start; }
.product-detail-page .gallery-main-button { min-width: 0; }
.product-detail-page .gallery-main-button img { display: block; max-width: 100%; max-height: 100%; }

@media (max-width: 720px) {
  .product-detail-page .shell { width: min(100% - 18px, 960px); overflow-x: hidden; }
  .product-detail-page .detail-layout { grid-template-columns: 1fr !important; width: 100%; gap: 12px; overflow-x: hidden; }
  .product-detail-page .listing-gallery { width: 100%; display: block; }
  .product-detail-page .gallery-main { width: 100%; max-height: min(36dvh, 320px); aspect-ratio: 4 / 3; }
  .product-detail-page .thumbs { width: 100%; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 0 2px 6px; -webkit-overflow-scrolling: touch; }
  .product-detail-page .thumb { flex: 0 0 52px; width: 52px; height: 52px; }
  .product-detail-page .card { width: 100%; box-sizing: border-box; }
  .product-detail-page .notice { font-size: .94rem; line-height: 1.45; }
  .product-detail-page .store-contact-card .actions,
  .product-detail-page .actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .product-detail-page .actions .button { width: 100%; max-width: 100%; }
  .image-viewer { padding: 56px 8px 14px; }
  .image-viewer-panel { width: 100%; height: calc(100dvh - 96px); max-height: calc(100dvh - 96px); grid-template-columns: 1fr; }
  .image-viewer-figure { height: 100%; min-height: 0; }
  .image-viewer-image { width: 100%; max-width: 100%; height: auto; max-height: calc(100dvh - 150px); object-fit: contain; }
}

@media (max-width: 430px) {
  .product-detail-page .shell { width: min(100% - 16px, 960px); }
  .product-detail-page .gallery-main { max-height: 30dvh; }
  .product-detail-page .thumb { flex-basis: 48px; width: 48px; height: 48px; }
  .product-detail-page .page-title { font-size: clamp(1.22rem, 6vw, 1.58rem); }
}


/* V75.0.18: masaüstünde ilan görsel görüntüleyicisini body zoom'undan ayır ve dikey görseli ekrana büyüt */
@media (min-width: 721px) {
  .image-viewer {
    padding: 46px 24px 22px !important;
  }
  .image-viewer-panel {
    position: relative !important;
    width: calc(100vw - 48px) !important;
    height: calc(100vh - 68px) !important;
    max-width: none !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .image-viewer-figure {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .image-viewer-image {
    display: block !important;
    width: auto !important;
    height: min(78vh, 780px) !important;
    max-width: calc(100vw - 180px) !important;
    max-height: calc(100vh - 125px) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .image-viewer-caption {
    flex: 0 0 auto !important;
    max-width: min(900px, calc(100vw - 180px)) !important;
  }
  .image-viewer-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 3 !important;
    transform: translateY(-50%) !important;
  }
  .image-viewer-prev { left: 10px !important; }
  .image-viewer-next { right: 10px !important; }
}
