@charset "UTF-8";
/* ==========================================================================
   Blitzschnell Replica — SINGLE PRODUCT (PDP)

   EVERY selector in this file is scoped under `.bs-pdp`, and the file is only
   enqueued on is_product() (inc/product.php). Nothing here can reach the
   homepage, the shop archive or a CMS page — the mistake `pages.css` made.

   Measured from:
     E:\blitzschnell\scrape\source-cdp\html\product.inline-styles.css
     E:\blitzschnell\scrape\source-cdp\css\_wp-custom-css.css
     E:\blitzschnell\scrape\source-cdp\checkout\pdp.html
     E:\blitzschnell\scrape\_shots\product-{1440,820,390}[-full].png

   Source breakpoints in play: 1500 / 1250 / 850 / 478  (+ 768 / 1024 min-width
   rules from _wp-custom-css.css).
   ========================================================================== */

/* ---------- Section + container -------------------------------------------
   #brxe-queuoj  padding 40 20 30 20, bg #f2f2f2
   #brxe-xqytkd  flex row, gap 20, align-items flex-start, radius 20
   -------------------------------------------------------------------------- */
.bs-pdp {
  display: block;
  color: var(--bs-ink, #000);
  font-family: var(--bs-font, "Barlow", sans-serif);
}

.bs-pdp__top {
  padding: 40px 20px 30px;
  background-color: #f2f2f2;
}

.bs-pdp__grid {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  display: flex;
  flex-direction: row;
  column-gap: 20px;
  row-gap: 20px;
  align-items: flex-start;
  border-radius: 20px;
}

/* ---------- Image box -----------------------------------------------------
   #brxe-jgovgp  width 100%, max 500x500, radius 20, bg #fff, contain,
                 position sticky, top 210px, overflow hidden
   #brxe-eylxgl  absolute badge slot, margin 6px, left 0, z-index 11
   -------------------------------------------------------------------------- */
.bs-pdp__media {
  position: sticky;
  top: 210px;
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bs-pdp__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Source badge, verbatim from the PDP's inline <style>:
   15px/700 Barlow, padding 6px 12px, #000 bg, #ffcc00 text, radius 6px. */
.bs-pdp .discount-badge {
  position: absolute;
  top: 0;
  left: 0;
  margin: 6px;
  z-index: 11;
  font-family: var(--bs-font, "Barlow", sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 6px 12px;
  background-color: #000000;
  color: #ffcc00;
  border-radius: 6px;
}

/* ---------- Summary column ------------------------------------------------
   #brxe-jehjgm  radius 20, padding 0 30 30, flex-grow 1, min-height 500,
                 column, space-between, align-items flex-start,
                 max-width 60%, margin-top 26
   -------------------------------------------------------------------------- */
.bs-pdp__summary {
  border-radius: 20px;
  padding: 0 30px 30px;
  flex-grow: 1;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  max-width: 60%;
  margin-top: 26px;
}

.bs-pdp__summary > * {
  width: 100%;
}

/* #brxe-frshjh */
.bs-pdp__head {
  margin-bottom: 10px;
}

/* ---------- Title — #brxe-wpqagh 32/700/lh1, left ------------------------- */
.bs-pdp .product_title,
.bs-pdp__title {
  font-family: var(--bs-font, "Barlow", sans-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  margin: 0 0 10px;
  color: #000000;
}

/* ---------- Price — #brxe-grndkw ------------------------------------------
   wrapper 32/700/lh1, margin-bottom 10; del + direct span 24/700;
   ins 24/700 #000. `small { font-size: 50% }` gives the 16px "Du sparst".
   -------------------------------------------------------------------------- */
.bs-pdp__price,
.bs-pdp .price {
  font-family: var(--bs-font, "Barlow", sans-serif);
}

.bs-pdp__price {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.bs-pdp__price p.price,
.bs-pdp__price .price {
  margin: 0;
  display: block;
}

.bs-pdp__price .price del,
.bs-pdp__price .price > span {
  font-weight: 700;
  font-size: 24px;
}

.bs-pdp__price .price del,
.bs-pdp__price .price del .amount {
  color: #9e9e9e;
  text-decoration: line-through;
}

.bs-pdp__price .price ins,
.bs-pdp__price .price ins .amount {
  color: #000000;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
  background: none;
}

.bs-pdp__price .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Tiered Pricing "Du sparst" — source colour #000000, 50% of 32px = 16px. */
.bs-pdp__price small,
.bs-pdp .tiered-pricing-you-save {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.bs-pdp .tiered-pricing-you-save--hidden {
  display: none;
}

/* ---------- "Warenlager:" row --------------------------------------------
   #brxe-jectig  margin-top 10, padding-top 8
   #brxe-elpltl  row, border-bottom 1px solid #999999, padding-bottom 10
   #brxe-sqwnwn  margin-right 5, 700, 15px      #brxe-rptyek  16px
   -------------------------------------------------------------------------- */
.bs-pdp__lager {
  margin-top: 10px;
  padding-top: 8px;
}

.bs-pdp__lager-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  border-bottom: 1px solid #999999;
  padding-bottom: 10px;
}

.bs-pdp__lager-label {
  margin-right: 5px;
  font-weight: 700;
  font-size: 15px;
}

.bs-pdp__lager-value {
  font-size: 16px;
  flex: 1 1 auto;
}

/* ---------- Tabs — #brxe-uqslkk ------------------------------------------
   margin-top 5; .woocommerce-tabs border:none (>=768px);
   .wc-tabs li padding-right 20; .wc-tabs a 15px;
   .active a underline 3px, offset 12px; .panel padding 20px 0
   -------------------------------------------------------------------------- */
.bs-pdp .woocommerce-tabs {
  margin: 5px 0 0;
  border: none;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.bs-pdp .woocommerce-tabs ul.tabs,
.bs-pdp .woocommerce-tabs .wc-tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.bs-pdp .woocommerce-tabs .wc-tabs li {
  padding: 0 20px 0 0;
  margin: 0;
  background: none;
  border: 0;
}

.bs-pdp .woocommerce-tabs .wc-tabs li a {
  font-family: var(--bs-font, "Barlow", sans-serif);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  color: #000000;
  text-decoration: none;
  display: inline-block;
  padding: 0;
}

.bs-pdp .woocommerce-tabs .wc-tabs li.active a,
.bs-pdp .woocommerce-tabs .wc-tabs li.active {
  font-weight: 700;
}

.bs-pdp .woocommerce-tabs .wc-tabs li.active a {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 12px;
}

.bs-pdp .woocommerce-tabs .panel {
  padding: 20px 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.bs-pdp .woocommerce-tabs .panel[hidden],
.bs-pdp .woocommerce-tabs .panel.is-hidden {
  display: none;
}

.bs-pdp .woocommerce-tabs .panel p {
  margin: 0 0 12px;
}

.bs-pdp .woocommerce-tabs .panel ul,
.bs-pdp .woocommerce-tabs .panel ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.bs-pdp .woocommerce-tabs .panel li {
  margin: 0 0 4px;
}

/* Spec table — Woo's shop_attributes, source labels: Packungsgröße /
   Wirkstoff / Hersteller / Trägerstoff. Versandlager is filtered out in PHP. */
.bs-pdp .shop_attributes {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.bs-pdp .shop_attributes th,
.bs-pdp .shop_attributes td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
}

.bs-pdp .shop_attributes th {
  font-weight: 700;
  width: 40%;
}

.bs-pdp .shop_attributes td p {
  margin: 0;
}

/* ---------- "Labor Test anzeigen" — #brxe-jhqtjf / #brxe-dqalak ----------- */
.bs-pdp__labtest {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.bs-pdp__labtest-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  font-family: var(--bs-font, "Barlow", sans-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 13px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid rgba(0, 0, 0, 0.32);
  border-radius: 13px;
  margin: 0 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

a.bs-pdp__labtest-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Source renders the pill with an empty href when a product has no lab-test
   image (90 of 248). Reproduced: visible, inert. */
.bs-pdp__labtest-btn.is-empty {
  cursor: default;
}

/* ---------- Add-to-cart block — #brxe-ijokhs / #brxe-lkvwjy ---------------
   #brxe-ijokhs  margin 20px 0; width 50% (Bricks) but _wp-custom-css.css
                 overrides to 100% >=768 and 75% >=1024 — 75% is what renders
                 at 1426 (measured 555px of a 741px column).
   -------------------------------------------------------------------------- */
.bs-pdp__addtocart {
  margin: 20px 0;
  width: 100%;
}

.bs-pdp .cart {
  margin: 0;
  display: block;
}

/* Quantity pill: 250px, radius 20, white, padding 4, 17/600 */
.bs-pdp .cart .quantity {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  max-width: 100%;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 4px;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 10px;
}

.bs-pdp .cart .quantity .qty {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  border: 0 !important;
  border-radius: 16px;
  background: transparent;
  margin: 0 8px;
  padding: 8px 0;
  font-family: var(--bs-font, "Barlow", sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: #000000;
  -moz-appearance: textfield;
  appearance: textfield;
}

.bs-pdp .cart .quantity .qty::-webkit-outer-spin-button,
.bs-pdp .cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bs-pdp .cart .quantity .action {
  order: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 15px;
  background-color: #ffffff;
  border: 1px solid #dddedf;
  color: #000000;
  cursor: pointer;
  user-select: none;
}

.bs-pdp .cart .quantity .action.plus {
  order: 3;
  border: 1px solid #cccccc;
}

.bs-pdp .cart .quantity .action svg {
  width: 16px;
  height: 16px;
}

.bs-pdp .cart .quantity .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Add-to-cart button: radius 20, padding 15/20, #000 on #fff, 17px, min 250 */
.bs-pdp .cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 20px;
  padding: 15px 20px;
  background-color: #000000;
  color: #ffffff;
  font-family: var(--bs-font, "Barlow", sans-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  min-width: 250px;
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.bs-pdp .cart .single_add_to_cart_button:hover {
  background-color: #222222;
}

.bs-pdp .cart .single_add_to_cart_button.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

/* Out of stock — source: <p class="stock out-of-stock">Nicht vorrätig</p> */
.bs-pdp .stock.out-of-stock {
  margin: 20px 0;
  font-weight: 700;
  color: #000000;
}

.bs-pdp .stock.in-stock {
  margin: 0 0 10px;
}

/* ---------- Staffelpreise (Tiered Pricing Table) -------------------------
   h3 "Staffelpreise": clear both, margin 20px 0, 36px/700 (theme h3).
   Table: full width, collapsed, header #f8f8f8 700 14px #333,
   cells 8px 4px 400 14px #555, hover #fafafa, active row #ffcc00.
   `.single-product .tiered-pricing-table*` are forced to #f1f1f1 at source.
   -------------------------------------------------------------------------- */
.bs-pdp .tiered-pricing-wrapper {
  width: 100%;
  background-color: #f1f1f1;
}

.bs-pdp .tiered-pricing-wrapper h3 {
  clear: both;
  margin: 20px 0;
  font-family: var(--bs-font, "Barlow", sans-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 0 20px;
  color: #000000;
}

.bs-pdp .shop_table.tiered-pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #f1f1f1;
  min-width: 300px;
  margin: 0;
}

.bs-pdp .shop_table.tiered-pricing-table th {
  background: #f1f1f1;
  padding: 8px 4px;
  line-height: 1;
  text-align: left;
  font-weight: 700;
  color: #333333;
  font-size: 14px;
  white-space: nowrap;
  border: 0;
}

.bs-pdp .shop_table.tiered-pricing-table td {
  background: #f1f1f1;
  padding: 8px 4px;
  line-height: 1;
  font-weight: 400;
  color: #555555;
  font-size: 14px;
  white-space: nowrap;
  border: 0;
}

.bs-pdp .shop_table.tiered-pricing-table tbody tr {
  cursor: pointer;
}

.bs-pdp .shop_table.tiered-pricing-table tbody tr:hover td {
  background: #fafafa;
}

.bs-pdp .shop_table.tiered-pricing-table tr.tiered-pricing--active td {
  background-color: #ffcc00 !important;
}

/* Pricing summary ("1 × Name … / Gesamtpreis: …") — the source's `detailed`
   layout, reproduced here because TPT 7.1.1 no longer renders one.
   Inline styles at source: row 1 flex space-between, 1px dashed #f5f5f5 top and
   bottom, padding 5px 0; the "×" at .9em; unit price at 1.15em; row 2 at 1.3em
   with margin-top 5px. */
.bs-pdp .tier-pricing-summary-table {
  width: 100%;
  margin: 20px 0;
}

.bs-pdp .tier-pricing-summary-table--hidden {
  display: none;
}

.bs-pdp .tiered-pricing-totals {
  width: 100%;
  font-weight: 600;
  line-height: 1;
}

.bs-pdp__summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed #f5f5f5;
  border-bottom: 1px dashed #f5f5f5;
  padding: 5px 0;
}

.bs-pdp__summary-x {
  font-size: 0.9em;
}

.bs-pdp__summary-old {
  margin-right: 5px;
  color: #9e9e9e;
  font-weight: 400;
}

.bs-pdp__summary-old[hidden] {
  display: none;
}

.bs-pdp__summary-unit {
  font-size: 1.15em;
}

.bs-pdp__summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.3em;
  margin-top: 5px;
}

/* ---------- "Passend dazu" — #brxe-pkqite / #brxe-ppowtt / #brxe-sqovvx --- */
.bs-pdp__related {
  padding: 40px;
  background-color: #f2f2f2;
}

.bs-pdp__related-head {
  text-align: center;
  margin: 30px auto;
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bs-pdp__related-title {
  margin: 0 0 10px;
  font-family: var(--bs-font, "Barlow", sans-serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: #000000;
}

.bs-pdp__related-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 20px;
}

.bs-pdp__related-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
  align-items: stretch;
}

/* ---------- Lightbox (Labor Test) ----------------------------------------
   The source uses Bricks' PhotoSwipe. We ship a 2 KB vanilla equivalent so no
   third-party lightbox has to be loaded; the source's own close-button accent
   (#fc1967, _wp-custom-css.css) is kept.
   -------------------------------------------------------------------------- */
.bs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 40px 20px;
}

.bs-lightbox.is-open {
  display: flex;
}

.bs-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.bs-lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fc1967;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   SPECIFICITY LAYER — beat WooCommerce's own woocommerce.css

   Measured on the live build BEFORE this block existed (verify/pdp/pdp-report.json):
     .bs-pdp__price .price                 color rgb(149,142,9)  font-size 40px
     .wc-tabs li.active a                  color rgb(81,81,81),  boxed tab chrome
     .single_add_to_cart_button            background rgb(127,84,179)  = Woo purple #7f54b3
     .cart .quantity                       float:left -> qty and button on one line
   Source values: price #000 24px, tab links #000 with a 3px underline,
   button #000/#fff, quantity above the button.

   Woo's rules go up to `.woocommerce div.product form.cart div.quantity`
   (0,4,3). The product wrapper carries BOTH `bs-pdp` and `product`, so
   `.woocommerce div.product.bs-pdp …` adds a class at every level and outranks
   them without a single !important. The selector cannot match anything
   outside a single-product page.
   ========================================================================== */

/* Woo floats the quantity box and the button left, putting them on one line;
   the source stacks the button under the quantity pill. */
/* Woo gives form.cart a 2em bottom margin, which its own ::after clearfix
   stops from collapsing out of the add-to-cart block (measured: +33px). */
.woocommerce div.product.bs-pdp form.cart {
  margin: 0;
}

.woocommerce div.product.bs-pdp form.cart div.quantity,
.woocommerce div.product.bs-pdp form.cart .button,
.woocommerce div.product.bs-pdp form.cart button.single_add_to_cart_button {
  float: none;
}

.woocommerce div.product.bs-pdp p.price,
.woocommerce div.product.bs-pdp .bs-pdp__price {
  color: #000000;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.woocommerce div.product.bs-pdp p.price del,
.woocommerce div.product.bs-pdp p.price > span {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
}

.woocommerce div.product.bs-pdp p.price del,
.woocommerce div.product.bs-pdp p.price del .amount {
  color: #9e9e9e;
}

.woocommerce div.product.bs-pdp p.price ins,
.woocommerce div.product.bs-pdp p.price ins .amount {
  color: #000000;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  background: none;
}

.woocommerce div.product.bs-pdp p.price small.tiered-pricing-you-save {
  font-size: 16px;
  color: #000000;
}

/* Tabs — plain text links, no tab chrome, active one underlined. */
.woocommerce div.product.bs-pdp .woocommerce-tabs {
  border: 0;
  margin: 5px 0 0;
  padding: 0;
}

.woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs {
  border-bottom: 0;
  margin: 0;
  padding: 0;
}

.woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs::before,
.woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs li::after {
  display: none;
  content: none;
}

.woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs li {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0 20px 0 0;
}

.woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs li a {
  color: #000000;
  font-size: 15px;
  font-weight: 400;
  padding: 0;
  text-shadow: none;
}

.woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs li.active {
  background: none;
  border-bottom-color: transparent;
}

.woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs li.active a {
  color: #000000;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 12px;
}

.woocommerce div.product.bs-pdp .woocommerce-tabs .panel {
  padding: 20px 0;
  margin: 0;
}

/* Quantity stacks ABOVE the button (Woo floats it left). */
.woocommerce div.product.bs-pdp form.cart div.quantity {
  float: none;
  display: flex;
  width: 250px;
  max-width: 100%;
  margin: 0 0 10px;
}

.woocommerce div.product.bs-pdp form.cart div.quantity input.qty {
  width: auto;
  flex: 1 1 auto;
}

/* Add-to-cart button — source #000 on #fff, 17px, radius 20, min-width 250. */
.woocommerce div.product.bs-pdp form.cart button.single_add_to_cart_button {
  background-color: #000000;
  color: #ffffff;
  border-radius: 20px;
  padding: 15px 20px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  min-width: 250px;
  text-shadow: none;
}

.woocommerce div.product.bs-pdp form.cart button.single_add_to_cart_button:hover {
  background-color: #222222;
  color: #ffffff;
}

.woocommerce div.product.bs-pdp p.stock,
.woocommerce div.product.bs-pdp p.stock.out-of-stock {
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin: 20px 0;
}

/* Woo's default sale flash / gallery chrome must not appear — the source PDP
   uses its own `.discount-badge` and a plain image box. */
.woocommerce div.product.bs-pdp span.onsale,
.woocommerce div.product.bs-pdp .woocommerce-product-gallery__trigger {
  display: none;
}

/* ==========================================================================
   RESPONSIVE — source breakpoints
   ========================================================================== */

/* --- <= 1500 -------------------------------------------------------------- */
@media (max-width: 1500px) {
  .bs-pdp__top {
    padding-bottom: 0;
  }
  .bs-pdp__grid {
    padding: 20px 0;
  }
  .bs-pdp__related {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* --- <= 1250 -------------------------------------------------------------- */
@media (max-width: 1250px) {
  .bs-pdp__addtocart {
    width: 100%;
  }
  .woocommerce div.product.bs-pdp form.cart div.quantity {
    width: 100%;
  }
  .woocommerce div.product.bs-pdp form.cart button.single_add_to_cart_button {
    min-width: 100%;
  }
  .bs-pdp__related-head {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .bs-pdp__related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- >= 1024 : _wp-custom-css.css puts the add-to-cart block at 75% ------- */
@media (min-width: 1024px) {
  .bs-pdp__addtocart {
    width: 75%;
  }
}

/* --- <= 850 : single column ---------------------------------------------- */
@media (max-width: 850px) {
  .bs-pdp__grid {
    flex-direction: column;
  }
  .bs-pdp__media {
    position: relative;
    top: auto;
    width: 500px;
    height: 500px;
    max-width: 100%;
    max-height: none;
    aspect-ratio: auto;
    align-self: center;
  }
  .bs-pdp__summary {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
  .bs-pdp .product_title,
  .bs-pdp__title {
    font-size: 27px;
  }
  .woocommerce div.product.bs-pdp .bs-pdp__price {
    margin-bottom: 20px;
  }
  .bs-pdp__related-head {
    width: 100%;
  }
  .bs-pdp__related-title {
    font-size: 30px;
  }
  .bs-pdp__related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* The source stacks the "Warenlager:" label above its value between 479px and
   850px only — inline at 1426 and inline again at 376.
   Evidence: _shots/product-820.png vs product-1440.png vs product-390-full.png. */
@media (min-width: 479px) and (max-width: 850px) {
  .bs-pdp__lager-value {
    flex: 0 0 100%;
  }
}

/* --- <= 478 : full-bleed image, centred pill ------------------------------ */
@media (max-width: 478px) {
  .bs-pdp__top {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .bs-pdp__grid {
    padding-top: 0;
    row-gap: 20px;
  }
  .bs-pdp__media {
    width: 100%;
    height: 390px;
    border-radius: 0;
  }
  .bs-pdp__summary {
    padding-left: 20px;
    padding-right: 20px;
  }
  .bs-pdp .product_title,
  .bs-pdp__title {
    font-size: 24px;
  }
  .woocommerce div.product.bs-pdp .bs-pdp__price {
    margin-bottom: 0;
  }
  .woocommerce div.product.bs-pdp p.price del,
  .woocommerce div.product.bs-pdp p.price > span {
    color: #000000;
    font-size: 18px;
  }
  .woocommerce div.product.bs-pdp p.price ins,
  .woocommerce div.product.bs-pdp p.price ins .amount {
    font-size: 28px;
    font-weight: 700;
  }
  .bs-pdp__lager-row {
    padding-top: 5px;
    padding-bottom: 10px;
  }
  .bs-pdp__lager-label {
    width: auto;
    font-size: 16px;
  }
  .bs-pdp .woocommerce-tabs {
    padding-top: 10px;
  }
  .woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs li {
    padding-bottom: 10px;
  }
  .woocommerce div.product.bs-pdp .woocommerce-tabs ul.tabs li a {
    font-size: 16px;
  }
  .bs-pdp .woocommerce-tabs .panel {
    font-size: 16px;
  }
  .bs-pdp__labtest {
    justify-content: center;
  }
  .bs-pdp__labtest-btn {
    margin-top: 10px;
    margin-bottom: 15px;
  }
  .bs-pdp__addtocart {
    width: 100%;
    align-self: center;
    padding-left: 0;
    padding-right: 0;
  }
  .bs-pdp .cart .quantity .qty,
  .bs-pdp .cart .quantity .action {
    border: 0;
  }
  .bs-pdp .shop_table.tiered-pricing-table th,
  .bs-pdp .shop_table.tiered-pricing-table td {
    padding: 2px 4px;
  }
  .bs-pdp .tiered-pricing-wrapper h3 {
    padding: 0;
  }
  .woocommerce div.product.bs-pdp p.stock.out-of-stock {
    text-align: center;
    font-size: 28px;
  }
  .bs-pdp__related {
    padding-left: 10px;
    padding-right: 10px;
  }
}
