/* Product page: gallery, specification and contact panel. */
.detail-page {
  padding-top: 25px;
}
.detail-page .category-breadcrumbs {
  margin-bottom: 30px;
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.detail-heading h1 {
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.17;
  font-weight: 550;
  letter-spacing: -0.04em;
  margin-top: 10px;
}
.detail-heading h1 span {
  display: block;
  font-size: 0.65em;
  color: #767c73;
  font-weight: 400;
  margin-top: 8px;
  letter-spacing: -0.025em;
}
.detail-compare {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  border: 1px solid #dedbd3;
  padding: 11px 16px;
  border-radius: 4px;
}
.detail-compare[aria-pressed="true"] {
  background: #851722;
  color: white;
  border-color: #851722;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 35px;
  align-items: start;
}
.detail-main {
  min-width: 0;
}
.gallery-stage {
  display: block;
  width: 100%;
  position: relative;
  background: #f8f7f4;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-stage img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: contain;
}
.gallery-expand {
  position: absolute;
  right: 16px;
  bottom: 15px;
  background: #ffffffdf;
  color: #5c635a;
  border: 1px solid #ece9e1;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 3px;
}
.gallery-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 0;
  font-size: 12px;
  color: #7e847b;
}
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-thumb {
  padding: 0;
  border: 1px solid #ece9e2;
  border-radius: 4px;
  overflow: hidden;
  background: #f8f7f4;
  opacity: 0.75;
}
.gallery-thumb.is-active {
  border: 2px solid #851722;
  opacity: 1;
}
.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: contain;
}
.gallery-note,
.specification-note {
  font-size: 12px;
  color: #8b9086;
  line-height: 1.65;
  margin-top: 14px;
}
.detail-nav {
  display: flex;
  gap: 27px;
  border-bottom: 1px solid #e5e2da;
  margin-top: 34px;
  padding: 0 0 14px;
  overflow-x: auto;
  font-size: 14px;
  white-space: nowrap;
}
.detail-nav a:hover {
  color: #851722;
}
.detail-section {
  padding-top: 36px;
  scroll-margin-top: 115px;
}
.detail-section h2 {
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 10px 0 18px;
}
.detail-intro {
  font-size: 16px;
  color: #737b70;
  line-height: 1.7;
  margin-bottom: 22px;
}
.specification-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid #e9e6df;
}
.specification-table > div:nth-child(odd) {
  background: #f7f6f2;
}
.specification-table dt {
  color: #7b8275;
}
.specification-table dd {
  font-weight: 500;
}
.configuration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.configuration-grid article {
  padding-top: 14px;
  border-top: 1px solid #d8d1c3;
}
.configuration-grid article > span {
  font-size: 12px;
  color: #b39468;
}
.configuration-grid h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin: 12px 0 10px;
}
.configuration-grid p {
  font-size: 14px;
  line-height: 1.65;
  color: #7d8278;
}
.document-list > div {
  display: flex;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #e7e4dc;
}
.document-list .icon {
  color: #9e8359;
  flex-shrink: 0;
  margin-top: 3px;
}
.document-list strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
}
.document-list span {
  display: block;
  font-size: 14px;
  color: #7d8278;
  line-height: 1.65;
}
#print-product {
  font-size: 14px;
  margin-top: 20px;
}
.product-faq {
  border-bottom: 1px solid #e5e1d8;
  padding: 17px 0;
}
.product-faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 450;
}
.product-faq p {
  padding-top: 13px;
  color: #7d8278;
  font-size: 14px;
  line-height: 1.7;
}
.purchase-panel {
  position: sticky;
  top: 106px;
  border: 1px solid #e5e1d8;
  border-radius: 6px;
  padding: 26px;
  background: #fff;
}
.purchase-label {
  font-size: 12px;
  color: #8b8d83;
  margin: 25px 0 8px;
}
.purchase-price {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.purchase-description {
  font-size: 14px;
  line-height: 1.65;
  color: #85897e;
  margin-top: 12px;
}
.purchase-specs {
  padding: 20px 0;
  border-bottom: 1px solid #e6e2da;
}
.purchase-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.purchase-specs dt {
  color: #8a8f82;
}
.purchase-specs dd {
  text-align: right;
}
.product-contact {
  margin: 25px 0;
}
.product-contact .eyebrow {
  font-size: 10px;
}
.product-phone {
  display: block;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.025em;
  white-space: nowrap;
  margin: 12px 0 8px;
}
.product-email {
  display: block;
  font-size: 15px;
  color: #851722;
  overflow-wrap: anywhere;
}
.product-hours {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #92968a;
  font-size: 12px;
  margin-top: 15px;
}
.product-hours .icon {
  width: 15px;
  height: 15px;
}
.copy-configuration {
  width: 100%;
  padding: 13px 12px;
  gap: 12px;
  font-size: 13px;
  justify-content: space-between;
}
.copy-hint {
  font-size: 12px;
  line-height: 1.6;
  color: #888e80;
  margin-top: 10px;
}
.product-demo {
  font-size: 11px;
  line-height: 1.5;
  color: #a0a497;
  border-top: 1px solid #edeae3;
  padding-top: 14px;
  margin-top: 19px;
}
.related-products {
  margin: 65px 0;
}
.related-products .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.related-products h2 {
  font-size: 28px;
}
.gallery-dialog {
  border: 0;
  padding: 16px;
  background: #f8f7f4;
  border-radius: 5px;
  max-width: min(1100px, 94vw);
  max-height: 94vh;
  margin: auto;
}
.gallery-dialog::backdrop {
  background: #172017df;
}
.gallery-dialog > img {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}
.gallery-dialog__close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 26px;
}
.gallery-dialog > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
}
.gallery-dialog > div button {
  background: white;
  padding: 8px 18px;
  border: 1px solid #dedbd2;
  border-radius: 3px;
}
.product h3 a {
  display: block;
  text-align: left;
  min-height: 38px;
}
.product__image:focus-visible,
.brand-tile:focus-visible,
.gallery-thumb:focus-visible {
  outline: 2px solid #851722;
  outline-offset: 3px;
}
@media (max-width: 1050px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
  }
  .purchase-panel {
    padding: 20px;
  }
  .product-phone {
    font-size: 21px;
  }
  .configuration-grid {
    gap: 14px;
  }
  .detail-nav {
    gap: 18px;
    font-size: 13px;
  }
  .configuration-grid h3 {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .detail-layout {
    display: flex;
    flex-direction: column;
  }
  .detail-main {
    display: contents;
  }
  .product-gallery {
    order: 0;
    width: 100%;
  }
  .purchase-panel {
    order: 1;
    position: static;
    width: 100%;
    margin-top: 2px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .purchase-panel > .stock-label {
    justify-self: start;
    grid-column: 1/-1;
  }
  .purchase-label,
  .purchase-price,
  .purchase-description,
  .purchase-specs {
    grid-column: 1;
  }
  .product-contact {
    grid-column: 2;
    grid-row: 2 / span 4;
    margin: 25px 0 15px;
  }
  .copy-configuration,
  .copy-hint,
  .product-demo {
    grid-column: 1/-1;
  }
  .purchase-specs {
    border: 0;
  }
  .detail-nav {
    order: 2;
    width: 100%;
    margin-top: 14px;
  }
  .detail-section {
    order: 3;
    width: 100%;
    padding-top: 20px;
  }
  .detail-heading {
    align-items: start;
  }
  .detail-compare {
    font-size: 12px;
    padding: 9px;
  }
  .detail-heading .eyebrow {
    font-size: 10px;
  }
  .detail-heading h1 {
    font-size: 30px;
  }
  .related-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related-products .product:last-child {
    display: none;
  }
}
@media (max-width: 480px) {
  .purchase-panel {
    display: block;
  }
  .purchase-price {
    font-size: 26px;
  }
  .product-contact {
    padding-top: 22px;
    border-top: 1px solid #e6e2da;
  }
  .purchase-specs {
    padding-bottom: 0;
  }
  .configuration-grid {
    grid-template-columns: 1fr;
  }
  .configuration-grid article {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0 10px;
  }
  .configuration-grid h3 {
    margin-top: 0;
    font-size: 16px;
  }
  .configuration-grid p {
    grid-column: 2;
  }
  .configuration-grid article > span {
    margin-top: 3px;
  }
  .specification-table > div {
    padding: 12px 10px;
    gap: 12px;
    font-size: 13px;
  }
  .detail-compare {
    font-size: 0;
    gap: 0;
  }
  .detail-compare .icon {
    width: 20px;
    height: 20px;
  }
  .gallery-expand {
    font-size: 11px;
    padding: 6px;
    bottom: 10px;
    right: 10px;
  }
  .detail-nav {
    font-size: 12px;
    gap: 18px;
  }
  .detail-section h2 {
    font-size: 23px;
  }
  .related-products h2 {
    font-size: 23px;
  }
  .related-products .text-link {
    font-size: 13px;
  }
  .gallery-thumbnails {
    gap: 7px;
  }
}
@media print {
  .utility,
  .header,
  .footer,
  .compare-bar,
  .toast,
  .detail-compare,
  .detail-nav,
  .gallery-thumbnails,
  .gallery-expand,
  .copy-configuration,
  .copy-hint,
  .related-products,
  #print-product,
  dialog {
    display: none !important;
  }
  .container {
    width: 100%;
    max-width: none;
  }
  .detail-layout {
    display: block;
  }
  .purchase-panel {
    position: static;
    break-inside: avoid;
    margin: 25px 0;
  }
  .gallery-stage img {
    max-height: 240px;
  }
  .detail-section {
    break-inside: avoid;
  }
  .product-faq:not([open]) > p {
    display: block;
  }
  .detail-page {
    padding: 0;
  }
  .product-page {
    font-size: 11pt;
    background: white;
  }
}

.detail-variant {
  color: var(--muted);
  margin-top: 12px;
}
.detail-description {
  line-height: 1.75;
  margin: 0 0 18px;
}
.spec-table-wrap {
  overflow-x: auto;
}
.technical-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.technical-table caption {
  text-align: left;
  margin: 0 0 16px;
  color: #851722;
  font-weight: 600;
}
.technical-table th,
.technical-table td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid #dfdedb;
  vertical-align: top;
}
.technical-table thead {
  background: #eeede9;
}
.technical-table tbody th {
  width: 46%;
  font-weight: 500;
  color: #666;
}
.technical-table tbody tr:nth-child(even) {
  background: #f7f6f3;
}
@media (max-width: 600px) {
  .technical-table th,
  .technical-table td {
    padding: 12px 8px;
    font-size: 13px;
  }
}
