/* «Набори для марафонів» — hub + kit pages. Mock: docs/audit/design/kits-desktop-design.dc.html.
   Built on the Wheel v2 / brand v1 layer (wheel-v2.css: .hw palette, cards, buttons, sections). Kits side by side ≥ 720 px,
   tabs below 720 px. Motion: transform/opacity only; reduced-motion switches it off. */

.kt.hw{max-width:1120px;gap:56px;margin:40px auto 56px}
.kt{display:flex;flex-direction:column}
@media (max-width:600px){.kt.hw{gap:40px;margin:28px auto 40px}}
.kt .hw-kicker{margin:0}
.kt-sec{display:flex;flex-direction:column;gap:18px}
.kt-sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.kt .hw-sec-title{margin:0}
.kt-h3{font-size:24px}

/* hero */
.kt-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(20px,4vw,40px);align-items:stretch}
.kt-hero-body{display:flex;flex-direction:column;gap:18px;justify-content:center;min-width:0}
.kt-hero-body .hw-lead{margin:0}
@media (max-width:980px){.kt-hero{grid-template-columns:minmax(0,1fr)}}
.kt-how{gap:16px}
.kt-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.kt-steps li{margin:0;display:flex;gap:14px;align-items:flex-start}
.kt-n{flex:0 0 auto;width:30px;height:30px;border-radius:999px;background:var(--hw-primary);color:var(--hw-on-primary);font-weight:800;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.kt-step-b{display:flex;flex-direction:column;gap:3px;font-size:15px;line-height:1.45;color:var(--hw-hint)}
.kt-step-b strong{color:var(--hw-text);font-size:16px}
.kt-disc{margin:0}
.kt-disc a,.kt-foot a{color:var(--hw-primary)}
.kt .kt-ghost,.kt .kt-ghost:visited{color:var(--hw-text);border:1px solid var(--hw-line);background:var(--hw-glass);text-decoration:none}

/* gradients (mock) — text on them is light; darker stops keep ≥ 4.5:1 */
.kt-g-detox{background:linear-gradient(150deg,#3F6B4B,#1F3A2A)}
.kt-g-energy{background:linear-gradient(150deg,#8A6526,#4E3512)}
.kt-g-head{background:linear-gradient(150deg,#2C6A70,#123437)}
.kt-g-immune{background:linear-gradient(150deg,#46605D,#1C302E)}

/* gradients by index (hub mock kits-hub-design: G[0..3]) */
.kt-g-0{background:linear-gradient(150deg,#2C6A70,#123437)}
.kt-g-1{background:linear-gradient(150deg,#C59A4B,#6A4A1C)}
.kt-g-2{background:linear-gradient(150deg,#4F7E5B,#1F3A2A)}
.kt-g-3{background:linear-gradient(150deg,#46605D,#1C302E)}

/* hub (kits-hub-design.dc.html) */
.kt-hhero{display:flex;flex-direction:column;gap:18px;padding-top:24px}
.kt-hhero .hw-h1{margin:0;max-width:760px}
.kt-hhero .hw-lead{margin:0;max-width:640px}
.kt-hhero .hw-row{margin-top:8px;flex-wrap:wrap}
.kt-hhero .kt-ghost svg{flex:0 0 auto}
.kt-hsteps li{padding:20px 22px}
.kt-n-gold{background:transparent;border:1px solid var(--gold-line);color:var(--hw-gold,#8A6A2C);font-family:var(--hw-display);font-weight:600;width:32px;height:32px}
.kt-hair{height:1px;background:linear-gradient(90deg,var(--gold-line),transparent)}
.kt-pickhead{align-items:flex-end}
.kt-pickt{display:flex;flex-direction:column;gap:8px}
.kt-filter{display:flex;flex-wrap:wrap;gap:8px}
.kt-filter[hidden]{display:none}
.kt .kt-fbtn{min-height:44px;padding:0 16px;margin:0;border-radius:999px;font:700 14px/1 var(--hw-body,inherit);cursor:pointer;background:transparent;color:var(--hw-text);border:1px solid var(--hw-line);box-shadow:none;text-transform:none;letter-spacing:0;transition:background-color .18s ease,color .18s ease}
.kt .kt-fbtn:hover,.kt .kt-fbtn:focus{background:var(--hw-fill);color:var(--hw-text)}
.kt .kt-fbtn[aria-pressed="true"],.kt .kt-fbtn[aria-pressed="true"]:hover{background:var(--hw-primary);color:var(--hw-on-primary);border-color:var(--hw-primary)}
.kt-hgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.kt-hgrid .kt-mcard[hidden]{display:none}
.kt-hgrid .kt-mcard{border-radius:20px}
.kt-hgrid .kt-mcover{height:150px;min-height:0;padding:18px 20px;position:relative;overflow:hidden}
.kt-hgrid .kt-mcover>*{position:relative;z-index:1}
.kt-hgrid .kt-mcover::after{content:"";position:absolute;inset:-40%;background:radial-gradient(closest-side,rgba(255,255,255,.18),transparent);animation:kt-drift 9s ease-in-out infinite alternate;pointer-events:none}
@keyframes kt-drift{from{transform:translate(-12%,-8%)}to{transform:translate(12%,10%)}}
.kt-hgrid .kt-mk{color:#D4B06A;letter-spacing:.16em;font-size:11px}
.kt-hgrid .kt-mtitle{font-size:24px;line-height:1.2;color:#EEF4F2}
.kt-hgrid .kt-mbody p{font-size:14px}
.kt-badge.is-soon{background:var(--hw-primary-weak);color:var(--hw-text);border:1px solid var(--gold-line)}
.kt-badge.is-dev{background:var(--hw-fill);color:var(--hw-hint);border:1px solid var(--hw-line)}
.kt-badge.is-open>span{animation:kt-pulse 2s ease-in-out infinite}
@keyframes kt-pulse{0%,100%{opacity:1}50%{opacity:.35}}
.kt-hgrid .kt-mcta{border-radius:14px;min-height:48px}
.kt-hgrid .kt-mcard.is-open{border:1px solid var(--hw-line)}
.kt .nsp-partner-notice{margin:0;background:none!important;border:0!important;padding:0!important}
.kt .nsp-partner-notice__btn{min-height:44px;padding:4px 0;text-align:left;font-size:14px;line-height:1.4;color:var(--hw-primary)!important}
.kt-hgrid .kt-g-1 .kt-mk{color:#FFF1D2}
@media (prefers-reduced-motion:reduce){.kt-hgrid .kt-mcover::after,.kt-badge.is-open>span{animation:none}}

/* marathon cards (hub) */
.kt-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.kt-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media (max-width:980px){.kt-grid4,.kt-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.kt-grid4,.kt-grid3{grid-template-columns:minmax(0,1fr)}}
.kt-mcard{border-radius:24px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s var(--hw-ease)}
.kt-mcard.is-open{border:2px solid var(--hw-primary)}
@media (hover:hover) and (pointer:fine){.kt-mcard:hover{transform:translateY(-4px)}}
.kt-mcover{min-height:150px;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;color:#EEF4F2}
.kt-mk{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#E8DCC0}
.kt .kt-mtitle{margin:0;font-family:var(--hw-display);font-weight:600;font-size:26px;line-height:1.15;color:#FFFFFF}
.kt-mbody{padding:18px 20px 20px;display:flex;flex-direction:column;gap:12px;flex:1 1 auto}
.kt-mbody p{margin:0;font-size:15px;line-height:1.5;color:var(--hw-hint);flex:1 1 auto}
.kt-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:800;background:var(--hw-fill);color:var(--hw-hint)}
.kt-badge>span{width:8px;height:8px;border-radius:999px;background:currentColor}
.kt-badge.is-open{background:#A8C5A0;color:#0E2A2E}
.kt-mcta{min-height:48px;align-self:stretch}

/* kit page: cover, order steps */
.kt-cover{border-radius:28px;padding:30px;min-height:240px;color:#EEF4F2;display:flex;flex-direction:column;justify-content:flex-end;gap:12px}
.kt-cover-k{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#E8DCC0}
.kt-cover p{margin:0;font-family:var(--hw-display);font-size:24px;line-height:1.3;color:#FFFFFF}
.kt-order{list-style:none;margin:0;padding:0}
.kt-order li{margin:0;border-radius:22px;padding:18px;display:flex;gap:14px;align-items:flex-start;font-size:15px;line-height:1.5;color:var(--hw-text)}

/* kits: columns ≥ 720 px, tabs below */
.kt-cols{display:grid;grid-template-columns:repeat(var(--kt-n,3),minmax(0,1fr));gap:20px;align-items:stretch}
.kt-tabs{display:none}
.kt-kitcard{border-radius:26px;padding:22px;display:flex;flex-direction:column;gap:12px;min-width:0}
.kt-kitcard.is-featured{border:2px solid var(--hw-primary)}
.kt-kithead{display:flex;justify-content:space-between;align-items:center;gap:8px}
.kt-count{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--hw-hint)}
.kt-feat{padding:4px 10px;border-radius:999px;background:var(--hw-primary);color:var(--hw-on-primary);font-size:12px;font-weight:800}
.kt .kt-kitname{margin:0;font-size:30px}
.kt-kitsub{margin:0}
.kt-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;flex:1 1 auto}
.kt-item{margin:0;display:flex;align-items:center;gap:12px;padding:8px;border-radius:14px;background:var(--hw-fill);border:1px solid var(--hw-line)}
.kt-item.is-plus{background:var(--hw-primary-weak);border-color:rgba(138,106,44,.35)}
.kt-img{flex:0 0 auto;width:48px;height:48px;border-radius:10px;overflow:hidden;background:#fff;display:inline-flex;align-items:center;justify-content:center}
.kt-img img{width:48px;height:48px;object-fit:contain;display:block}
.kt-iname{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:15px;font-weight:700;line-height:1.3}
.kt-iname a{color:var(--hw-text);text-decoration:underline;text-decoration-color:var(--hw-line);text-underline-offset:3px}
.kt-iname a:hover{text-decoration-color:currentColor}
.kt-na{font-size:12px;font-weight:600;color:#94461A}
.kt-price{flex:0 0 auto;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--hw-text);white-space:nowrap}
.kt-sum{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 4px 0;border-top:1px solid var(--hw-line);color:var(--hw-hint);font-size:15px}
.kt-sum strong{font-size:24px;font-variant-numeric:tabular-nums;color:var(--hw-text)}
.kt .kt-add{width:100%}
.kt .kt-btn-dark,.kt .kt-btn-dark:hover,.kt .kt-btn-dark:focus{background:var(--hw-text);color:var(--hw-page);border:0}
.kt-add.is-done{background:var(--hw-primary);color:var(--hw-on-primary)}
.kt-msg{margin:0;font-size:14px;line-height:1.45;color:var(--hw-hint);min-height:0}
.kt-msg:empty{display:none}
.kt-msg a{color:var(--hw-primary);font-weight:700}
.kt-what{border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.5;color:var(--hw-hint)}
.kt-what strong{color:var(--hw-text);font-size:16px}
.kt-q{border-radius:24px;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.kt-q div{display:flex;flex-direction:column;gap:4px;color:var(--hw-hint);font-size:15px}
.kt-q strong{color:var(--hw-text);font-size:17px}
.kt-foot{margin:0;max-width:72ch}
.kt-kit [hidden]{display:none!important}

@media (max-width:720px){
  .kt-tabs{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--hw-fill);border:1px solid var(--hw-line)}
  .kt-tab{flex:1 1 0;min-height:44px;border-radius:999px;border:0;margin:0;font:inherit;font-size:15px;font-weight:700;background:transparent;color:var(--hw-hint);cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:0}
  .kt-tab:hover,.kt-tab:focus{background:transparent;color:var(--hw-hint)}
  .kt-tab[aria-selected="true"],.kt-tab[aria-selected="true"]:hover,.kt-tab[aria-selected="true"]:focus{background:var(--hw-glass);color:var(--hw-text)}
  .kt-cols{grid-template-columns:minmax(0,1fr)}
  .kt-kitcard:not(.is-sel){display:none}
}
@media (prefers-reduced-motion:reduce){.kt-mcard{transition:none}.kt-mcard:hover{transform:none}}

/* page: the content carries the only visible H1 (body class from nsp-kits.php — IDs differ prod/local) */
.nsp-kits-page .entry-header{display:none!important}
.nsp-kits-page .entry-content>p:empty{display:none}

/* Kit page texts v1 (23.11.2026): «Перш ніж замовляти», notes under products, «Що буде» list, «Ще не готові?», optional images */
.kt-before{border-radius:22px;padding:18px 20px;display:flex;gap:14px;align-items:flex-start;border-left:3px solid var(--gold-line,#C9A55A)}
.kt-before-ico{flex:0 0 auto;color:var(--hw-gold,#8A6A2C);display:inline-flex;margin-top:2px}
.kt-before div{display:flex;flex-direction:column;gap:6px}
.kt-before strong{color:var(--hw-text);font-size:17px}
.kt-before p{margin:0;font-size:15px;line-height:1.55;color:var(--hw-hint)}
.kt-inote{display:block;font-size:12px;font-weight:500;line-height:1.4;color:var(--hw-hint)}
.kt-wlist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kt-wlist li{border-radius:20px;padding:16px 18px;display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.55;color:var(--hw-text)}
.kt-wdot{flex:0 0 8px;width:8px;height:8px;margin-top:8px;border-radius:50%;background:var(--hw-gold,#8A6A2C)}
@media (max-width:720px){.kt-wlist{grid-template-columns:minmax(0,1fr)}}
.kt-q .kt-ready-t{margin:0;font-family:var(--hw-display);font-weight:600;font-size:20px;line-height:1.3;color:var(--hw-text)}
/* photo cover (23.11.2026): full 3:2 photo on top, caption below on the program gradient — text never covers the products */
.kt-cover.has-img{padding:0;overflow:hidden;justify-content:flex-start;gap:0}
.kt-cover-img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.kt-cover.has-img .kt-cover-k{padding:18px 24px 0}
.kt-cover.has-img p{padding:8px 24px 22px;font-size:20px}
.kt-kitimg{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px;background:var(--hw-fill)}
/* mobile: one 16–24 px gutter instead of theme 24 + 30 px; roomier product rows (names no longer break mid-word) */
@media (max-width:720px){.nsp-kits-page .inside-article{padding-left:0;padding-right:0}}
@media (max-width:480px){.kt-kitcard{padding:16px}.kt-item{gap:10px;padding:8px 10px 8px 8px}.kt-img,.kt-img img{width:40px;height:40px}.kt-iname{overflow-wrap:normal;word-break:normal;hyphens:auto}.kt-before{padding:16px}}
