[hidden] {
  display: none !important;
}

.brand__logo {
  height: 34px;
}

.footer__logo {
  height: 40px;
}

.pagehead {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 68px);
  background: var(--black);
  color: #FFFFFF;
}
.pagehead h1 {
  max-width: 18ch;
  color: #FFFFFF;
}
.pagehead h1 .accent {
  color: var(--red);
}
.pagehead .lead {
  max-width: 72ch;
  margin-bottom: 26px;
  color: #9AA7B4;
}
.pagehead .wrap {
  position: relative;
}

.crumbs {
  margin-bottom: 22px;
  font-size: 14px;
  color: #7D8B98;
}
.crumbs a {
  color: #C3CDD7;
}
.crumbs a:hover {
  color: var(--red);
}
.crumbs span {
  margin: 0 8px;
}

.crumbs--light {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
}
.crumbs--light a {
  color: var(--ink);
  font-weight: 600;
}

.pdp .tag {
  display: inline-block;
  margin-bottom: 18px;
}

.section--pdp {
  padding-top: clamp(28px, 4vw, 44px);
}

.hero__photo {
  position: relative;
}
.hero__photo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}

.tcard--photo {
  color: inherit;
}
.tcard--photo:hover h3 {
  color: var(--red);
}

.tcard__img {
  height: 168px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}
.tcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcard__more {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--red);
  font-size: 14.5px;
  font-weight: 700;
}

.subh {
  margin: clamp(36px, 5vw, 56px) 0 16px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pills a,
.pills button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.pills a:hover,
.pills button:hover {
  border-color: var(--red);
  color: var(--red);
}
.pills small {
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 700;
}
.pills .active {
  border-color: var(--red);
  background: var(--red);
  color: #FFFFFF;
}
.pills .active:hover {
  color: #FFFFFF;
}
.pills .active small {
  color: rgba(255, 255, 255, 0.75);
}

.pills--sub {
  align-items: center;
  margin-top: 12px;
}
.pills--sub button {
  padding: 7px 14px;
  font-size: 13.5px;
}

.pills__label {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split__img {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #FFFFFF;
}
.split__img img {
  width: 100%;
  height: auto;
}

.checks {
  display: grid;
  gap: 22px;
}
.checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.checks svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
}
.checks b {
  display: block;
  margin-bottom: 2px;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.checks span {
  display: block;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.tbl--text td {
  min-width: 180px;
  white-space: normal;
}

.tbl--text tbody th {
  color: var(--red);
}

.field select {
  width: 100%;
  padding: 14px 15px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.field select:focus {
  outline: none;
  border-color: var(--ink);
  background: #FFFFFF;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #FFFFFF;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.product:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product h4 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.product h4 a:hover {
  color: var(--red);
}
.product p {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product__img {
  display: block;
  height: 200px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}
.product__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.product__cat {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product__specs {
  display: grid;
  flex: 1;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 6px 14px;
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.product__specs dt {
  color: var(--muted);
}
.product__specs dd {
  margin: 0;
  font-weight: 600;
}

.product__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.product__tags span {
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--red-tint);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product__actions .btn {
  padding-left: 8px;
  padding-right: 8px;
}

.empty-result {
  display: none;
  padding: 40px;
  color: var(--muted);
  text-align: center;
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.pdp__photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #FFFFFF;
}
.pdp__photo img {
  width: 100%;
  height: auto;
}

.pdp__title {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 36px);
}

.pdp__lead {
  color: var(--muted);
}

.pdp__subtitle {
  margin: 28px 0 10px;
  font-size: 19px;
}

.pdp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pdp__desc {
  max-width: 900px;
}

.pdp__norms {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--red-tint);
}
.pdp__norms h3 {
  margin-bottom: 6px;
  font-size: 17px;
}
.pdp__norms p {
  margin: 0;
  font-size: 15.5px;
}

.attr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.attr-table th,
.attr-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.attr-table th {
  width: 46%;
  padding-right: 16px;
  color: var(--muted);
  font-weight: 500;
}
.attr-table td {
  font-weight: 600;
}

.variants td {
  vertical-align: middle;
}

.variants__pdf {
  color: var(--red);
  font-weight: 700;
}

.variants .btn {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 14px;
}

.help-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  background: var(--black);
  color: #FFFFFF;
}
.help-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.help-banner > a:not(.btn) {
  font-size: 20px;
  font-weight: 800;
}
.help-banner > a:not(.btn):hover {
  color: var(--red);
}

.pdp-missing {
  text-align: center;
}

@media (max-width: 980px) {
  .split,
  .pdp {
    grid-template-columns: 1fr;
  }
  .split__img {
    max-width: 480px;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .products {
    grid-template-columns: 1fr;
  }
  .product__actions {
    grid-template-columns: 1fr;
  }
  .help-banner {
    padding: 24px 20px;
  }
  .variants table {
    min-width: 0;
  }
  .variants thead {
    display: none;
  }
  .variants tr {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .variants td {
    display: block;
    padding: 2px 0;
    border: 0;
    white-space: normal;
  }
  .variants td::before {
    content: attr(data-label) ": ";
    color: var(--muted);
  }
  .variants td:last-child {
    margin-top: 8px;
  }
  .variants td:last-child::before {
    content: none;
  }
}
