/*
 * OTHO Özel — OTHO PARÇA görünümü (Premium Teknik Otomotiv).
 * body[data-wm-template="otho-ozel"] sunucu (legacy-html-seo) tarafından tüm sayfalarda basılır, yoksa
 * shop-otho-skin.js set eder; anasayfaya özel kurallar body[data-homepage-template="otho-ozel"] altında kalır.
 * Tüm kurallar bu iki kapsamdan biri veya .sht-otho altında kalmalı;
 * sht-market__* / shop-* ortak sınıflarını kapsamsız ezmek ZNF ve diğer mağazaları bozar.
 */

body[data-homepage-template="otho-ozel"],
body[data-wm-template="otho-ozel"] {
  --otho-navy: #101b2d;
  --otho-navy-2: #16243a;
  --otho-blue: #0086c9;
  --otho-blue-dark: #006fa8;
  --otho-bg: #f6f8fa;
  --otho-green: #16a34a;
  --otho-text: #18212f;
  --otho-muted: #5b6678;
  --otho-line: #e3e8ef;
  --otho-radius: 12px;
  overflow-x: clip;
}

body[data-homepage-template="otho-ozel"] #shop-homepage-default-zone {
  display: none !important;
}

/*
 * İlk yükleme: hero çizilene kadar yarım/eski vitrin görünmesin — yerinde lacivert hero zemini durur.
 * JS gelmezse içerik 3 sn sonra yine açılır.
 */
body[data-wm-template="otho-ozel"][data-shop-page="home"] .shop-mp-main:not(:has(.sht-otho-hero)),
body[data-wm-template="otho-ozel"][data-shop-page="search"] .shop-search-page:not(:has(.sht-otho-hero)) {
  background: linear-gradient(180deg, var(--otho-navy) 0 var(--otho-hero-skeleton-h, 395px), var(--otho-bg) 0);
}

body[data-wm-template="otho-ozel"][data-shop-page="home"] .shop-mp-main:not(:has(.sht-otho-hero)) > *,
body[data-wm-template="otho-ozel"][data-shop-page="search"] .shop-search-page:not(:has(.sht-otho-hero)) > * {
  visibility: hidden;
  animation: otho-reveal 0s linear 3s forwards;
}

body[data-wm-template="otho-ozel"][data-shop-page="search"] {
  --otho-hero-skeleton-h: 357px;
}

@media (max-width: 719px) {
  body[data-wm-template="otho-ozel"],
  body[data-wm-template="otho-ozel"][data-shop-page="search"] {
    --otho-hero-skeleton-h: 620px;
  }
}

@keyframes otho-reveal {
  to {
    visibility: visible;
  }
}

.sht-otho-slot {
  display: contents;
}

body[data-wm-template="otho-ozel"] .shop-mp-main,
body[data-wm-template="otho-ozel"] .shop-search-page {
  background: var(--otho-bg);
}

body[data-wm-template="otho-ozel"] .shop-mp-hero {
  background: transparent;
  border-bottom: 0;
  margin-bottom: 0;
}

body[data-wm-template="otho-ozel"] .shop-mp-hero__stack {
  padding-top: 0;
}

/* shop-marketplace.css: width:100% + padding (content-box), ekran max-width + padding'den darsa
   (ör. retina 1440 px, kök 16 px) yatay taşıyor. auto: genişte aynı, darda taşmaz. */
body[data-wm-template="otho-ozel"] .shop-mp-container {
  width: auto;
}

body[data-homepage-template="otho-ozel"] .shop-mp-hero__stack > .shop-hero-hub {
  display: none;
}

/* ---------- Üst şerit ---------- */

body[data-wm-template="otho-ozel"] .shop-mp-topbar {
  background: var(--otho-navy);
  color: #d5dce6;
  border-bottom: 0;
}

body[data-wm-template="otho-ozel"] .shop-mp-topbar__inner > span {
  display: none;
}

body[data-wm-template="otho-ozel"] .shop-mp-topbar__inner {
  gap: 1rem;
}

.sht-otho-topbar {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  flex-wrap: wrap;
}

.sht-otho-topbar li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.sht-otho-topbar li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 1.2rem;
  border-radius: 50%;
  background: #4b5a70;
}

.sht-otho-topbar svg {
  color: #7cc6ec;
  flex-shrink: 0;
}

/* ---------- Genel ---------- */

.sht-otho {
  font-family: Inter, Manrope, system-ui, -apple-system, sans-serif;
  color: var(--otho-text);
  padding-bottom: 2.5rem;
}

.sht-otho-wrap {
  width: 100%;
  box-sizing: border-box;
}

.sht-otho-eyebrow,
.sht-otho-hero__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sht-otho-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0 1.35rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.sht-otho-btn:hover {
  transform: translateY(-1px);
}

.sht-otho-btn--primary {
  background: var(--otho-blue);
  color: #fff;
}

.sht-otho-btn--primary:hover {
  background: var(--otho-blue-dark);
}

.sht-otho-btn--wa {
  background: var(--otho-green);
  color: #fff;
}

.sht-otho-btn--wa:hover {
  background: #128a3e;
}

/* ---------- Hero ---------- */

.sht-otho-hero {
  position: relative;
  padding: 2.4rem 0 1.75rem;
  color: #fff;
  isolation: isolate;
}

.sht-otho-hero__bg,
.sht-otho-special::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -2;
}

.sht-otho-hero__bg {
  overflow: hidden;
  background: var(--otho-navy);
}

/* Sabit oranlı görsel: araçlar her genişlikte başlığın sağında, kartın üstünde kalır */
.sht-otho-hero__bg img {
  --otho-hero-img-h: min(680px, 47.2vw);
  position: absolute;
  top: calc(var(--otho-hero-img-h) * -0.395);
  right: max(-14px, calc(50% - 743px));
  left: auto;
  width: auto;
  max-width: none;
  height: var(--otho-hero-img-h);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24%);
}

/* shop-otho-skin.js revealOnLoad: görsel inene kadar lacivert zemin, sonra arabalar ve farlar birlikte */
.sht-otho-hero__bg img,
.sht-otho-hero__bg .sht-otho-lights {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sht-otho-hero__bg.is-ready img,
.sht-otho-hero__bg.is-ready .sht-otho-lights {
  opacity: 1;
}

.sht-otho-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(16 27 45 / 0.92) 0%, rgb(16 27 45 / 0.7) 26%, rgb(16 27 45 / 0.08) 52%, rgb(16 27 45 / 0) 70%),
    linear-gradient(180deg, rgb(16 27 45 / 0) 58%, rgb(16 27 45 / 0.88) 94%);
}

/* Far ışıkları — sırayla hafif parlama */
.sht-otho-lights {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.sht-otho-light {
  --otho-light-size: 34px;
  position: absolute;
  width: var(--otho-light-size);
  height: var(--otho-light-size);
  margin: calc(var(--otho-light-size) / -2) 0 0 calc(var(--otho-light-size) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 0.95) 0%, rgb(214 238 255 / 0.7) 18%, rgb(120 196 255 / 0.28) 42%, rgb(120 196 255 / 0) 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(0.6);
  animation: otho-headlight 10s ease-in-out infinite;
  animation-delay: var(--otho-light-delay, 0s);
}

.sht-otho-light::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--otho-light-size) * 3.4);
  height: calc(var(--otho-light-size) * 0.16);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(235 247 255 / 0.85) 0%, rgb(150 210 255 / 0.3) 40%, rgb(150 210 255 / 0) 72%);
  transform: translate(-50%, -50%);
}

/* 10 sn döngü, araç başına 2,5 sn dilim: yavaş yan, kısa kal, yavaş sön */
@keyframes otho-headlight {
  0%,
  25%,
  100% {
    opacity: 0;
    transform: scale(0.75);
  }
  10% {
    opacity: 1;
    transform: scale(1.05);
  }
  15% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sht-otho-light {
    animation: none;
    opacity: 0.35;
    transform: none;
  }
}

.sht-otho-hero__inner {
  position: relative;
}

.sht-otho-hero__copy {
  max-width: 34rem;
  padding-bottom: 1.4rem;
}

.sht-otho-hero__eyebrow {
  color: #b8c6d8;
}

.sht-otho-hero h1,
.sht-otho-hero__title {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.sht-otho-hero__sub {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #d5dce6;
}

/* ---------- Sekmeli arama kartı ---------- */

.sht-otho-search {
  position: relative;
  z-index: 5;
  padding: 0.9rem 1.1rem 0.85rem;
  border-radius: var(--otho-radius);
  background: #fff;
  color: var(--otho-text);
  box-shadow: 0 18px 40px rgb(3 10 22 / 0.35);
}

.sht-otho-search__tabs {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
  padding: 0.25rem;
  border-radius: 10px;
  background: #eef2f6;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.sht-otho-search__tabs::-webkit-scrollbar {
  display: none;
}

.sht-otho-search__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #3b475a;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sht-otho-search__tab:hover {
  color: var(--otho-text);
  background: #e2e8f0;
}

.sht-otho-search__tab.is-active {
  background: var(--otho-blue);
  color: #fff;
}

.sht-otho-search__hint {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--otho-muted);
}

/* Hub’ı kartın içinde sadeleştir */
body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__layout {
  display: block;
}

/* OEM sekmesi: solda parça kodu araması, sağda marka · model · motor */
body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="oem"] .shop-hero-hub__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="oem"] #shop-hero-search-form,
body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="oem"] .shop-vf {
  min-width: 0;
  margin: 0;
}

/* Sekme görünürlüğü */
body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="oem"] .shop-vf__chassis-row,
body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="oem"] .shop-vf__chassis-feedback,
body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="vin"] #shop-hero-search-form,
body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="vin"] .shop-vf__filters-row,
body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="vin"] .shop-vf__apply {
  display: none !important;
}

/* OEM / parça kodu satırı */
/* Alt kenarda far yansıması gibi hafif, nefes alan parıltı */
body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__search-row {
  position: relative;
  min-height: 3.1rem;
  border: 1px solid #c3d3e3;
  border-bottom-color: rgb(0 134 201 / 0.55);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 20px -12px rgb(0 134 201 / 0.4), 0 3px 8px -6px rgb(120 196 255 / 0.45);
  animation: otho-search-glow 3.6s ease-in-out infinite;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__search-row::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgb(120 200 255 / 0), rgb(120 200 255 / 0.85) 30%, #fff 50%, rgb(120 200 255 / 0.85) 70%, rgb(120 200 255 / 0));
  pointer-events: none;
  animation: otho-search-strip 3.6s ease-in-out infinite;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__search-row:focus-within {
  border-color: var(--otho-blue);
  box-shadow: 0 0 0 3px rgb(0 134 201 / 0.14), 0 12px 24px -12px rgb(0 134 201 / 0.6);
  animation: none;
}

@keyframes otho-search-glow {
  0%,
  100% {
    box-shadow: 0 10px 20px -12px rgb(0 134 201 / 0.4), 0 3px 8px -6px rgb(120 196 255 / 0.45);
  }
  50% {
    box-shadow: 0 14px 28px -12px rgb(0 134 201 / 0.7), 0 4px 12px -5px rgb(120 196 255 / 0.8);
  }
}

@keyframes otho-search-strip {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__search-row,
  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__search-row::after {
    animation: none;
  }
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__icon {
  color: #7a8699;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__input-wrap input {
  font-size: 1rem;
  color: var(--otho-text);
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__btn {
  min-width: 6.5rem;
  margin: 4px;
  border-radius: 8px;
  background: var(--otho-blue);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__btn:hover {
  background: var(--otho-blue-dark);
  filter: none;
}

/* Araç seçerek */
body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__layout {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto;
  gap: 0.6rem;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__filters-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1;
  grid-row: 1;
  gap: 0.5rem;
  min-width: 0;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__col--inline {
  min-width: 0;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline,
body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline:hover:not(:disabled) {
  justify-content: flex-start;
  min-height: 3.1rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transform: none;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline:hover:not(:disabled) {
  border-color: #9fb0c6;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline[aria-expanded="true"],
body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline.is-active {
  border-color: var(--otho-blue);
  box-shadow: 0 0 0 3px rgb(0 134 201 / 0.12);
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__label-row {
  width: 100%;
  justify-content: flex-start;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__field-icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.22rem;
  border: 0;
  background: #eef4fa;
  color: var(--otho-blue);
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline {
  width: 100%;
  min-width: 0;
  padding-inline: 0.6rem;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__label-row {
  min-width: 0;
  gap: 0.4rem;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline .shop-vf__val {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #3b475a;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline.is-active .shop-vf__val {
  color: var(--otho-text);
  letter-spacing: 0.01em;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chev {
  color: #7a8699;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__apply--stacked {
  grid-column: 2;
  grid-row: 1;
  flex-direction: row;
  gap: 0.45rem;
  width: auto;
  min-width: 6.5rem;
  height: auto;
  min-height: 3.1rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 10px;
  background: var(--otho-blue);
  color: #fff;
  box-shadow: none;
  opacity: 1;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__apply--stacked:not(:disabled):hover {
  background: var(--otho-blue-dark);
  transform: none;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__apply--stacked:disabled {
  background: #8fc3e0;
  color: #fff;
  cursor: not-allowed;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__apply-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}

/* Şasi numarası */
body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-row {
  grid-column: 1 / -1;
  min-height: 3.1rem;
  padding: 0 0 0 0.9rem;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #fff;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis--plain {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6678;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-field {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-input {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--otho-text);
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-find {
  min-width: 8.5rem;
  min-height: calc(3.1rem - 8px);
  margin: 4px;
  padding: 0 1.2rem;
  border-radius: 8px;
  background: var(--otho-blue);
  box-shadow: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}

body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-find:hover:not(:disabled) {
  background: var(--otho-blue-dark);
  transform: none;
  box-shadow: none;
}

/* ---------- Güven satırı ---------- */

.sht-otho-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.sht-otho-trust__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem 1.25rem;
  min-width: 0;
}

.sht-otho-trust__item + .sht-otho-trust__item {
  border-left: 1px solid rgb(255 255 255 / 0.14);
}

.sht-otho-trust__icon {
  flex-shrink: 0;
  color: #d5e6f3;
}

.sht-otho-trust__item strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.sht-otho-trust__item small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: #a8b6c8;
}

/* ---------- Marka kartları ---------- */

.sht-otho-brands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.sht-otho-brand {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--otho-radius);
  border: 1px solid var(--otho-line);
  background: #e9edf2;
  color: var(--otho-text);
  text-decoration: none;
}

.sht-otho-brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  transition: transform 0.35s ease;
}

.sht-otho-brand:hover img {
  transform: scale(1.04);
}

.sht-otho-brand img,
.sht-otho-special__visual img {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.sht-otho-brand img.is-ready,
.sht-otho-special__visual img.is-ready {
  opacity: 1;
}

.sht-otho-brand__title {
  position: absolute;
  top: 0.95rem;
  left: 1rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
}

.sht-otho-brand__title strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}

.sht-otho-brand__cta {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--otho-line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--otho-text);
  transition: background 0.15s ease, color 0.15s ease;
}

.sht-otho-brand:hover .sht-otho-brand__cta {
  background: var(--otho-blue);
  border-color: var(--otho-blue);
  color: #fff;
}

.sht-otho-brand__badge {
  position: absolute;
  top: 0.95rem;
  right: 0.9rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgb(16 27 45 / 0.88);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgb(16 27 45 / 0.6);
}

.sht-otho-brand--modelaraba img {
  object-position: 60% 70%;
}

/* ---------- Üyelik şeridi ---------- */

.sht-otho-member {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid #cfe6f3;
  background: #eef7fc;
  color: var(--otho-text);
  font-size: 0.86rem;
  text-decoration: none;
}

.sht-otho-member__icon {
  display: inline-flex;
  color: var(--otho-blue);
}

.sht-otho-member strong {
  font-weight: 700;
}

.sht-otho-member__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-weight: 700;
  color: var(--otho-blue);
  white-space: nowrap;
}

/* ---------- Almanya özel sipariş ---------- */

.sht-otho-special {
  position: relative;
  margin-top: 1.75rem;
  isolation: isolate;
}

/* Zemin, special-order-v3'ün sol (açık) kenar rengiyle aynı */
.sht-otho-special::before {
  content: "";
  background: linear-gradient(180deg, #ebf5fd 0%, #f1f8fe 45%, #eaf4fd 75%, #cfe1f5 100%);
}

.sht-otho-special__visual {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(50% - 50vw);
  width: min(100vw, 96rem);
  overflow: hidden;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%);
}

.sht-otho-special__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.sht-otho-special__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sht-otho-special__tag {
  position: absolute;
  top: 1.6rem;
  right: 0;
  margin: 0;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 10px;
  background: rgb(16 27 45 / 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.9;
  text-transform: uppercase;
  text-align: right;
  color: #dbe5f1;
}

.sht-otho-special__inner {
  padding-block: 2.75rem 2.25rem;
}

.sht-otho-special__tag {
  z-index: 1;
}

.sht-otho-special__copy {
  max-width: 36rem;
}

.sht-otho-special .sht-otho-eyebrow {
  color: #7a8699;
}

.sht-otho-special h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--otho-navy);
}

.sht-otho-special__copy > p {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  color: var(--otho-muted);
}

.sht-otho-special__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sht-otho-special__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--otho-muted);
}

.sht-otho-special__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sht-otho-special__points svg {
  color: var(--otho-blue);
}

/* ---------- Popüler kategoriler ---------- */

.sht-otho-cats {
  margin-top: 2.25rem;
}

.sht-otho-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sht-otho-head h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--otho-navy);
}

.sht-otho-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--otho-blue);
  text-decoration: none;
}

.sht-otho-cats__grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.75rem;
}

.sht-otho-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 7rem;
  padding: 0.9rem 0.5rem;
  border-radius: var(--otho-radius);
  border: 1px solid var(--otho-line);
  background: #fff;
  color: var(--otho-text);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.sht-otho-cat:hover {
  border-color: var(--otho-blue);
  color: var(--otho-blue);
}

.sht-otho-cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: #eef4fa;
  color: var(--otho-blue);
}

.sht-otho-cat__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* ---------- Arama sayfası hero ---------- */

.sht-otho--search {
  padding-bottom: 0;
}

body[data-wm-template="otho-ozel"] .shop-search-page .shop-mp-hero {
  padding-bottom: 0;
}

/* ---------- Vitrin başlığı (anasayfa) ---------- */

body[data-wm-template="otho-ozel"] #shop-catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--otho-line);
}

.sht-otho-catalog-title {
  grid-column: 1;
}

.sht-otho-catalog-title .sht-otho-eyebrow {
  margin-bottom: 0.35rem;
  color: var(--otho-blue);
}

.sht-otho-catalog-title h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--otho-navy);
}

body[data-wm-template="otho-ozel"] #shop-catalog-toolbar #shop-results-meta {
  grid-column: 1;
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--otho-muted);
}

body[data-wm-template="otho-ozel"] #shop-catalog-toolbar .shop-catalog-toolbar__actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

/* ---------- Ürün kartları (vitrin + arama sonuçları) ---------- */

body[data-wm-template="otho-ozel"] .shop-product-card,
body[data-wm-template="otho-ozel"] .shop-search-card {
  position: relative;
  border: 1px solid var(--otho-line);
  border-radius: var(--otho-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 27 45 / 0.04), 0 10px 24px -18px rgb(16 27 45 / 0.3);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body[data-wm-template="otho-ozel"] .shop-product-card::after,
body[data-wm-template="otho-ozel"] .shop-search-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  z-index: 9;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, #5cc0f0 30%, var(--otho-blue) 50%, #5cc0f0 70%, transparent);
  box-shadow: 0 0 14px 2px rgb(0 134 201 / 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

@media (hover: hover) {
  body[data-wm-template="otho-ozel"] .shop-product-card:hover,
  body[data-wm-template="otho-ozel"] .shop-search-card:hover {
    transform: translateY(-3px);
    border-color: rgb(0 134 201 / 0.38);
    box-shadow: 0 2px 4px rgb(16 27 45 / 0.05), 0 24px 40px -22px rgb(0 70 130 / 0.5);
  }

  body[data-wm-template="otho-ozel"] .shop-product-card:hover::after,
  body[data-wm-template="otho-ozel"] .shop-search-card:hover::after {
    opacity: 1;
  }
}

body[data-wm-template="otho-ozel"] .shop-product-card__media {
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0.85rem;
  background: #fff;
  border-bottom: 1px solid var(--otho-line);
}

body[data-wm-template="otho-ozel"] .shop-product-card__media::before {
  display: none;
}

body[data-wm-template="otho-ozel"] .shop-product-card__media .shop-product-photo,
body[data-wm-template="otho-ozel"] .shop-product-card__media .shop-card-gallery {
  box-shadow: none;
  background: transparent;
}

body[data-wm-template="otho-ozel"] .shop-product-card:hover .shop-product-card__media-stage,
body[data-wm-template="otho-ozel"] .shop-search-card:hover .shop-product-card__media-stage {
  transform: scale(1.04);
}

body[data-wm-template="otho-ozel"] .shop-product-card__brand {
  top: 0.55rem;
  left: 0.55rem;
  max-width: 6rem;
  padding: 0.15rem 0.35rem;
  border: 1px solid var(--otho-line);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 2px 8px rgb(16 27 45 / 0.08);
}

body[data-wm-template="otho-ozel"] .shop-product-card__brand img {
  max-height: 1.9rem;
  width: auto;
}

/* Vitrin ve arama sonuçları: görsel üstünde üretici logosu yok (marka adı kart gövdesinde) */
body[data-wm-template="otho-ozel"][data-shop-page="home"] .shop-product-card__media .shop-product-card__brand,
body[data-wm-template="otho-ozel"][data-shop-page="search"] .shop-search-card__brand-mark,
body[data-wm-template="otho-ozel"][data-shop-page="search"] .shop-product-card__media .shop-product-card__brand {
  display: none !important;
}

body[data-wm-template="otho-ozel"] .shop-product-card__body {
  padding: 0.85rem 0.95rem 0.95rem;
}

body[data-wm-template="otho-ozel"] .shop-product-card__brand-text {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--otho-blue);
}

body[data-wm-template="otho-ozel"] .shop-product-card__title {
  display: -webkit-box;
  min-height: calc(1.35em * 2);
  margin: 0.2rem 0 0.55rem;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--otho-navy);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body[data-wm-template="otho-ozel"] .shop-product-card__code-row,
body[data-wm-template="otho-ozel"] .shop-product-card__oem,
body[data-wm-template="otho-ozel"] .shop-search-card__code-line {
  font-size: 0.74rem;
  color: var(--otho-muted);
}

body[data-wm-template="otho-ozel"] .shop-product-card__sku-label,
body[data-wm-template="otho-ozel"] .shop-product-card__oem-label {
  font-weight: 600;
  color: var(--otho-muted);
}

body[data-wm-template="otho-ozel"] .shop-search-card__codes-panel {
  border: 1px solid var(--otho-line);
  border-radius: 8px;
  background: #f7f9fb;
}

body[data-wm-template="otho-ozel"] .shop-product-card .shop-code-copy,
body[data-wm-template="otho-ozel"] .shop-search-card .shop-code-copy {
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--otho-line);
  border-radius: 6px;
  background: #f3f6f9;
  color: var(--otho-text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

body[data-wm-template="otho-ozel"] .shop-product-card .shop-code-copy:hover,
body[data-wm-template="otho-ozel"] .shop-search-card .shop-code-copy:hover {
  border-color: rgb(0 134 201 / 0.4);
  background: #e8f4fb;
  color: var(--otho-blue-dark);
}

body[data-wm-template="otho-ozel"] .shop-product-card__footer,
body[data-wm-template="otho-ozel"] .shop-search-card__footer {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--otho-line);
  align-items: flex-end;
}

body[data-wm-template="otho-ozel"] .shop-product-card__price,
body[data-wm-template="otho-ozel"] .shop-search-card__price {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--otho-navy);
}

body[data-wm-template="otho-ozel"] .shop-product-card__vat-note,
body[data-wm-template="otho-ozel"] .shop-search-card__vat-note,
body[data-wm-template="otho-ozel"] .shop-product-card__stock,
body[data-wm-template="otho-ozel"] .shop-product-card__brand-range-note {
  font-size: 0.68rem;
  color: var(--otho-muted);
}

body[data-wm-template="otho-ozel"] .shop-product-card__status,
body[data-wm-template="otho-ozel"] .shop-search-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #f1f4f8;
  color: var(--otho-muted);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

body[data-wm-template="otho-ozel"] .shop-product-card__status--in,
body[data-wm-template="otho-ozel"] .shop-search-card__status--in {
  background: #e7f6ed;
  color: #15803d;
}

body[data-wm-template="otho-ozel"] .shop-product-card__status--in::before,
body[data-wm-template="otho-ozel"] .shop-search-card__status--in::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--otho-green);
  box-shadow: 0 0 0 3px rgb(22 163 74 / 0.18);
}

body[data-wm-template="otho-ozel"] .shop-product-card__add,
body[data-wm-template="otho-ozel"] .shop-search-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.6rem;
  margin: 0.8rem 0 0;
  border: 0;
  border-radius: 10px;
  background: var(--otho-blue);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 8px 16px -10px rgb(0 134 201 / 0.75);
  opacity: 1;
  transform: none;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

body[data-wm-template="otho-ozel"] .shop-product-card__add.is-added {
  background: var(--otho-green);
  box-shadow: 0 8px 16px -10px rgb(22 163 74 / 0.75);
}

body[data-wm-template="otho-ozel"] .shop-product-card__add:hover:not(:disabled),
body[data-wm-template="otho-ozel"] .shop-search-card__add:hover:not(:disabled) {
  background: var(--otho-blue-dark);
  box-shadow: 0 10px 20px -10px rgb(0 111 168 / 0.85);
  transform: translateY(-1px);
}

body[data-wm-template="otho-ozel"] .shop-product-card__add:disabled,
body[data-wm-template="otho-ozel"] .shop-search-card__add:disabled {
  border: 1px solid var(--otho-line);
  background: #f1f4f8;
  color: var(--otho-muted);
  box-shadow: none;
  cursor: default;
}

/* Kart içi dikey akış: fiyat satırı ve buton satırdaki tüm kartlarda aynı hizada */
body[data-wm-template="otho-ozel"] a.shop-product-card {
  display: flex;
  flex-direction: column;
}

body[data-wm-template="otho-ozel"] a.shop-product-card > article,
body[data-wm-template="otho-ozel"] .shop-search-card,
body[data-wm-template="otho-ozel"] .shop-search-card__link,
body[data-wm-template="otho-ozel"] .shop-product-card > article > .shop-product-card__body,
body[data-wm-template="otho-ozel"] .shop-search-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

body[data-wm-template="otho-ozel"] .shop-product-card__body > .shop-product-card__footer,
body[data-wm-template="otho-ozel"] .shop-search-card__body > .shop-search-card__footer {
  margin-top: auto;
}

body[data-wm-template="otho-ozel"] .shop-product-card__body > :has(+ .shop-product-card__footer),
body[data-wm-template="otho-ozel"] .shop-search-card__body > :has(+ .shop-search-card__footer) {
  margin-bottom: 0.7rem;
}

/* Fiyatsız ürün: "Fiyat Sorunuz" (shop-otho-skin.js polishCard) */
body[data-wm-template="otho-ozel"] [data-otho-price] {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 2.9rem;
  justify-content: flex-end;
}

body[data-wm-template="otho-ozel"] [data-otho-price="ask"] strong {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--otho-navy);
}

body[data-wm-template="otho-ozel"] [data-otho-price="ask"] small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--otho-muted);
}

body[data-wm-template="otho-ozel"] [data-otho-price="multi"] {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--otho-navy);
}

body[data-wm-template="otho-ozel"] .shop-product-card__add.sht-otho-view-btn,
body[data-wm-template="otho-ozel"] .shop-search-card__add.sht-otho-view-btn {
  box-sizing: border-box;
  max-width: 100%;
  border: 1px solid rgb(0 134 201 / 0.45);
  background: #fff;
  color: var(--otho-blue);
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
}

body[data-wm-template="otho-ozel"] .sht-otho-view-btn svg {
  transition: transform 0.15s ease;
}

body[data-wm-template="otho-ozel"] .shop-product-card:hover .sht-otho-view-btn,
body[data-wm-template="otho-ozel"] .shop-search-card .sht-otho-view-btn:hover {
  border-color: var(--otho-blue);
  background: #e8f4fb;
  color: var(--otho-blue-dark);
  transform: none;
  box-shadow: none;
}

body[data-wm-template="otho-ozel"] .shop-product-card:hover .sht-otho-view-btn svg,
body[data-wm-template="otho-ozel"] .shop-search-card .sht-otho-view-btn:hover svg {
  transform: translateX(3px);
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] [data-otho-price] strong,
[data-theme="dark"] body[data-wm-template="otho-ozel"] [data-otho-price="multi"] {
  color: #f1f5f9;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card__add.sht-otho-view-btn,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card__add.sht-otho-view-btn {
  border-color: rgb(56 189 248 / 0.4);
  background: transparent;
  color: #7dd3fc;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card:hover .sht-otho-view-btn,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card .sht-otho-view-btn:hover {
  border-color: #38bdf8;
  background: rgb(56 189 248 / 0.12);
  color: #bae6fd;
}

/* webmagaza-shop.css .shop-mp-btn--cart-green !important kullanıyor */
body[data-wm-template="otho-ozel"] .shop-search-card__add.shop-mp-btn--cart-green {
  border-color: var(--otho-blue) !important;
  background: var(--otho-blue) !important;
  color: #fff !important;
}

body[data-wm-template="otho-ozel"] .shop-search-card__add.shop-mp-btn--cart-green:hover:not(:disabled) {
  border-color: var(--otho-blue-dark) !important;
  background: var(--otho-blue-dark) !important;
}

body[data-wm-template="otho-ozel"] .shop-search-card__add.shop-mp-btn--cart-green:disabled {
  opacity: 1;
  border-color: var(--otho-line) !important;
  background: #f1f4f8 !important;
  color: var(--otho-muted) !important;
}

/* ---------- Arama sonuçları ---------- */

body[data-wm-template="otho-ozel"] .shop-search-hero {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem 1.2rem;
  border: 1px solid var(--otho-line);
  border-radius: var(--otho-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 27 45 / 0.04), 0 10px 24px -20px rgb(16 27 45 / 0.3);
}

body[data-wm-template="otho-ozel"] .shop-search-hero h1 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--otho-navy);
}

body[data-wm-template="otho-ozel"] #search-results-meta {
  font-size: 0.86rem;
  color: var(--otho-muted);
}

body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__item {
  border: 1px solid var(--otho-line);
  border-radius: var(--otho-radius);
  background: #fff;
  color: var(--otho-text);
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__item:hover,
body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__item.is-active {
  border-color: var(--otho-blue);
  color: var(--otho-blue);
  box-shadow: 0 8px 18px -12px rgb(0 134 201 / 0.6);
}

body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__icon {
  border-radius: 10px;
  background: #eef4fa;
  color: var(--otho-blue);
}

body[data-wm-template="otho-ozel"] #search-sidebar {
  border: 1px solid var(--otho-line);
  border-radius: var(--otho-radius);
  box-shadow: 0 1px 2px rgb(16 27 45 / 0.04), 0 10px 24px -20px rgb(16 27 45 / 0.3);
  overflow: hidden;
}

body[data-wm-template="otho-ozel"] #search-sidebar::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--otho-navy), var(--otho-blue));
}

body[data-wm-template="otho-ozel"] .shop-search-sidebar__title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--otho-navy);
}

body[data-wm-template="otho-ozel"] .shop-search-query-chip {
  border-color: rgb(0 134 201 / 0.25);
  background: #e8f4fb;
  color: var(--otho-blue-dark);
}

body[data-wm-template="otho-ozel"] .shop-search-filter-item input[type="checkbox"] {
  accent-color: var(--otho-blue);
}

body[data-wm-template="otho-ozel"] .shop-search-filter-item__count {
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #f1f4f8;
  color: var(--otho-muted);
}

body[data-wm-template="otho-ozel"] .shop-search-filter-search:focus {
  border-color: var(--otho-blue);
  box-shadow: 0 0 0 3px rgb(0 134 201 / 0.15);
}

/* ---------- Gece modu ---------- */

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-hero,
[data-theme="dark"] body[data-wm-template="otho-ozel"] #search-sidebar,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__item {
  border-color: #22324a;
  background: #111c2e;
  box-shadow: none;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card__title,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card__price,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card__price,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-hero h1,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-sidebar__title,
[data-theme="dark"] .sht-otho-catalog-title h2 {
  color: #fff;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card__media {
  border-bottom-color: #22324a;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card .shop-code-copy,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card .shop-code-copy,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card__codes-panel {
  border-color: #22324a;
  background: #16243a;
  color: #d5dce6;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card__footer,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card__footer,
[data-theme="dark"] body[data-wm-template="otho-ozel"] #shop-catalog-toolbar {
  border-color: #22324a;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card__status--in,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card__status--in {
  background: rgb(22 163 74 / 0.16);
  color: #4ade80;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card__add:disabled,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card__add:disabled,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-filter-item__count,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-product-card__status:not(.shop-product-card__status--in),
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card__status:not(.shop-search-card__status--in) {
  border-color: #22324a;
  background: #16243a;
  color: #93a3b8;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__item {
  color: #e2e8f0;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-card__add.shop-mp-btn--cart-green:disabled {
  border-color: #22324a !important;
  background: #16243a !important;
  color: #93a3b8 !important;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__icon,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-query-chip {
  background: #1a2a42;
  color: #5cc0f0;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-mp-main,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .shop-search-page {
  background: #0b1320;
}

[data-theme="dark"] .sht-otho {
  color: #e2e8f0;
}

[data-theme="dark"] .sht-otho-search {
  background: var(--otho-navy-2);
  color: #e2e8f0;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.45);
}

[data-theme="dark"] .sht-otho-search__tabs {
  background: #0f1a2b;
}

[data-theme="dark"] .sht-otho-search__tab {
  color: #b8c6d8;
}

[data-theme="dark"] .sht-otho-search__tab:hover {
  background: #1d2d46;
  color: #fff;
}

[data-theme="dark"] .sht-otho-search__tab.is-active {
  background: var(--otho-blue);
  color: #fff;
}

[data-theme="dark"] .sht-otho-search__hint {
  color: #93a3b8;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__search-row,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline:hover:not(:disabled),
[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-row {
  background: #0f1a2b;
  border-color: #2b3c57;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__input-wrap input,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-input,
[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__trigger--inline .shop-vf__val {
  color: #e2e8f0;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-label {
  color: #93a3b8;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__field-icon {
  background: #1a2a42;
  color: #5cc0f0;
}

[data-theme="dark"] body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__apply--stacked:disabled {
  background: #1f4f6c;
  color: #b8d7ea;
}

[data-theme="dark"] .sht-otho-brand {
  border-color: #22324a;
}

[data-theme="dark"] .sht-otho-member {
  background: #10263a;
  border-color: #1d4260;
  color: #e2e8f0;
}

[data-theme="dark"] .sht-otho-member__cta,
[data-theme="dark"] .sht-otho-member__icon {
  color: #5cc0f0;
}

[data-theme="dark"] .sht-otho-special::before {
  background: #0d1726;
}

[data-theme="dark"] .sht-otho-special__visual::after {
  background: linear-gradient(90deg, #0d1726 0%, #0d1726 34%, rgb(13 23 38 / 0.6) 46%, rgb(13 23 38 / 0) 62%);
}

[data-theme="dark"] .sht-otho-special .sht-otho-eyebrow {
  color: #8fa3bd;
}

[data-theme="dark"] .sht-otho-special h2 {
  color: #fff;
}

[data-theme="dark"] .sht-otho-special__copy > p,
[data-theme="dark"] .sht-otho-special__points {
  color: #a8b6c8;
}

[data-theme="dark"] .sht-otho-head h2 {
  color: #fff;
}

[data-theme="dark"] .sht-otho-head a {
  color: #5cc0f0;
}

[data-theme="dark"] .sht-otho-cat {
  background: #111c2e;
  border-color: #22324a;
  color: #e2e8f0;
}

[data-theme="dark"] .sht-otho-cat:hover {
  border-color: var(--otho-blue);
  color: #5cc0f0;
}

[data-theme="dark"] .sht-otho-cat__icon {
  background: #1a2a42;
  color: #5cc0f0;
}

/* ---------- Duyarlı ---------- */

@media (max-width: 1279px) {
  .sht-otho-cats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Görselin açık kenarı metin sütunundan dar kalıyor */
  .sht-otho-special__visual::after {
    background: linear-gradient(90deg, rgb(241 248 254 / 0.97) 0%, rgb(241 248 254 / 0.92) 44%, rgb(241 248 254 / 0) 66%);
  }
}

@media (max-width: 1023px) {
  .sht-otho-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sht-otho-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.9rem;
  }

  .sht-otho-trust__item:nth-child(3) {
    border-left: 0;
  }

  body[data-wm-template="otho-ozel"] .sht-otho-search[data-otho-tab="oem"] .shop-hero-hub__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sht-otho-special__visual {
    width: 100vw;
  }

  .sht-otho-special__visual::after {
    background: linear-gradient(90deg, rgb(241 248 254 / 0.97) 0%, rgb(241 248 254 / 0.92) 50%, rgb(241 248 254 / 0) 74%);
  }
}

@media (max-width: 719px) {
  body[data-wm-template="otho-ozel"] .shop-mp-topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sht-otho-topbar {
    gap: 0.25rem 0.9rem;
    font-size: 0.7rem;
  }

  .sht-otho-topbar li + li::before {
    display: none;
  }

  .sht-otho-hero {
    padding-top: 1.2rem;
  }

  .sht-otho-hero__bg img {
    top: 70px;
    right: auto;
    left: 0;
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: 74% 62%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sht-otho-hero__bg::after {
    background: linear-gradient(
      180deg,
      var(--otho-navy) 0,
      rgb(16 27 45 / 0.9) 95px,
      rgb(16 27 45 / 0.35) 170px,
      rgb(16 27 45 / 0) 200px,
      rgb(16 27 45 / 0.12) 300px,
      var(--otho-navy) 380px
    );
  }

  .sht-otho-hero__copy {
    padding-bottom: 135px;
  }

  .sht-otho-hero__sub {
    font-size: 0.92rem;
  }

  .sht-otho-search {
    padding: 0.75rem;
  }

  .sht-otho-search__tabs {
    display: flex;
  }

  .sht-otho-search__tab {
    flex: 1 0 auto;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
  }

  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__filters-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.4rem;
  }

  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__field-icon {
    display: none;
  }

  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__apply--stacked {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-label {
    display: none;
  }

  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-hero-hub__btn,
  body[data-wm-template="otho-ozel"] .sht-otho-search .shop-vf__chassis-find {
    min-width: 5.5rem;
  }

  .sht-otho-trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .sht-otho-trust__item,
  .sht-otho-trust__item + .sht-otho-trust__item {
    border-left: 0;
    padding-inline: 0.25rem;
  }

  .sht-otho-brands {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .sht-otho-member {
    flex-wrap: wrap;
  }

  .sht-otho-member__cta {
    margin-left: 0;
  }

  /* Mobil: görsel yazıların altında şerit */
  .sht-otho-special {
    display: flex;
    flex-direction: column;
  }

  .sht-otho-special__inner {
    padding-bottom: 1.25rem;
  }

  .sht-otho-special__visual {
    position: relative;
    order: 2;
    right: auto;
    width: 100vw;
    height: 190px;
    margin-left: calc(50% - 50vw);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }

  .sht-otho-special__visual::after {
    background: none;
  }

  .sht-otho-special__tag {
    display: none;
  }

  .sht-otho-special__actions .sht-otho-btn {
    flex: 1 1 100%;
  }

  .sht-otho-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-wm-template="otho-ozel"] .shop-product-card__media {
    padding: 0.5rem;
  }

  body[data-wm-template="otho-ozel"] .shop-product-card__body {
    padding: 0.65rem 0.7rem 0.75rem;
  }

  body[data-wm-template="otho-ozel"] .shop-product-card__title {
    font-size: 0.9rem;
  }

  body[data-wm-template="otho-ozel"] .shop-product-card__price,
  body[data-wm-template="otho-ozel"] .shop-search-card__price {
    font-size: 1.05rem;
  }

  body[data-wm-template="otho-ozel"] .shop-product-card__footer,
  body[data-wm-template="otho-ozel"] .shop-search-card__footer {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  body[data-wm-template="otho-ozel"] .shop-product-card__add,
  body[data-wm-template="otho-ozel"] .shop-search-card__add {
    min-height: 2.4rem;
    font-size: 0.8rem;
  }

  body[data-wm-template="otho-ozel"] .shop-search-hero {
    margin-top: 1.25rem;
    padding: 0.9rem;
  }

  body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  body[data-wm-template="otho-ozel"] .shop-search-cats .shop-storefront-cats__item {
    flex: 0 0 auto;
    min-height: 0;
  }
}
