/* Booking page (tokens in theme.css). A single calm column that works as a
   full page or embedded in any company's site; phone-first, 44px+ targets. */

body { background: var(--surface); padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

/* ---------- header ---------- */
.top {
  max-width: 600px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; min-width: 0; }
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.top-end { display: flex; align-items: center; gap: 4px; }
.top-end .icon-btn { width: 36px; height: 36px; border-color: transparent; }
/* Inside a company's website (embed.js): the close button stays in reach while scrolling. */
.embedded .top { position: sticky; top: 0; z-index: 20; background: var(--surface); }
.langs { display: flex; gap: 2px; }
.langs button {
  border: 0; background: transparent; min-width: 36px; height: 32px; padding: 0 8px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; color: var(--ink-3); transition: background .15s, color .15s;
}
.langs button:hover { color: var(--ink); }
.langs button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); }

/* ---------- layout ---------- */
.shell { max-width: 600px; margin: 0 auto; padding: 20px 20px 32px; }
.progress { display: flex; align-items: center; gap: 12px; margin: -4px 0 20px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; color: var(--ink); flex-shrink: 0; transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:disabled { opacity: .35; cursor: default; background: var(--surface); }
.bars { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.bars span { height: 3px; border-radius: 3px; background: var(--surface-3); transition: background .3s var(--ease); }
.bars span.on { background: var(--brand); }
.step-count { font-size: 13px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }

.step { animation: enter .22s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.hero { margin: 12px 0 24px; }
.hero h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.025em; }
.hero p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.step-title { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.step-sub { color: var(--ink-2); margin: 6px 0 24px; }
.step-title + .block { margin-top: 24px; }

.block { margin-top: 28px; }
.q { font-weight: 600; font-size: 15px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.opt { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.note { font-size: 13px; color: var(--ink-2); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.note svg.i { width: 16px; height: 16px; color: var(--ink-3); }

/* ---------- step 1: service list (one grouped list, not floating cards) ---------- */
.services { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.service {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: start; padding: 18px 16px;
  background: var(--surface); border: 0; border-top: 1px solid var(--line); transition: background .15s;
}
.service:first-child { border-top: 0; }
.service:hover { background: var(--surface-2); }
.service:active { background: var(--surface-3); }
.service-ico { width: 44px; height: 44px; border-radius: var(--r); background: var(--surface-2); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.service:hover .service-ico { background: var(--surface); }
.service-ico svg.i { width: 22px; height: 22px; }
.service-body { flex: 1; min-width: 0; }
.service-name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.service-desc { color: var(--ink-2); font-size: 13.5px; margin-top: 2px; }
.service-price { margin-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.service-go { color: var(--ink-3); display: flex; }
.hint-urgent { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
.hint-urgent svg.i { width: 16px; height: 16px; color: var(--warning); margin-top: 2px; }

/* ---------- controls ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); }
.stepper button { width: 48px; height: 48px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink); border-radius: var(--r); }
.stepper button:hover:not(:disabled) { background: var(--surface-2); }
.stepper button:disabled { color: var(--line-strong); cursor: default; }
.stepper output { min-width: 40px; text-align: center; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }

.options { display: grid; gap: 8px; }
.options.two { grid-template-columns: 1fr 1fr; }
.option {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; text-align: start; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); transition: border-color .15s, background .15s, box-shadow .15s;
}
.option:hover { border-color: var(--ink-3); }
.option[aria-checked="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-soft); }
.option .radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex-shrink: 0; display: grid; place-items: center; background: var(--surface); }
.option[aria-checked="true"] .radio { border-color: var(--brand); }
.option[aria-checked="true"] .radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.option svg.i { color: var(--ink-2); }
.option[aria-checked="true"] svg.i { color: var(--ink); }
.option-label { font-weight: 500; }
.option-sub { font-size: 13px; color: var(--ink-3); }
.options.two .option { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px;
  font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.field { display: block; margin-top: 16px; }
.field:first-child { margin-top: 0; }
.field > span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field > span .opt { font-weight: 400; }
.input {
  width: 100%; height: 48px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r);
  padding: 0 14px; font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; min-height: 76px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.with-suffix { position: relative; max-width: 180px; }
.with-suffix .input { padding-inline-end: 40px; }
.with-suffix em { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-3); }
.input.invalid, .invalid > .input, .invalid .input { border-color: var(--danger); }
.invalid > .q, .invalid > span { color: var(--danger); }
.options.invalid .option, .chips.invalid .chip { border-color: color-mix(in srgb, var(--danger) 55%, var(--line-strong)); }
.field-err { color: var(--danger); font-size: 13px; margin-top: 6px; }

.disclosure {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; text-align: start; background: transparent;
  border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 12px 14px; color: var(--ink); font-weight: 500;
}
.disclosure:hover { background: var(--surface-2); }
.disclosure svg.i { color: var(--ink-2); }
.disclosure .chev { margin-inline-start: auto; transition: transform .2s var(--ease); display: flex; }
.disclosure[aria-expanded="true"] .chev { transform: rotate(90deg); }
.units { display: grid; gap: 10px; margin-top: 10px; }
.unit { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.unit-title { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.unit-grid { display: grid; grid-template-columns: 1fr 88px; gap: 8px; }
.unit-grid .input { height: 44px; font-size: 15px; }
.unit-grid .input:last-child { grid-column: 1 / -1; }

.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photos > div { min-width: 0; }
.photo {
  position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); border: 1px dashed var(--line-strong);
  background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; padding: 10px; overflow: hidden; color: var(--ink-2); transition: background .15s, border-color .15s;
}
.photo:hover { background: var(--surface-2); border-color: var(--ink-3); }
.photo.invalid { border-color: var(--danger); }
.photo svg.i { width: 24px; height: 24px; margin-bottom: 4px; }
.photo .p-label { font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.photo .p-sub { font-size: 12px; color: var(--ink-3); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .p-change { position: absolute; inset-inline-start: 8px; bottom: 8px; background: rgba(18, 18, 22, .78); color: #fff; border-radius: 6px; font-size: 12.5px; padding: 4px 10px; }
.photo.busy::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .65); }

/* ---------- date & time ---------- */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface-2); border-radius: var(--r); padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; border-radius: calc(var(--r) - 3px); height: 36px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 22, .08), 0 0 0 1px var(--line); }
.cal { margin-top: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-month { font-weight: 600; font-size: 15px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav .icon-btn { width: 36px; height: 36px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-wd { text-align: center; font-size: 12px; color: var(--ink-3); font-weight: 500; padding-bottom: 6px; text-transform: capitalize; }
.day {
  height: 44px; border: 0; background: transparent; border-radius: 50%; width: 44px; max-width: 100%; justify-self: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 15px;
  color: var(--line-strong); padding: 0; position: relative; font-variant-numeric: tabular-nums; transition: background .15s;
}
.day.free { color: var(--ink); font-weight: 500; }
.day.free:hover { background: var(--surface-2); }
.day.free::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--positive); }
.day.busy { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.day.today:not(.selected) { box-shadow: inset 0 0 0 1px var(--line-strong); }
.day.selected { background: var(--brand); color: var(--brand-ink); font-weight: 600; }
.day.selected::after { background: var(--brand-ink); }
.day:disabled { cursor: default; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--positive); }
.legend i.off { background: var(--line-strong); }
.notice { background: var(--surface-2); color: var(--ink-2); border-radius: var(--r); padding: 12px 14px; font-size: 14px; margin-top: 12px; }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.time {
  height: 52px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r); padding: 0 10px;
  font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s;
}
.time:hover { border-color: var(--ink-3); }
.time.wide { grid-column: 1 / -1; }
.time[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.skeleton { height: 52px; border-radius: var(--r); background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

.urgent {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: 14px; margin-bottom: 16px; transition: border-color .15s, background .15s;
}
.urgent:hover { border-color: var(--ink-3); }
.urgent.on { border-color: var(--warning); background: var(--warning-soft); }
.urgent-ico { color: var(--warning); display: flex; }
.urgent-body { flex: 1; min-width: 0; }
.urgent-title { font-weight: 500; }
.urgent-sub { font-size: 13px; color: var(--ink-2); }
.switch { width: 44px; height: 26px; border-radius: 99px; background: var(--line-strong); position: relative; flex-shrink: 0; transition: background .2s var(--ease); }
.switch::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.urgent.on .switch { background: var(--warning); }
.urgent.on .switch::after { transform: translateX(18px); }

/* ---------- summary ---------- */
.summary { margin-top: 28px; padding: 4px 16px; }
.summary h3 { font-size: 15px; padding: 12px 0 4px; }
.sum-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.summary > .sum-row:first-child, .summary h3 + .sum-row { border-top: 0; }
.sum-row .ico { color: var(--ink-3); display: flex; padding-top: 2px; }
.sum-row .ico svg.i { width: 18px; height: 18px; }
.sum-body { flex: 1; min-width: 0; }
.sum-k { font-size: 12.5px; color: var(--ink-3); }
.sum-v { font-weight: 500; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.sum-edit { border: 0; background: transparent; color: var(--ink-2); font-size: 13.5px; font-weight: 500; padding: 4px 0; padding-inline-start: 8px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.sum-note { font-size: 13px; color: var(--ink-2); }
.q-hint { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); margin: -6px 0 12px; }
.field .q-hint { margin: 0; }
.option .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-strong); flex-shrink: 0; display: grid; place-items: center; background: var(--surface); }
.option[aria-checked="true"] .box { border-color: var(--brand); background: var(--brand); }
.option[aria-checked="true"] .box::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--brand-ink); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.services + .services { margin-top: 12px; }
.urgent-service .service-ico { color: var(--warning); }
.emergency-price { font-weight: 600; font-size: 18px; margin: -8px 0 16px; font-variant-numeric: tabular-nums; }
.emergency-actions { display: grid; gap: 10px; margin-top: 24px; }
.emergency-actions .cta, .emergency-actions .btn-ghost { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: inherit; }
.emergency-actions .cta { color: var(--brand-ink); }
.emergency-actions svg.i { width: 18px; height: 18px; }
.sum-note .ico svg.i { width: 16px; height: 16px; }
.sum-edit:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- bottom action bar ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface);
  border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
}
.bar-inner { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.bar-total { flex: 1; min-width: 0; }
.bar-price { font-weight: 600; font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.bar-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
.cta {
  border: 0; border-radius: var(--r); background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 15.5px;
  height: 48px; padding: 0 22px; min-width: 148px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s, transform .1s;
}
.cta:hover { background: var(--brand-hover); }
.cta:active { transform: translateY(1px); }
.cta:disabled { opacity: .45; cursor: default; }
.cta svg.i { width: 18px; height: 18px; }
.form-err { color: var(--danger); font-size: 14px; margin-top: 16px; }
.ts-box { margin-top: 16px; }
.ts-box:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- status page ---------- */
.status-hero { padding: 12px 0 24px; }
.status-badge { width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--positive-soft); color: var(--positive); }
.status-badge svg.i { width: 24px; height: 24px; stroke-width: 2.25; }
.status-badge.cancelled { background: var(--surface-2); color: var(--ink-2); }
.status-hero h1 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.status-msg { margin: 8px 0 0; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 4px 0; }
.timeline li { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 11px; top: 26px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--brand); }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; flex-shrink: 0; z-index: 1; }
.timeline li.done .tl-dot { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.timeline li.current .tl-dot { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.tl-dot svg.i { width: 13px; height: 13px; stroke-width: 2.75; }
.tl-text { padding-top: 1px; }
.tl-title { font-weight: 500; }
.timeline li:not(.done):not(.current) .tl-title { color: var(--ink-3); font-weight: 400; }
.tl-sub { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
#statusView .summary { margin-top: 12px; }
.updates { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14px; margin-top: 16px; }
.updates svg.i { width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); }
.status-actions { display: grid; gap: 10px; margin-top: 24px; }
.btn-ghost { height: 48px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--r); font-weight: 500; transition: background .15s; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-ghost.danger { color: var(--danger); }

@media (min-width: 640px) {
  .top { padding: 20px 24px; }
  .shell { padding: 28px 24px 40px; }
  .hero { margin-top: 24px; }
  .hero h1 { font-size: 34px; }
  .times { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 360px) {
  .options.two { grid-template-columns: 1fr; }
  .cta { min-width: 0; padding: 0 16px; }
  .day { width: 38px; height: 38px; }
}

/* What the contact details are used for (data-protection laws such as Panama's Ley 81). */
.privacy-note { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); margin: 14px 2px 0; }
/* "Get status updates on WhatsApp" on the status page. */
.wa-updates { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; text-decoration: none; color: inherit; }
.wa-updates svg.i { width: 18px; height: 18px; }

/* ---------- buying an air conditioner ---------- */
.product { display: flex; gap: 16px; align-items: center; padding: 16px; }
.product-img { width: 104px; height: 104px; flex: none; border-radius: var(--r); object-fit: contain; background: var(--surface-2); }
.product-img.empty { display: flex; align-items: center; justify-content: center; color: var(--ink-3); }
.product-img.empty svg.i { width: 36px; height: 36px; }
.product-body { min-width: 0; }
.product-name { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.product-specs { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.45; }
.product-price { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.product-stock { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: var(--positive-soft); color: var(--positive); }
.product-stock.order { background: var(--warning-soft); color: var(--warning); }
@media (max-width: 420px) { .product { align-items: flex-start; } .product-img { width: 84px; height: 84px; } }

/* ---------- the storefront: models on sale, power sized to the room ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--brand); }
.shop-list { display: grid; gap: 10px; }
.shop-item { display: flex; align-items: center; gap: 14px; width: 100%; text-align: start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: inherit; transition: border-color .15s; }
.shop-item:hover { border-color: var(--ink-3); }
.shop-img { width: 76px; height: 76px; flex: none; border-radius: var(--r); object-fit: contain; background: var(--surface-2); }
.shop-img.empty { display: flex; align-items: center; justify-content: center; color: var(--ink-3); }
.shop-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.shop-name { font-weight: 600; line-height: 1.3; }
.shop-specs { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.shop-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.shop-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.shop-foot .product-stock { margin-top: 0; }
.fit-tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); margin-bottom: 2px; }

/* ---------- the client's air conditioners: sticker page, «My air conditioners» ---------- */
.unit { padding: 16px; }
.unit + .unit { margin-top: 10px; }
.unit-head { display: flex; gap: 14px; align-items: center; }
.unit-img { width: 64px; height: 64px; flex: none; border-radius: var(--r); object-fit: contain; background: var(--surface-2); }
.unit-img.empty { display: flex; align-items: center; justify-content: center; color: var(--ink-3); }
.unit-name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.unit-specs { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.unit-rows { margin-top: 12px; border-top: 1px solid var(--line); }
.unit-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.unit-row:last-child { border-bottom: 0; }
.unit-k { color: var(--ink-3); }
.unit-v { font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }
.unit-v.ok { color: var(--positive); }
.unit-v.due { color: var(--warning); }
.unit-book { width: 100%; margin-top: 12px; }
.unit-group + .unit-group { margin-top: 20px; }
.unit-address { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin: 0 2px 8px; }
.unit-address svg.i { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.unit-history { margin-top: 16px; padding: 4px 16px; }
.unit-history h3 { font-size: 15px; padding: 12px 0 4px; }
.unit-banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); margin: -8px 0 12px; }
.unit-banner svg.i { color: var(--ink-3); flex: none; }
.unit-banner-k { font-size: 12.5px; color: var(--ink-3); }
.unit-banner-v { font-weight: 600; overflow-wrap: anywhere; }
.link-btn { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: inherit; }
.link-btn svg.i { width: 18px; height: 18px; }

/* ---------- the client rates the finished work ---------- */
.rate { margin-top: 12px; }
.rate h3 { font-size: 15px; margin-bottom: 8px; }
.stars { display: flex; gap: 4px; }
.star { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; color: var(--line-strong); }
.star svg.i { width: 30px; height: 30px; }
.star.on { color: var(--warning); }
.star.on svg.i { fill: currentColor; }
button.star:hover { color: var(--warning); }
.rate textarea { margin-top: 12px; }
.rate .cta { width: 100%; margin-top: 12px; }
.rate .link-btn { margin-top: 12px; }
.rate-done { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 500; }
.rate-done .star { width: 22px; height: 22px; }
.rate-done .star svg.i { width: 18px; height: 18px; }

/* Arabic: right to left, arrows pointing the other way, an Arabic typeface.
   Phone numbers and e-mail addresses stay left to right. */
[dir="rtl"] .i.dir { transform: scaleX(-1); }
[dir="rtl"] body, [dir="rtl"] button, [dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select { font-family: 'IBM Plex Sans Arabic', var(--font); }
[dir="rtl"] .disclosure[aria-expanded="true"] .chev { transform: rotate(-90deg); }
[dir="rtl"] .urgent.on .switch::after { transform: translateX(-18px); }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }
[dir="rtl"] a[href^="tel:"] { unicode-bidi: isolate; }
