/* Mobile-first: vertical compact tile (image top, centered text) */
.cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  height: 100%;
  padding: 0.5rem;
  background: var(--kombos-white);
  border: 1px solid var(--kombos-gray-200);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.cc_3l4dbrl8_LLtUGQ4u2B a.tc-kitchen-tool-tile:hover {
  border-color: var(--tencerecim-gold-deep);
  box-shadow: 0 8px 24px rgba(5, 34, 56, 0.08);
  transform: translateY(-0.125rem);
}

.cc_3l4dbrl8_LLtUGQ4u2B a.tc-kitchen-tool-tile:focus-visible {
  outline: 2px solid var(--tencerecim-gold-deep);
  outline-offset: 2px;
}

.cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--kombos-gray-100);
  flex-shrink: 0;
}

.cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cc_3l4dbrl8_LLtUGQ4u2B a.tc-kitchen-tool-tile:hover .tc-kitchen-tool-tile__img {
  transform: scale(1.05);
}

.cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  text-align: center;
}

.cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__title {
  color: var(--tencerecim-navy);
}

/* CTA is hidden in the compact mobile tile, shown from desktop */
.cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__cta {
  display: none;
  align-items: center;
  gap: 0.375rem;
  color: var(--tencerecim-gold-deep);
}

.cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__cta-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.cc_3l4dbrl8_LLtUGQ4u2B a.tc-kitchen-tool-tile:hover .tc-kitchen-tool-tile__cta-icon {
  transform: translateX(0.1875rem);
}

/* Desktop: same vertical tile (square image on top), roomier; the section lays
   six of these in one row, so the tile keeps the mobile shape instead of the old
   side-by-side image/text row. */
@media (min-width: 1024px) {
  .cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile {
    gap: 0.75rem;
    padding: 0.75rem 0.75rem 1rem;
    border-radius: 14px;
  }

  .cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__media {
    border-radius: 10px;
  }

  .cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__body {
    flex: 1;
  }

  /* A two-line title must not push this tile's CTA below its neighbours' */
  .cc_3l4dbrl8_LLtUGQ4u2B .tc-kitchen-tool-tile__cta {
    display: inline-flex;
    margin-top: auto;
  }
}
