/* ========== PRODUCT PAGE COMMERCE (classic-child parity) ========== */
#product .h1,
#main .h1,
.product__name {
  font-weight: 750 !important;
  text-transform: none !important;
  color: var(--hl-black) !important;
  font-size: 1.3rem !important;
  line-height: 1.28 !important;
}

#product .current-price,
#product .product__price,
.product-prices .current-price {
  color: var(--hl-red) !important;
  font-weight: 800 !important;
  font-size: 1.6rem !important;
}

#product .regular-price,
.product-discount .regular-price {
  color: #9ca3af !important;
  text-decoration: line-through !important;
  font-size: .95rem !important;
}

#product .discount,
.product-flags .discount,
.product-discount .badge {
  background: var(--hl-red) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}

/* custom.css forces #product-availability visible → duplicate Tarneaeg */
#product #product-availability,
#product .product__availability,
#product .js-product-availability {
  display: none !important;
}

/* Qty left of ATC on one row */
#product .product__actions-qty-add,
#product .product-add-to-cart .product-quantity,
#product .product-add-to-cart .product__actions-qty-add {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  height: auto !important;
}

#product .product-actions__quantity,
#product .product__quantity.quantity-button {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

#product .quantity-button__group {
  height: 42px !important;
  min-width: 108px !important;
}

#product .product__add-to-cart.add {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

#product .product-add-to-cart .control-label,
#product .quantity-button + label,
#product .product-quantity .control-label {
  display: none !important;
}

#product [data-button-action="add-to-cart"].btn-primary:not(.product-miniature__add),
#product button.add-to-cart:not(.product-miniature__add),
#product .product__add-to-cart-button {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(215, 25, 32, .16) !important;
  letter-spacing: .01em;
}

/* Share sat on ATC — hide on product (or keep below, never overlay) */
#product .product-actions .social-sharing,
#product .js-social-sharing,
#product .ps-sharebuttons,
#product .product__additional-info .ps-sharebuttons {
  display: none !important;
}

/* Checkout carrier extras: only the SELECTED carrier shows locker UI */
body#checkout section.checkout-step {
  overflow: visible !important;
}

body#checkout .delivery-options__list,
body#checkout .delivery-option__item {
  overflow: visible !important;
}

/* Closed extras must not leak dropdowns (Itella was painting over Omniva) */
body#checkout .delivery-option__extra:not([data-active]) {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

body#checkout .delivery-option__extra[data-active] {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body#checkout .delivery-option__extra[data-active] .delivery-option__extra-content {
  display: block !important;
  visibility: visible !important;
  overflow: visible !important;
  padding-block-end: 1rem !important;
}

body#checkout #itella-extra,
body#checkout #itella-ps17-extra,
body#checkout .select-omnivalt,
body#checkout .omniva-tmjs-container,
body#checkout .tmjs-dropdown,
body#checkout .tmjs-dropdown-container {
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body#checkout .omniva-terminal-loading {
  display: none !important;
}

body#checkout .custom-field-container {
  position: relative;
}
body#checkout .custom-field-container .fake-placeholder {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  font-size: .9rem;
  z-index: 2;
}
body#checkout .custom-field-container input.text-hidden {
  color: transparent !important;
  caret-color: #18191a;
}
body#checkout .hl-address-locker-hint {
  margin-top: .25rem;
}

.product-line__item--delivery-eta {
  margin-top: .35rem !important;
}

.product-line__item--delivery-eta .product-availability-real,
.product-line__item--delivery-eta .hl-cart-delivery-eta {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  background-color: var(--fb-grey-bg, #f8f9fa) !important;
  border: 1px solid var(--fb-grey-border, #e4e6eb) !important;
  border-radius: 4px !important;
  padding: 3px 9px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--hl-black, #18191a) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.product-line__item--delivery-eta .hl-cart-delivery-eta.is-oos {
  color: #b91c1c !important;
  background: #fef2f2 !important;
  border-color: #fecaca !important;
}

.hl-delivery-status,
.product-availability-real.hl-delivery-status {
  display: flex !important;
  align-items: center !important;
  gap: .55rem !important;
  background: var(--fb-grey-bg, #f8f9fa) !important;
  border: 1px solid var(--fb-grey-border, #e4e6eb) !important;
  border-radius: 8px !important;
  padding: .7rem .9rem !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  color: var(--hl-black, #18191a) !important;
  margin-bottom: .75rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Kill duplicate green dots from bridge/custom ::before */
.hl-delivery-status::before,
.hl-commerce-box .hl-delivery-status::before,
.product-availability-real::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.hl-delivery-dot {
  display: none !important;
}

.hl-stock-dot {
  width: .7rem !important;
  height: .7rem !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  background: #22c55e !important;
}

.hl-delivery-status.is-oos .hl-stock-dot {
  background: #dc2626 !important;
}

.hl-delivery-status.is-available .hl-stock-dot {
  background: #22c55e !important;
}

/* Same full width: delivery + shipping + payment (Smartpost on 1 line) */
.hl-commerce-box > .hl-delivery-status {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.hl-commerce-box > .product-delivery-methods-box,
.hl-commerce-box > .custom-payment-methods-btn {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.product-delivery-methods-box {
  display: block !important;
  background: var(--fb-grey-bg) !important;
  border: 1px solid var(--fb-grey-border) !important;
  border-radius: 8px !important;
  padding: 12px 15px !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.product-delivery-methods-box ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.product-delivery-methods-box li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: .75rem !important;
  margin-bottom: 8px !important;
  color: #666 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

.product-delivery-methods-box li:last-child {
  margin-bottom: 0 !important;
}

.product-delivery-methods-box .delivery-name {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

.product-delivery-methods-box .delivery-price {
  font-weight: 600 !important;
  color: #555 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

.product-delivery-methods-box i.material-icons {
  color: #999 !important;
  font-size: 18px !important;
}

.free-shipping-notice {
  display: flex !important;
  align-items: center !important;
  gap: .35rem !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px dashed #d8dadf !important;
  color: #15803d !important;
  font-weight: 600 !important;
  font-size: .9rem !important;
}

.free-shipping-notice i.material-icons {
  color: #22c55e !important;
  font-size: 18px !important;
}

.custom-payment-methods-btn {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 15px !important;
  margin-top: 12px !important;
  margin-bottom: 8px !important;
  background: var(--fb-grey-bg) !important;
  border: 1px solid var(--fb-grey-border) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease;
}

.custom-payment-methods-btn:hover,
.custom-payment-methods-btn:focus {
  background: #eef0f2 !important;
  border-color: #d8dadf !important;
  text-decoration: none !important;
}

.custom-payment-methods-btn .payment-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.custom-payment-methods-btn .payment-title {
  font-size: 14px !important;
  color: #666 !important;
  font-weight: 400 !important;
}

.custom-payment-methods-btn .payment-logos {
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-payment-methods-btn .payment-logos i {
  font-size: 18px !important;
  color: #999 !important;
}

.custom-payment-methods-btn .hl-pay-strip-img {
  height: 22px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
}

.custom-payment-methods-btn .hl-inbank-img {
  height: 18px !important;
  width: auto !important;
  max-width: 64px !important;
  object-fit: contain !important;
  display: block !important;
}

.custom-payment-methods-btn .payment-divider {
  height: 1px !important;
  background: var(--fb-grey-border) !important;
  width: 100% !important;
  margin: 12px 0 !important;
}

.custom-payment-methods-btn .inbank-services-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.custom-payment-methods-btn .inbank-service-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.custom-payment-methods-btn .inbank-service-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--hl-black) !important;
  white-space: nowrap;
}

.custom-payment-methods-btn .inbank-separator {
  color: #c4c4c4 !important;
  font-weight: 400 !important;
}

