.offer-catalog {
  padding-block: 32px 56px;
}

.offer-catalog-heading {
  display: grid;
  gap: 16px;
}

.offer-catalog-heading .inner-title { margin: 0; }

.offer-catalog-nav,
.offer-catalog-nav > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.offer-catalog-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.offer-catalog-nav a:hover { border-color: var(--gold-dark); }

.offer-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.offer-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  scroll-margin-block-start: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.offer-card-media {
  position: relative;
  /* The Figma photo spans the full card width and clips at the border. */
  margin-inline-end: -2px;
  aspect-ratio: 4 / 3;
}

.offer-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--offer-photo-y, 50%);
}

#pedicure-spa { --offer-photo-y: 88.331%; }
#lash-lamination { --offer-photo-y: 33.888%; }
#polymer-waxing { --offer-photo-y: 99.875%; }

.offer-card-badges {
  position: absolute;
  inset: 16px 16px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-card-badges span {
  padding: 6px 11px;
  border-radius: 100px;
  background: var(--white);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  text-transform: uppercase;
}

.offer-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 16px;
}

.offer-card h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 28px;
}

.offer-card-description {
  flex: 1;
  min-height: 66px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.offer-card-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.offer-card-prices strong {
  color: var(--gold-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 30px;
}

.offer-card-prices s {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
}

.offer-card-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.offer-card-action { padding: 0 20px 20px; }
.offer-card-action .button { padding: 13px 24px; }

@media (max-width: 1023px) {
  .offer-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .offer-catalog { padding-block: 24px 36px; }
  .offer-catalog-heading { gap: 12px; }
  .offer-catalog-heading .inner-title { font-size: 32px; line-height: 39px; }
  .offer-catalog-nav { flex-direction: column; }
  .offer-catalog-nav,
  .offer-catalog-nav > div { gap: 8px; }
  .offer-catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
  }
  .offer-card { border-radius: 16px; }
  .offer-card-media { aspect-ratio: 358 / 269; }
  #pedicure-spa { --offer-photo-y: 88.53%; }
  #lash-lamination { --offer-photo-y: 33.94%; }
  #polymer-waxing { --offer-photo-y: 100%; }
  .offer-card-badges { inset: 14px 14px auto; }
  .offer-card-action .button {
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 800;
    line-height: 18px;
  }
}
