/* PZK e-shop theme: catalogue, service pages and contact. */

.pzk-page {
  padding-bottom: clamp(48px, 5vw, 96px);
}

/* A text page, not the product grid: the full shop width only stretches it. */
.pzk-page .pzk-wrap {
  width: min(1040px, 100% - 2 * var(--pzk-gutter));
}

.pzk-page h1 {
  margin: 8px 0 28px;
  font-size: clamp(26px, 1.75vw, 33px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pzk-page .pzk-crumbs + .pzk-info,
.pzk-page .pzk-crumbs + h1 {
  margin-top: 48px;
}

/* Catalogue */
#product-catalog.container {
  width: min(1688px, 100% - 2 * var(--pzk-gutter));
  max-width: none;
  padding: 0 0 clamp(48px, 5vw, 96px);
}

#product-catalog > .row {
  margin: 0;
}

#product-catalog > .row > #content {
  padding: 0;
}

#product-catalog h1 {
  margin: 8px 0 20px;
  font-size: clamp(26px, 1.75vw, 33px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#product-catalog .fg-catalog-categories {
  margin: 0 0 28px;
  padding: 0;
}

#product-catalog .fg-catalog-categories a {
  color: var(--pzk-navy);
  font-size: 17px;
  line-height: 1.6;
  text-decoration: none;
}

#product-catalog .fg-catalog-categories a:hover {
  color: var(--pzk-orange);
}

#product-catalog .fg-catalog-products {
  --bs-gutter-x: 32px;
  --bs-gutter-y: 40px;
}

#product-catalog .text-end,
#product-catalog .pagination {
  color: var(--pzk-navy);
  font-size: 14px;
}

/* Service pages: a menu of the sibling pages beside the text. */
.pzk-info {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.pzk-info-menu {
  position: sticky;
  top: 24px;
  padding: 8px 22px;
  border: 1px solid var(--pzk-navy);
}

.pzk-info-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pzk-info-menu li + li {
  border-top: 1px solid var(--pzk-grey);
}

.pzk-info-menu a {
  display: block;
  padding: 14px 0;
  color: var(--pzk-navy);
  font-size: 17px;
  line-height: 1.4;
  text-decoration: none;
}

.pzk-info-menu .is-active a {
  font-weight: 700;
}

.pzk-info-menu a:hover,
.pzk-info-menu a:focus-visible {
  color: var(--pzk-orange);
}

.pzk-info-text {
  font-size: 17px;
  line-height: 1.6;
}

.pzk-info-text h1 {
  margin-top: 0;
}

.pzk-info-text h2 {
  margin: 32px 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.pzk-info-text p {
  margin: 0 0 12px;
}

.pzk-info-text a {
  color: var(--pzk-navy);
}

.pzk-info-text a:hover {
  color: var(--pzk-orange);
}

/* Contact */
.pzk-contact {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.pzk-contact-places {
  padding: 22px 22px 8px;
  border: 1px solid var(--pzk-navy);
}

.pzk-contact-places h2 {
  margin: 0 0 10px;
  color: var(--pzk-orange);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.pzk-contact-places p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
}

.pzk-contact-reach {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.pzk-contact-reach a {
  color: var(--pzk-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.pzk-contact-reach a:hover {
  color: var(--pzk-orange);
}

.pzk-form h2 {
  margin: 0 0 28px;
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 400;
  line-height: 1.3;
}

.pzk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-bottom: 28px;
}

.pzk-field {
  position: relative;
}

.pzk-field.is-wide {
  grid-column: 1 / -1;
}

.pzk-field label {
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 0 8px;
  background: #fff;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 20px;
}

.pzk-field input,
.pzk-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  background: #fff;
  color: var(--pzk-navy);
  font-family: inherit;
  font-size: 15px;
}

.pzk-field textarea {
  min-height: 160px;
  resize: vertical;
}

.pzk-field input:focus,
.pzk-field textarea:focus {
  outline: 0;
  border-color: var(--pzk-navy);
}

.pzk-field .is-invalid {
  border-color: #c62828;
}

.pzk-field-error:not(:empty) {
  margin-top: 4px;
  color: #c62828;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .pzk-info,
  .pzk-contact,
  .pzk-form-grid {
    grid-template-columns: 1fr;
  }

  .pzk-info-menu {
    position: static;
  }
}
