/* WordPress and WooCommerce integration layer. */

body.admin-bar .site-header {
  top: 32px;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.inquiry-form.is-sending {
  opacity: .74;
  pointer-events: none;
}

.inquiry-form .form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--steel);
  font-size: 13px;
}

.inquiry-form .form-status.is-success {
  color: #166534;
}

.inquiry-form .form-status.is-error {
  color: #a52323;
}

.product-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.product-card-copy {
  display: flex;
  min-height: 178px;
  flex: 1;
  flex-direction: column;
}

.product-card-copy > b,
.product-card-price {
  margin: auto 20px 0;
  padding-top: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.library-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.library-card:hover {
  border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 24px 42px rgba(0, 0, 0, .22);
  transform: translateY(-5px);
}

.library-card img {
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.library-card:hover img {
  transform: scale(1.018);
}

.category-library {
  min-height: 620px;
}

.catalog-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 36px !important;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
}

.catalog-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.catalog-empty {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: clamp(44px, 7vw, 86px);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
}

.catalog-empty h2 {
  max-width: 760px;
  margin: 12px 0 22px;
}

.catalog-empty > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, .66);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
  padding: calc(var(--header-height) + 72px) var(--page-pad) clamp(90px, 10vw, 150px);
  background: var(--paper);
}

.product-detail-gallery {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.product-detail-main {
  overflow: hidden;
  background: var(--mist);
}

.product-detail-main img,
.product-detail-main .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / .9;
  object-fit: cover;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-detail-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--mist);
}

.product-detail-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  padding-top: 18px;
}

.admin-bar .product-detail-copy {
  top: calc(var(--header-height) + 64px);
}

.product-detail-copy h1 {
  margin: 12px 0 25px;
  font-size: clamp(54px, 6vw, 94px);
  line-height: .92;
}

.product-lead,
.product-detail-note,
.product-description-body {
  color: var(--steel);
}

.product-detail-price {
  margin: 30px 0;
  color: var(--red);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 38px;
  font-weight: 600;
}

.product-specification {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.product-specification h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.product-specification table {
  width: 100%;
  border-collapse: collapse;
  color: var(--steel);
  font-size: 13px;
}

.product-specification th,
.product-specification td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.product-specification th {
  width: 38%;
  color: var(--ink);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.product-detail-actions form.cart {
  display: flex;
  gap: 10px;
  width: 100%;
}

.product-detail-actions .quantity input {
  width: 86px;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: #fff;
}

.product-detail-actions .single_add_to_cart_button {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  color: #fff;
  background: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.product-detail-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.product-description {
  max-width: 1120px;
}

.product-description-body {
  max-width: 850px;
  font-size: 17px;
}

.product-inquiry {
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.article-content {
  max-width: 980px;
}

.article-hero-image {
  aspect-ratio: 16 / 10;
  margin-bottom: clamp(40px, 7vw, 80px);
  overflow: hidden;
  background: var(--mist);
}

.article-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-image-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 clamp(40px, 7vw, 72px);
}

.article-image-gallery-single {
  grid-template-columns: 1fr;
}

.article-image-gallery figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--mist);
}

.article-image-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-content h2,
.wp-block-heading {
  margin: 56px 0 16px;
}

.article-content p,
.article-content li {
  color: var(--steel);
}

@media (max-width: 700px) {
  .article-image-gallery {
    grid-template-columns: 1fr;
  }
}

.woocommerce-notices-wrapper {
  padding: calc(var(--header-height) + 20px) var(--page-pad) 0;
  background: var(--paper);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
  list-style: none;
  background: var(--mist);
}

.woocommerce-message {
  border-color: #237a49;
}

.woocommerce-info {
  border-color: var(--navy);
}

.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
  padding: calc(var(--header-height) + 70px) var(--page-pad) 90px;
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.woocommerce a {
  color: inherit;
}

@media (max-width: 1050px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-copy {
    position: static;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 700px) {
  .product-card-copy {
    min-height: 155px;
  }

  .library-card span {
    padding: 16px 15px 0;
  }

  .library-card h3 {
    margin-right: 15px;
    margin-left: 15px;
    font-size: 18px;
  }

  .product-card-copy > b,
  .product-card-price {
    margin-right: 15px;
    margin-left: 15px;
  }

  .product-detail {
    padding-top: calc(var(--header-height) + 44px);
  }

  .product-detail-copy h1 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .product-detail-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-empty {
    padding: 35px 24px;
  }
}
