.warranty-page * { box-sizing: border-box; }
.warranty-intro { max-width: 1080px; margin: 32px auto 0; }
.warranty-intro__copy { max-width: 780px; }
.warranty-intro__eyebrow { margin: 0 0 10px; color: #df1b2f; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.warranty-intro h2 { margin: 0 0 14px; color: #1f2c35; font-size: 36px; line-height: 1.18; }
.warranty-intro__copy > p:last-child { margin: 0; color: #59656d; font-size: 17px; line-height: 1.6; }
.warranty-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.warranty-benefit { min-height: 190px; padding: 24px; background: #fff; border: 1px solid #e4e8ec; border-top: 3px solid #8fcfda; border-radius: 4px; }
.warranty-benefit__number { display: block; margin-bottom: 20px; color: #8fcfda; font-size: 13px; font-weight: 700; }
.warranty-benefit h3 { margin: 0 0 10px; color: #1f2c35; font-size: 18px; line-height: 1.35; }
.warranty-benefit p { margin: 0; color: #68747c; font-size: 14px; line-height: 1.55; }
.warranty-card { max-width: 860px; margin: 32px auto 64px; padding: 32px; background: #fff; border: 1px solid #e4e8ec; border-radius: 4px; }
.warranty-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; color: #76818a; font-size: 13px; }
.warranty-progress li { padding-top: 9px; border-top: 3px solid #d9dfe3; }
.warranty-progress li.is-active { color: #1f2c35; border-color: #8fcfda; font-weight: 600; }
.warranty-progress li.is-complete { border-color: #8fcfda; }
.warranty-term { margin-bottom: 24px; color: #59656d; }
.warranty-alert { margin-bottom: 20px; padding: 12px 16px; background: #fff2f3; color: #9f1423; }
.warranty-required-note { margin: -8px 0 20px; color: #59656d; font-size: 13px; }
.warranty-required { color: #c7192c; font-weight: 700; }
.warranty-field-error { min-height: 18px; color: #b51627 !important; font-size: 14px; font-weight: 600; }
.warranty-step [aria-invalid="true"] { border-color: #c7192c; box-shadow: 0 0 0 1px #c7192c; }
.warranty-step input[name="serial_number"]:valid:not([aria-invalid="true"]) { color: #278348; border-color: #67b77f; box-shadow: 0 0 0 1px rgba(39, 131, 72, .12); }
.warranty-step h2 { margin: 0 0 24px; font-size: 24px; }
.warranty-step label { display: block; min-width: 0; font-weight: 500; }
.warranty-step .form-control { width: 100%; max-width: 100%; margin-top: 8px; }
.warranty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.warranty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.warranty-step small { display: block; margin-top: 6px; color: #76818a; }
.warranty-upload { position: relative; display: flex; align-items: center; min-height: 52px; margin-top: 8px; padding: 6px; overflow: hidden; background: #f7f9fa; border: 1px solid #dfe5e9; border-radius: 6px; transition: border-color .2s ease, box-shadow .2s ease; }
.warranty-upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.warranty-step .warranty-upload__button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; min-height: 38px; margin: 0; padding: 9px 16px; color: #fff; background: #31485c; border-radius: 4px; font-size: 14px; font-weight: 600; line-height: 20px; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.warranty-upload__button:hover { color: #fff; background: #22394c; }
.warranty-upload__button:active { transform: translateY(1px); }
.warranty-upload__input:focus + .warranty-upload__button { outline: 2px solid #8fcfda; outline-offset: 2px; }
.warranty-upload__name { min-width: 0; padding: 0 14px; overflow: hidden; color: #68747c; font-size: 14px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.warranty-upload.has-file { background: #f3faf6; border-color: #67b77f; }
.warranty-upload.has-file .warranty-upload__name { color: #278348; font-weight: 600; }
.warranty-upload.is-invalid { border-color: #c7192c; box-shadow: 0 0 0 1px #c7192c; }
.warranty-result-period { padding: 16px 18px; color: #215d38; background: #edf8f1; border-left: 3px solid #67b77f; }
.warranty-code-confirmed { padding: 18px 20px; background: #f5fafb; border-left: 3px solid #8fcfda; }
.warranty-code-confirmed p { margin: 0; color: #59656d; }
.warranty-conditions { max-width: 860px; margin: -24px auto 64px; padding: 32px; background: #f5f7f8; border-radius: 4px; }
.warranty-conditions h2 { margin: 0 0 20px; color: #1f2c35; font-size: 24px; }
.warranty-conditions ul { margin: 0; padding: 0; list-style: none; }
.warranty-conditions li { position: relative; margin-top: 12px; padding-left: 24px; color: #59656d; line-height: 1.55; }
.warranty-conditions li:first-child { margin-top: 0; }
.warranty-conditions li::before { content: ''; position: absolute; top: .62em; left: 2px; width: 7px; height: 7px; background: #df1b2f; border-radius: 50%; }
@media (max-width: 767px) {
  .warranty-intro { margin-top: 20px; }
  .warranty-intro h2 { font-size: 28px; }
  .warranty-intro__copy > p:last-child { font-size: 15px; }
  .warranty-benefits { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .warranty-benefit { min-height: 0; padding: 20px; }
  .warranty-benefit__number { margin-bottom: 12px; }
  .warranty-card { max-width: 100%; margin: 16px 0 40px; padding: 20px 16px; }
  .warranty-progress { overflow: hidden; font-size: 11px; }
  .warranty-grid { grid-template-columns: minmax(0, 1fr); }
  .warranty-actions .ui-btn { width: 100%; max-width: 100%; }
  .warranty-upload { align-items: stretch; flex-direction: column; padding: 8px; }
  .warranty-step .warranty-upload__button { justify-content: center; width: 100%; }
  .warranty-upload__name { padding: 10px 6px 4px; text-align: center; }
  .warranty-conditions { margin: 0 0 40px; padding: 24px 18px; }
}
