/* 1.9.99.3 — tablet landscape: keep grand total clear of action buttons */
@media (orientation: landscape) and (min-width: 900px) and (max-width: 1366px) {
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(232px, 292px) !important;
    gap: 16px 18px !important;
    align-items: center !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row__total {
    min-width: 0 !important;
    width: 100% !important;
    padding-right: 4px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row__label {
    margin-bottom: 8px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row__total strong {
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(32px, 3.4vw, 46px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.035em !important;
    white-space: nowrap !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row__actions {
    width: 100% !important;
    max-width: 292px !important;
    justify-self: end !important;
    align-self: center !important;
    gap: 10px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row__actions > .afp-add-to-cart.single_add_to_cart_button.button.alt,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row__actions > .afp-checkout-button.button,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row__actions > .button {
    min-height: 54px !important;
  }
}

@media (orientation: landscape) and (min-width: 900px) and (max-width: 1160px) {
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 272px) !important;
    gap: 14px 16px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row__total strong {
    font-size: clamp(28px, 3vw, 40px) !important;
  }
}
