.service-page .service-hero {
  min-height: 0;
  padding-top: 44px;
  padding-bottom: 34px;
}

.service-page .service-hero h1 {
  margin-bottom: 12px;
  font-size: 48px;
  line-height: 1;
}

.service-tabs {
  position: sticky;
  z-index: 20;
  top: 78px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  margin-bottom: 28px;
  padding: 5px;
  border: 1px solid rgba(13, 19, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(13, 19, 17, 0.08);
  backdrop-filter: blur(18px);
}

.service-tabs a {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #58615d;
  text-decoration: none;
}

.service-tabs a:hover,
.service-tabs a:focus-visible {
  color: #111714;
  background: #eef1ee;
}

.service-tabs a.is-active {
  color: #fff;
  background: #111714;
}

.service-tabs span {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.65;
}

.service-tabs strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-page [data-service-panel] {
  display: none;
  scroll-margin-top: 150px;
}

.service-page:not([data-service-view]) #checkout,
.service-page[data-service-view="checkout"] #checkout,
.service-page[data-service-view="payment-proof"] #payment-proof,
.service-page[data-service-view="support"] #support,
.service-page[data-service-view="order-status"] #support {
  display: grid;
}

.service-page[data-service-view="support"] #order-status,
.service-page[data-service-view="order-status"] #support > .chat-card {
  display: none;
}

.service-page[data-service-view="support"] #support,
.service-page[data-service-view="order-status"] #support {
  grid-template-columns: minmax(0, 1fr);
}

.service-page[data-service-view="support"] #support > .chat-card,
.service-page[data-service-view="order-status"] #order-status {
  width: min(100%, 820px);
  margin-right: auto;
  margin-left: auto;
}

#order-status {
  scroll-margin-top: 150px;
}

@media (max-width: 680px) {
  .service-page .market-header {
    min-height: 60px;
    padding: 7px 12px;
  }

  .service-page .market-header-inner {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .service-page .market-brand {
    min-width: 0;
    gap: 8px;
  }

  .service-page .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 19px;
  }

  .service-page .brand-text strong {
    font-size: 16px;
  }

  .service-page .brand-text small {
    max-width: none;
    font-size: 9px;
    white-space: nowrap;
  }

  .service-page .market-nav {
    display: none;
  }

  .service-page .language-switcher {
    flex: 0 0 auto;
    gap: 2px;
    padding: 2px;
  }

  .service-page .language-switcher button {
    min-width: 34px;
    min-height: 40px;
    padding: 0 7px;
  }

  .service-page .service-hero {
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .service-page .service-hero .eyebrow {
    display: none;
  }

  .service-page .service-hero h1 {
    margin-bottom: 6px;
    font-size: 30px;
    line-height: 1.1;
  }

  .service-page .service-hero .hero-lead {
    max-width: none;
    font-size: 13px;
    line-height: 1.45;
  }

  .service-page .service-hero-actions .button {
    min-height: 44px;
    padding: 11px 16px;
    font-size: 14px;
  }

  .service-tabs {
    top: 60px;
    width: calc(100% - 24px);
    margin-right: 12px;
    margin-bottom: 12px;
    margin-left: 12px;
  }

  .service-tabs a {
    min-height: 44px;
    gap: 0;
    padding: 8px 4px;
  }

  .service-tabs span {
    display: none;
  }

  .service-tabs strong {
    font-size: 12px;
  }

  .service-page [data-service-panel],
  #order-status {
    scroll-margin-top: 122px;
  }
}
