/* Bremer3D shop integration. Product previews retain their complete proportions. */
.woocommerce a#bpd-start-customizing-button,
.woocommerce #bpd-start-customizing-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin: 10px 0 20px;
  padding: 15px 20px;
  border: 1px solid #145ca8;
  border-radius: 5px;
  background: #145ca8;
  color: #fff;
  font-family: var(--font, inherit);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.woocommerce #bpd-start-customizing-button:hover { background: #104a89; color: #fff; }
.woocommerce #bpd-start-customizing-button:focus-visible { outline: 3px solid #12a9c2; outline-offset: 3px; }
.bpd-container { max-width: 100%; font-family: inherit; }
.bpd-modal-wrapper { z-index: 10001 !important; }
/* The product page already introduces the service. Keep the open editor focused. */
.bpd-shop-shell.is-modal .bpd-shop-intro { display: none; }
.bpd-shop-shell.is-modal .bpd-shop-header { padding: 12px 20px; gap: 12px; }
.bpd-shop-shell.is-modal .bpd-shop-header .bpd-shop-origin { display: none; }
.bpd-shop-shell .bpd-shop-view-switch { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 20px; background: #f4f8fc; border-bottom: 1px solid #dfe5ee; }
.bpd-shop-shell .bpd-shop-view-switch button { min-height: 44px; padding: 9px 14px; background: #fff; border: 1px solid #9bb5ce; border-radius: 5px; color: #153b65; font-size: 14px; }
.bpd-shop-shell .bpd-shop-view-switch button[aria-pressed="true"] { background: #145ca8; border-color: #145ca8; color: #fff; }
.bpd-shop-shell .bpd-shop-single-proof { margin: 18px 0; padding: 14px; border: 1px solid #c5d9e8; border-radius: 8px; background: #f4f8fc; }
.bpd-shop-shell .bpd-shop-single-proof figcaption { margin-bottom: 10px; color: #153b65; font-size: 15px; font-weight: 600; }
.bpd-shop-shell .bpd-shop-single-proof img { display: block; width: 100%; max-height: 430px; object-fit: contain; background: #fff; }
.bpd-shop-shell .bpd-shop-proof-link { display: block; color: #145ca8; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; margin-top: 10px; }
.bpd-shop-shell .bpd-shop-brand-logo { width: 36px; height: 44px; object-fit: contain; }
.bpd-shop-shell.is-review .bpd-shop-footer { display: none; }
.woocommerce-cart .woocommerce table.shop_table.cart th.product-thumbnail,
.woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail {
  width: 224px;
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
}
.woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail a {
  display: block;
  width: 200px;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 9px;
}
.woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail img {
  display: block;
  box-sizing: border-box;
  width: 200px !important;
  max-width: 100% !important;
  height: 140px !important;
  max-height: 140px;
  margin: 0 auto;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: #f1f7fc;
  border: 1px solid #c5d9e8;
  border-radius: 9px;
  box-shadow: none;
}
.woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail a:focus-visible {
  outline: 3px solid #155ca5;
  outline-offset: 3px;
}
@media (min-width: 769px) and (max-width: 1100px) {
  .woocommerce-cart .woocommerce table.shop_table.cart th.product-thumbnail,
  .woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail { width: 188px; }
  .woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail a { width: 164px; }
  .woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail img { width: 164px !important; height: 116px !important; }
}
@media (max-width: 768px) {
  .bpd-shop-shell.is-modal .bpd-shop-header { padding: 10px 14px; }
  .bpd-shop-shell.is-modal .bpd-shop-wordmark { font-size: 14px; }
  .bpd-shop-shell.is-modal .bpd-shop-steps { padding: 0 14px; gap: 22px; }
  .bpd-shop-shell.is-modal .bpd-shop-tools { padding: 10px 14px; }
  .bpd-shop-shell .bpd-shop-view-switch { padding: 8px 14px; gap: 6px; }
  .bpd-shop-shell .bpd-shop-footer,
  .bpd-shop-shell .bpd-shop-review-actions { position: sticky; bottom: 0; z-index: 10; background: #f4f8fc; padding-bottom: max(14px, env(safe-area-inset-bottom)); box-shadow: 0 -3px 12px #142a4110; }
  .bpd-shop-shell .bpd-shop-single-proof { margin-inline: 0; padding: 10px; }
  .woocommerce-cart .woocommerce table.shop_table_responsive.cart td.product-thumbnail {
    display: block !important;
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding: 16px 12px 10px;
    text-align: center !important;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive.cart td.product-thumbnail::before { display: none !important; content: none !important; }
  .bpd-modal-wrapper .bpd-container { max-width: 100vw; }
  .bpd-container input, .bpd-container textarea, .bpd-container select { font-size: 16px; }
}
