/* PZK e-shop theme: product page. Linked on the product page only. */

.pzk-button.is-solid {
  border-color: var(--pzk-navy);
  background: var(--pzk-navy);
  color: #fff;
}

.pzk-button.is-solid:hover,
.pzk-button.is-solid:focus-visible {
  border-color: var(--pzk-orange);
  background: var(--pzk-orange);
  color: #fff;
}

.pzk-button.is-small {
  min-height: 41px;
  font-size: 14px;
}

/* Image and summary */
.pzk-product-top {
  display: grid;
  /* 870 + 95 + 725 of the 1690px content width. */
  grid-template-columns: 51.5% minmax(0, 725px);
  column-gap: 5.6%;
  align-items: start;
}

.pzk-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 870 / 510;
  padding: 24px;
  border: 1px solid var(--pzk-grey);
  background: #fff;
}

.pzk-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pzk-product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.pzk-product-thumbs a {
  width: 84px;
  height: 84px;
  padding: 6px;
  border: 1px solid var(--pzk-grey);
}

.pzk-product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pzk-product-category {
  display: block;
  margin-bottom: 12px;
  color: var(--pzk-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.pzk-product-summary h1 {
  margin: 0 0 20px;
  font-size: clamp(26px, 1.75vw, 33px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pzk-product-lead {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.pzk-product-lead p {
  margin: 0;
}

.pzk-product-label {
  margin: 40px 0 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.pzk-product-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  row-gap: 10px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.pzk-product-item dt {
  font-weight: 700;
}

.pzk-product-item dd {
  margin: 0;
}

.pzk-product-item .pzk-tag {
  margin-left: 10px;
}

.pzk-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 40px;
}

.pzk-product-actions .pzk-button {
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  font-weight: 700;
}

/* Table of items */
.pzk-items,
.pzk-tabs {
  margin-top: clamp(40px, 4.2vw, 81px);
}

.pzk-items {
  scroll-margin-top: 24px;
  padding: clamp(24px, 3.75vw, 72px) clamp(16px, 5vw, 96px);
  border: 1px solid var(--pzk-grey);
}

.pzk-items-title {
  display: inline-block;
  margin: 0 0 46px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--pzk-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.pzk-items-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 38px;
}

.pzk-items-filters select {
  appearance: none;
  height: 41px;
  padding: 0 36px 0 16px;
  border: 1px solid var(--pzk-navy);
  border-radius: 0;
  background: #fff url("../image/chevron-down.svg") no-repeat right 14px center;
  background-size: 10px 6px;
  color: var(--pzk-navy);
  font-size: 14px;
}

.pzk-items-scroll {
  overflow-x: auto;
}

.pzk-items-table {
  width: 100%;
  min-width: 760px;
  font-size: 14px;
  line-height: 1.6;
}

.pzk-items-table th {
  padding: 8px 12px;
  background: var(--pzk-grey);
  font-weight: 700;
  white-space: nowrap;
}

.pzk-items-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--pzk-grey);
  vertical-align: middle;
}

.pzk-items-table th:first-child,
.pzk-items-table td:first-child {
  padding-left: 30px;
}

.pzk-items-code a {
  color: var(--pzk-navy);
  font-weight: 700;
  text-decoration: none;
}

.pzk-items-table tr.is-current td {
  background: #f8f8fc;
}

.pzk-items-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pzk-quantity {
  display: grid;
  grid-template-columns: 42px 26px;
  grid-template-rows: 21px 20px;
}

.pzk-quantity input {
  grid-row: 1 / 3;
  width: 42px;
  border: 1px solid var(--pzk-navy);
  border-radius: 0;
  color: var(--pzk-navy);
  font-size: 14px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.pzk-quantity input::-webkit-outer-spin-button,
.pzk-quantity input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.pzk-quantity button {
  padding: 0;
  border: 1px solid var(--pzk-navy);
  border-left: 0;
  background: #fff;
  color: var(--pzk-navy);
  font-size: 14px;
  line-height: 1;
}

.pzk-quantity button + button {
  border-top: 0;
}

.pzk-quantity button:hover {
  background: var(--pzk-navy);
  color: #fff;
}

/* Tabs */
.pzk-tabs-nav {
  margin: 0 0 -1px clamp(0px, 4vw, 76px);
  padding: 0;
  list-style: none;
}

.pzk-tabs-nav a {
  display: block;
  min-width: 160px;
  padding: 7px 24px;
  border: 1px solid var(--pzk-grey);
  border-bottom-color: var(--pzk-navy);
  color: #b4b4b4;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}

.pzk-tabs-nav a.active {
  border-color: var(--pzk-navy);
  border-bottom-color: #fff;
  color: var(--pzk-navy);
  font-weight: 700;
}

.pzk-tabs-panes {
  padding: clamp(24px, 5vw, 96px);
  border: 1px solid var(--pzk-navy);
  font-size: 17px;
  line-height: 1.6;
}

.pzk-parameters th,
.pzk-parameters td {
  padding: 6px 32px 6px 0;
  border-bottom: 1px solid var(--pzk-grey);
  vertical-align: top;
}

@media (max-width: 991.98px) {
  .pzk-product-top {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .pzk-tabs-nav a {
    min-width: 0;
  }
}
