.sv-pdp-action[hidden] {
  display: none;
}

@media (max-width: 768px) {
  body.single-product .sv-pdp-action {
    --sv-pdp-action-toolbar-height: 55px;
    --sv-pdp-action-layer: 390;
    position: fixed;
    right: 0;
    bottom: calc(var(--sv-pdp-action-toolbar-height) + env(safe-area-inset-bottom, 0px));
    left: 0;
    z-index: var(--sv-pdp-action-layer);
    padding: 0.5rem 0.75rem;
    background: #fff;
    border-top: 1px solid #d9d9d9;
    box-shadow: 0 -0.25rem 1rem rgb(0 0 0 / 12%);
  }

  body.single-product .sv-pdp-action__button {
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1rem;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    background: #c33;
    border: 2px solid #c33;
    border-radius: 0.25rem;
    cursor: pointer;
  }

  body.single-product .sv-pdp-action__button:focus-visible {
    outline: 3px solid #111;
    outline-offset: 2px;
  }

  body.single-product form.cart .single_add_to_cart_button {
    width: 100%;
    min-height: 52px;
  }

  body.single-product .wd-gallery-thumb {
    max-height: 10rem;
    overflow: hidden;
  }

  body.single-product.sv-pdp-action-visible #CookiebotWidget {
    bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .sv-pdp-action,
  body.single-product .sv-pdp-action__button {
    transition: none;
  }
}
