:root {
  --ink: #172033;
  --muted: #66727f;
  --pink: #ec67b1;
  --blue: #083b78;
  --sky: #4ec6ec;
  --yellow: #fabe3a;
  --line: #e2f3f8;
  --paper: #ffffff;
  --canvas: #f7fbff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}

.catalog {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 3px solid #fff;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffd8ec 0%, #bdeeff 68%, #fff1b8 100%);
  box-shadow: 0 14px 34px rgba(78, 198, 236, 0.18);
}

.eyebrow {
  display: inline-block;
  padding: 8px 15px;
  border: 2px solid var(--sky);
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 8px;
  color: var(--blue);
  font-family: Outfit, "DM Sans", sans-serif;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 700px;
  margin: 0;
  color: #263549;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 700;
}

.whatsapp {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(37, 211, 102, 0.22);
}

.toolbar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.toolbar label {
  display: grid;
  gap: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.toolbar input,
.toolbar select {
  width: 100%;
  height: 42px;
  border: 1px solid #d8edf4;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--ink);
  font: 700 14px "DM Sans", Arial, sans-serif;
  background: #fafdff;
}

.status {
  margin: 12px 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(8, 59, 120, 0.07);
}

.card:nth-child(3n+1) {
  border-color: rgba(236, 103, 177, 0.34);
}

.card:nth-child(3n+2) {
  border-color: rgba(78, 198, 236, 0.44);
}

.card:nth-child(3n+3) {
  border-color: rgba(250, 190, 58, 0.54);
}

.image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  padding: 8px;
  background: linear-gradient(180deg, #fff 0%, #f4fcff 100%);
}

.image-link img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 9px;
}

.info h2 {
  min-height: 39px;
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
}

.prices {
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid #eef8fb;
}

.compare {
  display: block;
  color: #7b8794;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-decoration: line-through;
  text-transform: uppercase;
}

.label {
  display: block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.price {
  display: block;
  margin-top: 3px;
  color: var(--pink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.wholesale {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 7px 8px;
  border: 1px solid rgba(78, 198, 236, 0.55);
  border-radius: 10px;
  background: linear-gradient(90deg, #f4fcff 0%, #fff7d5 100%);
}

.wholesale span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.wholesale strong {
  color: #168e5b;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.product-link {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.visit {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.visit-card {
  overflow: hidden;
  min-height: 190px;
  border: 2px solid #fff;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 59, 120, 0.1);
}

.visit-main {
  padding: 22px;
  background: linear-gradient(135deg, #fff 0%, #f3fbff 45%, #ffe3f2 100%);
}

.visit h2 {
  margin: 10px 0 8px;
  color: var(--blue);
  font-family: Outfit, "DM Sans", sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.visit p {
  max-width: 620px;
  margin: 0;
  color: #263549;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.visit-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.visit-button,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.visit-button.primary {
  background: var(--pink);
}

.whatsapp-link {
  background: #25d366;
}

.map-card {
  padding: 10px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
}

.map-preview {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 170px;
  padding: 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.32)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 8px, rgba(255,255,255,0.06) 8px 16px);
  color: #fff;
  text-decoration: none;
}

.map-preview::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 10px solid var(--yellow);
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.map-preview span {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-preview strong {
  margin-top: 4px;
  font-family: Outfit, "DM Sans", sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.map-preview small {
  margin-top: 10px;
  color: #fff7c7;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-card {
  padding: 22px;
  background: linear-gradient(135deg, #fff8d6 0%, #fff 48%, #e7f8ff 100%);
}

.social-links a:nth-child(1) {
  background: var(--blue);
}

.social-links a:nth-child(2) {
  background: #1877f2;
}

.social-links a:nth-child(3) {
  background: var(--pink);
}

.social-links a:nth-child(4) {
  background: #111827;
}

.social-links a.review-link {
  background: linear-gradient(90deg, #fabe3a, #ec67b1);
  color: #111827;
}

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

  .visit {
    grid-template-columns: 1fr 1fr;
  }

  .social-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .catalog {
    width: min(100% - 20px, 1240px);
    padding-top: 12px;
  }

  .hero,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .hero {
    display: grid;
    padding: 18px;
  }

  .whatsapp {
    width: 100%;
  }

  .toolbar {
    display: grid;
  }

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

  .image-link {
    height: 104px;
  }

  .price {
    font-size: 21px;
  }

  .visit {
    grid-template-columns: 1fr;
  }

  .visit-card {
    min-height: auto;
  }

  .visit h2 {
    font-size: 23px;
  }

  .visit-button,
  .social-links a {
    width: 100%;
  }
}
