:root {
  --muted: #5f5e58;
  --focus: #274bc7;
}


@media (max-width: 600px) {
  .profile .notification-button > span { display: block; }
}

body.modal-open {
  overflow: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus) !important;
  outline-offset: 3px;
}

.toast {
  z-index: 1200;
}

.price-tier-copy em {
  color: var(--ink);
  font-size: 14px;
  font-style: normal;
}

.service-card-v2 {
  min-height: 440px;
}

.service-platform small,
.service-taxonomy small,
.service-facts small {
  font-size: 14px;
}

.service-platform strong,
.service-taxonomy strong {
  font-size: 14px;
}

.service-card-v2 .service-description {
  min-height: 55px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.service-conditions {
  margin: 0 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-conditions summary {
  padding: 9px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.service-conditions p {
  max-height: 150px;
  margin: 0;
  padding: 0 0 12px;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-card-v2 .service-price-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 12px;
}

.service-price-footer > div:last-child {
  text-align: right;
}

.service-price-footer b {
  font-size: 14px;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  margin: 24px 0 0;
}

.catalog-pagination button {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-pagination button:hover {
  background: var(--acid);
}

.catalog-pagination button:disabled {
  cursor: wait;
  opacity: .55;
}

.catalog-pagination small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

@media (max-width: 900px) {

  .client-app .toast {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
  }
}

@media (max-width: 600px) {
  .quick-grid > * {
    min-height: 165px;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .profile button,
  .notification-button,
  .favorite-service,
  .modal-close {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.notification-item.type-loyalty_cashback .notification-item-icon { background: #eef6d3; color: #60771c; }
.notification-item.type-loyalty_level_up .notification-item-icon { background: #171916; color: var(--acid,#65efc1); box-shadow: 0 0 0 4px rgba(199,245,59,.12); }


/* Authentication workspace 2026 */
.auth-page.auth-v2 {
  min-height: 100dvh;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(430px, .72fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  background: #dedcd4;
}

.auth-v2-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: calc(100dvh - 32px);
  padding: clamp(28px, 4.2vw, 64px);
  overflow: hidden;
  border: 1px solid #292925;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 16%, rgba(120,180,244, .48), transparent 25%),
    radial-gradient(circle at 4% 105%, rgba(101,239,193, .24), transparent 31%),
    #101b29;
  color: #fff;
  isolation: isolate;
}

.auth-v2-stage::before {
  position: absolute;
  z-index: -1;
  right: -160px;
  top: 14%;
  width: clamp(360px, 41vw, 660px);
  height: clamp(360px, 41vw, 660px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(255, 255, 255, .025), 0 0 0 136px rgba(255, 255, 255, .016);
  content: '';
}

.auth-v2-stage-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-v2-brand { color: #fff; }
.auth-v2-brand > span { background: var(--acid); color: var(--ink); }
.auth-v2-brand strong { font: 700 14px var(--display); }

.auth-v2-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  font-weight: 800;
}

.auth-v2-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(101,239,193, .12);
}

.auth-v2-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(48px, 8vh, 95px) 0 42px;
}

.auth-v2-copy > .label {
  color: var(--acid);
  font-size: 14px;
}

.auth-v2-copy h1 {
  max-width: 900px;
  margin: 22px 0 0;
  font: 700 clamp(47px, 5.7vw, 88px)/.97 var(--display);
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.auth-v2-copy h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--blue);
}

.auth-v2-copy p {
  max-width: 590px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  line-height: 1.75;
}

.auth-v2-orbit {
  position: absolute;
  z-index: 1;
  right: clamp(25px, 5vw, 85px);
  top: 31%;
  display: grid;
  place-items: center;
  width: clamp(150px, 16vw, 245px);
  height: clamp(150px, 16vw, 245px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .26);
  font: 700 clamp(16px, 1.6vw, 24px) var(--display);
  transform: rotate(-14deg);
}

.auth-v2-orbit::before,
.auth-v2-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  content: '';
}

.auth-v2-orbit::before { inset: 17px; }
.auth-v2-orbit::after { inset: 43px; background: rgba(17, 17, 15, .24); }
.auth-v2-orbit span { position: absolute; top: 26px; }
.auth-v2-orbit b { position: absolute; bottom: 24px; font: inherit; }
.auth-v2-orbit i { position: relative; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 10px rgba(101,239,193, .12); }

.auth-v2-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .13);
}

.auth-v2-benefits article {
  min-width: 0;
  min-height: 115px;
  padding: 20px;
  background: rgba(17, 17, 15, .78);
  backdrop-filter: blur(12px);
}

.auth-v2-benefits article > span {
  color: var(--acid);
  font: 700 14px var(--display);
}

.auth-v2-benefits strong,
.auth-v2-benefits small { display: block; }
.auth-v2-benefits strong { margin-top: 15px; font-size: 14px; }
.auth-v2-benefits small { margin-top: 7px; color: rgba(255, 255, 255, .52); font-size: 14px; line-height: 1.5; }

.auth-box.auth-v2-box {
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 32px);
  padding: clamp(30px, 4.5vw, 70px);
  border: 1px solid #c8c5bb;
  border-radius: 28px;
  background: #f7f5ee;
}

.auth-v2-box-inner {
  width: min(100%, 440px);
}

.auth-v2-eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .13em;
}

.auth-v2-eyebrow b { color: var(--blue); font-weight: 900; }

.auth-v2-box .auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 35px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eceae2;
}

.auth-v2-box .auth-tabs button {
  min-height: 43px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-v2-box .auth-tabs button.active {
  border: 0;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(17, 17, 15, .16);
}

.auth-v2-form-head h2 {
  margin: 0;
  font: 700 clamp(25px, 2.4vw, 34px)/1.1 var(--display);
  letter-spacing: -.055em;
}

.auth-v2-form-head p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-v2-box label.auth-v2-field {
  position: relative;
  display: block;
  margin-top: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.auth-v2-field > span { display: block; }

.auth-v2-box .auth-v2-field input {
  display: block;
  width: 100%;
  height: 58px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid #bbb8ae;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 600 14px var(--body);
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.auth-v2-box .auth-v2-field input::placeholder { color: #a09e96; font-weight: 600; }
.auth-v2-box .auth-v2-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(120,180,244, .15); outline: 0; }
.auth-v2-box .auth-v2-password input { padding-right: 92px; }

.auth-v2-password > button {
  position: absolute;
  right: 12px;
  bottom: 11px;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-v2-password-hint {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.auth-v2-box form > button.auth-v2-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 57px;
  margin-top: 27px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--acid);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}

.auth-v2-box form > button.auth-v2-submit:hover {
  box-shadow: 0 13px 28px rgba(17, 17, 15, .14);
  transform: translateY(-2px);
}

.auth-v2-submit i { font-size: 20px; font-style: normal; }

.auth-v2-box .form-error {
  min-height: 18px;
  margin-top: 10px;
  color: #b22f24;
  font-size: 14px;
  font-weight: 700;
}

.auth-v2-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.auth-v2-foot span { display: inline-flex; align-items: center; gap: 7px; }
.auth-v2-foot i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #def4b1; color: #366108; font-style: normal; }
.auth-v2-foot a { color: var(--ink); font-weight: 900; text-decoration: none; border-bottom: 1px solid var(--ink); }

@media (max-width: 1100px) {
  .auth-page.auth-v2 { grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr); }
  .auth-v2-orbit { opacity: .55; }
  .auth-v2-benefits article:last-child { display: none; }
  .auth-v2-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .auth-page.auth-v2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow: visible;
  }

  .auth-v2-stage {
    min-height: 470px;
    padding: 32px;
  }

  .auth-v2-copy { padding: 65px 0 42px; }
  .auth-v2-copy h1 { font-size: clamp(38px, 8vw, 64px); }
  .auth-v2-orbit { right: 35px; top: 27%; }
  .auth-box.auth-v2-box { min-height: 620px; }
}

@media (max-width: 600px) {
  .auth-page.auth-v2 { padding: 0; gap: 0; background: #101b29; }

  .auth-v2-stage {
    min-height: 330px;
    padding: 24px 20px 30px;
    border: 0;
    border-radius: 0;
  }

  .auth-v2-stage-head { align-items: center; }
  .auth-v2-brand strong { font-size: 14px; }
  .auth-v2-brand > span { width: 36px; height: 36px; }
  .auth-v2-status { padding: 0 10px; font-size: 14px; }
  .auth-v2-copy { align-self: end; padding: 55px 0 0; }
  .auth-v2-copy > .label { font-size: 14px; }
  .auth-v2-copy h1 { margin-top: 15px; font-size: clamp(32px, 10vw, 43px); }
  .auth-v2-copy p { margin-top: 17px; font-size: 14px; }
  .auth-v2-orbit { right: -35px; top: 29%; width: 135px; height: 135px; opacity: .4; }
  .auth-v2-benefits { display: none; }

  .auth-box.auth-v2-box {
    min-height: 610px;
    padding: 34px 20px calc(38px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 24px 24px 0 0;
  }

  .auth-v2-box .auth-tabs { margin-bottom: 30px; }
  .auth-v2-form-head h2 { font-size: 25px; }
  .auth-v2-foot { align-items: flex-start; flex-direction: column; gap: 13px; }
}

