/* Presentation is confined to the selected WooCommerce/Flatsome providers. */
body.htw-running-commerce.single-product .sf-pdp {
  --htw-commerce-ink: #0e131f;
  --htw-commerce-muted: #707070;
  --htw-commerce-blue: #003789;
  --htw-commerce-line: #cdcdcd;
  color: var(--htw-commerce-ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
body.htw-running-commerce.single-product .sf-pdp__notices {
  width: calc(100% - 120px);
  max-width: 1320px;
  padding: 28px 0 24px;
  margin: 0 auto;
}
body.htw-running-commerce.single-product .htw-running-commerce__breadcrumb .woocommerce-breadcrumb {
  margin: 0;
  color: var(--htw-commerce-ink);
  font: 400 16px/24px "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
body.htw-running-commerce.single-product .htw-running-commerce__breadcrumb a { color: inherit; }
body.htw-running-commerce.single-product .sf-pdp__main {
  display: grid;
  grid-template-columns: minmax(0, 870fr) minmax(0, 420fr);
  align-items: start;
  gap: 30px;
  width: calc(100% - 120px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}
body.htw-running-commerce.single-product .sf-pdp__topline { display: none; }
body.htw-running-commerce.single-product .sf-pdp__gallery,
body.htw-running-commerce.single-product .sf-pdp__details {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}
body.htw-running-commerce.single-product .sf-pdp__gallery-sticky { position: static; }
body.htw-running-commerce.single-product .sf-pdp__gallery .woocommerce-product-gallery { background: #f8f8f8; }
body.htw-running-commerce.single-product .sf-pdp__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 16px;
  align-items: start;
  width: 100%;
  padding: 0;
}
body.htw-running-commerce.single-product .sf-pdp__summary > * { grid-column: 1 / -1; min-width: 0; }
body.htw-running-commerce.single-product .sf-pdp__summary::before { content: ""; grid-column: 1 / -1; grid-row: 1; height: 0; }
body.htw-running-commerce.single-product .sf-pdp__summary > .woocommerce-product-rating { grid-column: 1 / -1; grid-row: 1; margin: 0 0 12px; }
body.htw-running-commerce.single-product .sf-pdp__summary > .product_title {
  grid-column: 1; grid-row: 2; margin: 0 0 12px;
  color: var(--htw-commerce-ink);
  font: 700 38px/38px "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -1.14px;
}
body.htw-running-commerce.single-product .sf-pdp__summary > .price-wrapper { grid-column: 2; grid-row: 2; padding: 3px 0 0; text-align: right; }
body.htw-running-commerce.single-product .sf-pdp__summary > .price-wrapper .price {
  color: var(--htw-commerce-ink);
  font: 700 20px/1.2 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
body.htw-running-commerce.single-product .sf-pdp__summary > form.cart { grid-row: 3; margin: 20px 0 24px; }
body.htw-running-commerce.single-product .sf-pdp__summary form.variations_form .variations { margin: 0 0 24px; }
body.htw-running-commerce.single-product .sf-pdp__summary form.variations_form .variations tr { margin: 0 0 20px; }
body.htw-running-commerce.single-product .sf-pdp__summary form.variations_form .variations label {
  margin: 0 0 12px;
  color: var(--htw-commerce-muted);
  font: 500 16px/20px "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
}
body.htw-running-commerce.single-product .sf-pdp__summary .sf-pdp__variant-options,
body.htw-running-commerce .product-quick-view-container .sf-quick-variants {
  display: flex; flex-wrap: wrap; gap: 4px;
}
body.htw-running-commerce.single-product .sf-pdp__summary .sf-pdp__variant-option,
body.htw-running-commerce .product-quick-view-container .sf-quick-variant,
body.htw-running-commerce .htw-running-tiles__option {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 66px; min-height: 52px; margin: 0; padding: 8px;
  border: 1px solid #cdcdcd; border-radius: 0;
  background: #fff !important; color: #0e131f !important;
  font: 400 14px/18px "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0; text-align: center; text-transform: none; box-shadow: none;
}
body.htw-running-commerce .htw-running-tiles__option[aria-pressed="true"],
body.htw-running-commerce.single-product .sf-pdp__variant-option[aria-pressed="true"],
body.htw-running-commerce .product-quick-view-container .sf-quick-variant[aria-pressed="true"] {
  border: 2px solid #0e131f; background: #fff !important; color: #0e131f !important;
}
body.htw-running-commerce .htw-running-tiles__option:disabled,
body.htw-running-commerce.single-product .sf-pdp__variant-option:disabled,
body.htw-running-commerce .product-quick-view-container .sf-quick-variant:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
body.htw-running-commerce .htw-running-tiles__option:focus-visible,
body.htw-running-commerce.single-product .sf-pdp__variant-option:focus-visible,
body.htw-running-commerce .product-quick-view-container .sf-quick-variant:focus-visible { outline: 2px solid #003789; outline-offset: 2px; }
body.htw-running-commerce .htw-running-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; width: 100%; }
body.htw-running-commerce .htw-running-tiles__option { min-width: 0; width: 100%; overflow-wrap: anywhere; }
body.htw-running-commerce .htw-running-tiles--color { display: flex; flex-wrap: wrap; }
body.htw-running-commerce .htw-running-tiles--color .htw-running-tiles__option { width: auto; max-width: 100%; }
body.htw-running-commerce .htw-running-tiles--color.has-images .htw-running-tiles__option { width: 80px; height: 52px; padding: 2px; background: #f8f8f8 !important; }
body.htw-running-commerce .htw-running-tiles__option img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
body.htw-running-commerce .htw-running-cell--tiles .sf-pdp__dropdown { display: none !important; }
body.htw-running-commerce .htw-running-native-select {
  position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important;
  margin: -1px !important; padding: 0 !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
body.htw-running-commerce.single-product .sf-pdp__summary form.cart .single_add_to_cart_button,
body.htw-running-commerce .product-quick-view-container form.cart .single_add_to_cart_button {
  min-height: 50px; border: 1px solid #003789 !important; border-radius: 0 !important;
  background: #003789 !important; color: #fff !important;
  font: 700 16px/20px "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .64px; text-transform: uppercase; box-shadow: none;
}
body.htw-running-commerce.single-product .sf-pdp__summary form.cart .single_add_to_cart_button.disabled,
body.htw-running-commerce.single-product .sf-pdp__summary form.cart .single_add_to_cart_button:disabled,
body.htw-running-commerce .product-quick-view-container form.cart .single_add_to_cart_button.disabled,
body.htw-running-commerce .product-quick-view-container form.cart .single_add_to_cart_button:disabled { border-color: #707070 !important; background: #707070 !important; }
body.htw-running-commerce.single-product .sf-pdp__accordions { margin-top: 28px; border-top: 1px solid #cdcdcd; }
body.htw-running-commerce.single-product .sf-pdp__accordion { border-bottom: 1px solid #cdcdcd; }
body.htw-running-commerce.single-product .sf-pdp__accordion summary {
  min-height: 61px; padding: 20px 0; color: #0e131f;
  font: 500 16px/20px "Segoe UI", "Helvetica Neue", Arial, sans-serif; text-transform: uppercase;
}
body.htw-running-commerce.single-product .sf-pdp__accordion-content { color: #0e131f; font: 400 16px/24px "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
/* Defensive fallback if a legacy callback is changed upstream. */
body.htw-running-commerce.single-product .sf-pdp__demo-views,
body.htw-running-commerce.single-product .sf-pdp__summary > .htw-assurances { display: none !important; }

/* Quick view keeps the existing Flatsome dialog and native WooCommerce form. */
body.htw-running-commerce .product-quick-view-container { color: #0e131f; background: #fff; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
body.htw-running-commerce .product-quick-view-container h1 { color: #0e131f; font: 700 30px/1.05 "Segoe UI", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.03em; }
body.htw-running-commerce .product-quick-view-container .price { color: #0e131f; font-size: 20px; line-height: 1.2; }
body.htw-running-commerce .product-quick-view-container .product-gallery { background: #f8f8f8; }
body.htw-running-commerce .product-quick-view-container form.variations_form .variations,
body.htw-running-commerce .product-quick-view-container form.variations_form .variations tbody,
body.htw-running-commerce .product-quick-view-container form.variations_form .variations tr,
body.htw-running-commerce .product-quick-view-container form.variations_form .variations th,
body.htw-running-commerce .product-quick-view-container form.variations_form .variations td {
  display: block; width: 100%; padding: 0; border: 0; text-align: left;
}
body.htw-running-commerce .product-quick-view-container form.variations_form .variations tr { margin: 0 0 20px; }
body.htw-running-commerce .product-quick-view-container .variations label { color: #707070; font: 500 16px/20px "Segoe UI", "Helvetica Neue", Arial, sans-serif; text-transform: uppercase; }
body.htw-running-commerce .product-quick-view-container form.cart select:not(.htw-running-native-select):not(.sf-quick-native-select) { border: 1px solid #cdcdcd; border-radius: 0; font: 400 14px/20px "Segoe UI", "Helvetica Neue", Arial, sans-serif; }

@media (min-width: 975px) {
  body.htw-running-commerce.single-product .sf-pdp__gallery .woocommerce-product-gallery__wrapper > .flickity-viewport { height: auto !important; overflow: visible; }
  body.htw-running-commerce.single-product .sf-pdp__gallery .flickity-slider {
    display: grid !important; position: static !important; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; width: 100% !important; height: auto !important; transform: none !important;
  }
  body.htw-running-commerce.single-product .sf-pdp__gallery .flickity-slider > .woocommerce-product-gallery__image {
    display: block; position: relative !important; left: auto !important; right: auto !important;
    width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; transform: none !important;
  }
  body.htw-running-commerce.single-product .sf-pdp__gallery .flickity-slider > .woocommerce-product-gallery__image:only-child { grid-column: 1 / -1; }
  body.htw-running-commerce.single-product .sf-pdp__gallery .woocommerce-product-gallery__image > a { width: 100%; height: 100%; }
  body.htw-running-commerce.single-product .sf-pdp__gallery .woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; }
  body.htw-running-commerce.single-product .sf-pdp__gallery .product-thumbnails,
  body.htw-running-commerce.single-product .sf-pdp__gallery .flickity-prev-next-button { display: none !important; }
}
@media (max-width: 974px) {
  body.htw-running-commerce.single-product .sf-pdp__notices { width: calc(100% - 40px); padding: 0 0 12px; }
  body.htw-running-commerce.single-product .sf-pdp__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; width: 100%; }
  body.htw-running-commerce.single-product .sf-pdp__details,
  body.htw-running-commerce.single-product .sf-pdp__summary { display: contents !important; }
  body.htw-running-commerce.single-product .sf-pdp__summary::before { display: none; }
  body.htw-running-commerce.single-product .sf-pdp__main::before { content: ""; grid-column: 1 / -1; grid-row: 1; height: 0; }
  body.htw-running-commerce.single-product .sf-pdp__summary > * { grid-column: 1 / -1; min-width: 0; margin-left: 20px; margin-right: 20px; }
  body.htw-running-commerce.single-product .sf-pdp__summary > .woocommerce-product-rating { grid-column: 1 / -1; grid-row: 1; margin: 0 20px 12px; }
  body.htw-running-commerce.single-product .sf-pdp__summary > .product_title { grid-column: 1; grid-row: 2; margin: 0 0 28px 20px; font-size: 25px; line-height: 25px; letter-spacing: -.75px; }
  body.htw-running-commerce.single-product .sf-pdp__summary > .price-wrapper { grid-column: 2; grid-row: 2; margin: 0 20px 28px 12px; padding: 0; }
  body.htw-running-commerce.single-product .sf-pdp__gallery { grid-column: 1 / -1; grid-row: 3; padding: 0; }
  body.htw-running-commerce.single-product .sf-pdp__gallery .woocommerce-product-gallery__wrapper > .flickity-viewport { height: auto !important; aspect-ratio: 1 / 1; }
  body.htw-running-commerce.single-product .sf-pdp__gallery .woocommerce-product-gallery__image { aspect-ratio: 1 / 1; }
  body.htw-running-commerce.single-product .sf-pdp__gallery .product-thumbnails { display: none !important; }
  body.htw-running-commerce.single-product .sf-pdp__summary > form.cart { grid-column: 1 / -1; grid-row: 4; width: auto; margin: 48px 20px 24px; }
  body.htw-running-commerce.single-product .sf-pdp__accordions { grid-column: 1 / -1; grid-row: 99; width: auto; margin: 28px 20px 0; }
  body.htw-running-commerce .htw-running-tiles--color.has-images .htw-running-tiles__option { width: 66px; }
  body.htw-running-commerce .product-quick-view-container .product-lightbox-inner { padding: 20px !important; }
}
