/* Consistent product controls; values and checkout behavior are unchanged. */
:is(#content, #main, .page-layout, .store-page) form :is(button, input[type="submit"], input[type="image"]) {
  box-sizing: border-box;
  min-height: 44px !important;
}
:is(#content, #main, .page-layout, .store-page) form :is(select, input[type="number"]) {
  box-sizing: border-box;
  min-height: 44px !important;
}
.match-product form button,
.match-bundles form button {
  width: 100%;
  line-height: 1.3;
}
/* The older secondary product rows use the same button treatment as the catalog. */
#content form .phone-add-to-cart {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 12px auto 0;
  padding: 11px 14px;
  border: 1px solid #ffe5a0;
  border-radius: 7px;
  background: linear-gradient(#ffecae, #efbd49);
  color: #2c1821;
  font: 700 15px/1.3 Arial, sans-serif;
  cursor: pointer;
}
#content form:has(> .phone-add-to-cart) select {
  width: 100%;
  max-width: 100%;
  padding: 9px 7px;
  border: 1px solid #d7b9c8;
  border-radius: 5px;
  background: #fff9fc;
  color: #321426;
  font: 14px/1.35 Arial, sans-serif;
}
/* Center a single order menu beneath its banner, with a matching-width button. */
body.tp-layout-aligned #content .site-order-grid-cell > form {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
body.tp-layout-aligned #content .site-order-grid-cell > form > .site-add-to-cart {
  width: 100%;
  max-width: none;
}
/* Equal title space keeps the four gel-top offer panels consistent. */
@media (min-width: 1101px) {
  body.tp-layout-aligned #content .site-order-cell:has(> .base-coat-order) {
    align-self: stretch;
    display: flex;
  }
  body.tp-layout-aligned #content .site-order-cell > .base-coat-order { flex: 1; }
  .base-coat-order h2 {
    min-height: 2.2em;
  }
}
@media (max-width: 760px) {
  #content form .phone-add-to-cart { max-width: none; font-size: 16px; }
  #content form:has(> .phone-add-to-cart) select { font-size: 16px; }
}
