/* ESR Türkiye — katalog: ürün kartı, ızgara, şerit, liste araçları, bölünmüş ekran, cihaz seçimi, ürün detayı.
   Ortak öğeler (.esr-container, .esr-btn*, .esr-chip, .esr-segmented, .esr-crumbs, .esr-page-*, .esr-select…) app.css'te. */

.esr-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.esr-catalog { padding-bottom: 24px; }

/* ---------- Ürün kartı ---------- */
.esr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.esr-card { display: flex; flex-direction: column; gap: 10px; position: relative; color: inherit; text-decoration: none; min-width: 0; }
.esr-card-media {
  display: block; position: relative; aspect-ratio: 1; overflow: hidden;
  background: var(--esr-surface); border-radius: var(--esr-radius);
}
.esr-card-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply;
  transition: transform 400ms var(--esr-ease-out);
}
@media (hover: hover) and (pointer: fine) { .esr-card:hover .esr-card-media img { transform: scale(1.03); } }
.esr-card:focus-visible { outline: 2px solid var(--esr-text); outline-offset: 4px; border-radius: var(--esr-radius); }
.esr-card-badge {
  position: absolute; top: 12px; left: 12px; height: 24px; padding: 0 9px; border-radius: 12px;
  display: inline-flex; align-items: center; background: #fff; color: var(--esr-text);
  font-size: 12px; font-weight: 600; font-family: var(--esr-font);
}
.esr-card-badge-sale { background: var(--esr-accent); color: var(--esr-accent-ink); }
.esr-card-badge-inline { position: static; vertical-align: middle; margin-left: 4px; }
.esr-card-brand { font-size: 12px; color: var(--esr-muted); margin-bottom: -6px; }
.esr-card-name {
  margin: 0; font: 400 14px/1.35 var(--esr-font); color: var(--esr-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
  overflow-wrap: anywhere;
}
.esr-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.esr-price { font: 600 15px/1.3 var(--esr-font); }
.esr-price s { color: var(--esr-faint); font-weight: 400; margin-left: 6px; font-size: 13px; }
.esr-swatches { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--esr-muted); }
.esr-swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.esr-swatch-clear { background: repeating-linear-gradient(45deg, #fff 0 3px, #e6e6ea 3px 6px) !important; }

/* Yatay ürün şeridi (ana sayfa blokları da kullanır) */
.esr-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4.3); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px;
}
.esr-rail::-webkit-scrollbar { display: none; }
.esr-rail > * { scroll-snap-align: start; }

/* ---------- Liste araç çubuğu ---------- */
.esr-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 6px 0 24px; }
.esr-toolbar-tabs { margin-bottom: 20px; }
.esr-toolbar-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.esr-result-count { font-size: 14px; color: var(--esr-muted); }
.esr-listing-title { font: 600 clamp(20px, 2.2vw, 26px)/1.2 var(--esr-font-display); letter-spacing: -0.02em; margin: 0 0 6px; }
.esr-sort-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.esr-sort-form .esr-select, .esr-toolbar .esr-select { width: auto; height: 38px; border-radius: 19px; font-size: 14px; }
.esr-sort-submit { height: 38px; padding: 0 16px; font-size: 14px; }
.esr-filter-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 19px;
  border: 1px solid var(--esr-line); background: #fff; font-size: 14px; color: var(--esr-text); cursor: pointer;
  transition: border-color 160ms ease;
}
.esr-filter-btn small {
  min-width: 18px; height: 18px; border-radius: 9px; background: var(--esr-text); color: #fff;
  font-size: 11px; line-height: 18px; text-align: center; padding: 0 5px;
}
@media (hover: hover) and (pointer: fine) { .esr-filter-btn:hover { border-color: var(--esr-faint); } }
.esr-segmented a[hidden], .esr-segmented button[hidden] { display: none !important; }
.esr-chip[aria-current="true"] { background: var(--esr-text); color: #fff; border-color: var(--esr-text); }
.esr-chip[aria-current="true"] small { color: rgba(255, 255, 255, .7); }
a.esr-chip { text-decoration: none; color: inherit; }
.esr-empty { padding: 48px 0; color: var(--esr-muted); text-align: center; display: grid; justify-items: center; gap: 14px; }
.esr-empty p { margin: 0; }

.esr-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 44px 0 8px; }
.esr-pagination a, .esr-pagination > span {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--esr-text); text-decoration: none; transition: background-color 160ms ease;
}
.esr-pagination a { background: var(--esr-surface); }
.esr-pagination [aria-current="page"] { background: var(--esr-text); color: #fff; font-weight: 600; }
.esr-pagination .esr-page-gap { min-width: 20px; padding: 0; color: var(--esr-faint); }
@media (hover: hover) and (pointer: fine) { .esr-pagination a:hover { background: var(--esr-surface-2); } }

/* Filtre sayfası (dialog) */
.esr-sheet {
  border: 0; padding: 0; margin: auto 0 0 auto; width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: #fff; color: var(--esr-text); display: none; flex-direction: column;
}
.esr-sheet[open] { display: flex; animation: esr-sheet-in 320ms var(--esr-ease-drawer); }
.esr-sheet::backdrop { background: rgba(0, 0, 0, .28); }
@keyframes esr-sheet-in { from { transform: translateX(100%); } to { transform: none; } }
.esr-sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--esr-line); }
.esr-sheet-head h2 { font: 600 18px/1.2 var(--esr-font-display); margin: 0; }
.esr-sheet-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.esr-sheet-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--esr-line); }
.esr-facet { padding: 16px 0; border-bottom: 1px solid var(--esr-line); }
.esr-facet:last-child { border-bottom: 0; }
.esr-facet h3 { font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.esr-facet-options { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Bölünmüş kategori ekranı ---------- */
.esr-split {
  --n: 2;
  display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px;
  height: calc(100svh - var(--esr-header-h) - var(--esr-announce-h) - 150px); min-height: 440px; max-height: 720px;
  background: #fff; margin-bottom: 40px;
}
.esr-panel {
  position: relative; overflow: hidden; background: var(--esr-surface); color: var(--esr-text); text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 3vw, 40px);
  transition: background-color 200ms ease;
}
.esr-panel:first-child { border-radius: var(--esr-radius) 0 0 var(--esr-radius); }
.esr-panel:last-child { border-radius: 0 var(--esr-radius) var(--esr-radius) 0; }
.esr-panel:only-child { border-radius: var(--esr-radius); }
.esr-panel:focus-visible { outline: 2px solid var(--esr-text); outline-offset: -4px; }
.esr-panel-copy { position: relative; z-index: 1; }
.esr-panel-count { font-size: 13px; color: var(--esr-muted); }
.esr-panel h2 { font: 700 clamp(26px, 3.2vw, 44px)/1.05 var(--esr-font-display); letter-spacing: -0.03em; margin: 4px 0 0; max-width: 12ch; }
.esr-split[data-n="3"] .esr-panel h2 { font-size: clamp(24px, 2.6vw, 36px); }
.esr-split[data-n="4"] .esr-panel h2, .esr-split[data-n="5"] .esr-panel h2, .esr-split[data-n="6"] .esr-panel h2 { font-size: clamp(20px, 2vw, 28px); }
/* z-index yok: ayrı katman olursa fotoğrafın beyaz zemini panele karışmaz (multiply) */
.esr-panel-art { position: absolute; inset: 26% 12% 18% 12%; }
.esr-panel-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  transition: transform 500ms var(--esr-ease-out);
}
.esr-panel-cta {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: #fff; border-radius: 26px; padding: 4px 16px 4px 4px; font-size: 14px; font-weight: 500;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.esr-panel-arrow {
  width: 44px; height: 44px; border-radius: 50%; background: var(--esr-text); color: #fff;
  display: grid; place-items: center; transition: transform 200ms var(--esr-ease-out);
}
.esr-panel:active .esr-panel-arrow { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .esr-panel:hover { background: var(--esr-surface-2); }
  .esr-panel:hover .esr-panel-art img { transform: scale(1.04); }
  .esr-panel:hover .esr-panel-arrow { transform: translateX(4px); }
}

/* ---------- Marka + model seçimi ---------- */
.esr-picker-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 28px; }
.esr-picker-wrap.has-device .esr-picker-top { grid-template-columns: minmax(0, 1fr) auto; }
.esr-model-search { display: block; position: relative; }
.esr-model-search input {
  width: 100%; height: 54px; border-radius: 27px; border: 1px solid var(--esr-line); padding: 0 20px 0 50px;
  font: 400 17px/1 var(--esr-font); color: var(--esr-text); background: var(--esr-surface);
  transition: background-color 160ms ease, border-color 160ms ease; -webkit-appearance: none; appearance: none;
}
.esr-model-search input:focus { outline: none; background: #fff; border-color: var(--esr-text); }
.esr-model-search input:focus-visible { box-shadow: 0 0 0 1px var(--esr-text); }
.esr-model-search svg { position: absolute; left: 18px; top: 17px; color: var(--esr-muted); pointer-events: none; }
.esr-my-device-card {
  display: grid; grid-template-columns: 54px auto auto; gap: 14px; align-items: center;
  padding: 8px 10px 8px 8px; border-radius: 20px; background: #eefae8; color: var(--esr-text); text-decoration: none;
}
.esr-mdc-img { width: 54px; height: 54px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--esr-muted); }
.esr-mdc-copy { display: grid; line-height: 1.25; }
.esr-mdc-copy small { font-size: 12px; color: var(--esr-muted); }
.esr-mdc-copy b { font-weight: 600; }
.esr-mdc-copy span { font-size: 13px; color: var(--esr-muted); }
.esr-mdc-btn { height: 38px; padding: 0 18px; font-size: 14px; }

.esr-picker { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.esr-brand-list { display: grid; gap: 2px; position: sticky; top: calc(var(--esr-header-h) + 16px); }
.esr-brand-list button {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 14px;
  font: 400 17px/1 var(--esr-font); text-align: left; color: var(--esr-muted); background: none; border: 0; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.esr-brand-list button small { font-size: 13px; color: var(--esr-faint); }
.esr-brand-list button[aria-pressed="true"] { background: var(--esr-surface); color: var(--esr-text); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .esr-brand-list button:hover { color: var(--esr-text); } }
.esr-picker-h { font: 600 15px/1.2 var(--esr-font-display); margin: 0 0 14px; }
.esr-picker-panel > .esr-picker-h:not(:first-child) { margin-top: 36px; }
.esr-picker-panel + .esr-picker-panel { margin-top: 48px; }
.esr-picker-wrap.is-ready .esr-picker-panel:not(.is-active) { display: none; }
.esr-picker-wrap.is-ready .esr-picker-panel + .esr-picker-panel { margin-top: 0; }
.esr-model-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.esr-model-tile {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 148px; padding: 16px;
  border-radius: var(--esr-radius); background: var(--esr-surface); color: var(--esr-text); text-decoration: none;
  transition: background-color 160ms ease, transform 160ms var(--esr-ease-out);
}
.esr-model-tile small { font-size: 12px; color: var(--esr-muted); margin-bottom: auto; }
.esr-model-tile b { font: 600 clamp(17px, 1.5vw, 20px)/1.2 var(--esr-font-display); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.esr-model-tile span { font-size: 13px; color: var(--esr-muted); }
.esr-model-tile:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .esr-model-tile:hover { background: var(--esr-surface-2); } }
.esr-model-groups { display: grid; gap: 22px; }
.esr-model-group h3 { font-size: 13px; font-weight: 500; color: var(--esr-muted); margin: 0 0 6px; }
.esr-model-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.esr-model-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; gap: 12px; align-items: center;
  min-height: 50px; border-bottom: 1px solid var(--esr-line); font-size: 15px; color: var(--esr-text); text-decoration: none;
}
.esr-model-row small { font-size: 13px; color: var(--esr-faint); }
.esr-model-row svg { color: var(--esr-faint); transition: transform 160ms var(--esr-ease-out); }
.esr-model-row .esr-row-brand { margin-left: 6px; }
@media (hover: hover) and (pointer: fine) { .esr-model-row:hover svg { transform: translateX(3px); color: var(--esr-text); } }
.esr-picker-results .esr-empty { text-align: left; padding: 24px 0; justify-items: start; }
.esr-picker-hint { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--esr-line); font-size: 13px; color: var(--esr-muted); }
.esr-picker-hint b { font-weight: 500; color: var(--esr-text); }
.esr-picker-listing { margin-top: 56px; }

/* ---------- Arama ---------- */
.esr-search-form { display: flex; gap: 10px; align-items: center; margin: 0 0 32px; max-width: 760px; }
.esr-search-form .esr-model-search { flex: 1; min-width: 0; }
.esr-search-form .esr-btn { height: 54px; border-radius: 27px; padding: 0 26px; }

/* ---------- Marka / koleksiyon ---------- */
.esr-brand-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.esr-brand-eyebrow { margin-top: 6px; }
.esr-brand-desc { color: var(--esr-muted); margin: 10px 0 0; max-width: 60ch; font-size: 15px; }
.esr-brand-logo {
  flex-shrink: 0; width: 120px; height: 120px; border-radius: var(--esr-radius); background: var(--esr-surface);
  display: grid; place-items: center; overflow: hidden;
}
.esr-brand-logo img { max-width: 72%; max-height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.esr-brand-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 32px; margin-bottom: 24px; }
.esr-brand-letter h2 { font: 600 13px/1 var(--esr-font); color: var(--esr-muted); margin: 0 0 8px; }
.esr-brand-letter ul { list-style: none; margin: 0; padding: 0; }
.esr-brand-letter a {
  display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--esr-line);
  font-size: 15px; color: var(--esr-text); text-decoration: none;
}
@media (hover: hover) and (pointer: fine) { .esr-brand-letter a:hover { color: var(--esr-muted); } }

/* ---------- Ürün detayı ---------- */
.esr-pdp-head { padding-bottom: 8px; }
.esr-pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 12px 0 40px; }
.esr-gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-self: start; position: sticky; top: calc(var(--esr-header-h) + 16px); }
.esr-gallery.is-single { grid-template-columns: minmax(0, 1fr); }
.esr-thumbs { display: grid; gap: 8px; align-content: start; }
.esr-thumbs button {
  aspect-ratio: 1; border-radius: 12px; background: var(--esr-surface); overflow: hidden; padding: 0;
  border: 1.5px solid transparent; cursor: pointer; transition: border-color 160ms ease;
}
.esr-thumbs button[aria-current="true"] { border-color: var(--esr-text); }
.esr-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.esr-main-image { position: relative; background: var(--esr-surface); border-radius: var(--esr-radius); overflow: hidden; }
.esr-gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.esr-gallery-track::-webkit-scrollbar { display: none; }
.esr-gallery-track:focus-visible { outline: 2px solid var(--esr-text); outline-offset: -2px; }
.esr-slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; scroll-snap-stop: always; }
.esr-slide img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.esr-gallery-dots { display: none; position: absolute; left: 0; right: 0; bottom: 12px; justify-content: center; gap: 6px; pointer-events: none; }
.esr-gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .18); transition: background-color 200ms ease; }
.esr-gallery-dots span.is-active { background: var(--esr-text); }

.esr-pdp-info { min-width: 0; }
.esr-pdp-brand { font-size: 14px; color: var(--esr-muted); margin: 0 0 6px; }
.esr-pdp-info h1 { font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--esr-font-display); letter-spacing: -0.02em; margin: 0 0 14px; overflow-wrap: anywhere; }
.esr-pdp-price { font: 600 26px/1.1 var(--esr-font); margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.esr-pdp-price s { font: 400 17px var(--esr-font); color: var(--esr-faint); }
.esr-pdp-price-label { font-size: 19px; }
.esr-pdp-installment { color: var(--esr-muted); font-size: 14px; margin: 0 0 22px; }
.esr-pdp-price + .esr-options, .esr-pdp-price + .esr-compat, .esr-pdp-price + .esr-buy-row { margin-top: 18px; }

.esr-options { margin-bottom: 4px; }
.esr-option { margin-bottom: 20px; }
.esr-option-label { font-size: 14px; margin: 0 0 10px; }
.esr-option-label b { font-weight: 600; }
.esr-color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.esr-color-option {
  width: 36px; height: 36px; border-radius: 50%; padding: 3px; background: none; cursor: pointer;
  border: 1.5px solid transparent; transition: border-color 160ms ease;
}
.esr-color-option span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.esr-color-option[aria-pressed="true"] { border-color: var(--esr-text); }
.esr-color-option:focus-visible { outline: 2px solid var(--esr-text); outline-offset: 2px; }
.esr-option-seg { flex-wrap: wrap; }
.esr-option-seg button { cursor: pointer; border: 0; background: none; font: inherit; }
.esr-option-seg button[aria-pressed="true"] { background: #fff; color: var(--esr-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.esr-option-note { font-size: 13px; color: var(--esr-muted); margin: -8px 0 16px; }

.esr-compat { padding: 14px 16px; border-radius: var(--esr-radius-sm); background: var(--esr-surface); font-size: 14px; margin-bottom: 18px; }
.esr-compat.is-ok { background: #eefae8; }
.esr-compat p { margin: 0; }
.esr-compat-ok { display: flex; gap: 8px; align-items: center; margin-bottom: 6px !important; }
.esr-compat-ok svg { color: #2f8f2f; flex-shrink: 0; }
.esr-compat-text b { font-weight: 600; }
.esr-compat.is-ok .esr-compat-text { color: var(--esr-muted); font-size: 13px; }
.esr-compat-more {
  background: none; border: 0; padding: 0; font: inherit; color: var(--esr-text); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--esr-faint);
}
.esr-compat-all { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--esr-line); columns: 2; column-gap: 24px; }
.esr-compat-all li { break-inside: avoid; padding: 4px 0; }
.esr-compat-all a { color: var(--esr-text); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .esr-compat-all a:hover { text-decoration: underline; } }

.esr-buy-row { display: flex; gap: 10px; margin: 0 0 22px; }
.esr-buy-btn { flex: 1; }
.esr-qty { display: flex; align-items: center; height: 44px; border-radius: 22px; background: var(--esr-surface); flex-shrink: 0; }
.esr-qty button { width: 40px; height: 44px; font-size: 18px; background: none; border: 0; cursor: pointer; color: var(--esr-text); border-radius: 22px; }
.esr-qty input {
  width: 32px; height: 44px; border: 0; background: none; text-align: center; font: 500 15px var(--esr-font); color: var(--esr-text);
  -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.esr-qty input::-webkit-outer-spin-button, .esr-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.esr-qty input:focus-visible { outline: 2px solid var(--esr-text); border-radius: 6px; }
.esr-oos { margin: 0 0 22px; }
.esr-oos-note { font-size: 14px; color: var(--esr-muted); margin: 0 0 12px; }
.esr-notify { background: var(--esr-surface); border-radius: var(--esr-radius-sm); padding: 16px; display: grid; gap: 10px; }
.esr-notify-title { margin: 0; font-size: 14px; font-weight: 600; }
.esr-notify-row { display: flex; gap: 8px; }
.esr-notify-row .esr-input { flex: 1; min-width: 0; height: 44px; border-radius: 22px; border: 1px solid var(--esr-line); padding: 0 16px; font-size: 16px; background: #fff; }
.esr-notify-row .esr-btn { background: var(--esr-text); color: #fff; }
.esr-notify-status { margin: 0; font-size: 13px; color: #2f6f2f; }
.esr-notify-error { margin: 0; font-size: 13px; color: var(--esr-danger); }

.esr-pdp-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 14px; color: var(--esr-muted); }
.esr-pdp-list li { display: flex; gap: 10px; align-items: center; }
.esr-pdp-list svg { flex-shrink: 0; color: var(--esr-text); }

.esr-bundle { background: var(--esr-surface); border-radius: var(--esr-radius); padding: 22px; margin: 8px 0 24px; }
.esr-bundle h3 { font: 600 19px/1.2 var(--esr-font-display); margin: 0 0 4px; }
.esr-bundle > p { margin: 0 0 16px; color: var(--esr-muted); font-size: 14px; }
.esr-bundle-items { display: grid; gap: 10px; margin-bottom: 16px; }
.esr-bundle-item {
  display: grid; grid-template-columns: 22px 56px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  font-size: 14px; color: var(--esr-text);
}
.esr-bundle-img { width: 56px; height: 56px; background: #fff; border-radius: 10px; display: block; overflow: hidden; }
.esr-bundle-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.esr-bundle-item input { width: 18px; height: 18px; accent-color: var(--esr-text); margin: 0; }
.esr-bundle-name { min-width: 0; }
.esr-bundle-name > label, .esr-bundle-name > span:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.esr-bundle-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

.esr-pdp-desc { font-size: 14px; color: var(--esr-muted); border-top: 1px solid var(--esr-line); padding-top: 18px; overflow-wrap: anywhere; }
.esr-pdp-desc p { margin: 0 0 12px; }
.esr-pdp-desc ul, .esr-pdp-desc ol { padding-left: 20px; margin: 0 0 12px; }
.esr-pdp-desc h2, .esr-pdp-desc h3, .esr-pdp-desc h4 { color: var(--esr-text); font-size: 15px; margin: 18px 0 8px; }
.esr-pdp-desc img { max-width: 100%; height: auto; border-radius: var(--esr-radius-sm); }
.esr-pdp-desc table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.esr-pdp-desc td, .esr-pdp-desc th { border-bottom: 1px solid var(--esr-line); padding: 6px 8px; text-align: left; }
.esr-pdp-similar { padding-top: 24px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .esr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .esr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .esr-rail { grid-auto-columns: 46%; gap: 10px; }
  .esr-toolbar:not(.esr-toolbar-tabs) { flex-wrap: nowrap; gap: 10px; }
  .esr-toolbar-right { margin-left: auto; min-width: 0; gap: 8px; }
  .esr-result-count { white-space: nowrap; }
  .esr-filter-btn { width: 38px; padding: 0; justify-content: center; position: relative; }
  .esr-filter-btn > span { display: none; }
  .esr-filter-btn small { position: absolute; top: -4px; right: -4px; }
  .esr-sort-form .esr-select { max-width: 52vw; }

  .esr-split {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(var(--n), minmax(150px, 1fr));
    height: calc(100svh - var(--esr-header-h) - var(--esr-announce-h) - 108px); min-height: calc(var(--n) * 150px); max-height: none;
  }
  .esr-panel { flex-direction: row; align-items: flex-end; padding: 20px; }
  .esr-panel:first-child { border-radius: var(--esr-radius) var(--esr-radius) 0 0; }
  .esr-panel:last-child { border-radius: 0 0 var(--esr-radius) var(--esr-radius); }
  .esr-panel:only-child { border-radius: var(--esr-radius); }
  .esr-panel-copy { align-self: flex-start; }
  .esr-panel h2 { font-size: 26px !important; max-width: 10ch; }
  .esr-panel-art { inset: 8% 4% 8% 46%; }
  .esr-panel-cta { position: absolute; left: 20px; bottom: 20px; padding: 0; background: none; box-shadow: none; }
  .esr-panel-label { display: none; }
  .esr-panel-arrow { width: 38px; height: 38px; }

  .esr-picker-wrap.has-device .esr-picker-top { grid-template-columns: minmax(0, 1fr); }
  .esr-picker { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .esr-brand-list {
    position: static; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--esr-gutter)); padding: 0 var(--esr-gutter);
  }
  .esr-brand-list::-webkit-scrollbar { display: none; }
  .esr-brand-list button { flex-shrink: 0; height: 40px; border: 1px solid var(--esr-line); border-radius: 20px; font-size: 15px; }
  .esr-brand-list button[aria-pressed="true"] { background: var(--esr-text); color: #fff; border-color: var(--esr-text); }
  .esr-brand-list button[aria-pressed="true"] small { color: rgba(255, 255, 255, .6); }
  .esr-model-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .esr-model-tile { min-height: 120px; padding: 14px; }
  .esr-model-rows { grid-template-columns: minmax(0, 1fr); }
  .esr-picker-listing { margin-top: 40px; }

  .esr-search-form .esr-btn { display: none; }

  .esr-brand-head { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .esr-brand-logo { width: 72px; height: 72px; border-radius: var(--esr-radius-sm); }

  .esr-pdp { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .esr-gallery { position: static; grid-template-columns: minmax(0, 1fr); margin: 0 calc(-1 * var(--esr-gutter)); }
  .esr-main-image { border-radius: 0; }
  .esr-thumbs { display: none; }
  .esr-gallery-dots { display: flex; }
  .esr-compat-all { columns: 1; }
  .esr-bundle { padding: 18px; }
  .esr-bundle-item { grid-template-columns: 22px 48px minmax(0, 1fr) auto; gap: 10px; }
  .esr-bundle-img { width: 48px; height: 48px; }
  .esr-bundle-total .esr-btn { width: 100%; }
  .esr-notify-row { flex-direction: column; }
  .esr-notify-row .esr-input { flex: none; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .esr-card-media img, .esr-panel-art img, .esr-panel-arrow, .esr-model-tile, .esr-model-row svg { transition: none !important; }
  .esr-sheet[open] { animation: none; }
}

/* Feed açıklamaları satır içi renk / ortalama getiriyor: sakin metin rengi ve sola hizalı okuma. */
.esr-pdp-desc :is(p, span, strong, b, em, li, div, font) { color: inherit !important; background: none !important; font-size: inherit !important; line-height: 1.55 !important; font-family: inherit !important; }
.esr-pdp-desc strong, .esr-pdp-desc b { color: var(--esr-text) !important; font-weight: 600; }
.esr-pdp-desc .ql-align-center, .esr-pdp-desc [style*="text-align"] { text-align: left !important; }
.esr-bundle-item[hidden] { display: none; }
.esr-bundle-name label { cursor: pointer; }
.esr-bundle-choice { display: block; margin-top: 4px; font-size: 12px; color: var(--esr-muted); }
.esr-bundle-choice a { color: var(--esr-muted); text-decoration: underline; text-underline-offset: 3px; }
.esr-bundle-select {
  height: 30px; max-width: 100%; padding: 0 28px 0 10px; border-radius: 15px; border: 1px solid var(--esr-line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%236e6e73' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  font: 400 13px/1 var(--esr-font); color: var(--esr-text); -webkit-appearance: none; appearance: none;
}
.esr-bundle-item input:disabled:not(#esr-bundle-self) { opacity: .4; }
.esr-pdp-desc p:empty, .esr-pdp-desc p:has(> br:only-child) { display: none; }
.esr-model-search input::-webkit-search-cancel-button { filter: grayscale(1); opacity: .6; }
.esr-bundle-choose { font-size: 12px; padding: 4px 0; min-height: 24px; text-decoration: underline; text-underline-offset: 3px; }
.esr-bundle-choose:disabled { opacity: .5; cursor: progress; }
.esr-bundle-choice[aria-busy="true"] { opacity: .6; }
