/* Product details must behave as a true modal above the fixed site header. */
html.shop-product-open,
html.shop-product-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.shop-product-open {
  position: fixed !important;
  top: var(--shop-popup-scroll-lock, 0) !important;
  right: 0;
  left: 0;
  width: 100% !important;
}

.shop-product-popup {
  z-index: 10000 !important;
}

.shop-product-popup__panel {
  overscroll-behavior: contain;
}

.shop-product-popup__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 14px 0 0;
  color: #65676b;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
}

.shop-product-popup__consent > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shop-product-popup__check {
  width: 18px;
  height: 18px;
  border: 1px solid #8c9098;
  border-radius: 3px;
  background: #fff;
}

.shop-product-popup__consent > input:checked + .shop-product-popup__check {
  border-color: #090909;
  background: #090909;
  box-shadow: inset 0 0 0 4px #fff;
}

.shop-product-popup__consent > input:focus-visible + .shop-product-popup__check {
  outline: 2px solid #ff6d96;
  outline-offset: 2px;
}

.shop-product-popup__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop-product-popup__form-status {
  min-height: 1.3em;
  margin: 10px 0 0;
  color: #27292d;
  font-size: 13px;
  line-height: 1.3;
}
