/* Warranty — Figma 23:8665 @1920; 191:9463 @1300; 191:9500 @900; 191:9532 @420; 161:7586 @360 */

html:has(body.warranty-page),
body.warranty-page.product-page {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
  margin: 0;
  background: #fff;
}

body.warranty-page {
  --warranty-art: 1920;
  --warranty-scale: 1;
}

.warranty-stage {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.warranty-artboard {
  width: calc(var(--warranty-art) * 1px);
  margin: 0 auto;
  transform: scale(var(--warranty-scale));
  transform-origin: top left;
  will-change: transform;
}

@media (min-width: 1301px) {
  body.warranty-page {
    --warranty-art: 1920;
    --warranty-scale: calc(100vw / 1920);
  }
}

@media (max-width: 1300px) and (min-width: 1000px) {
  body.warranty-page {
    --warranty-art: 1300;
    --warranty-scale: calc(100vw / 1300);
  }
}

@media (max-width: 999px) and (min-width: 700px) {
  body.warranty-page {
    --warranty-art: 900;
    --warranty-scale: calc(100vw / 900);
  }
}

@media (max-width: 699px) and (min-width: 361px) {
  body.warranty-page {
    --warranty-art: 420;
    --warranty-scale: calc(100vw / 420);
  }
}

@media (max-width: 360px) {
  body.warranty-page {
    --warranty-art: 360;
    --warranty-scale: calc(100vw / 360);
  }
}

/* —— 1920 base (chrome ≈108) —— */
.warranty-main {
  position: relative;
  width: 1920px;
  margin: 0 auto;
  padding-bottom: 48px;
  box-sizing: border-box;
  min-height: 0;
}

.warranty-bc {
  position: absolute;
  left: 159px;
  top: 32px; /* 140 − 108 */
  z-index: 2;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 20px; /* Figma RAW/PIXELS 20 */
}

.warranty-bc__link {
  color: #666666;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  text-decoration: none;
}

.warranty-bc__link:link,
.warranty-bc__link:visited,
.warranty-bc__link:hover,
.warranty-bc__link:focus {
  color: #666666;
  text-decoration: none;
}

.warranty-bc__sep {
  display: block;
  width: 10px;
  height: 1px;
  margin: 0 16px;
  background: #dddddd;
  flex-shrink: 0;
}

.warranty-bc__current {
  color: #666666;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  white-space: nowrap;
}

.warranty-title {
  position: absolute;
  left: 161px;
  top: 108px; /* 216 − 108 */
  margin: 0;
  width: 289px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 30px;
  line-height: 1.15;
  color: #262626;
  font-synthesis: none;
}

.warranty-hero {
  position: absolute;
  left: 159px;
  top: 204px; /* 312 − 108 */
  display: block;
  width: 131.25px;
  height: 131.25px;
}

.warranty-aside {
  position: absolute;
  left: 159px;
  top: 370.6px; /* 478.6 − 108 */
  width: 407.2px;
}

.warranty-aside__title {
  margin: 0 0 15px; /* 520.2 − 478.6 − 26.6 */
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.3; /* Figma 23:8845 */
  color: #262626;
  font-synthesis: none;
}

.warranty-aside__text {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
  color: #262626;
  white-space: pre-line;
  font-synthesis: none;
}

.warranty-aside__text strong {
  font-weight: 700;
  font-family: Roboto, Arial, sans-serif;
}

.warranty-aside__text--mid {
  display: none;
}

.warranty-col {
  position: relative;
  margin-left: 829px;
  /* padding-top (not margin) — bc/title/aside are absolute, so margin-top would collapse */
  padding-top: 109px; /* 217 − 108 */
  width: 930px;
  height: auto;
  pointer-events: none;
  box-sizing: border-box;
}

.warranty-col > * {
  pointer-events: auto;
}

.warranty-block {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  margin: 0 0 40px;
  box-sizing: border-box;
}

.warranty-block--dup,
.warranty-block--when-dup {
  display: none !important;
}

.warranty-h2 {
  margin: 0 0 24px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: #262626;
  font-synthesis: none;
}

.warranty-p {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.4;
  color: #262626;
  white-space: pre-line;
  font-synthesis: none;
}

.warranty-p a,
.warranty-mail {
  color: #262626;
  text-decoration: underline;
}

.warranty-rich {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.4;
  color: #262626;
  font-synthesis: none;
}

.warranty-rich p {
  margin: 0;
}

.warranty-em {
  color: #258ffb; /* Figma fill #258ffb */
}

.warranty-list {
  margin: 0;
  padding: 0 0 0 30px;
  list-style: disc;
}

.warranty-list li {
  margin: 0;
  padding: 0;
}

.warranty-page .top-nav a.is-active {
  font-weight: 500;
}

.warranty-block--guarantees,
.warranty-block--return,
.warranty-block--terms,
.warranty-block--how,
.warranty-block--money,
.warranty-block--when {
  width: 100%;
}

.warranty-p--money-intro {
  margin-bottom: 32px; /* 2227 − 2167 − 28 ≈ 32 */
}

.warranty-table {
  display: flex;
  gap: 215px; /* 1256 − 829 − 212 ≈ 215; use absolute cols instead */
  position: relative;
  width: 930px;
  min-height: 106px;
}

.warranty-table__col {
  position: absolute;
  top: 0;
  width: 364px;
}

.warranty-table__col:first-child {
  left: 0;
}

.warranty-table__col:last-child {
  left: 427px; /* 1256 − 829 */
  width: 351px;
}

.warranty-table__head {
  margin: 0 0 24px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: #262626;
  font-synthesis: none;
}

.warranty-table__cell {
  margin: 0 0 12px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  color: #262626;
  font-synthesis: none;
}

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

.warranty-block--when .warranty-h2 {
  margin-bottom: 10px; /* 2432 − 2395 − 27 = 10 */
}

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

.warranty-page .site-footer {
  margin-top: 0;
}

/* —— 1300 — Figma 191:9463 (chrome 108) —— */
@media (max-width: 1300px) and (min-width: 1000px) {
  .warranty-main {
    width: 1300px;
    min-height: 0;
  }

  .warranty-bc {
    left: 19px;
    top: 28px; /* 136 − 108 */
  }

  .warranty-title {
    left: 19px;
    top: 80px; /* 188 − 108 */
  }

  .warranty-hero {
    left: 19px;
    top: 148px; /* 256 − 108 */
  }

  .warranty-aside {
    left: 19px;
    top: 314.6px; /* 422.6 − 108 */
    width: 407.2px;
  }

  .warranty-col {
    margin-left: 521px;
    padding-top: 80px; /* 188 − 108 */
    width: 759px;
  }

  .warranty-table {
    width: 100%;
  }

  .warranty-table__col:last-child {
    left: 408px; /* 929 − 521 */
  }

  .warranty-block--when .warranty-h2 {
    margin-bottom: 24px; /* 2613 − 2562 − 27 */
  }
}

/* —— 900 — Figma 191:9500 (chrome 104) —— */
@media (max-width: 999px) and (min-width: 700px) {
  .warranty-main {
    width: 900px;
    min-height: 0;
  }

  .warranty-bc {
    left: 77px;
    top: 16px; /* 120 − 104 */
  }

  .warranty-bc__current {
    font-weight: 300;
    color: #666666;
  }

  .warranty-title {
    left: 77px;
    top: 68px; /* 172 − 104 */
  }

  .warranty-hero {
    left: 78px;
    top: 136px; /* 240 − 104 */
  }

  .warranty-aside {
    left: 78px;
    top: 302.6px; /* 406.6 − 104 */
    width: 407.2px;
  }

  .warranty-aside__title {
    margin-bottom: 10px; /* 443.2 − 406.6 − 26.6 */
  }

  .warranty-aside__text {
    font-size: 18px;
    line-height: 25px;
  }

  .warranty-aside__text--desk {
    display: none;
  }

  .warranty-aside__text--mid {
    display: block;
  }

  .warranty-h2 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .warranty-p {
    font-size: 18px;
    line-height: 1.4;
  }

  .warranty-rich {
    font-size: 18px;
  }

  /* Full-width stack under aside */
  .warranty-col {
    margin-left: 77px;
    padding-top: 496px; /* 600 − 104 — below aside */
    width: 759px;
  }

  .warranty-p--money-intro {
    margin-bottom: 48px; /* 2228 − 2136 − 44 */
  }

  .warranty-table {
    width: 100%;
  }

  .warranty-table__col:last-child {
    left: 408px; /* 485 − 77 */
  }

  .warranty-table__head {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 24px;
  }

  .warranty-block--when .warranty-h2 {
    margin-bottom: 24px;
  }
}

/* —— 420 — Figma 191:9532 (chrome 74) —— */
@media (max-width: 699px) and (min-width: 361px) {
  .warranty-main {
    width: 420px;
    min-height: 0;
  }

  .warranty-bc {
    left: 12px;
    top: 24px; /* 98 − 74 */
  }

  .warranty-bc__current {
    font-weight: 300;
    color: #666666;
  }

  .warranty-title {
    left: 12px;
    top: 76px; /* 150 − 74 */
    width: 289px;
  }

  .warranty-hero {
    left: 12px;
    top: 144px; /* 218 − 74 */
  }

  .warranty-aside {
    left: 12px;
    top: 310.6px; /* 384.6 − 74 */
    width: 391px;
  }

  .warranty-aside__title {
    margin-bottom: 9.8px; /* 421 − 384.6 − 26.6 */
  }

  .warranty-aside__text {
    font-size: 18px;
    line-height: 25px;
  }

  .warranty-aside__text--desk {
    display: none;
  }

  .warranty-aside__text--mid {
    display: block;
  }

  .warranty-h2 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 12px; /* tighter on mobile stack */
  }

  .warranty-p {
    font-size: 18px;
    line-height: 1.4;
  }

  .warranty-rich {
    font-size: 18px;
  }

  .warranty-list {
    padding-left: 24px;
  }

  .warranty-col {
    margin-left: 12px;
    padding-top: 479px; /* 553 − 74 — below aside */
    width: 396px;
  }

  .warranty-block {
    margin-bottom: 28px;
  }

  .warranty-block--guarantees .warranty-p {
    font-size: 18px;
  }

  .warranty-p--money-intro {
    margin-bottom: 32px;
  }

  /* Stack table columns */
  .warranty-table {
    display: block;
    position: relative;
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .warranty-table__col {
    position: relative;
    left: 0 !important;
    width: 100% !important;
    margin-bottom: 24px;
  }

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

  .warranty-table__head {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .warranty-table__cell {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .warranty-block--when .warranty-h2 {
    margin-bottom: 12px;
  }
}

/* —— 360 — Figma 161:7586 (chrome 74) —— */
@media (max-width: 360px) {
  .warranty-main {
    width: 360px;
    min-height: 0;
  }

  .warranty-bc {
    left: 16px;
    top: 25px; /* 99 − 74 */
  }

  .warranty-bc__current {
    font-weight: 400;
    color: #666666;
  }

  .warranty-title {
    left: 16px;
    top: 74px; /* 148 − 74 */
    width: 217px;
    font-size: 24px;
    line-height: 31px;
  }

  .warranty-hero {
    left: 16px;
    top: 137px; /* 211 − 74 */
  }

  .warranty-aside {
    left: 16px;
    top: 300.6px; /* 374.6 − 74 */
    width: 328px;
  }

  .warranty-aside__title {
    margin-bottom: 9.8px; /* 411 − 374.6 − 26.6 */
  }

  .warranty-aside__text {
    font-size: 18px;
    line-height: 1.5; /* Figma RAW 1.5 @360 */
  }

  .warranty-aside__text--desk {
    display: block;
  }

  .warranty-aside__text--mid {
    display: none;
  }

  .warranty-h2 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .warranty-p {
    font-size: 18px;
    line-height: 1.5; /* Figma RAW 1.5 @360 */
  }

  .warranty-rich {
    font-size: 18px;
    line-height: 1.5;
  }

  .warranty-list {
    padding-left: 24px;
  }

  .warranty-col {
    margin-left: 16px;
    padding-top: 474px; /* 548 − 74 — below aside */
    width: 328px;
  }

  .warranty-block {
    margin-bottom: 28px;
  }

  .warranty-block--how .warranty-h2 {
    width: 230px;
    margin-bottom: 12px;
  }

  .warranty-p--money-intro {
    margin-bottom: 38px;
    width: 247px;
  }

  .warranty-table {
    display: block;
    position: relative;
    width: 100%;
    min-height: 0;
  }

  .warranty-table__col {
    position: relative;
    left: 0 !important;
    width: 100% !important;
    margin-bottom: 20px;
  }

  .warranty-table__head {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .warranty-table__cell {
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 8px;
  }

  .warranty-block--when .warranty-h2 {
    margin-bottom: 12px;
  }
}
