/* BoberDober · 30 October 2026. Presentation only; prices and controls use the
   existing catalogue. Loaded after legacy styles so the iteration stays small. */
:root {
  --bd-card-surface: #f7f7f8;
  --bd-card-border: #e3e4e8;
  --bd-card-selected: #fff3e8;
  --bd-card-selected-border: #c85000;
  --bd-card-focus: #245fc0;
}

/* The homepage uses the same objects at card size, rather than stretching the
   small navigation thumbnails. Existing service links and publication gates stay. */
.site-quick-start,
.site-quick-start:has(a[href$="/handyman"]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid #e5e5e9;
  border-radius: 24px;
  background: #fff;
}

.site-quick-start:has(a[href$="/handyman"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.site-quick-start > div,
.site-quick-start:has(a[href$="/handyman"]) > div {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 2px;
}

.site-quick-start > div h2 {
  margin: 0;
  color: #1d1d1f;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.site-quick-start > div .site-eyebrow { margin: 0; }

.site-quick-start > a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  min-height: 236px;
  margin: 0;
  padding: 20px;
  border: 1px solid #e1e2e7;
  border-radius: 17px;
  background: #f7f7f8;
  color: #1d1d1f;
  text-align: left;
  text-decoration: none;
}

.site-quick-start > a:nth-child(n) {
  border-color: #e1e2e7;
  background: #f7f7f8;
}

.site-quick-start > a > img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex: 0 0 96px;
  margin: 0;
}

.site-quick-start > a > span:not([aria-hidden]) { min-width: 0; }

.site-quick-start > a strong {
  display: block;
  color: #1d1d1f;
  font-family: Outfit, Inter, sans-serif;
  font-size: 21px;
  font-weight: 550;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.site-quick-start > a small {
  display: block;
  margin-top: 7px;
  color: #62626b;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.site-quick-start > a > span[aria-hidden="true"] {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #dddee4;
  border-radius: 50%;
  background: #fff;
  color: #1d1d1f;
  font-size: 20px;
  line-height: 1;
}

.site-quick-start > a:focus-visible {
  outline: 3px solid var(--bd-card-focus);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .site-quick-start,
  .site-quick-start:has(a[href$="/handyman"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-quick-start > a { min-height: 210px; }
}

@media (max-width: 600px) {
  .site-quick-start,
  .site-quick-start:has(a[href$="/handyman"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border-radius: 19px;
  }
  .site-quick-start > div { margin-bottom: 6px; }
  .site-quick-start > a { min-height: 209px; padding: 14px 12px; gap: 11px; }
  .site-quick-start > a > img { width: 80px; height: 80px; flex-basis: 80px; }
  .site-quick-start > a strong { font-size: 17px; line-height: 1.3; }
  .site-quick-start > a small { font-size: 12px; }
  .site-quick-start > a > span[aria-hidden="true"] { top: 10px; right: 9px; width: 25px; height: 25px; font-size: 17px; }
}

@media (max-width: 360px) {
  .site-quick-start,
  .site-quick-start:has(a[href$="/handyman"]) { grid-template-columns: minmax(0, 1fr); }
  .site-quick-start > a { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; min-height: 137px; padding: 16px 12px; gap: 10px; }
  .site-quick-start > a > img { width: 76px; height: 76px; }
  .site-quick-start > a > span:not([aria-hidden]) { padding-right: 4px; }
  .site-quick-start > a > span[aria-hidden="true"] { width: 22px; height: 22px; font-size: 15px; top: 7px; right: 7px; }
}

body.service-body .extra-row,
body.service-body #dialog-items .extra-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  padding: 20px 16px 16px;
  border: 2px solid var(--bd-card-border);
  border-radius: 18px;
  background: var(--bd-card-surface);
  text-align: center;
  box-shadow: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

body.service-body .extra-row.selected,
body.service-body #dialog-items .extra-row.selected {
  border-color: var(--bd-card-selected-border);
  background: var(--bd-card-selected);
}

body.service-body .extra-row.mandatory,
body.service-body #dialog-items .extra-row.mandatory {
  border-color: #bfd8c6;
  background: #f0f7f2;
}

body.service-body .extra-row:has(:focus-visible) {
  outline: 3px solid var(--bd-card-focus);
  outline-offset: 3px;
}

body.service-body .extra-row.unavailable:not(.selected),
body.service-body #dialog-items .extra-row.unavailable:not(.selected) {
  background: #f1f1f3;
  border-style: dashed;
}

body.service-body .extra-row.unavailable:not(.selected) .extra-illustration {
  opacity: .55;
}

body.service-body .extra-illustration,
body.service-body #dialog-items .extra-illustration {
  align-self: center;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
}

body.service-body .extra-illustration img,
body.service-body #dialog-items .extra-illustration img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

body.service-body .extra-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.service-body .extra-text > .item-title {
  font-family: Outfit, Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #1d1d1f;
}

body.service-body .extra-text > .item-price {
  margin-top: 9px;
  color: #333338;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

body.service-body .extra-text > .item-description {
  margin-top: 8px;
  color: #616169;
  font-size: 12px;
  line-height: 1.55;
}

body.service-body .extra-text > .candidate-note,
body.service-body .extra-text > .temporary-icon-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: #665247;
}

body.service-body .extra-text > .candidate-note {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid #ded7d0;
}

body.service-body .extra-text > .candidate-note--compact {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 7px;
  border: 1px solid #e7c4aa;
  border-radius: 6px;
  background: #fff6ef;
  color: #75411e;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.45;
}

body.service-body .item-scope .candidate-scope-note {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #ded7d0;
  color: #75411e;
}

body.service-body .extra-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 4px 8px;
  border: 1px solid #c85000;
  border-radius: 6px;
  color: #8e3900;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

body.service-body .extra-row > .counter,
body.service-body #dialog-items .extra-row > .counter {
  align-self: center;
  justify-self: center;
  max-width: 100%;
  margin-top: 4px;
}

body.service-body .counter {
  gap: 4px;
  min-height: 44px;
  border: 0;
  background: transparent;
  overflow: visible;
}

body.service-body .counter button,
body.service-body .extra-row > .counter button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #c8ccd5;
  border-radius: 50%;
  background: #fff;
  color: #1d1d1f;
  font-size: 23px;
  line-height: 1;
}

body.service-body .counter output {
  min-width: 27px;
  padding: 0 3px;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
}

body.service-body .counter button:disabled {
  border-color: #dedfe4;
  background: #efeff2;
  color: #888b95;
  cursor: default;
}

body.service-body .counter button:focus-visible,
body.service-body .toggle-control:has(input:focus-visible),
body.service-body .item-scope > summary:focus-visible,
body.service-body .item-condition > summary:focus-visible {
  outline: 3px solid var(--bd-card-focus);
  outline-offset: 3px;
}

body.service-body .counter input.area-quantity {
  min-height: 44px;
  border: 1px solid #c8ccd5;
  border-radius: 8px;
  background: #fff;
}

body.service-body .extra-row > .toggle-control,
body.service-body .cleaning-toggle-card > .toggle-control {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 9px;
  min-height: 46px;
  margin-top: 4px;
  padding: 10px 9px;
  border: 1px solid #d1d5de;
  border-radius: 11px;
  background: #fff;
  color: #29292e;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

body.service-body .extra-row > .toggle-control input {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin: 0;
  accent-color: #b94700;
}

body.service-body .extra-row > .toggle-control span { min-width: 0; }

body.service-body .extra-row.selected > .toggle-control {
  border-color: #c85000;
  background: #fffaf6;
}

body.service-body .extra-row > .toggle-control:has(input:disabled) {
  color: #686b75;
  background: #eeeef1;
  cursor: default;
}

body.service-body .extra-row > .included-pill {
  align-self: center;
  justify-self: center;
  margin-top: 4px;
  white-space: normal;
}

body.service-body .item-scope {
  margin: 10px 0 0;
  color: #54545d;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

body.service-body .item-scope > summary,
body.service-body .item-condition > summary {
  display: list-item;
  min-height: 44px;
  padding: 11px 0;
  color: #884000;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}

body.service-body .item-scope p { margin: 0 0 8px; font-size: 12px; }

body.service-body .item-condition {
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

body.service-body .item-condition .field,
body.service-body .item-condition .discount-label { font-size: 13px; }

body.service-body .service-incompatible,
body.service-body .quantity-error { font-size: 12px; line-height: 1.55; }

body.service-body #standalone-items[data-catalog-group="handyman"],
body.service-body #dialog-items[data-catalog-group="handyman"] { display: block; }

body.service-body .handyman-group { margin: 0 0 30px; }
body.service-body .cleaning-extras-group { margin-bottom: 8px; }

body.service-body .handyman-group > .catalog-category-heading,
body.service-body .cleaning-extras-group > .catalog-category-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  color: #1d1d1f;
  font-family: Outfit, Inter, sans-serif;
  font-size: 21px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -.02em;
  scroll-margin-top: var(--site-header-clearance, 174px);
}

.catalog-category-count {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #e0e0e5;
  border-radius: 7px;
  color: #6c6c75;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
}

body.service-body .handyman-group .service-items-grid,
body.service-body .cleaning-extras-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

body.service-body .addon-card {
  min-height: 110px;
  border-radius: 16px;
  background: #fff5ed;
  border-color: #edc7aa;
}

body.service-body .addon-card img { width: 72px; height: 72px; }

body.service-body .addon-card:focus-visible {
  outline: 3px solid var(--bd-card-focus);
  outline-offset: 3px;
}

/* The live calculator's .form-column and #extras-dialog are size containers. */
@container (max-width: 760px) {
  body.service-body .handyman-group .service-items-grid,
  body.service-body .cleaning-extras-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@container (max-width: 560px) {
  body.service-body .handyman-group .service-items-grid,
  body.service-body .cleaning-extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.service-body .extra-row,
  body.service-body #dialog-items .extra-row { padding: 18px 12px 14px; }
  body.service-body .extra-illustration,
  body.service-body #dialog-items .extra-illustration,
  body.service-body .extra-illustration img,
  body.service-body #dialog-items .extra-illustration img { width: 84px; height: 84px; }
  body.service-body .extra-illustration,
  body.service-body #dialog-items .extra-illustration { flex-basis: 84px; }
  body.service-body .extra-text > .item-title { font-size: 15px; }
}

@container (max-width: 340px) {
  body.service-body .handyman-group .service-items-grid,
  body.service-body .cleaning-extras-grid,
  body.service-body .service-items-grid,
  body.service-body #dialog-items { grid-template-columns: minmax(0, 1fr); }
  body.service-body .extra-row,
  body.service-body #dialog-items .extra-row { padding: 20px 18px 16px; }
  body.service-body .extra-text > .item-title { font-size: 16px; }
  body.service-body .extra-text > .item-price { font-size: 14px; }
  body.service-body .addon-card { flex-wrap: wrap; gap: 12px; }
  body.service-body .addon-card > span:not(.addon-plus) { flex: 1 1 130px; }
}

@media (hover: hover) {
  .site-quick-start > a:nth-child(n):hover { border-color: #bf6a2d; background: #fff3e8; }
  body.service-body .extra-row:not(.unavailable):hover,
  body.service-body #dialog-items .extra-row:not(.unavailable):hover {
    border-color: #be906d;
    box-shadow: 0 5px 14px #1d1d1f08;
  }
  body.service-body .extra-row.selected:hover,
  body.service-body #dialog-items .extra-row.selected:hover { border-color: #a54100; }
  body.service-body .counter button:hover:not(:disabled) {
    border-color: #b94700;
    background: #fff0e3;
    color: #883700;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.service-body .extra-row,
  body.service-body #dialog-items .extra-row { transition: none; }
}

/* CONTENT_UX_R8: compact catalogue cards after the established card skin. */
body.service-body .extra-row,body.service-body #dialog-items .extra-row{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:56px minmax(0,1fr) auto;align-items:start;gap:9px;padding:13px 11px;border-radius:14px}
body.service-body .extra-row .extra-illustration,body.service-body .extra-row .extra-illustration img,body.service-body #dialog-items .extra-illustration,body.service-body #dialog-items .extra-illustration img{width:56px;height:56px;flex-basis:56px;object-fit:contain;justify-self:center}
body.service-body .extra-row .item-title{font-size:14px;line-height:1.4}
body.service-body .extra-row .item-price{font-size:13px;line-height:1.4}
body.service-body .extra-row>.counter,body.service-body #dialog-items .extra-row>.counter{display:grid;grid-template-columns:44px minmax(20px,1fr) 44px;align-self:end;justify-self:stretch;width:100%;margin:0;gap:2px}
body.service-body .extra-row>.toggle-control{min-height:44px;margin:0;padding:8px 6px;font-size:12px}
body.service-body :is(#standalone-items,#basic-extras) .service-items-grid,body.service-body .cleaning-extras-grid,body.service-body #basic-extras,body.service-body #dialog-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.service-body .counter button.counter-feedback{background:#ffe1c8;border-color:#e29154;transition:background-color 140ms,border-color 140ms}
@media(max-width:1023px){body.service-body :is(#standalone-items,#basic-extras) .service-items-grid,body.service-body .cleaning-extras-grid,body.service-body #basic-extras,body.service-body #dialog-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body.service-body :is(#standalone-items,#basic-extras) .service-items-grid,body.service-body .cleaning-extras-grid,body.service-body #basic-extras,body.service-body #dialog-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.service-body .extra-row,body.service-body #dialog-items .extra-row{padding:12px 9px;gap:8px}body.service-body .extra-row .item-title{font-size:13px}}
@media(max-width:359px){body.service-body :is(#standalone-items,#basic-extras) .service-items-grid,body.service-body .cleaning-extras-grid,body.service-body #basic-extras,body.service-body #dialog-items{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body.service-body .counter button.counter-feedback{transition:none}}
/* R8 render-r1 reproduced: nested cleaning categories span the outer grid;
   window rows live directly in #standalone-items, not in a nested group. */
body.service-body #basic-extras>.cleaning-extras-group{grid-column:1/-1;min-width:0}
body.service-body #standalone-items{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1023px){body.service-body #standalone-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body.service-body #standalone-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){body.service-body #standalone-items{grid-template-columns:minmax(0,1fr)}}