/* Konfigurátor in the site's design: options on the left in the usual cards, the price on the right and
   always in view. A choice is shown the way a button hovers on this site: it fills with light.
   No glow, no blue, no gradients. */
.conf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 16px; align-items: start; padding-top: 4px; padding-bottom: var(--section-space); font-family: Satoshi, Arial, sans-serif; }
.conf-options { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.conf-card { min-width: 0; margin: 0; padding: 22px 24px 24px; border: 1px solid #ffffff1a; border-radius: 10px; background: #18191a; }
.conf-card legend { float: left; width: 100%; margin-bottom: 14px; padding: 0; }
.conf-card legend + * { clear: both; }
.conf input[type="radio"], .conf input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.conf-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }

/* Provedení: three cards; the chosen one fills with light. */
.conf-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.conf-tier { position: relative; display: flex; cursor: pointer; }
.conf-tier-card { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 16px 18px; border: 1px solid #ffffff1f; border-radius: 8px; background: #131415; transition: background .45s, border-color .45s, color .45s; }
.conf-tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.conf-tier-top strong { color: #f5f5f0; font-size: 17px; font-weight: 500; letter-spacing: -.02em; transition: color .45s; }
.conf-tier-top span { color: #8f8f8d; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .45s; }
.conf-tier-text { color: #a4a4a1; font-size: 13px; line-height: 1.5; transition: color .45s; }
.conf-tier:hover .conf-tier-card { border-color: #ffffff4d; }
.conf-tier input:checked + .conf-tier-card { border-color: #f5f5f0; background: #f5f5f0; }
.conf-tier input:checked + .conf-tier-card strong { color: #131415; }
.conf-tier input:checked + .conf-tier-card .conf-tier-top span, .conf-tier input:checked + .conf-tier-card .conf-tier-text { color: #3a3b3c; }
.conf-tier input:focus-visible + .conf-tier-card { outline: 1px solid #f5f5f0; outline-offset: 3px; }

/* Objem: a quiet line that fills to the chosen size, a white handle, sizes marked underneath. */
.conf-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.conf-volume-value { color: #f5f5f0; font-size: clamp(24px, 2vw, 30px); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.conf-range { position: relative; margin-top: 18px; padding-bottom: 26px; }
.conf-range input { --fill: 34.95%; display: block; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.conf-range input::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, #f5f5f0 var(--fill), #ffffff26 var(--fill)); }
.conf-range input::-moz-range-track { height: 2px; border-radius: 2px; background: #ffffff26; }
.conf-range input::-moz-range-progress { height: 2px; border-radius: 2px; background: #f5f5f0; }
.conf-range input::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -8px; border: 0; border-radius: 50%; background: #f5f5f0; -webkit-appearance: none; appearance: none; }
.conf-range input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #f5f5f0; }
.conf-range input:focus-visible { outline: none; }
.conf-range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #18191a, 0 0 0 5px #f5f5f0; }
.conf-marks { position: absolute; left: 9px; right: 9px; bottom: 0; height: 18px; }
.conf-marks span { position: absolute; left: var(--pos); color: #8f8f8d; font-size: 11px; white-space: nowrap; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.conf-marks span:first-child { transform: none; margin-left: -9px; }
.conf-marks span:last-child { transform: translateX(-100%); margin-left: 9px; }

/* Typ vody, Umístění: pills like the site's outline buttons; the chosen one fills. */
.conf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.conf-pill { position: relative; cursor: pointer; }
.conf-pill span { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 16px; border: 1px solid #ffffff2e; border-radius: 100px; color: #d6d6d1; font-size: 14px; transition: background .45s, border-color .45s, color .45s; }
.conf-pill small { color: #8f8f8d; font-size: 11px; transition: color .45s; }
.conf-pill:hover span { border-color: #ffffff66; }
.conf-pill input:checked + span { border-color: #f5f5f0; background: #f5f5f0; color: #131415; }
.conf-pill input:checked + span small { color: #5a5b5c; }
.conf-pill input:focus-visible + span { outline: 1px solid #f5f5f0; outline-offset: 3px; }

/* Péče po předání: rows with a square box that fills when ticked. */
.conf-services { display: flex; flex-direction: column; }
.conf-service { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #ffffff12; cursor: pointer; }
.conf-service:first-child { border-top: 0; padding-top: 2px; }
.conf-check { width: 18px; height: 18px; border: 1px solid #ffffff4d; border-radius: 4px; transition: background .35s, border-color .35s; }
.conf-service input:checked ~ .conf-check { border-color: #f5f5f0; background: #f5f5f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23131415' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.conf-service input:focus-visible ~ .conf-check { outline: 1px solid #f5f5f0; outline-offset: 3px; }
.conf-service-name { color: #d6d6d1; font-size: 15px; transition: color .35s; }
.conf-service input:checked ~ .conf-service-name { color: #f5f5f0; }
.conf-service-price { color: #8f8f8d; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* The price, always in view on desktop. */
.conf-summary { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; }
.conf-price-card { padding: 26px 26px 24px; border: 1px solid #ffffff1a; border-radius: 10px; background: #18191a; }
.conf-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; max-width: none; margin: 14px 0 0; color: #a4a4a1; font-size: 18px; }
.conf-price strong { color: #f5f5f0; font-size: clamp(40px, 3.6vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.conf-extra { max-width: none; margin: 10px 0 0; color: #c9c9c5; font-size: 14px; }
.conf-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #ffffff1a; }
.conf-choice dt { color: #8f8f8d; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.conf-choice dd { margin: 4px 0 0; color: #e9e9e4; font-size: 14px; }
.conf-cta { width: 100%; justify-content: space-between; margin-top: 24px; }
.conf-note { max-width: none; margin: 14px 0 0; color: #8f8f8d; font-size: 12px; line-height: 1.5; }
.conf-included { padding: 20px 26px 22px; border: 1px solid #ffffff1a; border-radius: 10px; }
.conf-included ul { margin: 12px 0 0; padding: 0; list-style: none; }
.conf-included li { position: relative; padding: 5px 0 5px 20px; color: #c9c9c5; font-size: 14px; line-height: 1.45; }
.conf-included li::before { content: ""; position: absolute; left: 0; top: .95em; width: 9px; height: 1px; background: #ffffff8c; }
.conf-bar { display: none; }

@media (max-width: 1100px) {
  .conf-tiers { grid-template-columns: 1fr; }
  .conf-tier-card { gap: 4px; }
}
@media (max-width: 900px) {
  .conf { grid-template-columns: 1fr; }
  .conf-summary { position: static; }
}
@media (max-width: 760px) {
  .conf-card { padding: 18px 16px 20px; border-radius: 9px; }
  .conf-pair { grid-template-columns: 1fr; gap: 12px; }
  .conf-price-card, .conf-included { padding: 20px 18px; border-radius: 9px; }
  .conf-service { gap: 12px; }
  .conf-service-name { font-size: 14px; }
  .conf-marks span:nth-child(2), .conf-marks span:nth-child(4), .conf-marks span:nth-child(5) { display: none; }
  /* Phone: a slim bar with the price once the price card is out of view. */
  .conf-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #ffffff1a; background: #131415f0; backdrop-filter: blur(14px); transform: translateY(110%); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
  .conf-bar.is-visible { transform: none; }
  .conf-bar p { display: flex; flex-direction: column; gap: 2px; margin: 0; }
  .conf-bar strong { color: #f5f5f0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .conf-bar small { color: #a4a4a1; font-size: 13px; }
  .conf-bar .pill { flex: none; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .conf-tier-card, .conf-tier-top strong, .conf-tier-top span, .conf-tier-text, .conf-pill span, .conf-pill small, .conf-check, .conf-service-name, .conf-bar { transition: none; }
}
