@charset "UTF-8";
#hue-results.hue-results-texture-fan .color-fan-description {
  color: var(--black-main, #333032);
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 3.2rem 2.4rem;
  padding: 0;
}
@media (width > 768px) {
  #hue-results.hue-results-texture-fan .color-fan-description {
    padding: 3rem 0;
    margin-bottom: 3rem;
    font-size: 2.8rem;
    line-height: 1.2;
  }
}
#hue-results.hue-results-texture-fan .color-fan-description p {
  font-size: 2.2rem;
}
@media (width > 768px) {
  #hue-results.hue-results-texture-fan .color-fan-description p {
    font-size: 2.8rem;
  }
}
#hue-results.hue-results-texture-fan .color-group-hues-grid {
  position: relative;
  display: grid;
  gap: 0.7rem;
  justify-content: center;
  padding-top: 1rem;
}
#hue-results.hue-results-texture-fan .color-group-hues-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100vw;
  width: 200vw;
  height: 1px;
  background: rgba(51, 48, 50, 0.2);
}
#hue-results.hue-results-texture-fan .color-group-hues-grid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100vw;
  width: 200vw;
  height: 1px;
  background: rgba(51, 48, 50, 0.2);
}
#hue-results.hue-results-texture-fan .color-group-hues-grid {
  /* MOBILE (<768px): 2 per row, 148px */
  grid-template-columns: repeat(2, 14.8rem);
}
@media (width > 768px) {
  #hue-results.hue-results-texture-fan .color-group-hues-grid {
    /* DESKTOP (≥768px): ALWAYS 4 squares per row */
    justify-content: start;
    gap: 1.2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
#hue-results.hue-results-texture-fan .neighbor-item {
  aspect-ratio: 1;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* MOBILE */
  width: 14.8rem;
  height: 14.8rem;
}
@media (width > 768px) {
  #hue-results.hue-results-texture-fan .neighbor-item {
    /* DESKTOP: fixed 300px */
    width: 30rem;
    height: 30rem;
  }
}
#hue-results.hue-results-texture-fan .neighbor-item {
  width: auto;
  height: auto;
  aspect-ratio: 1;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#hue-results.hue-results-texture-fan .neighbor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 52px 0;
}
#hue-results.hue-results-texture-fan .neighbor-item .neighbor-content {
  border-radius: inherit;
}
@media (width > 768px) {
  #hue-results.hue-results-texture-fan .neighbor-item {
    width: auto;
    height: auto;
  }
}
