/* Mieko — BentoTile. Quiet product-card language of the theme: soft surface, image in a
   fixed 3:2 frame on top, text below. Full-width tiles keep the image's natural ratio. */

.cc_tyzZBf6vd2_CbAowHR1aF .btile {
  --tile-bg: var(--mo96TwPmvd); /* Yüzey/Yumuşak */
  --tile-fg: var(--qMc2OtGrm2); /* Metin/Koyu */
  --tile-muted: var(--rlZjhdIxAs); /* Metin/İkincil */
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: calc(var(--mieko-card-radius, 12px) + 6px);
  background: var(--tile-bg);
  color: var(--tile-fg);
  overflow: hidden;
}
/* light = the theme's soft card surface (base) */
.cc_tyzZBf6vd2_CbAowHR1aF .btile--dark {
  --tile-bg: var(--qMc2OtGrm2); /* Metin/Koyu as surface */
  --tile-fg: var(--nlxsyKjspa);
  --tile-muted: color-mix(in srgb, var(--nlxsyKjspa) 64%, transparent);
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile--accent {
  --tile-bg: var(--bento-accent, var(--cNtcF6AdAo));
  --tile-fg: #fff;
  --tile-muted: rgba(255, 255, 255, 0.78);
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile--glass {
  --tile-bg: var(--nlxsyKjspa); /* Yüzey/Kanvas */
  box-shadow: inset 0 0 0 1px var(--qw7ETewd2R); /* Çizgi/Hairline */
}

/* media: fixed 3:2 frame; full tiles keep natural ratio */
.cc_tyzZBf6vd2_CbAowHR1aF .btile__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: color-mix(in srgb, var(--tile-fg) 6%, transparent);
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile--full .btile__media {
  aspect-ratio: auto;
}
/* Image is 8% taller than its frame and drifts gently with --py (set by BentoGrid):
   enough to feel depth, small enough not to upscale or pull focus. */
.cc_tyzZBf6vd2_CbAowHR1aF .btile__img {
  position: absolute;
  left: 0;
  top: -4%;
  width: 100%;
  height: 108%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--py, 0) * 3%), 0);
  transition: scale 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile--full .btile__img {
  position: static;
  height: auto;
  display: block;
  transform: none;
}
@media (hover: hover) {
  .cc_tyzZBf6vd2_CbAowHR1aF .btile:hover .btile__img {
    scale: 1.02;
  }
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile--media-bottom {
  flex-direction: column-reverse;
}
/* "fill" keeps the 3:2 frame but lets the text sit over its lower edge */
.cc_tyzZBf6vd2_CbAowHR1aF .btile--media-fill .btile__body {
  margin-top: 0;
}

/* body */
.cc_tyzZBf6vd2_CbAowHR1aF .btile__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px 26px;
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile--media-none .btile__body {
  flex: 1;
  justify-content: flex-end;
  padding-top: 28px;
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile__eyebrow {
  margin: 0;
  color: var(--tile-muted);
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile__figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 0 0 6px;
  color: inherit;
  font-variant-numeric: tabular-nums;
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile__value {
  font-size: clamp(40px, 1.6vw + 28px, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: inherit;
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile__unit {
  color: var(--tile-muted);
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile__title {
  margin: 0;
  color: inherit;
  line-height: 1.3;
  text-wrap: balance;
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile__text {
  margin: 0;
  color: var(--tile-muted);
  line-height: 1.55;
  text-wrap: pretty;
}

/* reveal: fade only, armed when below the fold at mount (see useReveal) */
.cc_tyzZBf6vd2_CbAowHR1aF .btile {
  transition: opacity 0.7s ease calc(var(--reveal-i, 0) * 60ms), translate 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--reveal-i, 0) * 60ms);
}
.cc_tyzZBf6vd2_CbAowHR1aF .btile[data-reveal-armed]:not([data-revealed]) {
  opacity: 0;
  translate: 0 16px;
}

@media (prefers-reduced-motion: reduce) {
  .cc_tyzZBf6vd2_CbAowHR1aF .btile, .cc_tyzZBf6vd2_CbAowHR1aF .btile__img {
    transition: none;
  }
  .cc_tyzZBf6vd2_CbAowHR1aF .btile__img {
    transform: none;
  }
  .cc_tyzZBf6vd2_CbAowHR1aF .btile:hover .btile__img {
    scale: 1;
  }
}
