/* ============================================================
   Apex Category Picks Block
   ============================================================ */

.apex-category-picks {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px;
  box-sizing: border-box;
  text-align: center;
}

.apex-category-picks__title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111111;
  margin: 0 0 14px;
}

.apex-category-picks__description {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}

.apex-category-picks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .apex-category-picks__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .apex-category-picks__grid {
    grid-template-columns: 1fr;
  }
}

.apex-category-picks__card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f0f0f0;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.apex-category-picks__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.apex-category-picks__image picture,
.apex-category-picks__image img,
.apex-category-picks__img {
  display: block;
  width: 100%;
  height: 100%;
}

.apex-category-picks__image img,
.apex-category-picks__img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.apex-category-picks__card:hover .apex-category-picks__image img,
.apex-category-picks__card:hover .apex-category-picks__img {
  transform: scale(1.04);
}

.apex-category-picks__label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: #e91e8c;
  color: #ffffff;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 16px;
  border-radius: 3px;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.apex-category-picks__buttons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.apex-category-picks__btn {
  display: block;
  padding: 13px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.94);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.apex-category-picks__btn--embroidery {
  color: #e91e8c;
  border-right: 1px solid #e0e0e0;
}

.apex-category-picks__btn--svg {
  color: #3a7bd5;
}

.apex-category-picks__btn--embroidery:hover {
  background: #e91e8c;
  color: #ffffff;
}

.apex-category-picks__btn--svg:hover {
  background: #3a7bd5;
  color: #ffffff;
}

.apex-category-picks__btn--disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}
