.formalar-body,
.formalar-body .app-shell,
.formalar-body .content-shell {
  background: #ffffff;
}

.formalar-page {
  min-height: 0;
  gap: 0;
}

.formalar-products {
  min-width: 0;
  min-height: 0;
  display: grid;
  gap: 10px;
}

.formalar-toolbar {
  min-width: 0;
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce7f6;
}

.formalar-title-block {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.formalar-title-block h1 {
  margin: 0;
  color: #111827;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: 0;
}

.formalar-card__meta {
  margin: 0;
  color: #44546d;
}

.formalar-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
}

.formalar-card {
  min-width: 0;
  border: 1px solid #d7e2f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(22, 43, 76, 0.07);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto;
}

.formalar-card:hover {
  border-color: var(--card-accent, #adc5ec);
  box-shadow: 0 12px 24px rgba(22, 43, 76, 0.11);
}

.formalar-card__media {
  position: relative;
  height: clamp(190px, 24vh, 260px);
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--card-soft, #eef5ff) 0%, #ffffff 100%);
}

.formalar-card__media::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: rgba(156, 178, 214, 0.4);
}

.formalar-card__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.formalar-card__mobile-text {
  display: none;
}

.formalar-card__body {
  min-width: 0;
  padding: 8px 10px 10px;
  display: grid;
  gap: 6px;
  background: #ffffff;
}

.formalar-card__title {
  min-height: 34px;
  margin: 0;
  color: #121a2a;
  font-size: 13px;
  line-height: 1.18;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.formalar-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.formalar-card__tag {
  min-width: 0;
  color: #0d49b1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.formalar-card__price {
  color: #8a2e2e;
  white-space: nowrap;
}

.formalar-card__button {
  width: 100%;
  min-height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  background: #111827;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.formalar-card__button:hover {
  background: #0d49b1;
}

@media (max-width: 1180px) {
  .formalar-products {
    gap: 12px;
  }

  .formalar-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
}

@media (max-width: 760px) {
  .formalar-card__desktop-text {
    display: none;
  }

  .formalar-card__mobile-text {
    display: inline;
  }

  .formalar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .formalar-card__media {
    height: clamp(104px, 31vw, 142px);
  }

  .formalar-card__body {
    padding: 8px 6px 9px;
    gap: 6px;
  }

  .formalar-card__title {
    min-height: 38px;
    font-size: 14px;
    line-height: 1.18;
  }

  .formalar-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 13px;
    line-height: 1.15;
  }

  .formalar-mobile-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .formalar-robux-icon {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f2f5fb 0%, #d8e0ec 100%);
    border: 1px solid #aab7c8;
    color: #1f2937;
    font-size: 8px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
  }

  .formalar-card__button {
    min-height: 42px;
    padding: 0 5px;
    font-size: 12px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }
}


