/* Preserve WooCommerce templates, scripts, validation, notices and checkout. */
.wr-commerce {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 30px;
  background: #ddd;
  color: #333;
  font-family: var(--wr-sans);
  font-weight: 400;
  padding: 0.65em 1.2em;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: #ddd;
  color: #222;
}
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled {
  background: #ddd;
  color: #555;
  opacity: 0.5;
}
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
  max-width: 100%;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 3px;
  background: #fff;
  color: #111;
}
.woocommerce div.product .product_title {
  font: 400 34px/1.2 var(--wr-gothic);
  text-align: center;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #000;
  font: 400 26px/1.2 var(--wr-gothic);
  text-align: center;
}
.woocommerce div.product .summary {
  text-align: center;
}
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  text-align: center;
  padding: 0;
}
.woocommerce div.product form.cart .variations select {
  border-radius: 30px;
  min-width: 210px;
  width: auto;
  margin: 6px auto;
}
.woocommerce div.product form.cart .button {
  float: none;
}
.woocommerce div.product form.cart div.quantity {
  float: none;
  display: inline-block;
  margin: 0 10px 12px 0;
}
.woocommerce div.product div.images img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.single-product {
  background: linear-gradient(to right, #000 0 50%, #fff 50%);
}
.single-product .wr-header-inner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 30;
  min-height: 0;
}
.single-product .wr-commerce {
  max-width: none;
  padding: 16px 18px 50px 52%;
  min-height: 100vh;
}
.single-product .woocommerce-breadcrumb {
  display: none;
}
.single-product .woocommerce div.product div.images,
.single-product .woocommerce div.product div.summary,
.single-product div.product div.images,
.single-product div.product div.summary {
  width: 100%;
  float: none;
}
.single-product div.product div.summary {
  margin: 18px auto 40px;
}
.single-product .woocommerce-tabs,
.single-product .related {
  clear: both;
}
.single-product .woocommerce-notices-wrapper {
  position: relative;
  z-index: 35;
}
.woocommerce ul.products li.product a img {
  height: auto;
  object-fit: contain;
}
.woocommerce-cart .wr-page,
.woocommerce-checkout .wr-page {
  max-width: 1200px;
}
.woocommerce-cart .wr-page h1,
.woocommerce-checkout .wr-page h1 {
  font-family: var(--wr-sans);
  font-size: 30px;
}
.woocommerce table.shop_table {
  border-collapse: collapse;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 12px;
}
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  color: #222;
  background: #f4f4f4;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .single-product {
    background: #fff;
  }
  .single-product .wr-header-inner {
    position: relative;
    min-height: 115px;
  }
  .single-product .wr-commerce {
    padding: 0 12px 40px;
    min-height: auto;
  }
  .wr-commerce {
    padding: 12px;
  }
  .woocommerce div.product .product_title {
    font-size: 28px;
  }
  .woocommerce form .form-row {
    width: 100%;
    float: none;
  }
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 8px;
  }
  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2 {
    float: none;
    width: 100%;
  }
}

/* Shared product layout: fixed left performance video, scrolling right product. */
.single-product .wr-commerce {
  padding: 0 0 48px 50%;
}
.single-product div.product div.images {
  margin: 0;
  padding: 12px 16px 0;
}
.single-product div.product div.summary {
  padding: 18px 24px 32px;
  margin: 0;
}
.single-product .wr-header-inner .wr-nav {
  top: 32px;
  right: 32px;
}
.single-product.admin-bar .wr-header-inner .wr-nav {
  top: 64px;
}
.wr-product-video {
  position: fixed;
  left: 0;
  top: 0;
  width: 50vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
  z-index: 0;
}
.wr-product-video iframe {
  position: absolute;
  border: 0;
  width: max(50vw, 177.78vh);
  height: max(100vh, 28.125vw);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.wr-product-video-toggle {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  border: 1px solid #aaa;
  border-radius: 24px;
  padding: 6px 12px;
  background: #000b;
  color: #fff;
  font-size: 12px;
}
.wr-product-video-toggle[hidden] {
  display: none;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: none;
}
.single-product .woocommerce-product-gallery .flex-direction-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.single-product .flex-direction-nav a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #8888;
  color: white;
  text-decoration: none;
  overflow: hidden;
  font-size: 0;
  z-index: 5;
}
.single-product .flex-direction-nav a::after {
  font:
    28px/30px Arial,
    sans-serif;
  display: block;
  text-align: center;
}
.single-product .flex-nav-prev a {
  left: 18px;
}
.single-product .flex-nav-next a {
  right: 18px;
}
.single-product .flex-nav-prev a::after {
  content: "‹";
}
.single-product .flex-nav-next a::after {
  content: "›";
}
.single-product .flex-direction-nav .flex-disabled {
  visibility: hidden;
}
.single-product .summary form.cart {
  margin: 8px auto 0;
}
.single-product .summary .variations {
  margin: 0 auto;
  max-width: 330px;
}
.single-product .summary .variations select {
  width: 100%;
  margin: 0;
  padding: 8px 40px;
  text-align: center;
  text-align-last: center;
}
.single-product .summary .variations .label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.single-product .summary .reset_variations {
  display: none !important;
}
.single-product .summary .quantity {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.single-product .summary .product_title {
  margin: 14px 0 40px;
}
.single-product .summary .price {
  margin: 0;
}
.single-product .summary .wr-purchase-price,
.single-product .summary .woocommerce-variation-price {
  width: 100%;
  clear: both;
  margin: 12px auto;
  text-align: center;
}
.single-product .summary .woocommerce-variation-price:empty,
.single-product .summary .wr-purchase-price[hidden] {
  display: none;
}
.single-product .summary .price .woocommerce-Price-amount,
.single-product .summary .price bdi {
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}
.single-product .summary form.cart .single_add_to_cart_button {
  display: block;
  float: none;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .single-product .wr-commerce {
    padding: 0 0 32px;
  }
  .single-product .wr-header-inner {
    min-height: 80px;
  }
  .single-product .wr-header-inner .wr-nav {
    top: 24px;
    right: 18px;
    font-size: 30px;
  }
  .single-product.admin-bar .wr-header-inner .wr-nav {
    top: 70px;
  }
  .wr-product-video {
    position: relative;
    width: 100%;
    height: 56.25vw;
    margin-bottom: 12px;
  }
  .wr-product-video iframe {
    width: 100%;
    height: 100%;
  }
  .single-product div.product div.summary {
    padding: 16px 18px 30px;
  }
  .single-product .summary .product_title {
    margin-bottom: 24px;
  }
}
