:root {
  --bg: #0b0b0b;
  --panel: #141414;
  --photo: #ececec;
  --red: #c8102e;
  --text: #f3f1ee;
  --muted: #a8a29a;
  --line: rgba(243, 241, 238, 0.1);
  --ml: #ffe600;
  --amazon: #ff9900;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip {
  position: absolute;
  left: 12px;
  top: -44px;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus {
  top: 12px;
}

.top {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.15rem 1.4rem;
}

.top__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.brand__name {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand__tag {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top__trust {
  max-width: 38rem;
  margin: 0.8rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.top__yt {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.catalog {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 1.15rem 3rem;
}

.status {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card__media {
  position: relative;
  background: var(--photo);
  aspect-ratio: 1 / 1;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
}

.store--mercadolivre {
  background: var(--ml);
  color: #111;
}

.store--amazon {
  background: var(--amazon);
  color: #111;
}

.store--other {
  background: #222;
  color: var(--text);
}

.card__body {
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}

.card__price {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
}

.card__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  background: var(--red);
  color: #fff;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 1.4rem 1.15rem 2.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot p {
  max-width: 720px;
  margin: 0 auto 0.55rem;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top {
    padding: 1.6rem 1.5rem 1.7rem;
  }

  .brand__mark {
    width: 52px;
    height: 52px;
  }

  .brand__name {
    font-size: 1.42rem;
  }

  .brand__tag {
    font-size: 0.72rem;
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand__name {
    font-size: 1.55rem;
  }
}
