/* ThemeHigh EPO keeps its original table, conditional visibility and form fields. */
.single-product .vz-product-summary-card form.cart .thwepo-extra-options {
  grid-column: 1 / -1 !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed;
  margin: 0 0 6px !important;
  border: 0 !important;
  clear: both;
}
.single-product .vz-product-summary-card form.cart .thwepo-extra-options td,
.single-product .vz-product-summary-card form.cart .thwepo-extra-options th {
  padding: 0 0 12px !important;
  border: 0 !important;
  text-align: left;
  vertical-align: top;
}
.single-product .vz-product-summary-card form.cart .thwepo-extra-options label {
  font-weight: 700;
  color: var(--vz-navy, #0b2d55);
}
.single-product .vz-product-summary-card form.cart .thwepo-extra-options input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=button]):not([type=submit]),
.single-product .vz-product-summary-card form.cart .thwepo-extra-options textarea,
.single-product .vz-product-summary-card form.cart .thwepo-extra-options select {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 48px;
  margin-top: 6px;
  padding: 11px 14px;
  border: 1px solid var(--vz-line, #c7d9e8);
  border-radius: 10px;
  background: #fff;
  color: var(--vz-navy, #0b2d55);
  font-size: 16px;
}
.single-product .vz-product-summary-card form.cart .thwepo-extra-options textarea {
  min-height: 100px;
  resize: vertical;
}
.single-product .vz-product-summary-card form.cart .thwepo-extra-options input:focus-visible,
.single-product .vz-product-summary-card form.cart .thwepo-extra-options textarea:focus-visible,
.single-product .vz-product-summary-card form.cart .thwepo-extra-options select:focus-visible {
  outline: 2px solid var(--vz-blue, #1158a6);
  outline-offset: 2px;
}
/* Blocksy wraps the quantity and button together. That wrapper needs its own full row. */
.single-product .vz-product-summary-card form.cart .ct-cart-actions {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 172px minmax(0, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  flex: 0 0 100% !important;
  align-items: center !important;
}
.single-product .vz-product-summary-card form.cart .ct-cart-actions > .quantity {
  margin: 0 !important;
}
.single-product .vz-product-summary-card form.cart .ct-cart-actions > .single_add_to_cart_button {
  grid-column: 2;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.single-product .vz-product-summary-card form.cart .ct-cart-actions > .added_to_cart,
.single-product .vz-product-summary-card form.cart > .added_to_cart {
  grid-column: 1 / -1 !important;
}
.single-product .vz-product-summary-card .vz-pot-total {
  grid-column: 1 / -1 !important;
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  margin: 0 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--vz-line, #c7d9e8);
  border-radius: 12px;
  background: #f0f6fc;
  color: var(--vz-navy, #0b2d55);
}
.single-product .vz-product-summary-card .vz-pot-total__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 14px;
}
.single-product .vz-product-summary-card .vz-pot-total__label {
  font-size: 14px;
  font-weight: 700;
}
.single-product .vz-product-summary-card .vz-pot-total__amount {
  color: var(--vz-blue, #1158a6);
  font-size: 25px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.single-product .vz-product-summary-card .vz-pot-total__calculation {
  margin-top: 7px;
  font-size: 13px;
}
.single-product .vz-product-summary-card .vz-pot-total__tax,
.single-product .vz-product-summary-card .vz-pot-total__note {
  margin-top: 4px;
  color: var(--vz-muted, #57708d);
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 520px) {
  .single-product .vz-product-summary-card form.cart .ct-cart-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .single-product .vz-product-summary-card form.cart .ct-cart-actions > .single_add_to_cart_button {
    grid-column: 1 !important;
  }
}
