/* Раздел «Заказная программа» — /solutions/customized/ (Б24 58743).
   Токены — из дизайн-системы Happy Gifts (хендофф 14.09.2026): жёлтый #ffe500,
   границы 1.5px #e3e4e8, радиусы 12/10/8, Montserrat. Всё под .zp, чтобы не задеть сайт. */

.zp { --zp-yellow: #ffe500; --zp-yellow-h: #f2d900; --zp-ink: #1b1b1f; --zp-graphite: #474a55;
      --zp-grey: #767a86; --zp-line: #e3e4e8; --zp-line-2: #ededf1; --zp-ground: #f6f6f3;
      --zp-err: #a63244; --zp-r: 12px; --zp-rb: 10px;
      color: var(--zp-ink); font-family: "Montserrat", Arial, sans-serif; font-size: 14px; line-height: 1.55;
      padding-bottom: 32px; }
.zp *, .zp *::before, .zp *::after { box-sizing: border-box; }
.zp a { color: inherit; }
.zp p { margin: 0; }

/* — заголовки — */
.zp h1, .zp .zp-h1, .main-blocks-content-default .zp h1 { font-size: 42px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: -.01em;
      line-height: 1.1 !important; margin: 0 !important; color: #000; }
.zp .zp-h2 { font-size: 26px !important; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; margin: 0; color: #000; }
.zp .zp-h3 { font-size: 18px !important; font-weight: 700; text-transform: uppercase; margin: 0; color: #000; }
.zp .zp-eyebrow { display: block; font-size: 11px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--zp-grey); }
.zp .zp-lead { font-size: 17px; line-height: 1.65; color: var(--zp-graphite); max-width: 62ch; }
.zp .zp-muted { font-size: 13px; color: var(--zp-grey); }
.zp .zp-sec { padding-top: 56px; }
.zp .zp-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }

/* — кнопки — */
.zp .zp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
      font: inherit; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
      background: var(--zp-yellow); color: #000; border: 1.5px solid var(--zp-yellow);
      padding: 13px 22px; border-radius: var(--zp-rb); transition: background .15s ease, border-color .15s ease, color .15s ease; }
.zp .zp-btn:hover { background: var(--zp-yellow-h); border-color: var(--zp-yellow-h); color: #000; }
.zp .zp-btn--secondary { background: #fff; border-color: #d7d7d7; color: var(--zp-ink); }
.zp .zp-btn--secondary:hover { background: #fff; border-color: var(--zp-yellow); color: var(--zp-ink); }
.zp .zp-btn--dark { background: var(--zp-graphite); border-color: var(--zp-graphite); color: #fff; }
.zp .zp-btn--dark:hover { background: #33353d; border-color: #33353d; color: #fff; }
.zp .zp-btn--sm { font-size: 12px; padding: 9px 14px; }
.zp .zp-btn--lg { font-size: 15px; padding: 15px 28px; }
.zp .zp-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 229, 0, .3); }
.zp .zp-btn[disabled] { opacity: .6; cursor: default; }

/* — герой — */
.zp .zp-hero { background: var(--zp-yellow); border-radius: 32px; padding: 48px 52px; margin-top: 12px; }
.zp .zp-hero .zp-eyebrow { color: #000; opacity: .62; margin-bottom: 14px; }
.zp .zp-hero .zp-lead { color: #1b1b1f; margin-top: 16px; }
.zp .zp-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* — карточки направлений — */
.zp .zp-dirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zp .zp-dir { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1.5px solid var(--zp-line);
      border-radius: var(--zp-r); padding: 20px; text-decoration: none; color: inherit;
      transition: border-color .25s ease, box-shadow .25s ease; }
.zp a.zp-dir:hover { border-color: var(--zp-yellow); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.zp .zp-dir p { font-size: 13px; color: var(--zp-graphite); }
.zp .zp-dir .zp-btn { width: 100%; margin-top: auto; }

/* — шаги — */
.zp .zp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.zp .zp-step { border: 1.5px solid var(--zp-line); border-radius: var(--zp-r); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.zp .zp-step b { width: 30px; height: 30px; border-radius: 8px; background: var(--zp-yellow); color: #000;
      display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.zp .zp-step h4 { margin: 4px 0 0; font-size: 14px !important; font-weight: 600; color: #000; }
.zp .zp-step p { font-size: 13px; color: var(--zp-graphite); }

/* — документы — */
.zp .zp-docs { display: flex; flex-direction: column; gap: 10px; }
.zp .zp-doc { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 1.5px solid var(--zp-line); border-radius: var(--zp-r);
      padding: 14px 18px; text-decoration: none; color: inherit; transition: border-color .15s ease; }
.zp a.zp-doc:hover { border-color: var(--zp-yellow); }
.zp .zp-doc-ico { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; background: #000; color: var(--zp-yellow);
      display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.zp .zp-doc-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 260px; }
.zp .zp-doc-text b { font-size: 14px !important; font-weight: 600; color: var(--zp-ink); }
.zp .zp-doc-text span { font-size: 12px !important; color: var(--zp-grey); }
.zp .zp-doc .zp-btn { margin-left: auto; }

/* — бренды — */
.zp .zp-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.zp .zp-brand { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start;
      border: 1.5px solid var(--zp-line); border-radius: var(--zp-r); padding: 18px; background: #fff;
      transition: border-color .25s ease, box-shadow .25s ease; }
.zp .zp-brand:hover { border-color: var(--zp-yellow); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.zp .zp-brand-cover { grid-row: 1 / -1; align-self: start; border: 1px solid var(--zp-line); border-radius: 8px; overflow: hidden; background: var(--zp-ground); }
.zp .zp-brand-cover img { display: block; width: 100%; height: auto; }
.zp .zp-brand-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.zp .zp-brand-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.zp .zp-brand-title .zp-eyebrow { display: inline; letter-spacing: .1em; font-size: 10px !important; }
.zp .zp-brand-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }

/* — товарные группы — */
.zp .zp-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.zp .zp-group { display: flex; align-items: center; justify-content: space-between; gap: 10px;
      border: 1.5px solid var(--zp-line); border-radius: var(--zp-rb); padding: 13px 14px; font-size: 13px;
      text-decoration: none; color: var(--zp-ink); background: #fff; transition: border-color .15s ease; }
.zp a.zp-group:hover { border-color: var(--zp-yellow); }
.zp .zp-group svg { flex: none; color: var(--zp-grey); transition: color .15s ease; }
.zp a.zp-group:hover svg { color: #000; }
.zp .zp-empty { border: 1.5px dashed var(--zp-line); border-radius: var(--zp-r); padding: 20px; color: var(--zp-graphite); font-size: 13px; }

/* — условия (Китай) — */
.zp .zp-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; }
.zp .zp-terms { border: 1.5px solid var(--zp-line); border-radius: var(--zp-r); overflow: hidden; }
.zp .zp-term { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--zp-line-2); font-size: 13px; }
.zp .zp-term:last-child { border-bottom: 0; }
.zp .zp-term b { flex: 0 0 140px; font-weight: 600; color: #000; font-size: 13px !important; }
.zp .zp-term span { color: var(--zp-graphite); font-size: 13px !important; }

/* — форма — */
.zp .zp-form { background: var(--zp-ground); border: 1.5px solid var(--zp-line); border-radius: var(--zp-r); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.zp .zp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.zp .zp-form-grid--1 { grid-template-columns: 1fr; }
.zp .zp-field { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; text-align: left; }
.zp .zp-field--wide { grid-column: 1 / -1; }
.zp .zp-field label { font-size: 13px !important; font-weight: 500; color: var(--zp-graphite); text-align: left; align-self: flex-start; width: 100%; margin: 0; }
.zp .zp-field label i { font-style: normal; color: var(--zp-err); }
.zp .zp-field input, .zp .zp-field select, .zp .zp-field textarea { font: inherit; font-size: 14px; color: var(--zp-ink); width: 100%;
      height: 44px; padding: 0 12px; background: #fff; border: 1.5px solid #d7d7d7; border-radius: var(--zp-rb); outline: none;
      transition: border-color .15s ease, box-shadow .15s ease; -webkit-appearance: none; appearance: none; }
.zp .zp-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23474a55' stroke-width='1.6'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.zp .zp-field textarea { height: auto; min-height: 92px; padding: 11px 12px; resize: vertical; line-height: 1.5; }
.zp .zp-field input::placeholder, .zp .zp-field textarea::placeholder { color: #9a9a94; }
.zp .zp-field input:focus, .zp .zp-field select:focus, .zp .zp-field textarea:focus { border-color: var(--zp-yellow); box-shadow: 0 0 0 3px rgba(255,229,0,.3); }
.zp .zp-form-error { display: none; font-size: 12px; font-weight: 500; color: var(--zp-err); }
.zp .zp-form-error.is-on { display: block; }
.zp .zp-form-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.zp .zp-form-actions .zp-btn { min-width: 260px; }
.zp .zp-form-note { font-size: 12px; color: var(--zp-grey); }
.zp .zp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zp .zp-done { display: none; background: var(--zp-yellow); border-radius: var(--zp-r); padding: 24px; }
.zp .zp-done.is-on { display: block; }
.zp .zp-done b { display: block; font-size: 16px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.zp .zp-done p { font-size: 14px; color: #1b1b1f; margin-bottom: 16px; }

/* — адаптив — */
@media (max-width: 1279px) {
  .zp .zp-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1079px) {
  .zp h1, .zp .zp-h1 { font-size: 34px !important; }
  .zp .zp-h2 { font-size: 22px !important; }
  .zp .zp-lead { font-size: 16px; }
  .zp .zp-sec { padding-top: 44px; }
  .zp .zp-hero { border-radius: 24px; padding: 36px 32px; }
  .zp .zp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zp .zp-brands { grid-template-columns: 1fr; }
  .zp .zp-brand { grid-template-columns: 112px minmax(0, 1fr); }
  .zp .zp-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zp .zp-split { grid-template-columns: 1fr; }
  .zp .zp-term b { flex-basis: 150px; }
}
@media (max-width: 719px) {
  .zp h1, .zp .zp-h1 { font-size: 26px !important; }
  .zp .zp-h2 { font-size: 19px !important; }
  .zp .zp-lead { font-size: 15px; }
  .zp .zp-sec { padding-top: 36px; }
  .zp .zp-hero { border-radius: 20px; padding: 28px 20px; }
  .zp .zp-hero-actions .zp-btn { width: 100%; }
  .zp .zp-dirs, .zp .zp-steps, .zp .zp-groups, .zp .zp-form-grid { grid-template-columns: 1fr; }
  .zp .zp-brand { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .zp .zp-brand-acts { grid-column: 1 / -1; margin-top: 2px; }
  .zp .zp-brand-acts .zp-btn { flex: 1 1 0; }
  .zp .zp-term { flex-direction: column; gap: 4px; }
  .zp .zp-term b { flex-basis: auto; }
  .zp .zp-form-actions .zp-btn { width: 100%; min-width: 0; }
  .zp .zp-doc .zp-btn { margin-left: 0; width: 100%; }
}
