:root { color-scheme: light; }
html, body { background: #fff; }
body {
  color: #3b322d;
  font: 16px/1.45 system-ui, sans-serif;
}
body .container { width: 100%; }
body .title, body .heading-steps {
  color: #282423;
  font: 700 clamp(20px, 3vw, 27px)/1.22 Georgia, serif;
  text-transform: none;
}
body .nav-steps a { font-weight: 650; }
body :is(.form-control,.quote-inputs) {
  min-height: 42px;
  border-color: #a89785;
  border-radius: 7px;
  background-color: #fff;
  color: #282423;
  box-shadow: none;
}
body .floatl__label { color: #63544a; font-family: system-ui, sans-serif; }
body :is(.button_go,.nav-buttons,.bt_next,.back) {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: #8d431f;
  color: #fff;
  font: 650 14px/1.15 system-ui, sans-serif;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
}
body :is(.btn-back,.back) { background: #f6ece0; color: #6f3018; }
body :is(button,input,select,a):focus-visible { outline: 3px solid #ad6329; outline-offset: 2px; }
body :is(#error,.error) { color: #9b2616; }
body img[id^=map] { max-height: 180px; object-fit: cover; }
@media (max-width: 510px) {
  body .container { padding-inline: 9px; }
  body #step1 .upper > .col-xs-9 { width: 72%; }
  body #step1 .upper > .col-xs-3 { width: 28%; }
  body #step1 .button_go { width: 100%; padding-inline: 4px; }
  body .upper :is(.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-9) { padding-inline: 4px; }
}

body :is(.text-success,.nav-steps a,.label-from-to,.control-label) { color: #3b322d; }
body :is(.nav-steps.active,.nav-steps.current) { border-color: #8d431f; }
body :is(.button_go,.nav-buttons,.bt_next,.back):hover { background: #6f3018; color: #fff; }
body :is(.nav-steps a,.control-label,.label-from-to) { font-size: 14px; }
body .nav-steps a { text-transform: none; }
body select.tmb-size-control {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px;
  padding: 0 !important;
  overflow: hidden;
  clip-path: inset(50%);
}
.tmb-size-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(105px, 100%), 1fr));
  gap: 6px;
  padding: 3px;
}
.tmb-size-cards button {
  min-height: 39px;
  padding: 5px 7px;
  border: 1px solid #b5a290;
  border-radius: 7px;
  background: #fff;
  color: #282423;
  font: 650 13px/1.25 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.tmb-size-cards button:hover { border-color: #8d431f; background: #fbf4eb; }
.tmb-size-cards button[aria-pressed=true] { border-color: #8d431f; background: #f6ece0; color: #6f3018; }
body :is(.move-size,.form-elem,.control-group):has(> .tmb-size-cards) {
  height: auto !important;
  border: 0;
  background: transparent;
  padding: 0;
}
body .form-elem:has(> .tmb-size-cards) > label {
  position: static;
  display: block;
  transform: none;
  margin: 0 0 4px;
}
@media (max-width: 510px) {
  body .main-content.form-js {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: clamp(8px, 4vw, 16px);
  }
  #quoteForm :is(.control-group,.controls,input,select) { max-width: 100%; }
}
