/* CategoryBlock — image tile with a bottom caption that links to a collection. */
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--ink);
  /* Kutu kendi genişliğine göre ölçeklensin: aynı blok mobilde 2 sütunda ~160px,
     tek sütunda ~335px olabiliyor. Viewport yerine kutunun kendi genişliğini
     sorgulamak, sütun sayısı prop'u ne olursa olsun doğru sonucu verir. */
  container-type: inline-size;
}

.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__media {
  position: relative;
  overflow: hidden;
}
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__img--empty {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 12px),
    var(--ink);
}
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block:hover .category-block__img {
  transform: scale(1.04);
}

/* Caption overlays the image, anchored to the bottom. */
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 44px);
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--cb-ov, #0d0d0d) 50%, transparent),
    transparent 50%
  );
}

.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, currentColor 80%, transparent);
  margin-bottom: 10px;
}

.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__title {  font-size: clamp(34px, 4.5vw, var(--ts-max, 72px));
  color: inherit;
}

.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.9;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block:hover .category-block__go {
  gap: 16px;
  color: var(--cb-ac, var(--accent));
}
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__arr {
  transition: transform 0.3s var(--ease);
}
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block:hover .category-block__arr {
  transform: translateX(4px);
}

/* Dar kutu (mobilde 2 sütun): başlık ve iç boşluk kutuya sığacak şekilde küçülür,
   okunabilirliği bozan "Keşfet" satırı gizlenir — kutunun tamamı zaten link. */
@container (max-width: 260px) {
  .cc_oe6aXTYiT2_vVfEWDLDhA .category-block__cap {
    padding: 12px;
    background: linear-gradient(
      to top,
      color-mix(in srgb, var(--cb-ov, #0d0d0d) 60%, transparent),
      transparent 65%
    );
  }
  .cc_oe6aXTYiT2_vVfEWDLDhA .category-block__label {
    font-size: 9.5px;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
  }
  .cc_oe6aXTYiT2_vVfEWDLDhA .category-block__title {
    font-size: clamp(15px, 11cqw, 22px);
    line-height: 1.15;
  }
  .cc_oe6aXTYiT2_vVfEWDLDhA .category-block__go {
    display: none;
  }
}

/* TOKEN KÖPRÜ — bkz. global.css */
.cc_oe6aXTYiT2_vVfEWDLDhA .category-block__go, .cc_oe6aXTYiT2_vVfEWDLDhA .category-block__label { letter-spacing: var(--ts-label-narrow-ls, .1em); }
