/* КУПИСТОЛ v17 | Навигация коллекций, мобильные карточки и корректные CTA. */
/* Включено после существующих стилей, не меняет 3D/WebGL. */
.kp-v17-explore, .kp-v17-explore * {box-sizing:border-box}
.kp-v17-explore {position:relative;padding:clamp(42px,5vw,82px) clamp(18px,5vw,80px);background:#151815;color:#f4f7ed;border-top:1px solid #3b4438;border-bottom:1px solid #3b4438;isolation:isolate}
.kp-v17-explore__wrap {width:min(1340px,100%);margin:0 auto}
.kp-v17-explore__intro {display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}
.kp-v17-explore__intro > div {min-width:0}
.kp-v17-explore__label {display:block;margin:0 0 11px;color:#d4e954;font:800 11px/1.5 Manrope,Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase}
.kp-v17-explore__intro h2 {margin:0;color:#f6f7f1;font:850 clamp(27px,4vw,47px)/1.13 Unbounded,Manrope,Arial,sans-serif;letter-spacing:-.05em;overflow-wrap:normal}
.kp-v17-explore__intro p {margin:0;max-width:435px;color:#d4ddd0;font-size:clamp(13px,1.3vw,16px);line-height:1.75}
.kp-v17-explore__grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.kp-v17-explore__card {position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:226px;padding:26px;border-radius:22px;border:1px solid #526050;background:linear-gradient(145deg,#293228,#1d241e);color:#f9fbf5;text-decoration:none;overflow:hidden;transition:border-color .15s,transform .15s}
.kp-v17-explore__card:hover,.kp-v17-explore__card:focus-visible {border-color:#e4fa62;transform:translateY(-2px);outline-offset:3px}
.kp-v17-explore__card--groups {background:linear-gradient(95deg,#293128ef,#171d18df),url('/3d-katalog/obedennye-gruppy/assets/group-005-poster.webp') center / cover no-repeat}
.kp-v17-explore__count {display:block;font:800 10px/1.4 Manrope,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#b9c9b0}
.kp-v17-explore__title {display:block;margin:19px 0 9px;font:850 clamp(19px,2.1vw,28px)/1.22 Unbounded,Manrope,Arial,sans-serif;letter-spacing:-.035em;color:#fff;overflow-wrap:break-word}
.kp-v17-explore__text {display:block;max-width:30ch;color:#d9e3d5;font-size:13px;line-height:1.6}
.kp-v17-explore__action {display:inline-flex;align-self:start;align-items:center;justify-content:center;min-height:39px;margin-top:22px;padding:9px 16px;border:1px solid #b5c3a9;border-radius:100px;color:#fff;font:800 12px/1.3 Manrope,Arial,sans-serif;letter-spacing:.02em}
.kp-v17-explore__card:hover .kp-v17-explore__action {border-color:#e5ff53;color:#e5ff53}
.header .nav .kp-v17-nav-groups {color:#dcf36b}
/* Главная: длинные SEO-названия не обрезаются в карточках. */
.category-cards .category-card {min-width:0;box-sizing:border-box}
.category-cards .category-card strong {font-family:Unbounded,Manrope,Arial,sans-serif;line-height:1.25;overflow-wrap:normal;word-break:normal;hyphens:auto;letter-spacing:-.045em;max-width:100%}
.featured-grid .featured-model {min-width:0}
.featured-grid .featured-info {min-width:0;box-sizing:border-box}
.featured-grid .featured-info > span:first-child {min-width:0}
.featured-grid .featured-info strong {overflow-wrap:anywhere;line-height:1.25}
.featured-grid .featured-view {display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex-shrink:0;font:800 11px/1.3 Manrope,Arial,sans-serif;letter-spacing:.04em;color:#e5ff53}
/* Фотокарточки: формулы габаритов не влияют на ширину полей. */
.kupistol-collection-v1 .quote-form {min-width:0}
.quote-form,.quote-form *,.form-contacts,.form-contacts *,.dimensions-row,.dimensions-row * {box-sizing:border-box}
.quote-form .form-field,.quote-form .form-contacts,.quote-form .dimensions,.quote-form .dimensions-row,.quote-form label {min-width:0;max-width:100%}
.quote-form input:not([type="checkbox"]),.quote-form select,.quote-form textarea,.quote-form .dimensions input {box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.quote-form .submit-button {white-space:normal;overflow-wrap:break-word;min-height:54px;border-radius:14px}
/* 3D-карточки и форма расчета: обычные аккуратные кнопки, без гигантских стрелок. */
.k-primary,.k-secondary,.k-product-open,.k-form-actions button,.k-form-actions a,.tile-open,.button,.contact-link {box-sizing:border-box;min-width:0;overflow-wrap:break-word}
.k-product-open {justify-content:flex-start!important;gap:0!important;min-height:42px;font-size:12px!important;font-weight:800;line-height:1.4;letter-spacing:.02em}
.k-product-open span:last-child {font-size:inherit!important}
.k-primary,.k-secondary {justify-content:center!important;gap:9px;white-space:normal;text-align:center;line-height:1.4}
.k-form,.k-form-row,.k-form-row label,.k-form>label,.k-contact-shell {min-width:0;max-width:100%;box-sizing:border-box}
.k-form input:not([type=checkbox]),.k-form select,.k-form textarea {display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;font-size:16px}
.k-form .k-checkbox {max-width:100%;overflow-wrap:break-word}
.k-form-actions {width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.k-form-actions button,.k-form-actions a {max-width:100%}
.tile-open {display:flex;align-items:center;justify-content:flex-start;gap:8px;font-size:12px;line-height:1.4}
.tile-open > span[aria-hidden] {display:none!important}
/* Мобильные исправления */
@media (max-width:1250px) and (min-width:761px){.header .nav.open .kp-v17-nav-groups{display:flex}}
@media (max-width:760px){
 .kp-v17-explore {padding:40px 18px 45px}
 .kp-v17-explore__intro {display:block;margin-bottom:20px}
 .kp-v17-explore__intro h2 {font-size:clamp(24px,6.6vw,35px);line-height:1.18;letter-spacing:-.045em}
 .kp-v17-explore__intro p {margin-top:12px;font-size:13px}
 .kp-v17-explore__grid {grid-template-columns:1fr;gap:11px}
 .kp-v17-explore__card {min-height:161px;padding:20px;border-radius:17px}
 .kp-v17-explore__title {margin:13px 0 6px;font-size:clamp(19px,5.2vw,25px)}
 .kp-v17-explore__action {min-height:36px;margin-top:13px;font-size:12px}
 .category-cards {grid-template-columns:1fr!important;gap:11px!important}
 .category-cards .category-card,.category-cards .category-card:last-child {grid-column:1/-1!important;min-height:125px!important;padding:20px 21px!important;gap:11px!important}
 .category-cards .category-card strong {font-size:clamp(18px,5.1vw,24px)!important;letter-spacing:-.04em!important;line-height:1.23!important;word-break:normal!important;overflow-wrap:normal!important}
 .category-cards .category-card-foot {font-size:12px!important}
 .featured-grid .featured-info {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:13px!important;padding:14px!important}
 .featured-grid .featured-info>span:first-child {display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0}
 .featured-grid .featured-info small {font-size:9px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:break-word}
 .featured-grid .featured-info strong {font-size:clamp(13px,3.8vw,20px)!important;line-height:1.25!important}
 .featured-grid .featured-view {display:flex!important;width:100%!important;min-width:0;min-height:38px;max-width:100%;padding:8px 10px;border-radius:10px;border:1px solid #728266;text-align:center;letter-spacing:0;font-size:11px!important;white-space:normal!important;overflow-wrap:anywhere}
 .quote-form,.quote-form .form-field,.quote-form .form-contacts {width:100%!important;max-width:100%!important;min-width:0!important}
 .quote-form .form-contacts {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .quote-form input:not([type="checkbox"]),.quote-form select,.quote-form textarea {width:100%!important;max-width:100%!important;min-width:0!important}
 .quote-form .dimensions-row {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .quote-form .dimensions-row label {min-width:0}
 .quote-form .dimensions-row input {width:100%!important;min-width:0!important;padding:11px 8px}
 .mobile-cta {box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;left:12px!important;right:12px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;min-width:0!important;padding:14px 18px!important;min-height:50px;border:1px solid #b6d02f;border-radius:14px!important;box-shadow:0 10px 24px #12161166;letter-spacing:.02em!important;line-height:1.35;text-decoration:none!important}
 .k-contact-shell {width:calc(100% - 28px)!important;margin:0 auto!important;padding:45px 0 70px!important}
 .k-form {width:100%;gap:17px}
 .k-form-row {grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 .k-form-row>label,.k-form>label {display:grid;min-width:0;width:100%}
 .k-form input:not([type=checkbox]),.k-form select,.k-form textarea {width:100%!important;min-width:0!important;max-width:100%!important;padding:13px 14px!important;border-radius:12px}
 .k-form-actions {display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .k-form-actions .k-primary,.k-form-actions .k-secondary,.k-form-actions button {display:flex!important;width:100%!important;min-height:52px!important;max-width:100%;white-space:normal;padding:15px 16px!important;font-size:12px;line-height:1.4}
 .k-contact-shell h1,.k-page-intro h1,.k-section h1 {overflow-wrap:anywhere;max-width:100%}
 .k-product-layout,.k-product-layout>*,.k-model-window {min-width:0;max-width:100%}
 .k-secondary,.k-primary {font-size:12px;line-height:1.35;white-space:normal}
 .tile-open {font-size:11px;white-space:normal}
}
@media (max-width:380px){
 .featured-grid .featured-info{padding:12px!important}
 .featured-grid .featured-view{font-size:10px!important}
 .quote-form .dimensions-row {grid-template-columns:repeat(3,minmax(0,1fr))}
}
