/* /garantiya/ — ДОРТЕХНИКА B2B warranty */
.dt-page-warranty {
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}

.dt-warranty-hero {
  position: relative;
  background: #111315;
  color: #fff;
  padding: 40px 0 48px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .dt-warranty-hero { padding: 48px 0 56px; }
}
.dt-warranty-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  pointer-events: none;
}
.dt-warranty-hero__inner { position: relative; z-index: 1; }

.dt-warranty-crumbs {
  margin: 0 0 22px;
  font-size: 13px;
  color: rgba(255,255,255,.62);
}
.dt-warranty-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dt-warranty-crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255,255,255,.35);
}
.dt-warranty-crumbs a { color: rgba(255,255,255,.78); text-decoration: none; }
.dt-warranty-crumbs a:hover { color: #FF5000; }
.dt-warranty-crumbs [aria-current="page"] { color: #fff; }

.dt-warranty-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 1024px) {
  .dt-warranty-hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 32px;
  }
}

.dt-warranty-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,80,0,.35);
  background: rgba(255,80,0,.12);
  color: #FFB08A;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.dt-warranty-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF5000;
  box-shadow: 0 0 0 3px rgba(255,80,0,.22);
}
.dt-warranty-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.dt-warranty-hero__lead {
  margin: 0 0 22px;
  max-width: 42rem;
  color: rgba(244,245,247,.82);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}
.dt-warranty-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.dt-page-warranty .dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.dt-page-warranty .dt-btn--orange {
  background: #FF5000;
  color: #fff;
  border: 1px solid #FF5000;
}
.dt-page-warranty .dt-btn--orange:hover { background: #e64800; border-color: #e64800; }
.dt-page-warranty .dt-btn--ghost {
  background: rgba(255,255,255,.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.dt-page-warranty .dt-btn--ghost:hover {
  border-color: rgba(255,80,0,.55);
  color: #FFB08A;
}

.dt-warranty-hero__tiles { display: grid; gap: 12px; }
.dt-warranty-glass {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
}
.dt-warranty-glass strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.dt-warranty-glass span {
  font-size: 13.5px;
  color: rgba(244,245,247,.7);
  line-height: 1.45;
}

.dt-warranty-table-wrap {
  background: #fff;
  border: 1px solid #EAECF0;
  border-radius: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
/* site.js injects .table-scroll + .content-table; app.css sets width:max-content → fake scrollbar */
.dt-page-warranty .dt-warranty-table-wrap > .table-scroll,
.dt-page-warranty .dt-warranty-table-wrap > .table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  contain: inline-size;
}
.dt-page-warranty .dt-warranty-table,
.dt-page-warranty .dt-warranty-table.content-table,
.dt-page-warranty .dt-warranty-table-wrap .table-scroll > table,
.dt-page-warranty .dt-warranty-table-wrap .table-wrap > table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  font-size: 14.5px;
  background: #fff;
}
.dt-page-warranty .dt-warranty-table th,
.dt-page-warranty .dt-warranty-table td,
.dt-page-warranty .dt-warranty-table.content-table th,
.dt-page-warranty .dt-warranty-table.content-table td {
  padding: 14px 16px !important;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #EAECF0 !important;
  line-height: 1.45;
  white-space: normal !important;
  word-break: break-word;
  color: #374151 !important;
  background: transparent !important;
  min-width: 0 !important;
  max-width: none !important;
  font-weight: 400 !important;
}
.dt-page-warranty .dt-warranty-table thead th,
.dt-page-warranty .dt-warranty-table.content-table thead th {
  background: #F7F8FA !important;
  color: #4B5563 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.dt-page-warranty .dt-warranty-table tbody th,
.dt-page-warranty .dt-warranty-table.content-table tbody th {
  font-weight: 600 !important;
  color: #111315 !important;
  width: 34%;
  background: transparent !important;
}
.dt-page-warranty .dt-warranty-table tbody td { color: #374151 !important; }
.dt-page-warranty .dt-warranty-table tbody tr:last-child th,
.dt-page-warranty .dt-warranty-table tbody tr:last-child td,
.dt-page-warranty .dt-warranty-table.content-table tbody tr:last-child th,
.dt-page-warranty .dt-warranty-table.content-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
/* Very narrow phones only: horizontal scroll if columns get too tight */
@media (max-width: 480px) {
  .dt-page-warranty .dt-warranty-table,
  .dt-page-warranty .dt-warranty-table.content-table,
  .dt-page-warranty .dt-warranty-table-wrap .table-scroll > table,
  .dt-page-warranty .dt-warranty-table-wrap .table-wrap > table {
    min-width: 520px !important;
    table-layout: auto !important;
  }
}
.dt-warranty-footnote {
  margin: 14px 0 0;
  font-size: 13px;
  color: #6B7280;
  line-height: 1.45;
}

.dt-warranty-scope__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1024px) {
  .dt-warranty-scope__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
.dt-warranty-scope__card {
  border: 1px solid #EAECF0;
  border-radius: 16px;
  padding: 22px 22px 18px;
}
.dt-warranty-scope__card--yes { background: #fff; }
.dt-warranty-scope__card--no { background: #F7F8FA; }
.dt-warranty-scope__card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #111315;
}
.dt-warranty-scope__card--yes h3 { color: #FF5000; }
.dt-warranty-scope__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.dt-warranty-scope__card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: #374151;
}
.dt-warranty-scope__card li svg { flex: 0 0 auto; margin-top: 3px; }

.dt-warranty-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .dt-warranty-steps__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .dt-warranty-steps__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.dt-warranty-step {
  background: #fff;
  border: 1px solid #EAECF0;
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.dt-warranty-step__num {
  display: block;
  margin-bottom: 8px;
  color: #FF5000;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.dt-warranty-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #111315;
}
.dt-warranty-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4B5563;
}
.dt-warranty-steps__note {
  margin: 16px 0 0;
  font-size: 14px;
  color: #6B7280;
}
.dt-warranty-steps__note a { color: #FF5000; text-decoration: none; }
.dt-warranty-steps__note a:hover { text-decoration: underline; }

/* Compact dark form — PLP pattern ~340–380px */
.dt-warranty-form {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #111315;
  padding: 24px 20px;
  min-height: 0;
}
@media (min-width: 1024px) {
  .dt-warranty-form { padding: 28px 32px; }
}
.dt-warranty-form__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.dt-warranty-form__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
  opacity: .32;
}
.dt-warranty-form__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,19,21,.45) 0%, rgba(17,19,21,.88) 48%, #111315 100%);
}
.dt-warranty-form__grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
@media (min-width: 1024px) {
  .dt-warranty-form__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
  }
  .dt-warranty-form__copy,
  .dt-warranty-form__card { grid-column: span 6; }
}
.dt-warranty-form__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dt-warranty-form__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,80,0,.3);
  background: rgba(255,80,0,.1);
  color: #FFB08A;
  font-size: 12px;
  font-weight: 600;
}
.dt-warranty-form__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF5000;
}
.dt-page-warranty .dt-warranty-form__title,
.dt-warranty-form__title {
  margin: 0;
  color: #FFFFFF !important;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}
.dt-warranty-form__desc {
  margin: 0;
  color: rgba(244,245,247,.78);
  font-size: 14.5px;
  line-height: 1.5;
}
.dt-warranty-form__bullets {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.dt-warranty-form__bullets li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: rgba(244,245,247,.86);
  font-size: 13.5px;
  line-height: 1.4;
}
.dt-warranty-form__bullets svg { flex: 0 0 auto; margin-top: 2px; }

.dt-warranty-form__card {
  background: #16191E;
  border: 1px solid #262A30;
  border-radius: 16px;
  padding: 18px 18px 16px;
}
@media (min-width: 1024px) {
  .dt-warranty-form__card { padding: 22px; }
}
.dt-warranty-form__form {
  display: grid;
  gap: 12px;
}
.dt-warranty-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 640px) {
  .dt-warranty-form__row { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.dt-warranty-form__field {
  display: grid;
  gap: 6px;
}
.dt-warranty-form__field span {
  font-size: 12px;
  color: #9CA3AF;
  font-weight: 500;
}
.dt-warranty-form__form input[type="text"],
.dt-warranty-form__form input[type="tel"],
.dt-warranty-form__form input[type="email"],
.dt-warranty-form__form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2E343C;
  background: #111315;
  color: #F4F5F7;
  font: inherit;
  outline: none;
}
.dt-warranty-form__form textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.4;
}
.dt-warranty-form__form input::placeholder,
.dt-warranty-form__form textarea::placeholder { color: #6B7280; }
.dt-warranty-form__form input:focus,
.dt-warranty-form__form textarea:focus {
  border-color: rgba(255,80,0,.55);
  box-shadow: 0 0 0 3px rgba(255,80,0,.12);
}
.dt-warranty-form__form input:-webkit-autofill,
.dt-warranty-form__form input:-webkit-autofill:hover,
.dt-warranty-form__form input:-webkit-autofill:focus,
.dt-warranty-form__form input:-webkit-autofill:active {
  -webkit-text-fill-color: #F4F5F7;
  caret-color: #F4F5F7;
  box-shadow: 0 0 0 1000px #111315 inset;
  transition: background-color 9999s ease-out;
}

.dt-warranty-drop.dt-tz-drop {
  border: 1px dashed #2E343C;
  border-radius: 10px;
  background: rgba(17,19,21,.55);
  padding: 2px;
}
.dt-warranty-drop .dt-tz-drop__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  color: #D1D5DB;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.dt-warranty-drop .dt-tz-drop__label {
  font-size: 13px;
  line-height: 1.35;
}
.dt-warranty-drop .dt-tz-drop__hint {
  margin: 0 14px 10px;
  font-size: 12px;
  color: #8B93A0;
}
.dt-warranty-drop.has-file .dt-tz-drop__hint { display: none; }
.dt-warranty-drop .dt-tz-drop__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 10px 10px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255,80,0,.08);
}
.dt-warranty-drop .dt-tz-drop__name {
  color: #FF5000;
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dt-warranty-drop .dt-tz-drop__clear {
  border: 0;
  background: transparent;
  color: #9CA3AF;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.dt-warranty-drop.is-drag,
.dt-warranty-drop:hover {
  border-color: rgba(255,80,0,.45);
}

.dt-warranty-form__agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.4;
  color: #8B93A0;
}
.dt-warranty-form__agree input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
  border: 1.5px solid #3A414B;
  border-radius: 4px;
  background: #111315;
  cursor: pointer;
  position: relative;
}
.dt-warranty-form__agree input[type="checkbox"]:checked {
  background: #FF5000;
  border-color: #FF5000;
}
.dt-warranty-form__agree input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dt-warranty-form__agree a {
  color: #D1D5DB;
  text-decoration: underline;
}
.dt-warranty-form__agree a:hover { color: #FF5000; }

.dt-warranty-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: #FF5000;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.dt-warranty-form__submit:hover { background: #e64800; }

.dt-page-warranty .dt-warranty-faq__list {
  max-width: 860px;
}
.dt-page-warranty .dt-warranty-faq__list .dt-faq__item {
  background: #fff;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  overflow: hidden;
}
.dt-page-warranty .dt-warranty-faq__list .dt-faq__item + .dt-faq__item {
  margin-top: 10px;
}

@media (max-width: 767px) {
  .dt-warranty-hero { padding: 22px 0 36px; border-radius: 0 0 20px 20px; }
  .dt-warranty-form { padding: 18px 14px; border-radius: 14px; }
  .dt-warranty-form__card { padding: 14px; }
}
@media (max-width: 360px) {
  .dt-warranty-glass { padding: 14px; }
  .dt-warranty-scope__card { padding: 16px; }
}

/* About-split main column: keep grids readable beside sticky sidebar */
@media (min-width: 1024px) and (max-width: 1280px) {
  .dt-about-split__main .dt-warranty-steps__grid {
    grid-template-columns: 1fr 1fr;
  }
  .dt-about-split__main .dt-warranty-form__grid {
    grid-template-columns: 1fr;
  }
  .dt-about-split__main .dt-warranty-form__card {
    grid-column: auto;
  }
}
