:root {
  --cme-yellow: #f9e111;
  --cme-ink: #070708;
  --cme-panel: #111315;
  --cme-line: rgba(255, 255, 255, .15);
  --cme-muted: rgba(255, 255, 255, .66);
  --cme-radius: var(--cmyker-card-radius, 18px);
}

.cme-add,
.cme-indicator,
.cme-page button,
.cme-page input,
.cme-page textarea {
  font-family: "CMYKER Gilroy", Gilroy, Arial, sans-serif;
  box-sizing: border-box;
}

.cme-add {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 12px 17px;
  border: 1px solid var(--cme-yellow);
  border-radius: 999px;
  background: var(--cme-yellow);
  color: #0b0c0d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.cme-add:hover {
  transform: translateY(-1px);
}

.cme-add[aria-pressed="true"] {
  background: transparent;
  color: var(--cme-yellow);
}

.cme-add:focus-visible,
.cme-indicator:focus-visible,
.cme-page :is(button, a, input, textarea):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.cme-indicator {
  display: none;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 10px 8px 15px;
  border: 1px solid var(--cme-yellow);
  border-radius: 999px;
  background: var(--cme-yellow);
  color: #090a0b !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.cme-indicator.is-visible {
  display: inline-flex;
}

.cme-indicator b {
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #0a0b0c;
  color: #fff;
  font-size: 11px;
}

.header-actions .cme-indicator {
  order: -1;
}

.sp-header > .cme-indicator {
  margin-left: auto;
}

body > .cme-indicator {
  position: fixed;
  z-index: 116;
  top: 92px;
  right: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

/* Category pages */
.cme-category-copy {
  max-width: 850px;
}

.cme-category-copy .cme-category-description {
  margin: 0;
}

.cme-category-copy .cme-category-description-secondary {
  margin-top: 8px;
  color: var(--cme-muted);
}

.cme-category-services {
  width: min(1460px, calc(100% - 64px));
  margin: 0 auto 96px;
  color: #fff;
}

.cme-category-services > header {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(320px, 1.5fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--cme-line);
}

.cme-category-services > header p,
.cme-section-heading > p,
.cme-page-hero > p,
.cme-total > p,
.cme-route-service p {
  margin: 0;
  color: var(--cme-yellow);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.cme-category-services > header h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 64px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.035em;
}

.cme-category-grid {
  border-top: 1px solid var(--cme-line);
}

.cme-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .34fr);
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--cme-line);
}

.cme-service-card-copy > a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  text-decoration: none;
}

.cme-service-card-copy > a strong {
  font-size: clamp(24px, 2.4vw, 39px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
}

.cme-service-card-copy > a span {
  color: var(--cme-yellow);
  font-size: 19px;
}

.cme-service-card-copy > p {
  max-width: 850px;
  margin: 12px 0 0;
  color: var(--cme-muted);
  font-size: 16px;
  line-height: 1.55;
}

.cme-includes {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
}

.cme-includes b {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.cme-service-card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.cme-service-card-action > strong {
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.cme-category-note {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .48);
  font-size: 13px;
  line-height: 1.5;
}

/* Individual service pages */
.sp-cost .cme-add-service-page {
  width: 100%;
  margin-top: 18px;
}

.cme-route-service {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  width: min(1380px, calc(100% - 64px));
  margin: 34px auto;
  padding: 24px 26px;
  border: 1px solid var(--cme-line);
  border-radius: var(--cme-radius);
  background: rgba(8, 9, 10, .92);
  color: #fff;
}

.cme-route-service > div:first-child {
  display: grid;
  gap: 7px;
}

.cme-route-service > div:first-child strong {
  font-size: clamp(23px, 2.1vw, 35px);
  font-weight: 400;
  line-height: 1.05;
}

.cme-route-service > div:first-child span {
  color: var(--cme-muted);
  font-size: 14px;
  line-height: 1.45;
}

.cme-route-service > div:last-child {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cme-route-service > div:last-child > b {
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
}

/* My calculation page */
body.cmyker-estimate-page {
  margin: 0;
  background: #08090a;
  color: #fff;
}

.cmyker-estimate-page .site-shell {
  min-height: 100vh;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #08090a;
  background-size: 44px 44px;
}

.cmyker-estimate-page .cme-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  width: auto;
  min-height: 76px;
  align-items: center;
  gap: 20px;
  padding: 12px max(24px, calc((100vw - 1460px) / 2));
  border-bottom: 1px solid var(--cme-line);
  background: rgba(7, 8, 9, .93);
  backdrop-filter: blur(18px);
}

.cmyker-estimate-page .cme-site-header .sp-logo {
  display: block;
  width: 126px;
  margin-right: auto;
}

.cmyker-estimate-page .cme-site-header .sp-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.cme-page {
  width: min(1460px, calc(100% - 64px));
  margin: 0 auto;
  padding: 78px 0 110px;
}

.cme-page-hero {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.5fr);
  gap: 18px 36px;
  align-items: end;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--cme-line);
}

.cme-page-hero > a {
  grid-column: 1 / -1;
  width: max-content;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.cme-page-hero > p {
  align-self: start;
}

.cme-page-hero h1 {
  margin: 0;
  font-size: clamp(70px, 10vw, 170px);
  font-weight: 300;
  line-height: .78;
  letter-spacing: -.065em;
}

.cme-page-hero > div {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 20px;
}

.cme-page-hero > div p,
.cme-page-hero > div span {
  margin: 0;
  color: var(--cme-muted);
  font-size: 15px;
  line-height: 1.55;
}

.cme-estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 70px;
  align-items: start;
  padding: 70px 0 92px;
}

.cme-section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.cme-section-heading h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 61px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.04em;
}

.cme-selected-list {
  border-top: 1px solid var(--cme-line);
}

.cme-selected-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid var(--cme-line);
}

.cme-selected-index {
  color: var(--cme-yellow);
  font-size: 12px;
  letter-spacing: .12em;
}

.cme-selected-item-copy {
  display: grid;
  gap: 5px;
}

.cme-selected-item-copy strong {
  font-size: 21px;
  font-weight: 500;
}

.cme-selected-item-copy span {
  color: var(--cme-muted);
  font-size: 13px;
  line-height: 1.4;
}

.cme-selected-price {
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
}

.cme-remove {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--cme-line);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.cme-empty {
  display: grid;
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid var(--cme-line);
}

.cme-empty[hidden] {
  display: none;
}

.cme-empty p {
  margin: 0;
  color: var(--cme-muted);
}

.cme-empty a {
  width: max-content;
  color: var(--cme-yellow);
  text-decoration: none;
}

.cme-total {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
  padding: 28px 0 28px 24px;
  border: 0;
  border-left: 1px solid var(--cme-line);
  border-radius: 0;
  background: transparent;
}

.cme-total > strong {
  margin-top: 16px;
  font-size: clamp(27px, 2.5vw, 40px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

.cme-total > span {
  color: var(--cme-muted);
  font-size: 14px;
}

.cme-total > button,
.cme-submit {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  padding: 13px 18px;
  border: 1px solid var(--cme-yellow);
  border-radius: 999px;
  background: var(--cme-yellow);
  color: #090a0b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cme-total > button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.cme-request {
  padding-top: 66px;
}

.cme-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 30px;
}

.cme-honeypot {
  position: absolute;
  left: -9999px;
}

.cme-field,
.cme-contact-method,
.cme-print,
.cme-upload {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cme-field,
.cme-upload {
  display: grid;
  gap: 9px;
}

.cme-field > span,
.cme-upload > span,
.cme-contact-method legend,
.cme-print legend {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cme-field > span small,
.cme-upload > span small {
  color: var(--cme-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.cme-field input,
.cme-field textarea {
  width: 100%;
  border: 1px solid var(--cme-line);
  border-radius: 12px;
  background: #0d0e10;
  color: #fff;
  font-size: 16px;
}

.cme-field input {
  min-height: 56px;
  padding: 0 17px;
}

.cme-field textarea {
  min-height: 150px;
  resize: vertical;
  padding: 16px 17px;
  line-height: 1.45;
}

.cme-field input::placeholder,
.cme-field textarea::placeholder {
  color: rgba(255,255,255,.38);
}

.cme-field input:focus-visible,
.cme-field textarea:focus-visible,
.cme-contact-method input:focus-visible + span,
.cme-print input:focus-visible + span,
.cme-upload:focus-within {
  outline: 2px solid var(--cme-yellow);
  outline-offset: 2px;
}

.cme-field input.is-invalid { border-color: #ff7a9f; }
.cme-field-error { min-height: 15px; color: #ff7a9f; font-size: 12px; }

.cme-field-wide {
  grid-column: 1 / -1;
}

.cme-contact-method > div,
.cme-print > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.cme-print > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cme-contact-method input,
.cme-print input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cme-contact-method label span,
.cme-print label span {
  display: grid;
  min-height: 56px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--cme-line);
  border-radius: 12px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  text-align: center;
  cursor: pointer;
}

.cme-contact-method input:checked + span,
.cme-print input:checked + span {
  border-color: var(--cme-yellow);
  background: rgba(249, 225, 17, .08);
  color: var(--cme-yellow);
}

.cme-upload {
  grid-column: 1 / -1;
  min-height: 155px;
  align-content: start;
  padding: 20px 24px;
  border: 1px dashed rgba(255,255,255,.38);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}

.cme-upload.is-dragover { border-color: var(--cme-yellow); background: rgba(249,225,17,.09); }
.cme-upload.has-file { border-style: solid; }

.cme-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cme-upload label { display: grid; min-height: 80px; align-content: center; gap: 9px; text-align: center; cursor: pointer; }

.cme-upload strong {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}

.cme-upload small {
  color: var(--cme-muted);
  font-size: 13px;
}

.cme-file-selected { color: #fff; font-size: 14px; overflow-wrap: anywhere; }
.cme-file-remove { width: fit-content; padding: 4px 0; border: 0; background: none; color: var(--cme-yellow); cursor: pointer; }

.cme-submit {
  grid-column: 1 / -1;
  width: min(360px, 100%);
  min-height: 58px;
  justify-self: start;
  margin-top: 10px;
  font-size: 14px;
}

.cme-form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--cme-muted);
  font-size: 14px;
  text-align: left;
}

.cme-form-status.is-error {
  color: #ff7a9f;
}

.cme-form-status.is-success {
  color: var(--cme-yellow);
}

.cmyker-estimate-page > .cme-indicator,
.cmyker-estimate-page .sp-header > .cme-indicator {
  display: none !important;
}

@media (max-width: 980px) {
  .cme-category-services > header,
  .cme-page-hero {
    grid-template-columns: 1fr;
  }

  .cme-page-hero h1,
  .cme-page-hero > div {
    grid-column: 1;
  }

  .cme-estimate-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cme-total {
    position: static;
  }

  .cme-route-service {
    grid-template-columns: 1fr;
  }

  .cme-route-service > div:last-child {
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .cme-indicator,
  .header-actions .cme-indicator,
  .sp-header > .cme-indicator,
  body > .cme-indicator {
    position: fixed !important;
    z-index: 118 !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    left: 12px !important;
    max-width: calc(100vw - 156px);
    min-height: 45px;
    padding: 8px 9px 8px 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.38);
  }

  .cme-indicator span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cme-category-services,
  .cme-route-service,
  .cme-page {
    width: calc(100% - 28px);
  }

  .cme-category-services {
    margin-bottom: 64px;
  }

  .cme-category-services > header {
    gap: 13px;
    margin-bottom: 20px;
    padding-top: 22px;
  }

  .cme-category-services > header h2 {
    font-size: 37px;
  }

  .cme-service-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 0;
  }

  .cme-service-card-copy > a strong {
    font-size: 27px;
  }

  .cme-service-card-copy > p {
    font-size: 14px;
  }

  .cme-includes {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px;
  }

  .cme-service-card-action {
    flex-direction: row;
    align-items: center;
  }

  .cme-service-card-action > strong {
    font-size: 20px;
  }

  .cme-add {
    min-height: 43px;
    padding: 11px 14px;
    font-size: 12px;
  }

  .cme-route-service {
    gap: 22px;
    margin-top: 20px;
    margin-bottom: 25px;
    padding: 20px;
  }

  .cme-route-service > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cme-route-service .cme-add {
    width: 100%;
  }

  .cmyker-estimate-page .cme-site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .cmyker-estimate-page .cme-site-header .sp-logo {
    width: 108px;
  }

  .cmyker-estimate-page .cme-site-header .cmyker-telegram-primary {
    min-height: 39px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .cme-page {
    padding: 42px 0 80px;
  }

  .cme-page-hero {
    gap: 13px;
    padding-bottom: 32px;
  }

  .cme-page-hero h1 {
    font-size: clamp(57px, 21vw, 84px);
    line-height: .86;
  }

  .cme-page-hero > div {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
  }

  .cme-page-hero > div p,
  .cme-page-hero > div span {
    font-size: 14px;
  }

  .cme-estimate-layout {
    padding: 44px 0 62px;
  }

  .cme-section-heading h2 {
    font-size: 39px;
  }

  .cme-selected-item {
    grid-template-columns: 28px minmax(0, 1fr) 36px;
    gap: 11px;
  }

  .cme-selected-item-copy strong {
    font-size: 18px;
  }

  .cme-selected-price {
    grid-column: 2;
    font-size: 15px;
  }

  .cme-remove {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .cme-total {
    padding: 22px 0 0;
    border-left: 0;
  }

  .cme-request {
    padding-top: 44px;
  }

  .cme-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cme-field-wide,
  .cme-upload,
  .cme-submit,
  .cme-form-status {
    grid-column: 1;
  }

  .cme-contact-method > div {
    grid-template-columns: 1fr 1fr;
  }

  .cme-print > div {
    grid-template-columns: 1fr 1fr;
  }

  .cme-print label:last-child {
    grid-column: 1 / -1;
  }

  .cme-submit {
    width: 100%;
    justify-self: stretch;
  }

  .cme-form-status {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cme-add {
    transition: none;
  }
}
