html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

* {
  min-width: 0;
}

img,
svg,
video {
  max-width: 100%;
}

.field {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgb(226 232 240);
  background: white;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: rgb(15 23 42);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field:focus {
  border-color: rgb(36 127 240);
  box-shadow: 0 0 0 4px rgb(217 235 255);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.25rem;
  border-top: 1px solid rgb(226 232 240);
  padding-top: 1rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgb(51 65 85);
}

.trust-pill i {
  font-size: 1.05rem;
  color: rgb(21 95 209);
}

.trust-pill span {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.15rem;
}

.product-card {
  width: min(100%, 21.5rem);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgb(203 213 225);
  background: white;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgb(148 163 184);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  transform: translateY(-0.25rem);
}

.product-media {
  position: relative;
  display: flex;
  height: 11.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgb(226 232 240);
  background: linear-gradient(180deg, rgb(248 250 252), rgb(241 245 249));
  padding: 1rem;
}

.product-desc {
  display: -webkit-box;
  min-height: 2.5rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-filter {
  border-color: rgb(226 232 240);
  background: rgb(248 250 252);
  color: rgb(71 85 105);
}

.category-filter.is-active,
.category-filter:hover {
  border-color: rgb(21 95 209);
  background: rgb(238 246 255);
  color: rgb(20 76 168);
}

#categoryFilters {
  scrollbar-width: none;
}

#categoryFilters::-webkit-scrollbar {
  display: none;
}

.payment-option,
.mode-option {
  display: flex;
  min-height: 5.75rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  padding: 1rem;
  text-align: left;
  color: rgb(51 65 85);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.mode-option {
  min-height: 4.25rem;
  flex-direction: row;
  align-items: center;
}

.payment-option span,
.mode-option span {
  font-weight: 800;
  color: rgb(15 23 42);
}

.payment-option small {
  color: rgb(100 116 139);
  font-size: 0.75rem;
  line-height: 1.2rem;
}

.payment-option.is-active,
.mode-option.is-active,
.payment-option:hover,
.mode-option:hover {
  border-color: rgb(21 95 209);
  background: rgb(238 246 255);
  color: rgb(20 76 168);
}

.payment-option.is-active span,
.mode-option.is-active span {
  color: rgb(20 76 168);
}

.payment-option:focus-visible,
.mode-option:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(185 220 255);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .product-card {
    width: auto;
  }

  .product-media {
    height: 12.75rem;
    padding: 1.125rem;
  }

  .product-desc {
    min-height: 2.5rem;
    -webkit-line-clamp: 2;
  }
}
