/* The order page, inside the client's theme: its fonts, scoped under .rbc. */
.rbc {
  --rbc-cream: #f8f3ea;
  --rbc-brown: #4a3121;
  --rbc-gold: #a8844c;
  --rbc-line: #e3d7c3;
  --rbc-error: #9b2c1f;
  max-width: 980px;
  margin: 0 auto;
  color: var(--rbc-brown);
  line-height: 1.5;
}
.rbc *, .rbc *::before, .rbc *::after { box-sizing: border-box; }
.rbc-section { margin: 0 0 3.5rem; scroll-margin-top: 120px; }
.rbc-title { margin: 0 0 .5rem; color: var(--rbc-brown); letter-spacing: .04em; }
.rbc-lead { margin: 0 0 1.5rem; }
.rbc-photo { max-width: 720px; margin: 0 0 1.5rem; }
.rbc-photo img { display: block; width: 100%; height: auto; border-radius: 6px; }
.rbc-photo figcaption { margin-top: .3rem; font-size: .85em; opacity: .75; }

.rbc-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.rbc-form legend { padding: 0; font-weight: 700; }
.rbc .rbc-step { display: flex; align-items: center; gap: .6rem; margin: 1.8rem 0 .9rem; font-size: 1.15em; font-weight: 700; color: var(--rbc-brown); letter-spacing: 0; text-transform: none; }
.rbc .rbc-step span { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; flex: none; font-size: .85em; color: #fff; background: var(--rbc-gold); border-radius: 50%; }
.rbc-fields legend.rbc-step { margin-top: 1.8rem; }
.rbc-subtotal { margin: .7rem 0 0; padding-top: .5rem; font-weight: 700; border-top: 1px solid var(--rbc-line); }
.rbc-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.rbc-bons { display: grid; gap: 1rem; margin-bottom: .6rem; }
.rbc-product { position: relative; padding: 1rem 1.1rem !important; background: var(--rbc-cream); border: 1px solid var(--rbc-line) !important; border-radius: 6px; }
.rbc-product > legend { float: left; width: 100%; font-size: 1.1em; }
.rbc-bon .rbc-choice { clear: both; padding-top: .6rem; margin-bottom: .4rem !important; }
.rbc-bon .rbc-choice label { background: #fff; }
.rbc .rbc-form .rbc-remove, .rbc .rbc-form .rbc-add { padding: .3rem .8rem; font: inherit; font-size: .9em; color: var(--rbc-brown); background: none; border: 1px solid var(--rbc-gold); border-radius: 4px; cursor: pointer; }
.rbc .rbc-form .rbc-remove { position: absolute; top: .8rem; right: 1rem; }
.rbc .rbc-form .rbc-other input[type="number"] { width: 6.5rem; min-height: 36px; padding: .3rem .5rem; }
.rbc-detail, .rbc-price { clear: both; margin: .2rem 0; font-size: .92em; }
.rbc-price { color: var(--rbc-gold); font-weight: 700; }
.rbc-persons { display: flex; align-items: center; gap: .6rem; margin: .7rem 0 .4rem; font-weight: 700; }
.rbc-extra { display: flex; gap: .5rem; align-items: flex-start; margin-top: .35rem; font-size: .9em; cursor: pointer; }
.rbc-extra input { margin-top: .25rem; flex: none; }

.rbc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem 1.2rem; margin-bottom: 1.2rem; }
.rbc-fields legend { grid-column: 1 / -1; margin-bottom: .2rem; }
.rbc-fields label { display: flex; flex-direction: column; gap: .3rem; font-weight: 700; }
.rbc-wide { grid-column: 1 / -1; }
.rbc-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rbc-address { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .9rem 1.2rem; }
.rbc input[type="radio"], .rbc input[type="checkbox"] { accent-color: var(--rbc-brown); }
.rbc .rbc-form input[type="text"], .rbc .rbc-form input[type="tel"], .rbc .rbc-form input[type="email"],
.rbc .rbc-form input[type="number"], .rbc .rbc-form select, .rbc .rbc-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-height: 44px;
  padding: .55rem .7rem;
  font: inherit;
  font-weight: 400;
  color: var(--rbc-brown);
  background: #fff;
  border: 1px solid #cdbda3;
  border-radius: 4px;
}
.rbc .rbc-form .rbc-persons input[type="number"], .rbc .rbc-form .rbc-persons select { width: 5.5rem; }
.rbc-form input:focus, .rbc-form select:focus, .rbc-form textarea:focus { outline: 2px solid var(--rbc-gold); outline-offset: 1px; }
.rbc-optional { font-weight: 400; font-size: .88em; opacity: .8; }

.rbc-choice { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem !important; }
.rbc-choice legend { width: 100%; margin-bottom: .4rem; }
.rbc-choice label { display: flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem .9rem; background: var(--rbc-cream); border: 1px solid var(--rbc-line); border-radius: 4px; cursor: pointer; }
.rbc-choice label:has(input:checked) { border-color: var(--rbc-gold); box-shadow: inset 0 0 0 1px var(--rbc-gold); }

.rbc-total { margin: 1.2rem 0 .8rem; font-size: 1.2em; font-weight: 700; }
.rbc-button {
  min-height: 48px;
  padding: .75rem 1.6rem;
  font: inherit;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
  background: var(--rbc-brown);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.rbc-button:hover, .rbc-button:focus { background: var(--rbc-gold); }

.rbc-notice { margin: 0 0 1.2rem; padding: .9rem 1.1rem; background: var(--rbc-cream); border-left: 4px solid var(--rbc-gold); }
.rbc-notice p, .rbc-notice ul { margin: .2rem 0; }
.rbc-ok { border-left-color: #4d7a3a; }
.rbc-error { border-left-color: var(--rbc-error); color: var(--rbc-error); }
.rbc-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .rbc-products, .rbc-two { grid-template-columns: 1fr; }
  .rbc-address { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .rbc-button { width: 100%; }
}

.rbc-terms { font-size: .9em; padding-top: 1.5rem; border-top: 1px solid var(--rbc-line); }
.rbc-terms p { margin: 0 0 .6rem; }
