.support-page {
  background: var(--paper);
}

.support-page-wrapper {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
}

.support-sidebar {
  min-width: 0;
}

.support-sidebar-title {
  margin: 0 0 25px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.support-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.support-nav-link {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #6a6a6a;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 2.5;
  text-align: left;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.support-nav-link:hover,
.support-nav-link:focus-visible,
.support-nav-link.is-active {
  color: #121212;
}

.support-nav-link.is-active {
  font-weight: 600;
}

.support-nav-link:focus-visible {
  outline: 1px solid #121212;
  outline-offset: 5px;
}

.support-content-panel {
  min-width: 0;
}

.support-panel {
  display: none;
  opacity: 0;
}

.support-panel.is-active {
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.support-panel h2 {
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #121212;
}

.support-panel h3 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #121212;
}

.support-panel p,
.support-panel li,
.contact-intro {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: #6a6a6a;
}

.support-panel p {
  margin: 0;
}

.support-copy-block {
  max-width: 720px;
  margin-bottom: 28px;
}

.support-copy-block:last-child {
  margin-bottom: 0;
}

.faq-accordion {
  max-width: 780px;
  border-top: 1px solid #eaeaea;
}

.faq-item {
  border-bottom: 1px solid #eaeaea;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #121212;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.faq-question span {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  transition: transform 0.2s ease;
}

.faq-question span::before,
.faq-question span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: #121212;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-question span::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] span::after {
  opacity: 0;
  transform: translateY(-50%);
}

.faq-item.is-open .faq-question span {
  transform: rotate(180deg);
}

.faq-question:focus-visible {
  outline: 1px solid #121212;
  outline-offset: 5px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 20px;
}

.care-guide {
  max-width: 780px;
  display: grid;
  gap: 34px;
}

.care-guide ul {
  margin: 0;
  padding-left: 18px;
}

.care-guide li + li {
  margin-top: 9px;
}

.size-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid #eaeaea;
}

.size-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-family: var(--sans);
}

.size-table th,
.size-table td {
  border-bottom: 1px solid #eaeaea;
  padding: 15px 0;
  text-align: left;
}

.size-table th {
  color: #121212;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.size-table td {
  color: #6a6a6a;
  font-size: 13px;
  line-height: 1.4;
}

.privacy-scroll-block {
  max-width: 760px;
  max-height: 390px;
  overflow-y: auto;
  padding-right: 18px;
}

.privacy-scroll-block p + p {
  margin-top: 18px;
}

.contact-intro {
  max-width: 560px;
  margin: -10px 0 30px;
}

.support-contact-form {
  max-width: 720px;
}

.support-contact-form input,
.support-contact-form textarea {
  border: none;
  border-bottom: 1px solid #eaeaea;
  border-radius: 0;
  padding: 12px 0;
  width: 100%;
  margin-bottom: 24px;
  font-size: 13px;
  font-family: var(--sans);
  background: transparent;
  color: #121212;
  transition: border-color 0.3s ease;
  appearance: none;
}

.support-contact-form textarea {
  min-height: 132px;
  line-height: 1.6;
  resize: vertical;
}

.support-contact-form input::placeholder,
.support-contact-form textarea::placeholder {
  color: #8a8a8a;
  opacity: 1;
}

.support-contact-form input:focus,
.support-contact-form textarea:focus {
  outline: none;
  border-bottom-color: #121212;
}

.support-contact-form button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: #121212;
  cursor: pointer;
  font-size: 12px;
  transition: opacity 0.2s ease;
}

.support-contact-form button:hover,
.support-contact-form button:focus-visible {
  opacity: 0.78;
}

.support-contact-form button:focus-visible {
  outline: 1px solid #121212;
  outline-offset: 6px;
}

@media (max-width: 768px) {
  .support-page-wrapper {
    margin: 42px auto;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .support-sidebar-title {
    margin-bottom: 16px;
  }

  .support-nav {
    flex-direction: row;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .support-nav::-webkit-scrollbar {
    display: none;
  }

  .support-nav-link {
    flex: 0 0 auto;
    line-height: 1;
    min-height: 34px;
    white-space: nowrap;
  }

  .support-panel h2 {
    font-size: 22px;
  }

  .faq-question {
    min-height: 56px;
  }

  .privacy-scroll-block {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}
