@import url("https://fonts.googleapis.com/css2?family=Pathway+Gothic+One&display=swap");

.product-block {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
}

.product-block:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.product-block h3,
.anchor_text {
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 26px;
  color: var(--orange);
  margin-bottom: 10px;
  font-weight: 400;
}

.intro_custom {
  font-size: 20px;
  color: #222;
}

.product-block p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.3;
}
.font_custom {
  font-family: var(--font-head);
  font-size: 40px;
  letter-spacing: 0.5px;
}
.product-block img {
  border: 3px solid #626262;
  width: 300px;
}

@media (max-width: 640px) {
  .product-block {
    grid-template-columns: 1fr;
  }
}

/* ─── Tablet Fix (biggest issue zone) ─── */
@media (max-width: 1024px) {
  .product-block {
    grid-template-columns: 1fr 220px; /* reduce image column */
    gap: 24px;
  }

  .product-block img {
    width: 100%;
    max-width: 220px;
  }

  .font_custom {
    font-size: 32px;
  }

  .product-block h3,
  .anchor_text {
    font-size: 22px;
  }

  .intro_custom {
    font-size: 18px;
  }
}

/* ─── Small Tablet / Large Mobile ─── */
@media (max-width: 768px) {
  .product-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .flex_wrap {
    flex-wrap: wrap;
  }
  .product-block img {
    margin: 0 auto;
    max-width: 260px;
  }

  .product-block p {
    line-height: 1.5;
  }

  .font_custom {
    font-size: 28px;
  }
}

/* ─── Mobile Polish ─── */
@media (max-width: 480px) {
  .product-block {
    padding: 24px 0;
  }

  .product-block h3,
  .anchor_text {
    font-size: 20px;
  }

  .intro_custom {
    font-size: 16px;
  }

  .product-block p {
    font-size: 14px;
  }

  .product-block img {
    max-width: 68%;
    border-width: 2px;
  }

  .font_custom {
    font-size: 24px;
  }
}
h5.modal-title {
  color: white;
  font-size: 17px;
}
.form-label {
  margin-bottom: 0;
  font-size: 13px;
}
.form-control {
  font-size: 13px;
}
.modal-header {
  padding: 9px 14px;
}
.demo-btn svg {
  width: 16px;
  height: 16px;
}
.btn-close-white {
  padding: 0 11px;
  font-size: 12px;
  opacity: inherit;
}
