.montoport-rma {
  width: 100%;
  color: #d8dde1;
}

.montoport-rma__layout {
  display: grid;
  grid-template-columns: minmax(220px, 28%) minmax(0, 1fr);
  background: transparent;
  border: 0;
}

.montoport-rma__sidebar {
  border-right: 1px solid #ebecec;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.montoport-rma__group-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.montoport-rma__group-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #bbbcbc;
  padding: 10px 0;
  font-family: "Gotham", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 28px;
  transition: color 0.3s ease;
}

.montoport-rma__group-btn.is-active {
  color: #00617f;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.24px;
}

span.montoport-rma__group-btn-text {
  font-size: 24px;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif !important;
}

.montoport-rma__group-btn-icon {
  width: 12px;
  height: 12px;
  position: relative;
  flex-shrink: 0;
  margin-right: 4px;
}

.montoport-rma__group-btn-icon::before,
.montoport-rma__group-btn-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.montoport-rma__group-btn-icon::before {
  width: 12px;
  height: 1px;
}

.montoport-rma__group-btn-icon::after {
  width: 1px;
  height: 12px;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.montoport-rma__group-btn.is-active .montoport-rma__group-btn-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0.4);
}

.montoport-rma__child-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0 0 0 24px;
  display: grid;
  gap: 2px;
  transition: max-height 0.38s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.28s ease;
}

.montoport-rma__child-list[hidden] {
  display: none !important;
}

.montoport-rma__group:not(.is-open) .montoport-rma__child-list {
  display: none !important;
}

.montoport-rma__child-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: #bbbcbc;
  font-family: "Gotham", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 28px;
  transition: color 0.28s ease, transform 0.28s ease;
}

.montoport-rma__child-btn.is-active {
  color: #54585a;
  transform: translateX(2px);
}

.montoport-rma__legend {
  list-style: none;
  margin: 54px 0 0;
  padding: 24px 0 0;
  display: grid;
  gap: 8px;
}

.montoport-rma__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7f8e99;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.montoport-rma__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.montoport-rma__content {
  padding: 20px 28px 28px;
  padding-left: 49px;
}

.montoport-rma__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.montoport-rma__title {
  margin: 0;
  color: #00617f;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -0.4px;
  padding-left: 58px;
}

.montoport-rma__reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 11px 14px;
  border: 1px solid #00617f;
  background: #00617f;
  color: #fff;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: "Gotham", Arial, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 350;
  line-height: normal;
}

.montoport-rma__panels {
  position: relative;
  isolation: isolate;
}

.montoport-rma__panel {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.montoport-rma__panel.is-active {
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
}

.montoport-rma__panel.is-leaving {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
}

.montoport-rma__panel.is-entering {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
}

.montoport-rma__panel-title {
  margin: 60px 0 72px;
  color: #54585a;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.24px;
  padding-left: 58px;
}

.montoport-rma__recipe-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.montoport-rma__recipe-item {
  padding: 20px 0 80px;
  border: 0 !important;
}

.montoport-rma__recipe-main {
  display: flex;
  align-items: flex-start;
  gap: 49px;
}

.montoport-rma__recipe-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.montoport-rma__recipe-copy {
  flex: 1;
  min-width: 0;
}

.montoport-rma__recipe-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.montoport-rma__recipe-name {
  margin: 0;
  color: #54585a;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.1px;
}

.montoport-rma__recipe-price {
  color: #54585a;
  text-align: right;
  font-family: "Gotham", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 350;
  line-height: 18px;
  white-space: nowrap;
}

.montoport-rma__recipe-description {
  margin: 6px 0 0;
  color: #54585a;
  font-family: "Gotham", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 18px;
  max-width: 760px;
}

.montoport-rma__recipe-tag {
  margin: 8px 0 0;
  color: #54585a;
  font-family: "Gotham", Arial, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 325;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.montoport-rma__empty {
  margin: 0;
  color: #7e8b95;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .montoport-rma__layout {
    grid-template-columns: 1fr;
  }

  .montoport-rma__sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .montoport-rma__title {
    font-size: 36px;
  }

  .montoport-rma__panel-title {
    font-size: 24px;
  }

  .montoport-rma__recipe-name {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .montoport-rma__content {
    padding: 18px;
  }

  .montoport-rma__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .montoport-rma__recipe-title-row {
    flex-wrap: wrap;
    gap: 8px;
  }
}
