/* Warranty page — new.medpribor.pro/warranty/ (etalon: medpribor.pro/garantiya/)
 * Visual system matches /delivery/ (bars, callouts, typography). */

.mp-warranty {
  margin: 0 0 2.5rem;
  color: #526371;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow: visible;
}

.mp-warranty a {
  color: #00bf80;
  text-decoration: none;
}
.mp-warranty a:hover {
  color: #0055a6;
}

.mp-warranty__title {
  margin: 0 0 1.25rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

/* Green section bars — content column width (with sidebar) */
.mp-warranty-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  position: static;
  left: auto;
  transform: none;
  margin: 28px 0 24px;
  padding: 20px 16px;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #54595f;
  text-align: center;
  background-image: linear-gradient(180deg, #c0e6d2 0%, rgba(192, 230, 210, 0.37) 100%);
}

.mp-warranty-main > .mp-warranty-bar:first-of-type,
.mp-page-main > .mp-warranty-bar:first-of-type {
  margin-top: 0;
}

.mp-warranty-section {
  margin: 0 0 8px;
}

.mp-warranty-section p {
  margin: 0 0 0.75rem;
}

.mp-warranty-subhead {
  margin: 1.25rem 0 0.75rem;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #333;
}

.mp-warranty-subhead:first-child {
  margin-top: 0;
}

.mp-warranty-callout {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  color: #1a3a55;
  font-size: 13px;
  line-height: 1.45;
}

.mp-warranty-callout strong {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.mp-warranty-list {
  margin: 0 0 1rem;
  padding: 0 0 0 1.15rem;
}

.mp-warranty-list li {
  margin: 0 0 0.55rem;
}

.mp-warranty-list--num {
  list-style: decimal;
}

.mp-warranty-note {
  margin: 0 0 0.85rem;
  font-size: 14px;
  color: #6b7785;
}

.mp-warranty-service {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
  margin: 1rem 0 0.5rem;
}

.mp-warranty-service img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
}

.mp-warranty-service__title {
  margin: 0 0 0.75rem;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.mp-warranty-license {
  margin: 0.75rem 0 0;
  font-size: 13px;
  color: #6b7785;
}

/* FAQ — same card style as homepage */
.mp-warranty-faq {
  margin: 8px 0 16px;
  width: 100%;
}

.mp-warranty-faq__item {
  margin: 0 0 24px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
}

.mp-warranty-faq__item:last-child {
  margin-bottom: 0;
}

.mp-warranty-faq__item summary {
  position: relative;
  display: block;
  padding: 24px 52px 24px 24px;
  font-family: Roboto, "Exo 2", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  color: #54595f;
  text-transform: uppercase;
}

.mp-warranty-faq__item summary::-webkit-details-marker {
  display: none;
}

.mp-warranty-faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #54595f;
  border-bottom: 2px solid #54595f;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
}

.mp-warranty-faq__item[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.mp-warranty-faq__item .mp-warranty-faq__body {
  margin: 0;
  padding: 0 24px 22px;
  font-family: Roboto, "Exo 2", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: #7a7a7a;
}

.mp-warranty-faq__body p {
  margin: 0 0 0.65rem;
}

.mp-warranty-faq__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .mp-warranty__title {
    font-size: 24px;
  }

  .mp-warranty-bar {
    font-size: 20px;
    padding: 16px 12px;
    margin: 20px 0 16px;
  }

  .mp-warranty-service {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .mp-warranty-faq__item summary {
    padding: 20px 44px 20px 18px;
    font-size: 14px;
  }

  .mp-warranty-faq__item .mp-warranty-faq__body {
    padding: 0 18px 18px;
  }
}
