/*
 * Günlük bannerlar (TmBanners.tsx) — "vitrin etiketi" tasarımı.
 * Beyaz zemin (ürün fotoğraflarının beyazı kaybolsun), büyük sıkı model adı,
 * alttan kesilen telefon; tek iddialı öğe: eğik, delikli turuncu fiyat etiketi.
 * Renkler sadece marka: turuncu #ff580d, mürekkep #2a2b2a.
 */
.tmb {
  --tmb-turuncu: var(--tm-brand, #ff580d);
  --tmb-murekkep: var(--tm-ink, #2a2b2a);
  --tmb-gri: #6b6966;
  --tmb-cizgi: #e7e5e2;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 320px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--tmb-cizgi);
  background: #fff;
  color: var(--tmb-murekkep);
  text-decoration: none;
  font-family: "DM Sans", system-ui, sans-serif;
}
.tmb:focus-visible { outline: 3px solid var(--tmb-turuncu); outline-offset: 3px; }

.tmb__copy {
  align-self: center;
  padding: 36px 0 36px 48px;
  min-width: 0;
}
.tmb__title { margin: 0; line-height: 0.92; }
.tmb__marka {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--tmb-gri);
}
.tmb__model {
  display: block;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.tmb__sub {
  margin: 18px 0 0;
  max-width: 34ch;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.45;
  color: var(--tmb-gri);
}
.tmb__promo {
  display: inline-block;
  margin: 16px 0 0;
  padding: 4px 0;
  border-bottom: 3px solid var(--tmb-turuncu);
  font-weight: 700;
  font-size: 16px;
}
.tmb__cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 4px;
  background: var(--tmb-murekkep);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.tmb:hover .tmb__cta { background: #000; }

/* Sahne: telefon bütün; etiket telefona asılı (hang kutusu telefonun boyunda) */
.tmb__stage { position: relative; display: flex; align-items: center; justify-content: flex-start; padding: 6% 0; min-width: 0; }
.tmb__hang { position: relative; height: 100%; max-height: 270px; display: inline-flex; }
.tmb__img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Askı etiketi: sol ucu sivri, delikli, hafif eğik; telefonun sağ alt köşesine asılı */
.tmb__tag {
  position: absolute;
  left: 72%;
  bottom: 14%;
  margin: 0;
  padding: 14px 22px 14px 40px;
  background: var(--tmb-turuncu);
  color: #fff;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
  transform: rotate(-7deg);
  transform-origin: left center;
  line-height: 1.05;
  white-space: nowrap;
}
.tmb__tag::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #fff;
}
.tmb__tag strong {
  display: block;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.tmb__tag span { display: block; font-size: 13px; font-weight: 500; opacity: 0.92; }

/* Slider */
.tm-slider { position: relative; margin: 12px auto 4px; max-width: 1280px; padding: 0 16px; }
.tm-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tm-slider__track::-webkit-scrollbar { display: none; }
.tm-slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.tm-slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.tm-slider__dot { width: 18px; height: 3px; background: #d6d4d1; transition: background 0.2s; }
.tm-slider__dot.is-active { background: var(--tm-ink, #2a2b2a); }

/* Duyuru bandı */
.tm-bant {
  background: var(--tm-ink, #2a2b2a);
  color: #fff;
  text-align: center;
  font: 500 14px/1.35 "DM Sans", system-ui, sans-serif;
  padding: 8px 16px;
}
.tm-bant a { color: #fff; text-decoration: underline; text-decoration-color: var(--tm-brand, #ff580d); text-underline-offset: 4px; }

/* Kategori bannerı: daha alçak */
.tm-kategori-banner { margin: 8px 0 16px; }
.tmb--kategori { min-height: 240px; }
.tmb--kategori .tmb__model { font-size: clamp(34px, 4vw, 56px); }

/* Instagram (önizleme ekran görüntüsü) */
.tmb--ig-kare, .tmb--ig-hikaye { border: 0; border-radius: 0; grid-template-columns: 1fr; }
.tmb--ig-kare { width: 1080px; height: 1080px; grid-template-rows: auto 1fr; }
.tmb--ig-hikaye { width: 1080px; height: 1920px; grid-template-rows: auto 1fr; }
.tmb--ig-kare .tmb__copy, .tmb--ig-hikaye .tmb__copy { padding: 90px 90px 0; }
.tmb--ig-hikaye .tmb__copy { padding-top: 200px; }
.tmb--ig-kare .tmb__marka, .tmb--ig-hikaye .tmb__marka { font-size: 36px; }
.tmb--ig-kare .tmb__model, .tmb--ig-hikaye .tmb__model { font-size: 128px; }
.tmb--ig-kare .tmb__sub, .tmb--ig-hikaye .tmb__sub { font-size: 32px; max-width: 30ch; }
.tmb--ig-kare .tmb__cta, .tmb--ig-hikaye .tmb__cta { display: none; }
.tmb--ig-kare .tmb__stage, .tmb--ig-hikaye .tmb__stage { justify-content: center; padding: 60px 0 90px; }
.tmb--ig-kare .tmb__hang { max-height: 560px; }
.tmb--ig-hikaye .tmb__hang { max-height: 1000px; }
.tmb--ig-kare .tmb__tag, .tmb--ig-hikaye .tmb__tag { left: 62%; bottom: 14%; padding: 26px 40px 26px 70px; clip-path: polygon(32px 0, 100% 0, 100% 100%, 32px 100%, 0 50%); }
.tmb--ig-kare .tmb__tag::before, .tmb--ig-hikaye .tmb__tag::before { left: 26px; width: 16px; height: 16px; margin-top: -8px; }
.tmb--ig-kare .tmb__tag strong, .tmb--ig-hikaye .tmb__tag strong { font-size: 72px; }
.tmb--ig-kare .tmb__tag span, .tmb--ig-hikaye .tmb__tag span { font-size: 26px; }

@media (max-width: 720px) {
  .tmb--slide, .tmb--kategori {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    min-height: 250px;
  }
  .tmb__copy { padding: 22px 0 22px 18px; }
  .tmb__model { font-size: clamp(30px, 9vw, 40px); }
  .tmb__sub { display: none; }
  .tmb__cta { margin-top: 16px; padding: 9px 16px; font-size: 14px; }
  .tmb__stage { justify-content: center; padding: 10% 0; }
  .tmb__hang { max-height: 190px; }
  .tmb__tag { left: auto; right: 12%; bottom: 2%; padding: 9px 14px 9px 28px; clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%); }
  .tmb__tag::before { left: 9px; width: 7px; height: 7px; margin-top: -3.5px; }
  .tmb__tag strong { font-size: 18px; }
  .tmb__tag span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .tm-slider__track { scroll-behavior: auto; } }
/* Hikâyede nereden alınacağı */
.tmb--ig-hikaye::after {
  content: "teknomuaz.com";
  position: absolute;
  left: 90px;
  bottom: 120px;
  font: 700 40px/1 "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: var(--tmb-murekkep);
}
