/* Shared section treatment for the existing and the two new product templates. */
body.single-product.bws-product-layout-ready .site-content,
.bws-product-document { background: var(--bws-brand-canvas,#F5F6F5); }
.bws-product-document .bws-detail-section {
  width: 100%;
  min-width: 0;
  margin-block: 20px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.bws-product-document .bws-detail-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 1400px;
  margin-inline: auto;
  padding: 24px !important;
  border: 1px solid var(--bws-brand-border,#DDE3DE) !important;
  border-radius: 12px !important;
  background: var(--bws-brand-surface,#FFFFFF) !important;
  box-shadow: 0 1px 3px rgb(32 36 33 / 4%);
  color: var(--bws-brand-text,#202421);
  font-family: "BWS Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.bws-product-document .bws-detail-card > .e-con {
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.bws-product-document .bws-detail-section.bws-detail-card { width: calc(100% - 48px); margin-inline: auto; }
.bws-detail-card .bws-detail-title-widget {
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.bws-product-document .bws-detail-card h2.elementor-heading-title,
.bws-product-document .bws-detail-card .bws-detail-heading {
  margin: 0 0 20px !important;
  color: var(--bws-brand-text,#202421) !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -.02em !important;
}
.bws-detail-card .bws-detail-title-widget h2.elementor-heading-title { margin-bottom: 0 !important; }
.bws-detail-card .bws-product-story__intro h3,
.bws-detail-card .bws-product-story__title { font-size: 21px; line-height: 1.35; }
.bws-detail-card .bws-product-story__intro { margin-bottom: var(--bws-story-intro-gap, 64px); }
.bws-detail-card .bws-product-story__intro p { font-size: 17px; line-height: 1.7; }
.bws-product-benefits-content { font-size: 16px; line-height: 1.65; }
.bws-product-benefits-content ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bws-product-benefits-content li { position: relative; margin: 0; padding-left: 26px; }
.bws-product-benefits-content li::before { content: "✓"; position: absolute; left: 0; color: var(--bws-brand-link,#202421); font-weight: 700; }
.bws-product-benefits-content p { margin: 0 0 12px; }
.bws-product-benefits-content p:last-child { margin-bottom: 0; }
.bws-product-document .bws-detail-section :where(img, video, iframe) { max-width: 100%; }
.bws-product-document .bws-detail-section iframe { border-radius: 10px; }
@media (max-width: 767px) {
  .bws-product-document .bws-detail-section { margin-block: 16px !important; padding-inline: 16px !important; }
  .bws-product-document .bws-detail-card { padding: 20px !important; font-size: 16px; }
  .bws-product-document .bws-detail-section.bws-detail-card { width: calc(100% - 32px); }
  .bws-product-document .bws-detail-card h2.elementor-heading-title,
  .bws-product-document .bws-detail-card .bws-detail-heading { font-size: 20px !important; margin-bottom: 16px !important; }
  .bws-detail-card .bws-detail-title-widget { margin-bottom: 16px !important; }
  .bws-detail-card .bws-detail-title-widget h2.elementor-heading-title { margin-bottom: 0 !important; }
  .bws-detail-card .bws-product-story__intro h3,
  .bws-detail-card .bws-product-story__title { font-size: 19px; }
  .bws-detail-card .bws-product-story__intro p { font-size: 16px; }
}

/* BWS bundled layouts 0.5.11 */
/* Mobile product breathing room. All overrides stop before the tablet breakpoint.
   Keep native quantity inputs in the form; only the main visible picker is hidden. */
@media (max-width: 767px) {
  /* The two BWS templates share these semantic classes. */
  body.single-product .elementor-location-single .bws-product-page.e-parent {
    --padding-left: 8px;
    --padding-right: 8px;
    padding-inline: 8px !important;
  }
  body.single-product .elementor-location-single .bws-template-purchase-column {
    --padding-left: 12px;
    --padding-right: 12px;
    padding-inline: 12px !important;
  }
  body.single-product .bws-product-document .bws-detail-section { padding-inline: 8px !important; }
  body.single-product .bws-product-document .bws-detail-card { padding-inline: 12px !important; }
  body.single-product .bws-product-document .bws-detail-section.bws-detail-card { width: calc(100% - 16px); }
  body.single-product .elementor-location-single .bws-product-story__copy { padding-inline: 12px; }
  body.single-product .elementor-location-single .bws-product-highlights__item { padding-inline: 12px; }

  /* Existing template #14368 already has a 5px gallery gutter. Preserve it.
     These IDs are the measured live template's breadcrumb/hero/purchase containers. */
  body.single-product .elementor-location-single[data-elementor-id="14368"] :is([data-id="2e7a328"], [data-id="fea111e"]) {
    --padding-left: 5px;
    --padding-right: 5px;
    padding-inline: 5px !important;
  }
  body.single-product .elementor-location-single[data-elementor-id="14368"] [data-id="980c305"] {
    --padding-left: 8px;
    --padding-right: 8px;
    padding-inline: 8px !important;
  }
  body.single-product :is(.bws-product-page, .elementor-location-single[data-elementor-id="14368"]) :is(.bws-pb-price, .bws-pb-delivery, .bws-authorized-dealer, .bws-zcf__group) { padding-inline: 10px; }
  body.single-product :is(.bws-product-page .bws-template-cart, .elementor-location-single[data-elementor-id="14368"] [data-id="862e778"]) .bundled_product.bundled_item_optional { padding-inline: 10px !important; }

  /* A component uses bundle_quantity_*; the main input alone is named quantity.
     Both direct-child guards are required so addon/component pickers stay native. */
  body.single-product :is(.bws-product-page .bws-template-cart, .elementor-location-single[data-elementor-id="14368"] [data-id="862e778"]) form.cart .e-atc-qty-button-holder:has(> .single_add_to_cart_button):has(> .quantity > input[name="quantity"]) > .quantity {
    display: none !important;
  }
  body.single-product :is(.bws-product-page .bws-template-cart, .elementor-location-single[data-elementor-id="14368"] [data-id="862e778"]) form.cart .e-atc-qty-button-holder:has(> .single_add_to_cart_button):has(> .quantity > input[name="quantity"]) {
    column-gap: 0 !important;
  }
  body.single-product :is(.bws-product-page .bws-template-cart, .elementor-location-single[data-elementor-id="14368"] [data-id="862e778"]) form.cart .e-atc-qty-button-holder:has(> .quantity > input[name="quantity"]) > .single_add_to_cart_button {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0;
    min-height: 48px;
    margin-inline: 0 !important;
  }
}

/* The native shortcode owns its own card; the Elementor section adds the outer card. */
body.single-product .bws-template-benefits:not(:has(.bws-product-benefits-content)) { display: none !important; }
body.single-product .bws-template-benefits .bws-product-benefits-section {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single-product .bws-template-benefits .bws-product-benefits-section > .bws-detail-card {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Align the whole table with the section heading, including legacy product templates. */
body.single-product .elementor-location-single .elementor-widget-shortcode:has(.product-technical-specs) {
  align-self: stretch;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}
body.single-product .elementor-location-single .product-technical-specs-table-wrapper {
  padding: 0 !important;
  border: 1px solid var(--bws-brand-border,#DDE3DE);
  border-radius: 10px;
  overflow: hidden;
}
body.single-product .elementor-location-single .product-technical-specs-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
  margin: 0 !important;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  color: var(--bws-brand-text,#202421);
}
body.single-product .elementor-location-single .product-technical-specs-table :is(th, td) {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--bws-brand-border,#DDE3DE);
  vertical-align: top;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-transform: none;
}
body.single-product .elementor-location-single .product-technical-specs-table .spec-label {
  width: 40%;
  font-weight: 600;
}
body.single-product .elementor-location-single .product-technical-specs-table .spec-value {
  width: 60%;
  font-weight: 400;
}
body.single-product .elementor-location-single .product-technical-specs-table .spec-row > :is(th, td) { background: var(--bws-brand-surface,#FFFFFF); }
body.single-product .elementor-location-single .product-technical-specs-table .spec-row:nth-child(odd) > :is(th, td) { background: var(--bws-brand-soft,#F5F6F5); }
body.single-product .elementor-location-single .product-technical-specs-table .group-heading-row th {
  padding-block: 12px;
  border-top: 0;
  border-bottom-color: var(--bws-brand-border,#DDE3DE);
  background: var(--bws-brand-inset,#F5F6F5);
  color: var(--bws-brand-heading,#202421);
  font-size: 16px;
  font-weight: 700;
}
body.single-product .elementor-location-single .product-technical-specs-table tr:last-child > :is(th, td) { border-bottom: 0; }
@media (max-width: 767px) {
  body.single-product .elementor-location-single .product-technical-specs-table { font-size: 14px; }
  body.single-product .elementor-location-single .product-technical-specs-table :is(th, td) { padding: 11px 10px; }
  body.single-product .elementor-location-single .product-technical-specs-table .group-heading-row th { font-size: 14px; }
  body.single-product .elementor-location-single .product-technical-specs-table .spec-label { width: 45%; }
  body.single-product .elementor-location-single .product-technical-specs-table .spec-value { width: 55%; }
}

/* BWS FAQ and pickup 0.5.13 */
/* Product-only presentation for the existing native FAQ and pickup shortcodes.
   Bundled into product-page-sections.css: no extra stylesheet or JavaScript.
   Keep details/summary, FAQ schema, route and consent-managed map untouched. */
body.single-product .bws-faq,
body.single-product .pickup-section {
  color: var(--bws-brand-text,#202421);
  font-family: "BWS Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.single-product .bws-faq,
body.single-product .bws-faq * { box-sizing: border-box; }
body.single-product .bws-faq .bws-faq-head { margin: 0 0 20px; }
body.single-product .bws-faq .bws-faq-title {
  margin: 0;
  color: var(--bws-brand-text,#202421);
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}
body.single-product .bws-faq .bws-faq-intro {
  margin: 6px 0 0;
  color: var(--bws-brand-muted,#626B65);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
body.single-product .bws-faq .bws-faq-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
body.single-product .bws-faq details {
  min-width: 0;
  border: 1px solid var(--bws-brand-border,#DDE3DE);
  border-radius: 12px;
  background: var(--bws-brand-surface,#FFFFFF);
  box-shadow: none;
}
body.single-product .bws-faq details[open] {
  border-color: var(--bws-brand-primary,#202421);
  background: var(--bws-brand-surface,#FFFFFF);
}
body.single-product .bws-faq summary {
  min-height: 58px;
  padding: 14px 16px;
  gap: 14px;
}
body.single-product .bws-faq .bws-faq-q {
  min-width: 0;
  margin: 0;
  color: var(--bws-brand-text,#202421);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: normal;
}
body.single-product .bws-faq .bws-faq-icon {
  width: 28px;
  height: 28px;
  background: var(--bws-brand-inset,#F5F6F5);
}
body.single-product .bws-faq .bws-faq-plus::before,
body.single-product .bws-faq .bws-faq-plus::after { background: var(--bws-brand-link,#202421); }
body.single-product .bws-faq .bws-faq-a {
  margin: 0 16px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--bws-brand-border,#DDE3DE);
  color: var(--bws-brand-muted,#626B65);
  font-size: 16px;
  line-height: 1.65;
}
body.single-product .bws-faq .bws-faq-a p { margin: 0 0 12px; }
body.single-product .bws-faq .bws-faq-a p:last-child { margin-bottom: 0; }
body.single-product .bws-faq .bws-faq-a a { color: var(--bws-brand-link,#202421); text-underline-offset: 3px; }
body.single-product .bws-faq summary:focus-visible {
  outline: 2px solid var(--bws-brand-link,#202421);
  outline-offset: -4px;
  border-radius: 11px;
}
/* The source shortcode uses late inline !important rules, hence the scoped
   important declarations below. Do not touch iframe URLs or consent attributes. */
body.single-product .pickup-section .pickup-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: stretch;
  gap: 20px;
}
body.single-product .pickup-section .pickup-info {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  justify-content: center;
  gap: 16px !important;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid var(--bws-brand-border,#DDE3DE);
  border-radius: 12px !important;
  background: var(--bws-brand-info,#F0F6F2) !important;
  box-shadow: none !important;
}
body.single-product .pickup-section .pickup-info h3 {
  margin: 0 !important;
  color: var(--bws-brand-text,#202421);
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}
body.single-product .pickup-section .pickup-info p {
  margin: 0 !important;
  color: var(--bws-brand-muted,#626B65);
  font-size: 16px;
  line-height: 1.7;
}
body.single-product .pickup-section .pickup-info p strong { color: var(--bws-brand-text,#202421); }
body.single-product .pickup-section .pickup-route-btn {
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  background: var(--bws-brand-surface,#FFFFFF) !important;
  color: var(--bws-brand-ink,#202421) !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--bws-brand-ink,#202421);
}
body.single-product .pickup-section .pickup-route-btn svg { fill: currentColor; }
body.single-product .pickup-section .pickup-route-btn:focus-visible {
  outline: 2px solid var(--bws-brand-link,#202421);
  outline-offset: 3px;
}
body.single-product .pickup-section .pickup-map {
  min-width: 0;
  height: 340px !important;
  border: 1px solid var(--bws-brand-border,#DDE3DE);
  border-radius: 12px;
  background: var(--bws-brand-soft,#F5F6F5);
}
/* Style the frame only. Google content, controls and attribution stay intact. */
body.single-product .pickup-section .pickup-map > .cmplz-placeholder-parent {
  width: 100%;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
}
body.single-product .pickup-section .pickup-map iframe {
  display: block;
  border-radius: 11px;
}
@media (hover: hover) {
  body.single-product .bws-faq details:hover { border-color: var(--bws-brand-primary,#202421); }
  body.single-product .pickup-section .pickup-route-btn:hover { background: var(--bws-brand-canvas,#F5F6F5) !important; color: var(--bws-brand-ink,#202421) !important; }
}
@media (min-width: 900px) {
  body.single-product .bws-faq .bws-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
}
@media (max-width: 1024px) {
  body.single-product .pickup-section .pickup-wrapper { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.single-product .pickup-section .pickup-info { justify-content: flex-start; padding: 20px !important; }
}
@media (max-width: 767px) {
  body.single-product .bws-faq .bws-faq-head { margin-bottom: 16px; }
  body.single-product .bws-faq .bws-faq-title { font-size: 20px; }
  body.single-product .bws-faq .bws-faq-intro { font-size: 15px; }
  body.single-product .bws-faq summary { padding-inline: 12px; gap: 10px; }
  body.single-product .bws-faq .bws-faq-q { font-size: 15px; }
  body.single-product .bws-faq .bws-faq-a { margin-inline: 12px; font-size: 15px; }
  body.single-product .pickup-section .pickup-info { padding: 18px 14px !important; gap: 14px !important; }
  body.single-product .pickup-section .pickup-info h3 { font-size: 19px; }
  body.single-product .pickup-section .pickup-info p { font-size: 15px; }
  body.single-product .pickup-section .pickup-route-btn { width: 100%;
  box-shadow: inset 0 0 0 1px var(--bws-brand-ink,#202421);
}
  body.single-product .pickup-section .pickup-map { height: 280px !important; }
}
