.product-card h3 {
  font-size: 17px;
  line-height: 1.55;
  min-height: 53px;
}

.product-card > img {
  padding: 18px;
  background: #fff;
  object-fit: contain;
}

.product-card h3 small {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.detail-button {
  width: 100%;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid var(--blue);
  background: white;
  color: var(--blue);
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.detail-button:hover {
  background: var(--blue);
  color: white;
}

.product-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: 86vh;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(4, 20, 53, 0.35);
}

.product-dialog::backdrop {
  background: rgba(5, 20, 48, 0.66);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  background: #eef3fa;
  color: #243550;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dialog-close svg {
  width: 20px;
}

.dialog-heading {
  padding: 38px 56px 26px;
  background: #f4f7fc;
  border-bottom: 1px solid var(--line);
}

.dialog-product {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 28px 40px 18px;
  background: #fff;
}

.dialog-product img {
  width: 100%;
  max-width: 420px;
  max-height: 300px;
  object-fit: contain;
}

.dialog-product span {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: #8a94a4;
  font-size: 11px;
}

.dialog-heading > span {
  display: inline-block;
  padding: 4px 9px;
  background: #e8f0ff;
  color: var(--blue);
  font-size: 11px;
}

.dialog-heading h2 {
  margin: 12px 45px 8px 0;
  font-size: 25px;
  line-height: 1.45;
}

.dialog-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.dialog-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.dialog-content section {
  padding: 25px 30px;
  background: white;
}

.dialog-content h3 {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 14px;
}

.dialog-content p {
  margin: 0;
  color: #586579;
  font-size: 13px;
  line-height: 1.85;
}

.medical-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 18px 30px;
  background: #fff8ed;
  color: #8a5a18;
  font-size: 12px;
  line-height: 1.7;
}

.medical-note svg {
  width: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 210px;
    height: auto;
  }

  .product-card h3 {
    min-height: auto;
  }

  .product-dialog {
    max-height: 90vh;
  }

  .dialog-heading {
    padding: 32px 24px 22px;
  }

  .dialog-product {
    min-height: 230px;
    padding: 22px 20px 18px;
  }

  .dialog-product img {
    max-height: 230px;
  }

  .dialog-heading h2 {
    font-size: 21px;
  }

  .dialog-content {
    grid-template-columns: 1fr;
  }

  .dialog-content section,
  .medical-note {
    padding: 20px 24px;
  }
}
.brand-logo {
  width: 270px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo {
  padding: 7px 10px;
  background: white;
}
