.product-card-button,
.all-products-button,
.product-page-contact-button,
.all-colors-products-button {
  box-sizing: border-box;
  width: 11.75rem;
  max-width: 100%;
  min-height: 3rem;
  font-size: .875rem;
  line-height: 1.2;
  text-align: center;
}

.product-card-button {
  display: grid;
  place-items: center;
  padding: .6rem 1rem;
}

.all-products-button,
.product-page-contact-button,
.all-colors-products-button {
  height: 3rem;
  padding-inline: .75rem;
}

.all-products-button-border,
.all-colors-button-border {
  width: 12rem;
  max-width: 100%;
  height: 3.25rem;
}

#all-products-button-border-hero {
  left: auto;
  margin-inline: auto;
}

#all-products-button-border-hero::before,
#all-products-button-border-hero .all-products-button::before {
  content: none;
}

#all-products-button-border-hero .all-products-button {
  border: 1px solid rgb(255 255 255 / 45%);
  background: rgb(12 11 10 / 50%);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color .25s ease;
}

#all-products-button-border-hero .all-products-button:hover,
#all-products-button-border-hero .all-products-button:focus-visible {
  opacity: 1;
  background: rgb(12 11 10 / 75%);
}

#all-products-button-border-hero .all-products-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.all-products-button .download-icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: .6rem;
  flex-shrink: 0;
}

.footer-contact-button {
  box-sizing: border-box;
  min-height: 3rem;
  padding: .6rem .95rem;
  gap: .65rem;
  font-size: .875rem;
}

.footer-contact-button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.bathroom-gallery__controls button {
  width: 2.875rem;
  height: 2.875rem;
}

.bathroom-gallery__controls svg {
  width: 1.1rem;
  height: 1.1rem;
}

.product-page-button-wrapper:has(.product-page-catalog-button) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.product-page-catalog-button {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  min-height: 3rem;
  max-width: 100%;
  padding: .6rem .9rem;
  color: inherit;
  font-size: .875rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.product-page-catalog-button:hover {
  text-decoration-thickness: 2px;
}

.product-page-catalog-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
