/* Approved rectangular controls, shared by every page. */
body[data-button-style="modern"] .btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 0;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: .015em;
  white-space: normal;
  box-shadow: none;
  transform: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
body[data-button-style="modern"] .btn-primary {
  background: #503729;
  border: 1px solid #503729;
  color: #fff;
  box-shadow: none;
}
body[data-button-style="modern"] .btn-primary:hover {
  background: #38261d;
  border-color: #38261d;
  color: #fff;
  box-shadow: none;
  transform: none;
}
body[data-button-style="modern"] .btn-secondary,
body[data-button-style="modern"] .btn-ghost {
  background: #fff;
  border: 1px solid #786354;
  color: #403025;
  box-shadow: none;
}
body[data-button-style="modern"] .btn-secondary:hover,
body[data-button-style="modern"] .btn-ghost:hover {
  background: #f3ece3;
  border-color: #503729;
  box-shadow: none;
  transform: none;
}
body[data-button-style="modern"] .btn:active { transform: none; background: #2e2019; }
body[data-button-style="modern"] .btn-secondary:active,
body[data-button-style="modern"] .btn-ghost:active { background: #ebe1d3; }
body[data-button-style="modern"] .btn:focus-visible { outline: 2px solid #9e7c57; outline-offset: 4px; }
body[data-button-style="modern"] .btn-label { text-align: left; min-width: 0; }
body[data-button-style="modern"] .btn-icon {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: transparent;
  transition: transform .18s ease;
}
body[data-button-style="modern"] .btn-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
body[data-button-style="modern"] .btn:hover .btn-icon { transform: translateX(3px); }
body[data-button-style="modern"] .btn-sm { min-height: 44px; padding: 11px 15px; font-size: 13px; }
body[data-button-style="modern"] .header-actions .btn {
  min-height: 46px;
  min-width: 182px;
  max-width: none;
  padding: 12px 17px;
  font-size: 13px;
  gap: 20px;
  flex-flow: row nowrap;
  white-space: nowrap;
  background: #503729;
  border-color: #503729;
  color: #fff;
}
body[data-button-style="modern"] .header-actions .btn-label { white-space: nowrap; }
body[data-button-style="modern"] .header-actions .btn:hover { background: #38261d; border-color: #38261d; }
body[data-button-style="modern"] .actions { gap: 10px; }
body[data-button-style="modern"] .calc .btn { margin-top: 16px; }
body[data-button-style="modern"] .mobile-buy .btn { min-height: 44px; padding: 7px 12px; font-size: 13px; }
@media (max-width: 620px) {
  body[data-button-style="modern"] .btn:not(.btn-sm) { min-height: 50px; }
  body[data-button-style="modern"] .mobile-buy .btn { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-button-style="modern"] .btn,
  body[data-button-style="modern"] .btn-icon { transition: none; }
  body[data-button-style="modern"] .btn:hover .btn-icon { transform: none; }
}
