.fn-feature {
  position: relative;
  overflow: hidden;
  margin-top: 0.85rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #07080c;
  min-height: 280px;
}

.fn-feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.fn-feature-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.72) 70%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.2) 100%);
}

.fn-feature-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 280px;
  padding: 1.1rem 1rem 0.9rem;
}

.fn-feature-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

.fn-feature-body h2 {
  margin: 0.28rem 0 0;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}

.fn-feature-body p {
  max-width: 24rem;
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.fn-feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
}

.fn-feature-grid .fn-shop-card {
  flex: 0 0 138px;
  width: 138px;
  background: rgba(8, 10, 16, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.fn-feature-grid .fn-shop-photo {
  height: 154px;
  background: radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.14), rgba(8, 10, 16, 0.2) 58%, #10131a) !important;
}

.fn-feature-grid .fn-shop-photo img {
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

.fn-feature-grid .fn-shop-card:hover .fn-shop-photo img {
  transform: translateY(-4px);
}

.fn-feature-grid .fn-shop-type {
  display: none;
}

.fn-feature-grid .fn-shop-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.84rem;
}

@media (max-width: 767px) {
  .fn-feature.is-one-piece,
  [data-fn-feature].is-one-piece {
    display: none;
  }
}

@media (min-width: 768px) {
  .fn-feature,
  .fn-feature-body {
    min-height: 390px;
  }

  .fn-feature-body {
    padding: 1.35rem 1.35rem 1.05rem;
  }

  .fn-feature-body h2 {
    font-size: 2.15rem;
  }

  .fn-feature-grid {
    overflow: visible;
  }
}