/* Services configurator (category 185), 2026-11-24. Used together with home.css (.hm). Scoped to .cf. */
.cf { text-align: left; }
.cf p, .cf li, .cf div, .cf span, .cf label, .cf small { text-align: left; }
.cf a { font-family: inherit; }
.cf [hidden] { display: none !important; }
.cf .hm-hero .hm-title { font-size: 34px; }
.cf .cf-ready { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cf .cf-ready a { display: block; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--hm-line); background: var(--hm-card); color: var(--hm-text); font-size: 13px; line-height: 1.4; }
.cf .cf-ready a:hover { border-color: var(--hm-gold); }
.cf .cf-ready b { display: block; font: normal 16px/1.25 var(--serif); color: #2c2112; }
.cf .cf-ready i { font-style: normal; font-weight: 700; color: #8a5a14; white-space: nowrap; }
.cf .cf-or { margin: 10px 0 0; font-size: 14px; color: var(--hm-muted); }

.cf .cf-main { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; align-items: start; }

/* ---- groups and rows ---- */
.cf .cf-g { border: 1px solid var(--hm-line); border-radius: 16px; background: var(--hm-card); overflow: hidden; margin-bottom: 14px; }
.cf .cf-gh { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: linear-gradient(180deg, #fbf3df, #f5e8ca); border-bottom: 1px solid var(--hm-line); }
.cf .cf-gh h2 { font: normal 19px/1.2 var(--serif); color: #2c2112; }
.cf .cf-gh small { display: block; font: 12.5px/1.35 var(--sans); color: var(--hm-muted); }
.cf .cf-gh .hm-ico { width: 38px; height: 38px; background: #fffaf0; }
.cf .cf-gh .hm-ico svg { width: 20px; height: 20px; }
.cf .cf-row { padding: 11px 16px; border-top: 1px solid #f3e8cf; transition: background .15s ease; }
.cf .cf-gh + .cf-row { border-top: 0; }
.cf .cf-row.on { background: #fdf6e6; box-shadow: inset 3px 0 0 var(--hm-gold); }
.cf .cf-c { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.cf .cf-c input[type=checkbox], .cf .cf-c input[type=radio] { appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; border: 1.5px solid #cdb078; border-radius: 6px; background: #fff center / 13px no-repeat; cursor: pointer; }
.cf .cf-c input:checked { border-color: #b47a22; background-color: #c8922f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 5 5 9-11'/%3E%3C/svg%3E"); }
.cf .cf-c input:focus-visible, .cf select:focus-visible { outline: 2px solid #c8922f; outline-offset: 2px; }
.cf .cf-c.off { opacity: .45; cursor: default; }
.cf .cf-t { flex: 1 1 auto; min-width: 0; font-size: 14.5px; line-height: 1.4; color: #2c2112; }
.cf .cf-t small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--hm-muted); }
.cf .cf-t a { color: #8a5a14; border-bottom: 1px solid rgba(200, 146, 47, .4); }
.cf .cf-t a:hover { color: #5c3a0c; }
.cf .cf-p { flex: 0 0 auto; font-size: 14px; color: #8a5a14; white-space: nowrap; }
.cf .cf-p b { font-weight: 700; }
.cf .cf-p .cf-z0 { font-weight: 400; color: var(--hm-muted); }
.cf .cf-s { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cf .cf-s .cf-t { flex: 1 1 170px; }
.cf .cf-s .cf-p { min-width: 70px; text-align: right; font-weight: 700; }
.cf select { flex: 0 1 230px; min-width: 0; max-width: 100%; height: 38px; padding: 0 30px 0 12px; border: 1.5px solid #dcc596; border-radius: 10px; color: #2c2112; font: 14px var(--sans); cursor: pointer; appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8701d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 14px no-repeat; }
.cf select:hover { border-color: var(--hm-gold); }
.cf select:disabled { opacity: .5; cursor: default; }
.cf .cf-vars { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.cf .cf-vars label, .cf .cf-seg label { cursor: pointer; }
.cf .cf-vars input, .cf .cf-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf .cf-vars span, .cf .cf-seg span { display: block; padding: 7px 13px; border: 1.5px solid #dcc596; border-radius: 10px; background: #fff; font-size: 13.5px; line-height: 1.35; color: #4a3823; }
.cf .cf-vars b, .cf .cf-seg b { font-weight: 700; color: #8a5a14; white-space: nowrap; }
.cf .cf-vars input:checked + span, .cf .cf-seg input:checked + span { border-color: #b47a22; background: #c8922f; color: #fff; }
.cf .cf-vars input:checked + span b, .cf .cf-seg input:checked + span b { color: #fff; }
.cf .cf-vars input:focus-visible + span, .cf .cf-seg input:focus-visible + span { outline: 2px solid #8a5a14; outline-offset: 2px; }
.cf .cf-seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cf .cf-gift { display: none; font-size: 13px; font-weight: 700; color: #4c7a2b; }
.cf .gift .cf-gift { display: inline; }
.cf .gift select, .cf .gift .cf-p { display: none; }
.cf .cf-qty { display: inline-flex; align-items: center; border: 1.5px solid #dcc596; border-radius: 10px; overflow: hidden; background: #fff; }
.cf .cf-qty button { width: 34px; height: 36px; border: 0; background: #fbf3df; color: #8a5a14; font: 700 18px/1 var(--sans); cursor: pointer; }
.cf .cf-qty button:hover { background: #f1e0bb; }
.cf .cf-qty input { width: 40px; height: 36px; border: 0; text-align: center; font: 700 14px var(--sans); color: #2c2112; background: #fff; -moz-appearance: textfield; }
.cf .cf-qty input::-webkit-outer-spin-button, .cf .cf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cf details.cf-more > summary { list-style: none; cursor: pointer; padding: 11px 16px; border-top: 1px solid #f3e8cf; font-size: 14px; font-weight: 600; color: #8a5a14; }
.cf details.cf-more > summary::-webkit-details-marker { display: none; }
.cf details.cf-more > summary::before { content: "+"; display: inline-block; width: 18px; font-weight: 700; }
.cf details.cf-more[open] > summary::before { content: "\2212"; }

/* ---- the order ---- */
.cf .cf-sum { position: sticky; top: 14px; border-radius: 16px; padding: 18px; background: linear-gradient(165deg, #2a1d0f, #171009); color: #e3d3b6; }
.cf .cf-sum h2 { font: normal 20px/1.2 var(--serif); color: #fff4dc; }
.cf .cf-empty { margin-top: 8px !important; font-size: 13.5px; line-height: 1.5; color: #b8a68a; }
.cf.has .cf-empty { display: none; }
.cf .cf-list { list-style: none; margin: 12px 0 0; padding: 0; max-height: 330px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #6b522c transparent; }
.cf .cf-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(226, 182, 94, .14); font-size: 13px; line-height: 1.4; }
.cf .cf-list b { font-weight: 600; color: #f2cf86; white-space: nowrap; }
.cf .cf-tot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 2px solid rgba(226, 182, 94, .35); font-size: 14px; }
.cf .cf-tot .cf-total { font: normal 26px/1.1 var(--serif); color: #f2cf86; white-space: nowrap; }
.cf .cf-line { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; font-size: 13px; line-height: 1.4; color: #cdbb9c; }
.cf .cf-line b { color: #fff4dc; font-weight: 600; white-space: nowrap; }
.cf .cf-line i { font-style: normal; }
.cf .cf-hint { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(200, 146, 47, .16); border: 1px solid rgba(226, 182, 94, .3); font-size: 13px; line-height: 1.45; color: #f3e6cb; }
.cf .cf-hint a { color: #f2cf86; border-bottom: 1px solid rgba(242, 207, 134, .5); }
.cf .cf-hint b { color: #fff; white-space: nowrap; }
.cf .cf-btns { display: grid; gap: 8px; margin-top: 14px; }
.cf .cf-btns .hm-btn { width: 100%; box-sizing: border-box; cursor: pointer; text-align: center; }
.cf .cf-btns .dis { opacity: .45; cursor: default; }
.cf .cf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf .cf-two .hm-btn { min-height: 38px; padding: 8px 6px; font-size: 13px; background: none; font-family: var(--sans); }
.cf .cf-sm { margin-top: 10px !important; font-size: 12px; line-height: 1.45; color: #a3926f; }
.cf .cf-note { margin-top: 4px; padding: 12px 16px; border-left: 3px solid #b8402b; border-radius: 0 10px 10px 0; background: #fbefe6; font-size: 14px; line-height: 1.55; }
.cf .cf-bar { display: none; }

@media (max-width: 1180px) {
  .cf .cf-main { grid-template-columns: minmax(0, 1fr); }
  .cf .cf-sum { position: static; }
  .cf .cf-list { max-height: none; }
}
@media (max-width: 980px) {
  .cf.has .cf-bar { display: flex; align-items: center; gap: 12px; position: fixed; z-index: 54; left: 14px; right: 88px; bottom: calc(18px + env(safe-area-inset-bottom)); height: 52px; padding: 0 16px; border-radius: 14px; background: #1d140a; border: 1px solid rgba(226, 182, 94, .4); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .7); color: #e3d3b6; font-size: 13px; }
  .cf .cf-bar .cf-total { flex: 1; font: normal 20px/1 var(--serif); color: #f2cf86; white-space: nowrap; }
  .cf .cf-bar i { font-style: normal; color: #f2cf86; }
}
@media (max-width: 760px) {
  .cf .hm-hero .hm-title { font-size: 26px; }
  .cf .cf-ready { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cf .cf-row { padding: 12px 13px; }
  .cf .cf-s .cf-t { flex: 1 0 100%; }
  .cf select { flex: 1 1 100%; height: 44px; font-size: 16px; }
  .cf .cf-s .cf-p { min-width: 0; }
  .cf .cf-qty button, .cf .cf-qty input { height: 42px; }
}
