/* One touch language for public CTAs. A recessed surface answers pressure
   without moving the label, its hit area, or nearby content. */
body[data-page] #main .button:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])) {
  --zii-control-rim: #e6b778;
  --zii-control-face: #263745;
  --zii-control-pressed: #1a2a37;
  border-radius: 7px;
  touch-action: manipulation;
  transition: none;
}
body[data-page] #main .button.button-gold:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])) {
  --zii-control-rim: #ffe2ac;
  background: linear-gradient(160deg, #ffe2a5, #eab774 67%, #c88950);
  border-color: #ffe2ac;
  color: #28170f;
  box-shadow: inset 0 1px 0 #fff0cd, 0 3px 0 #8e552b, 0 8px 18px #07090e64;
}
body[data-page] #main .button.button-gold::after {
  /* Do not run the legacy sweep through the text on every hover/focus. */
  display: none;
}
body[data-page] #main .button.button-outline:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])) {
  color: #f0dfc8;
  background: var(--zii-control-face);
  border-color: #8c7564;
  box-shadow: inset 0 1px 0 #f8d7af1a, 0 2px 6px #0e131a80;
}
body[data-page] #main .button:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])):active {
  border-color: var(--zii-control-rim);
  filter: brightness(.91);
  box-shadow: inset 0 2px 5px #341e19a8, 0 0 0 transparent;
  transform: none;
}
body[data-page] #main .button.button-outline:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])):active {
  background: var(--zii-control-pressed);
  filter: none;
}
body[data-page] #main :is(.button, .store-cart-remove, #store-cart-undo):focus-visible {
  outline: 2px solid #ffe2ac;
  outline-offset: 3px;
}
body[data-page] #main :is(.store-cart-remove, #store-cart-undo):where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])):active {
  color: #ffe2ac;
  box-shadow: inset 0 -2px 0 currentColor;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  body[data-page] #main .button:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])):hover:not(:active) {
    border-color: var(--zii-control-rim);
  }
  body[data-page] #main .button.button-outline:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])):hover:not(:active) {
    background: #304555;
  }
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  html:not([data-motion-paused]) body[data-page]:not(.motion-off, .reduce-motion) #main .button:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])) {
    transition: box-shadow 140ms ease-out, border-color 140ms ease-out, filter 140ms ease-out;
  }
  html:not([data-motion-paused]) body[data-page]:not(.motion-off, .reduce-motion) #main .button:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])):active {
    transition-duration: 0s;
  }
}
@media (forced-colors: active) {
  body[data-page] #main :is(.button, .store-cart-remove, #store-cart-undo):focus-visible { outline-color: Highlight; }
  body[data-page] #main .button:where(:not(:disabled, [aria-disabled="true"], [aria-busy="true"])):active { filter: none; outline: 1px solid Highlight; }
}
