/*
 * The warranty page (template/warranty.php) in the iProff website's look: Inter, black on white and #f5f5f7,
 * 20px radii, the same greys as the category text band (catalog.css .catalog-about).
 */
.warranty {
  --w-ink: #1d1d1f;
  --w-muted: #5b5b66;
  --w-line: #ececf0;
  --w-soft: #f5f5f7;
  --w-page: #fafafc;
  --w-accent: #0071e3;
  --w-good: #1e7a4c;
  font-family: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--w-ink);
  background: #fff;
}

.warranty h1, .warranty h2, .warranty h3 { font-family: inherit; color: inherit; margin: 0; }
.warranty p { margin: 0; }
.warranty ul, .warranty ol { margin: 0; padding: 0; list-style: none; }
.warranty a { color: var(--w-accent); text-decoration: none; }
.warranty a:hover { color: #0059b3; }

.warranty-eyebrow { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--w-muted); }
.warranty-eyebrow-light { color: rgba(255, 255, 255, .64); }

/* ---------- Hero ---------- */
.warranty-hero { padding: 56px 0 64px; border-bottom: 1px solid var(--w-line); }
.warranty-hero h1 { margin-top: 12px; font-size: 52px; line-height: 60px; font-weight: 600; letter-spacing: -1.2px; }
.warranty-lead { max-width: 720px; margin-top: 16px !important; font-size: 18px; line-height: 28px; color: var(--w-muted); }

.warranty-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px !important; }
.warranty-glance li { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 26px; background: var(--w-soft); border-radius: 20px; }
.warranty-glance-head { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 22px; font-weight: 500; }
.warranty-glance strong { margin-top: 10px; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -1px; }
.warranty-glance-sub { font-size: 14px; line-height: 21px; color: var(--w-muted); }
.warranty-glance-used { background: var(--w-ink) !important; color: #fff; }
.warranty-glance-used .warranty-glance-sub { color: rgba(255, 255, 255, .7); }

/* ---------- Sections ---------- */
.warranty-section { padding: 72px 0; }
.warranty-section h2 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.64px; }
.warranty-section-intro { max-width: 720px; margin-top: 12px !important; font-size: 16px; line-height: 24px; color: var(--w-muted); }
.warranty-soft { background: var(--w-page); border-top: 1px solid var(--w-line); border-bottom: 1px solid var(--w-line); }
.warranty-note { max-width: 720px; margin-top: 20px !important; font-size: 15px; line-height: 23px; color: var(--w-muted); }

.warranty-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px !important; }
.warranty-cards li { padding: 28px 28px 30px; background: #fff; border: 1px solid var(--w-line); border-radius: 20px; }
.warranty-cards h3 { font-size: 18px; line-height: 26px; font-weight: 600; }
.warranty-cards p { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--w-muted); }

/* ---------- Used devices: the featured block ---------- */
.warranty-used { padding-bottom: 0; }
.warranty-used-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--w-ink); color: #fff; border-radius: 28px; overflow: hidden; }
.warranty-used-main { padding: 48px; }
.warranty-used-main h2 { margin-top: 8px; color: #fff; }
.warranty-used-intro { margin-top: 14px !important; font-size: 16px; line-height: 25px; color: rgba(255, 255, 255, .74); }
.warranty-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.warranty-terms div { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; }
.warranty-terms strong { font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -0.6px; }
.warranty-terms span { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .7); }
.warranty-used-note { margin-top: 14px !important; font-size: 14px; line-height: 21px; color: rgba(255, 255, 255, .6); }

.warranty-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 13px 22px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 20px; }
.warranty .warranty-btn-light { background: #fff; color: var(--w-ink); }
.warranty .warranty-btn-light:hover { background: #e8e8ed; color: var(--w-ink); }

.warranty-used-side { padding: 48px; background: #fff; color: var(--w-ink); margin: 8px; border-radius: 22px; }
.warranty-used-side h3 { font-size: 18px; line-height: 26px; font-weight: 600; }
.warranty-checks { display: flex; flex-direction: column; gap: 14px; margin-top: 16px !important; }
.warranty-checks li { display: flex; gap: 12px; font-size: 15px; line-height: 23px; }
.warranty-checks svg { flex: none; margin-top: 1px; color: var(--w-good); }
.warranty-used-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--w-line); }
.warranty-used-pair p { margin-top: 6px; font-size: 15px; line-height: 23px; color: var(--w-muted); }

/* ---------- Not covered + claim ---------- */
.warranty-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.warranty-crosses { display: flex; flex-direction: column; gap: 2px; margin-top: 24px !important; }
.warranty-crosses li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--w-line); font-size: 16px; line-height: 24px; }
.warranty-crosses li span::first-letter { text-transform: uppercase; }
.warranty-crosses svg { flex: none; margin-top: 3px; color: #b42318; }

.warranty-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 24px !important; }
.warranty-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--w-line); border-radius: 16px; }
.warranty-step-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--w-ink); color: #fff; font-size: 14px; font-weight: 600; }
.warranty-steps strong { display: block; font-size: 16px; line-height: 24px; font-weight: 600; }
.warranty-steps li span:not(.warranty-step-n) { display: block; margin-top: 2px; font-size: 14px; line-height: 21px; color: var(--w-muted); }

.warranty-contact { margin-top: 24px; padding: 24px; background: var(--w-soft); border-radius: 20px; }
.warranty-contact-title { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--w-muted); }
.warranty .warranty-contact-big { display: block; margin-top: 6px; font-size: 22px; line-height: 30px; font-weight: 600; color: var(--w-ink); }
.warranty .warranty-contact-big:hover { color: var(--w-accent); }
.warranty-contact-line { margin-top: 12px !important; font-size: 14px; line-height: 21px; color: var(--w-muted); }
.warranty-contact-map { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 500; }

/* ---------- FAQ ---------- */
.warranty-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 64px; align-items: start; }
.warranty-faq-list { border-top: 1px solid var(--w-line); }
.warranty-faq details { border-bottom: 1px solid var(--w-line); }
.warranty-faq summary { position: relative; display: block; padding: 22px 44px 22px 0; font-size: 17px; line-height: 26px; font-weight: 600; cursor: pointer; list-style: none; }
.warranty-faq summary::-webkit-details-marker { display: none; }
.warranty-faq-plus { position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; }
.warranty-faq-plus::before, .warranty-faq-plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 1px; background: var(--w-ink); transition: transform .2s ease; }
.warranty-faq-plus::after { transform: rotate(90deg); }
.warranty-faq details[open] .warranty-faq-plus::after { transform: rotate(0); }
.warranty-faq details p { padding: 0 44px 24px 0; font-size: 16px; line-height: 25px; color: var(--w-muted); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 991px) {
  .warranty-used-card { grid-template-columns: 1fr; }
  .warranty-split, .warranty-faq { grid-template-columns: 1fr; gap: 48px; }
  .warranty-faq { gap: 24px; }
}

@media (max-width: 767px) {
  .warranty-hero { padding: 36px 0 44px; }
  .warranty-hero h1 { font-size: 36px; line-height: 44px; letter-spacing: -0.8px; }
  .warranty-lead { font-size: 16px; line-height: 25px; }
  .warranty-glance, .warranty-cards { grid-template-columns: 1fr; }
  .warranty-glance { margin-top: 28px !important; }
  .warranty-glance strong { font-size: 34px; line-height: 40px; }
  .warranty-section { padding: 52px 0; }
  .warranty-used { padding-bottom: 0; }
  .warranty-section h2 { font-size: 28px; line-height: 36px; }
  .warranty-used-card { border-radius: 22px; }
  .warranty-used-main, .warranty-used-side { padding: 28px 22px; }
  .warranty-used-side { margin: 6px; border-radius: 18px; }
  .warranty-terms strong { font-size: 26px; line-height: 32px; }
  .warranty-used-pair { grid-template-columns: 1fr; gap: 20px; }
  .warranty-faq summary { font-size: 16px; line-height: 24px; }
}
