/*
 * Runtime safety net for the exported Tilda pages.
 * Tilda normally reveals these elements through its hosted animation/lazy-load
 * runtime. The mirror keeps the original layout but must also work without it.
 */
.t-animate,
.t-animate_no-hover {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.cf-catalog {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: "TildaSans", Arial, sans-serif;
}

.cf-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 20px;
}

.cf-catalog__card {
  display: block;
  min-width: 0;
  color: #111 !important;
  text-decoration: none;
}

.cf-catalog__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.cf-catalog__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cf-catalog__card:hover .cf-catalog__image img {
  transform: scale(1.025);
}

.cf-catalog__name {
  display: block;
  margin-top: 15px;
  color: #111 !important;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
}

.cf-catalog__price {
  display: block;
  margin-top: 8px;
  color: #111 !important;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 400;
}

.cf-upload {
  width: 100%;
}

.cf-upload__button {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 20px;
  border-radius: 5px;
  background: #d6c966;
  color: #fff;
  font: 16px/1.2 "TildaSans", Arial, sans-serif;
  text-align: center;
  cursor: pointer;
}

.cf-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.cf-upload__files {
  min-height: 18px;
  margin-top: 8px;
  color: inherit;
  font: 13px/1.35 "TildaSans", Arial, sans-serif;
  word-break: break-word;
}

.t-sociallinks a[href*="instagram.com/sellmyrolex"],
.t-sociallinks a[href*="facebook.com/sellmyrolex"],
.t-sociallinks a[href="https://google.com"] {
  display: none !important;
}

@media (max-width: 959px) {
  .cf-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .cf-catalog {
    padding: 0 10px;
  }

  .cf-catalog__grid {
    gap: 28px 10px;
  }

  .cf-catalog__name {
    margin-top: 12px;
    font-size: 14px;
  }

  .cf-catalog__price {
    font-size: 14px;
  }
}
