/* Product-page counterpart to the approved card offer presentation. */
.single-product .en-single-offer-prices {
  --en-color-text: #20292c;
  --en-color-muted: #596467;
  --en-border: #e3e7e6;
  gap: 6px;
  margin: 20px 0 12px;
  padding: 20px 0 0;
  border-top: 1px solid var(--en-border);
  font-variant-numeric: tabular-nums;
}
.single-product .en-single-offer-prices .price-ex-vat { margin-top: 0; }
.single-product .en-single-offer-prices .price-value--ex {
  font-size: clamp(26px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.6px;
}
.single-product .en-single-offer-prices .price-value--ex .woocommerce-Price-currencySymbol {
  font-size: .72em;
  letter-spacing: 0;
}
.single-product .en-single-offer-prices .price-label { font-size: 12px; }
.single-product .en-single-offer-prices .price-incl-vat { font-size: 13px; }
.single-product .en-single-offer-prices .en-card-price-before { font-size: 12px; }
.single-product .en-single-offer-prices .en-card-before-tooltip { width: 230px; }
.single-product .en-single-product-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 30px);
  margin: 15px !important;
}
.single-product .badge-container.en-single-product-badges .en-product-highlight-label--single {
  position: static;
  margin: 0;
  max-width: 100%;
}
.single-product :is(.product-type-simple, .product-type-variable) form.cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  background: #287663;
  color: #fff;
  border: 1px solid #287663;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}
.single-product :is(.product-type-simple, .product-type-variable) form.cart .single_add_to_cart_button:hover {
  background: #205e4f;
  border-color: #205e4f;
}
.single-product form.cart .single_add_to_cart_button:focus-visible {
  outline: 2px solid #355f88;
  outline-offset: 3px;
}
.single-product form.cart .single_add_to_cart_button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* One consistent 44px purchase control, including the native +/- buttons. */
.single-product :is(.product-type-simple, .product-type-variable) form.cart .quantity {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
  height: 44px;
  margin: 0;
  vertical-align: top;
}
.single-product :is(.product-type-simple, .product-type-variable) form.cart .quantity > input {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #d7dedb;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  line-height: normal;
  text-align: center;
}
.single-product :is(.product-type-simple, .product-type-variable) form.cart .quantity > .qty {
  width: 44px;
  min-width: 44px;
  background: #fff;
  color: #20292c;
}
.single-product :is(.product-type-simple, .product-type-variable) form.cart .quantity > .ux-quantity__button {
  width: 32px;
  min-width: 32px;
  background: #f5f7f6;
  color: #596467;
}
.single-product :is(.product-type-simple, .product-type-variable) form.cart .quantity > .minus {
  border-right: 0;
  border-radius: 6px 0 0 6px;
}
.single-product :is(.product-type-simple, .product-type-variable) form.cart .quantity > .plus {
  border-left: 0;
  border-radius: 0 6px 6px 0;
}
.single-product :is(.product-type-simple, .product-type-variable) form.cart .quantity > input:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #355f88;
  outline-offset: -2px;
}

/* Establish the purchase rows before optional help content loads. Stock must
   never share a line with the inline cart form or depend on CTA eligibility. */
.single-product .add-to-cart-container .stock {
  display: block;
  width: 100%;
  max-width: 100%;
  clear: both;
}
.single-product .product-type-simple .add-to-cart-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.single-product .product-type-simple .add-to-cart-container > :is(.stock, .en-lux-slot-before_form) {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}
.single-product .product-type-simple .add-to-cart-container > form.cart {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: 100%;
  margin: 0;
}
.single-product .product-type-simple .add-to-cart-container > form.cart > .single_add_to_cart_button {
  margin: 0;
}
.single-product .product-type-simple .add-to-cart-container > .en-lux-slot-after_form:not([hidden]):has(> .en-lux-cta) {
  display: inline-flex;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  margin: 0;
}
.single-product .product-type-simple .add-to-cart-container .en-leads-ux-mount[data-elding-ui] > .en-lux-cta {
  min-height: 44px;
  margin: 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.2;
}

/* The sticky purchase bar needs its own layout: never let the cart form
   squeeze the product name or delivery message into narrow columns. */
.single-product .sticky-add-to-cart--active {
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}
.single-product .sticky-add-to-cart--active .sticky-add-to-cart__product {
  width: 100%;
  max-width: 1000px;
  min-width: 0;
  gap: 16px;
  padding: 0;
}
.single-product .sticky-add-to-cart__product .sticky-add-to-cart-img {
  flex: 0 0 45px;
  margin: 0;
  object-fit: contain;
}
.single-product .sticky-add-to-cart__product .product-title-small {
  flex: 1 1 260px;
  min-width: 0;
  max-width: none;
  margin: 0;
  line-height: 1.35;
}
.single-product .sticky-add-to-cart__product .product-title-small strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.single-product .sticky-add-to-cart__product > .stock {
  flex: 0 0 180px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}
.single-product .sticky-add-to-cart__product .en-rs-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.single-product .sticky-add-to-cart__product form.cart {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  width: auto;
  min-width: 0;
  margin: 0;
}
.single-product .sticky-add-to-cart__product form.cart > .single_add_to_cart_button {
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 849px) {
  .single-product .sticky-add-to-cart__product .sticky-add-to-cart-img { display: none; }
  .single-product .sticky-add-to-cart__product > .stock { flex-basis: 160px; }
  .single-product .sticky-add-to-cart--active .sticky-add-to-cart__product { gap: 12px; }
}
@media (max-width: 549px) {
  .single-product .sticky-add-to-cart--active .sticky-add-to-cart__product { justify-content: center; }
  .single-product .sticky-add-to-cart__product form.cart { gap: 10px; }
}

/* Leave room for the existing cookie-settings button on the narrowest phones. */
@media (max-width: 389px) {
  .single-product .sticky-add-to-cart--active {
    padding-left: 56px;
    padding-right: 8px;
  }
  .single-product .sticky-add-to-cart__product form.cart { gap: 8px; }
  .single-product .sticky-add-to-cart__product form.cart > .single_add_to_cart_button {
    padding-right: 10px;
    padding-left: 10px;
  }
}
